Bug 284701 - net/py-impacket: RUN_DEPENDS should include net/py-pcapy
Summary: net/py-impacket: RUN_DEPENDS should include net/py-pcapy
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-10 04:16 UTC by John Hein
Modified: 2025-02-13 12:01 UTC (History)
3 users (show)

See Also:
jcfyecrayz: maintainer-feedback? (acm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2025-02-10 04:16:20 UTC
bin/sniff.py and bin/split.py import pcapy (from net/py-pcapy).

Other python flavors than the default (currently py311) can be installed as well, so adding USES+=concurrent is useful.

Patch included inline...

--- a/net/py-impacket/Makefile
+++ b/net/py-impacket/Makefile
@@ -17,13 +17,14 @@ RUN_DEPENDS=        ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}ldap3>0:net/py-ldap3@${PY_FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}pcapy>0:net/py-pcapy@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}charset-normalizer>0:textproc/py-charset-normalizer@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}ldapdomaindump>0:net/py-ldapdomaindump@${PY_FLAVOR}

 USES=          dos2unix python
-USE_PYTHON=    autoplist distutils
+USE_PYTHON=    autoplist concurrent distutils
 NO_ARCH=       yes

 PORTDOCS=      *
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2025-02-13 12:01:50 UTC
^Triage: Assign to maintainer.