net/py-impacket: use Cryptodomex, stop sed'ing files.

update HOMEPAGE.

(If someone is using this: the port could do with an update)
This commit is contained in:
sthen
2024-10-18 08:07:44 +00:00
parent 993d0dff62
commit 82ea27bd2f
+3 -5
View File
@@ -7,9 +7,9 @@ DISTNAME = impacket-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
EPOCH = 0
CATEGORIES = net security
REVISION = 2
REVISION = 3
HOMEPAGE = https://www.secureauth.com/labs/open-source-tools/impacket
HOMEPAGE = https://github.com/fortra/impacket
# Apache modified
PERMIT_PACKAGE = Yes
@@ -34,7 +34,7 @@ MODPY_ADJ_FILES = impacket/ese.py \
RUN_DEPENDS = devel/py-asn1${MODPY_FLAVOR} \
devel/py-future${MODPY_FLAVOR} \
net/py-pcapy${MODPY_FLAVOR} \
security/py-cryptodome${MODPY_FLAVOR} \
security/py-cryptodomex${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR}
NO_TEST = Yes
@@ -46,8 +46,6 @@ pre-configure:
${SUBST_CMD} ${WRKSRC}/examples/goldenPac.py \
${WRKSRC}/examples/nmapAnswerMachine.py \
${WRKSRC}/examples/raiseChild.py
# Adjust Cryptodomex imports
find ${WRKSRC} -type f -name \*.py -exec sed -i 's,Cryptodome,Crypto,g' {} +
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGSTEM}