mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Updated to v0.6
Honor NOPORTEXAMPLES Submitted by: George Neville-Neil <gnn@FreeBSD.org> Feature safe: Yes
This commit is contained in:
parent
7f635b75aa
commit
3f084c96a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242246
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= pcs
|
||||
PORTVERSION= 0.5
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= net python
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Beta-${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -14,7 +14,10 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= gnn@FreeBSD.org
|
||||
COMMENT= Protocol Construction Set
|
||||
|
||||
BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
|
||||
PORTDOCS= pcs.pdf
|
||||
PORTEXAMPLES= *
|
||||
|
||||
BUILD_DEPENDS= cython>=0.11.2:${PORTSDIR}/lang/cython
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
@ -22,21 +25,15 @@ USE_PYTHON_PREFIX= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 800074
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in pcs.pdf
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
cd ${WRKSRC}/docs/Web && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
.for f in arpwhohas.py ddos_analyze.py dns_query.py http_get.py \
|
||||
pcap_info.py pcap_slice.py ping.py snarf.py udp_echo.py
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${EXAMPLESDIR}
|
||||
.endfor
|
||||
cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (pcs-0.5.tar.gz) = 45f9295f67616222cbe8f6441d8c4d4e
|
||||
SHA256 (pcs-0.5.tar.gz) = 13ad97de3ca56e6e05cf0107f434a67ef014c6fd1b9dadff18accf7942bf9133
|
||||
SIZE (pcs-0.5.tar.gz) = 376234
|
||||
MD5 (pcs-0.6.tar.gz) = 83a6731fdb8194ba079f27122b0e9684
|
||||
SHA256 (pcs-0.6.tar.gz) = 9f3fb79e06d82f23b44f4fe5715b4f94afd5d1f5546d8e7f684a37ad151cebc6
|
||||
SIZE (pcs-0.6.tar.gz) = 504070
|
||||
|
@ -1,3 +1,4 @@
|
||||
%%PYTHON_SITELIBDIR%%/bpf.so
|
||||
%%PYTHON_SITELIBDIR%%/pcs/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/__init__.pyo
|
||||
@ -7,69 +8,151 @@
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/arp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/arp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/arp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bgp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bgp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bgp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bsdrtmsg.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bsdrtmsg.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/bsdrtmsg.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/crc32c.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/crc32c.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/crc32c.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4_options.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4_options.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4_options.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dns.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dns.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dns.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dvmrp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dvmrp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/dvmrp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/http.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/http.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/http.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv4.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv4.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv4.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/icmpv6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee80211.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee80211.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee80211.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8021d.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8021d.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8021d.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8023ad.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8023ad.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ieee8023ad.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv2.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv2.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv2.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv3.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv3.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/igmpv3.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipcomp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipcomp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipcomp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipsec.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipsec.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipsec.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4sar.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4sar.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv4sar.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/llc.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/llc.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/llc.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/localhost_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mpls.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mpls.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mpls.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mtrace.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mtrace.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/mtrace.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/netlink.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/netlink.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/netlink.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/null.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/null.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/null.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/payload.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/payload.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/payload.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/radiotap.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/radiotap.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/radiotap.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtnetlink.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtnetlink.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtnetlink.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/rtp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/sctp_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcp_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcpv6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcpv6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/tcpv6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp_map.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp_map.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udp_map.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv4.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv4.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv4.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv6.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/udpv6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/vlan.py
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/vlan.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pcs/packets/vlan.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pcs/clock.so
|
||||
%%PYTHON_SITELIBDIR%%/pcs/pcap.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pcs/packets
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pcs
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pcs.pdf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/arpwhohas.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ddos_analyze.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/dns_query.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/http_get.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/pcap_info.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/pcap_slice.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/ping.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snarf.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/udp_echo.py
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user