Index: head/net/py-pyshark/Makefile =================================================================== --- head/net/py-pyshark/Makefile (revision 499295) +++ head/net/py-pyshark/Makefile (revision 499296) @@ -1,24 +1,30 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= pyshark -PORTVERSION= 0.3.6.2 +PORTVERSION= 0.4.2.2 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pyhon packet parsing using wireshark dissectors LICENSE= MIT -RUN_DEPENDS= tshark>0:net/tshark \ - ${PYTHON_PKGNAMEPREFIX}trollius>0:devel/py-trollius@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}logbook>0:devel/py-logbook@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}logbook>=0:devel/py-logbook@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}py>=0:devel/py-py@${PY_FLAVOR} \ + tshark:net/tshark +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USES= python zip +USES= python:3.5+ USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e 's|C:\\Program Files\\Wireshark\\\(.*\).exe|${LOCALBASE}/bin/\1|' ${WRKSRC}/pyshark/config.ini .include Index: head/net/py-pyshark/distinfo =================================================================== --- head/net/py-pyshark/distinfo (revision 499295) +++ head/net/py-pyshark/distinfo (revision 499296) @@ -1,3 +1,3 @@ -TIMESTAMP = 1486231320 -SHA256 (pyshark-0.3.6.2.zip) = 7ed7593767c15db13bb193927c8effd9326f4de3d6396a9b58b078a4fb3005ca -SIZE (pyshark-0.3.6.2.zip) = 27258 +TIMESTAMP = 1555595792 +SHA256 (pyshark-0.4.2.2.tar.gz) = d46c7470561243c02abb32c31eff8817a76dcc4fa29df976378e172429639d8b +SIZE (pyshark-0.4.2.2.tar.gz) = 21602 Property changes on: head/net/py-pyshark/distinfo ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property Index: head/net/py-pyshark/pkg-descr =================================================================== --- head/net/py-pyshark/pkg-descr (revision 499295) +++ head/net/py-pyshark/pkg-descr (revision 499296) @@ -1,4 +1,10 @@ -Python wrapper for tshark, allowing python packet parsing using +pyshark is a Python wrapper for tshark, allowing python packet parsing using wireshark dissectors. -WWW: https://pypi.org/project/pyshark/ +There are quite a few python packet parsing modules, this one is different +because it doesn't actually parse any packets, it simply uses tshark's +(wireshark command-line utility) ability to export XMLs to use its parsing. This +package allows parsing from a capture file or a live capture, using all +wireshark dissectors you have installed. + +WWW: https://github.com/KimiNewt/pyshark Property changes on: head/net/py-pyshark/pkg-descr ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property