diff options
Diffstat (limited to 'net/py-pcs')
-rw-r--r-- | net/py-pcs/Makefile | 11 | ||||
-rw-r--r-- | net/py-pcs/distinfo | 6 | ||||
-rw-r--r-- | net/py-pcs/pkg-plist | 16 |
3 files changed, 16 insertions, 17 deletions
diff --git a/net/py-pcs/Makefile b/net/py-pcs/Makefile index 7225018a1042..9ad249253fa2 100644 --- a/net/py-pcs/Makefile +++ b/net/py-pcs/Makefile @@ -6,8 +6,8 @@ # PORTNAME= pcs -PORTVERSION= 0.3 -CATEGORIES= net +PORTVERSION= 0.5 +CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pcs PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,22 +15,23 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gnn@FreeBSD.org COMMENT= Protocol Construction Set -RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/pcap.so:${PORTSDIR}/net/py-pypcap +BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex USE_PYTHON= yes USE_PYDISTUTILS= yes +USE_PYTHON_PREFIX= yes .include <bsd.port.pre.mk> post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for f in design.pdf pcs.pdf +.for f in 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 + pcap_info.py pcap_slice.py ping.py snarf.py udp_echo.py ${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${EXAMPLESDIR} .endfor .endif diff --git a/net/py-pcs/distinfo b/net/py-pcs/distinfo index 8a93bda06236..4201af939739 100644 --- a/net/py-pcs/distinfo +++ b/net/py-pcs/distinfo @@ -1,3 +1,3 @@ -MD5 (pcs-0.3.tar.gz) = 2cdd2bc3d0e7a6ae9dad493e6eeedb41 -SHA256 (pcs-0.3.tar.gz) = 7f4af7b301ed383af73a6d02126de03a10fb79f5132f11a3f92742e9f496889d -SIZE (pcs-0.3.tar.gz) = 169739 +MD5 (pcs-0.5.tar.gz) = a909937c8ed42da0477bfd1e3b999894 +SHA256 (pcs-0.5.tar.gz) = d60dd5733b7d5335b8fa3b609181c4709969827d594fe790974440cc687a51a7 +SIZE (pcs-0.5.tar.gz) = 376263 diff --git a/net/py-pcs/pkg-plist b/net/py-pcs/pkg-plist index dd15e74745ff..a1a3f87651f9 100644 --- a/net/py-pcs/pkg-plist +++ b/net/py-pcs/pkg-plist @@ -37,6 +37,9 @@ %%PYTHON_SITELIBDIR%%/pcs/packets/nd6.py %%PYTHON_SITELIBDIR%%/pcs/packets/nd6.pyc %%PYTHON_SITELIBDIR%%/pcs/packets/nd6.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 @@ -55,23 +58,18 @@ %%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 +%%PYTHON_SITELIBDIR%%/pcs/pcap.so @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%%/pcap_info.py +%%PORTDOCS%%%%EXAMPLESDIR%%/pcap_slice.py %%PORTDOCS%%%%EXAMPLESDIR%%/ping.py %%PORTDOCS%%%%EXAMPLESDIR%%/snarf.py -%%PORTDOCS%%%%EXAMPLESDIR%%/tcpslice.py %%PORTDOCS%%%%EXAMPLESDIR%%/udp_echo.py %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |