aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-18 00:11:56 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-18 00:16:37 +0000
commit910efe1186497f66e457e8c38f172ea7770da7a7 (patch)
treed0ad80e98a26de03fe4cd9d391a2a00d57782dd8
parent427cfd0c4c0ff66bc0c48d7e306688126558121e (diff)
downloadports-910efe1186497f66e457e8c38f172ea7770da7a7.tar.gz
ports-910efe1186497f66e457e8c38f172ea7770da7a7.zip
dns/knock: Update 4.1.0-27 -> 5.1.0
-rw-r--r--dns/knock/Makefile21
-rw-r--r--dns/knock/distinfo6
2 files changed, 18 insertions, 9 deletions
diff --git a/dns/knock/Makefile b/dns/knock/Makefile
index 18596be5f942..7ab54895e1c3 100644
--- a/dns/knock/Makefile
+++ b/dns/knock/Makefile
@@ -1,6 +1,5 @@
PORTNAME= knock
-DISTVERSION= 4.1.0-27
-DISTVERSIONSUFFIX= -ge2c98df
+DISTVERSION= 5.1.0
CATEGORIES= dns
PKGNAMESUFFIX= py
@@ -9,14 +8,24 @@ COMMENT= Tool designed to enumerate subdomains on a target domain
LICENSE= GPLv2
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR}
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python pyqt:5 # pyqt:5 isn't used: https://github.com/guelfoweb/knock/issues/108
+USE_PYTHON= distutils noflavors autoplist
+USE_PYQT= core_run
-USES= python
USE_GITHUB= yes
GH_ACCOUNT= guelfoweb
-USE_PYTHON= distutils noflavors autoplist
NO_ARCH= yes
+post-install: # workaround for: pkg_resources.DistributionNotFound: The 'PyQt5' distribution was not found and is required by knockpy
+ @${REINPLACE_CMD} -e 's|PyQt5||' ${STAGEDIR}/${PYTHON_SITELIBDIR}/*/requires.txt
+
.include <bsd.port.mk>
diff --git a/dns/knock/distinfo b/dns/knock/distinfo
index 739b99c19075..4f9ddbace801 100644
--- a/dns/knock/distinfo
+++ b/dns/knock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1558429013
-SHA256 (guelfoweb-knock-4.1.0-27-ge2c98df_GH0.tar.gz) = 6c9f3b4a2ccfa1e1f2d7a3fda9034bd33c7b2143299dbf0475f897bfa4729594
-SIZE (guelfoweb-knock-4.1.0-27-ge2c98df_GH0.tar.gz) = 14639
+TIMESTAMP = 1618566489
+SHA256 (guelfoweb-knock-5.1.0_GH0.tar.gz) = d113b6ee981922a6ba68e9372967b0ff3410112c54cbc13f87dcf843123a12cf
+SIZE (guelfoweb-knock-5.1.0_GH0.tar.gz) = 27829