Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 00:16:44 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 910efe118649 - main - dns/knock: Update 4.1.0-27 -> 5.1.0
Message-ID:  <202104180016.13I0GiUp051031@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=910efe1186497f66e457e8c38f172ea7770da7a7

commit 910efe1186497f66e457e8c38f172ea7770da7a7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-18 00:11:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-18 00:16:37 +0000

    dns/knock: Update 4.1.0-27 -> 5.1.0
---
 dns/knock/Makefile | 21 +++++++++++++++------
 dns/knock/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180016.13I0GiUp051031>