diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-18 13:45:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-18 13:45:02 +0000 |
commit | 981ee06b83dcd1fd56f54543ac01c7d131a42465 (patch) | |
tree | 2558cddb60e55d97268706a560e694a1a640c2d5 /net/py-pcs | |
parent | 6c651b332f7b2607117fb80a860b5ece93f012f5 (diff) | |
download | ports-981ee06b83dcd1fd56f54543ac01c7d131a42465.tar.gz ports-981ee06b83dcd1fd56f54543ac01c7d131a42465.zip |
Notes
Diffstat (limited to 'net/py-pcs')
-rw-r--r-- | net/py-pcs/Makefile | 24 | ||||
-rw-r--r-- | net/py-pcs/distinfo | 6 | ||||
-rw-r--r-- | net/py-pcs/pkg-plist | 139 |
3 files changed, 100 insertions, 69 deletions
diff --git a/net/py-pcs/Makefile b/net/py-pcs/Makefile index 40d70e61d821..7225018a1042 100644 --- a/net/py-pcs/Makefile +++ b/net/py-pcs/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pcs -PORTVERSION= 0.1 +PORTVERSION= 0.3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pcs @@ -15,8 +15,24 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gnn@FreeBSD.org COMMENT= Protocol Construction Set +RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/pcap.so:${PORTSDIR}/net/py-pypcap + USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_PYTHON_PREFIX= yes -WRKSRC= ${WRKDIR}/pcs-${PORTVERSION} -.include <bsd.port.mk> + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in design.pdf pcs.pdf + ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR} +.endfor + @${MKDIR} ${EXAMPLESDIR} +.for f in arpwhohas.py ddos_analyze.py dns_query.py http_get.py \ + ping.py snarf.py tcpslice.py udp_echo.py + ${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${EXAMPLESDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/net/py-pcs/distinfo b/net/py-pcs/distinfo index 6dc58f104c86..8a93bda06236 100644 --- a/net/py-pcs/distinfo +++ b/net/py-pcs/distinfo @@ -1,3 +1,3 @@ -MD5 (pcs-0.1.tar.gz) = 2e2e2eb45966feb31c0990116a2a7190 -SHA256 (pcs-0.1.tar.gz) = f090ea307eb6770dfafceb2c08687a6824cf30e633bba2c05b02098ecf92e8ab -SIZE (pcs-0.1.tar.gz) = 155040 +MD5 (pcs-0.3.tar.gz) = 2cdd2bc3d0e7a6ae9dad493e6eeedb41 +SHA256 (pcs-0.3.tar.gz) = 7f4af7b301ed383af73a6d02126de03a10fb79f5132f11a3f92742e9f496889d +SIZE (pcs-0.3.tar.gz) = 169739 diff --git a/net/py-pcs/pkg-plist b/net/py-pcs/pkg-plist index d2d939ad635b..dd15e74745ff 100644 --- a/net/py-pcs/pkg-plist +++ b/net/py-pcs/pkg-plist @@ -1,62 +1,77 @@ -lib/python2.4/site-packages/pcs/__init__.py -lib/python2.4/site-packages/pcs/__init__.pyc -lib/python2.4/site-packages/pcs/__init__.pyo -lib/python2.4/site-packages/pcs/packets/__init__.py -lib/python2.4/site-packages/pcs/packets/__init__.pyc -lib/python2.4/site-packages/pcs/packets/__init__.pyo -lib/python2.4/site-packages/pcs/packets/arp.py -lib/python2.4/site-packages/pcs/packets/arp.pyc -lib/python2.4/site-packages/pcs/packets/arp.pyo -lib/python2.4/site-packages/pcs/packets/dhcpv4.py -lib/python2.4/site-packages/pcs/packets/dhcpv4.pyc -lib/python2.4/site-packages/pcs/packets/dhcpv4.pyo -lib/python2.4/site-packages/pcs/packets/dns.py -lib/python2.4/site-packages/pcs/packets/dns.pyc -lib/python2.4/site-packages/pcs/packets/dns.pyo -lib/python2.4/site-packages/pcs/packets/ethernet.py -lib/python2.4/site-packages/pcs/packets/ethernet.pyc -lib/python2.4/site-packages/pcs/packets/ethernet.pyo -lib/python2.4/site-packages/pcs/packets/icmpv4.py -lib/python2.4/site-packages/pcs/packets/icmpv4.pyc -lib/python2.4/site-packages/pcs/packets/icmpv4.pyo -lib/python2.4/site-packages/pcs/packets/icmpv6.py -lib/python2.4/site-packages/pcs/packets/icmpv6.pyc -lib/python2.4/site-packages/pcs/packets/icmpv6.pyo -lib/python2.4/site-packages/pcs/packets/ipsec.py -lib/python2.4/site-packages/pcs/packets/ipsec.pyc -lib/python2.4/site-packages/pcs/packets/ipsec.pyo -lib/python2.4/site-packages/pcs/packets/ipv4.py -lib/python2.4/site-packages/pcs/packets/ipv4.pyc -lib/python2.4/site-packages/pcs/packets/ipv4.pyo -lib/python2.4/site-packages/pcs/packets/ipv6.py -lib/python2.4/site-packages/pcs/packets/ipv6.pyc -lib/python2.4/site-packages/pcs/packets/ipv6.pyo -lib/python2.4/site-packages/pcs/packets/localhost.py -lib/python2.4/site-packages/pcs/packets/localhost.pyc -lib/python2.4/site-packages/pcs/packets/localhost.pyo -lib/python2.4/site-packages/pcs/packets/nd6.py -lib/python2.4/site-packages/pcs/packets/nd6.pyc -lib/python2.4/site-packages/pcs/packets/nd6.pyo -lib/python2.4/site-packages/pcs/packets/pseudoipv6.py -lib/python2.4/site-packages/pcs/packets/pseudoipv6.pyc -lib/python2.4/site-packages/pcs/packets/pseudoipv6.pyo -lib/python2.4/site-packages/pcs/packets/tcp.py -lib/python2.4/site-packages/pcs/packets/tcp.pyc -lib/python2.4/site-packages/pcs/packets/tcp.pyo -lib/python2.4/site-packages/pcs/packets/tcpv6.py -lib/python2.4/site-packages/pcs/packets/tcpv6.pyc -lib/python2.4/site-packages/pcs/packets/tcpv6.pyo -lib/python2.4/site-packages/pcs/packets/udp.py -lib/python2.4/site-packages/pcs/packets/udp.pyc -lib/python2.4/site-packages/pcs/packets/udp.pyo -lib/python2.4/site-packages/pcs/packets/udpv4.py -lib/python2.4/site-packages/pcs/packets/udpv4.pyc -lib/python2.4/site-packages/pcs/packets/udpv4.pyo -lib/python2.4/site-packages/pcs/packets/udpv6.py -lib/python2.4/site-packages/pcs/packets/udpv6.pyc -lib/python2.4/site-packages/pcs/packets/udpv6.pyo -lib/python2.4/site-packages/pcs/pcs.py -lib/python2.4/site-packages/pcs/pcs.pyc -lib/python2.4/site-packages/pcs/pcs.pyo -@dirrm lib/python2.4/site-packages/pcs/packets -@dirrm lib/python2.4/site-packages/pcs +%%PYTHON_SITELIBDIR%%/pcs/__init__.py +%%PYTHON_SITELIBDIR%%/pcs/__init__.pyc +%%PYTHON_SITELIBDIR%%/pcs/__init__.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/__init__.py +%%PYTHON_SITELIBDIR%%/pcs/packets/__init__.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/__init__.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/arp.py +%%PYTHON_SITELIBDIR%%/pcs/packets/arp.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/arp.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.py +%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/dhcpv4.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/dns.py +%%PYTHON_SITELIBDIR%%/pcs/packets/dns.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/dns.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.py +%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/ethernet.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/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/ipv6.py +%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/ipv6.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.py +%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/localhost.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.py +%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/nd6.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.py +%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/pseudoipv6.pyo +%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.py +%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/tcp.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/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/ymsgr.py +%%PYTHON_SITELIBDIR%%/pcs/packets/ymsgr.pyc +%%PYTHON_SITELIBDIR%%/pcs/packets/ymsgr.pyo +%%PYTHON_SITELIBDIR%%/pcs/pcs.py +%%PYTHON_SITELIBDIR%%/pcs/pcs.pyc +%%PYTHON_SITELIBDIR%%/pcs/pcs.pyo +@dirrm %%PYTHON_SITELIBDIR%%/pcs/packets +@dirrm %%PYTHON_SITELIBDIR%%/pcs +%%PORTDOCS%%%%DOCSDIR%%/design.pdf +%%PORTDOCS%%%%DOCSDIR%%/pcs.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/arpwhohas.py +%%PORTDOCS%%%%EXAMPLESDIR%%/ddos_analyze.py +%%PORTDOCS%%%%EXAMPLESDIR%%/dns_query.py +%%PORTDOCS%%%%EXAMPLESDIR%%/http_get.py +%%PORTDOCS%%%%EXAMPLESDIR%%/ping.py +%%PORTDOCS%%%%EXAMPLESDIR%%/snarf.py +%%PORTDOCS%%%%EXAMPLESDIR%%/tcpslice.py +%%PORTDOCS%%%%EXAMPLESDIR%%/udp_echo.py +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |