diff --git a/net/py-pyshark/Makefile b/net/py-pyshark/Makefile index 0ff049dfbe6c..d8383de1d767 100644 --- a/net/py-pyshark/Makefile +++ b/net/py-pyshark/Makefile @@ -1,28 +1,28 @@ # Created by: Mark Felder PORTNAME= pyshark -PORTVERSION= 0.4.3 +PORTVERSION= 0.4.5 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pyhon packet parsing using wireshark dissectors LICENSE= MIT RUN_DEPENDS= ${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:3.5+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/pyshark/config.ini .include diff --git a/net/py-pyshark/distinfo b/net/py-pyshark/distinfo index 51b3522c182a..fdcde1632bd8 100644 --- a/net/py-pyshark/distinfo +++ b/net/py-pyshark/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619725357 -SHA256 (pyshark-0.4.3.tar.gz) = 28b60bdc1826aa87a3ef8cf397981b4aaf80467a9e13b5260f8bc0229432a362 -SIZE (pyshark-0.4.3.tar.gz) = 20812 +TIMESTAMP = 1643382552 +SHA256 (pyshark-0.4.5.tar.gz) = 3989cf44cc414b296da8c5f15bb406e17951bcfe8510ac8850f7133068cf3969 +SIZE (pyshark-0.4.5.tar.gz) = 21030 diff --git a/net/py-pyshark/files/patch-pyshark-config.ini b/net/py-pyshark/files/patch-pyshark-config.ini index 69eda6fb2c35..6983a31cf65d 100644 --- a/net/py-pyshark/files/patch-pyshark-config.ini +++ b/net/py-pyshark/files/patch-pyshark-config.ini @@ -1,12 +1,12 @@ --- pyshark/config.ini.orig 2020-05-27 13:39:51 UTC +++ pyshark/config.ini @@ -7,7 +7,7 @@ # (Linux): /usr/local/bin/tshark # (Windows): %ProgramFiles%\Wireshark\tshark.exe # (Windows): %ProgramFiles(x86)%\Wireshark\tshark.exe -tshark_path = C:\Program Files\Wireshark\tshark.exe +tshark_path = %%LOCALBASE%%/bin/tshark [dumpcap] -dumpcap_path = C:\Program Files\Wireshark\dumpcap.exe -+dumpcap_path = /usr/local/bin/dumpcap ++dumpcap_path = %%LOCALBASE%%/bin/dumpcap