py-dnsdiag: update to 2.0.2 Changes in version 2.0.2: * Small bug fixes and improvements Changes in version 2.0.1: * Add support for DNSSEC * Add -F to display flags for each response (dnsping) * Display full response in verbose mode (dnsping) * Add DoT (DNS over TLS) support (dnsping, dnseval) * Add DoH (DNS over HTTPS) support (dnsping, dnseval) * Add TCP support * Improved JSON output support for dnseval * Refactor and PEP8 cleanup * Do not use system resolver when not needed * Add support for user defined source IP address * Add user-specified destination port (-p/--port) * Improve error handling * Display last response code for each entry * Rework custom socket and custom TTL support * Rework time calculation logic to eliminate an extra DNS request that was just sent for timing (dnstraceroute) * Update docs (output samples, use cases, etc) * Use proper terminology (in code) to reduce confusiondiff -r1.6 -r1.7 pkgsrc/net/py-dnsdiag/Makefile
(khorben)
@@ -1,28 +1,29 @@ | @@ -1,28 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2022/01/04 20:54:26 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2022/08/26 09:22:27 khorben Exp $ | |
2 | 2 | |||
3 | DISTNAME= dnsdiag-1.7.0 | 3 | DISTNAME= dnsdiag-2.0.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= net python | 5 | CATEGORIES= net python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/dnsdiag/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/dnsdiag/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://dnsdiag.org/ | 9 | HOMEPAGE= https://dnsdiag.org/ | |
11 | COMMENT= DNS Diagnostics and Performance Measurement Tools | 10 | COMMENT= DNS Diagnostics and Performance Measurement Tools | |
12 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-cymruwhois>=1.6:../../net/py-cymruwhois | 13 | DEPENDS+= ${PYPKGPREFIX}-cymruwhois>=1.6:../../net/py-cymruwhois | |
15 | DEPENDS+= ${PYPKGPREFIX}-dns>=1.15.0:../../net/py-dns | 14 | DEPENDS+= ${PYPKGPREFIX}-dns>=1.16.0:../../net/py-dns | |
15 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.21.0:../../devel/py-requests | |||
16 | DEPENDS+= ${PYPKGPREFIX}-requests>=0.9.1:../../devel/py-requests-toolbelt | |||
16 | 17 | |||
17 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
18 | 19 | |||
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
20 | 21 | |||
21 | post-install: | 22 | post-install: | |
22 | .for bin in dnseval dnsping dnstraceroute | 23 | .for bin in dnseval dnsping dnstraceroute | |
23 | cd ${DESTDIR}${PREFIX}/bin && \ | 24 | cd ${DESTDIR}${PREFIX}/bin && \ | |
24 | ${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} && ${RM} -f ${bin} || ${TRUE} | 25 | ${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} && ${RM} -f ${bin} || ${TRUE} | |
25 | .endfor | 26 | .endfor | |
26 | 27 | |||
27 | .include "../../lang/python/egg.mk" | 28 | .include "../../lang/python/egg.mk" | |
28 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2021/10/26 11:06:35 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2022/08/26 09:22:27 khorben Exp $ | |
2 | 2 | |||
3 | BLAKE2s (dnsdiag-1.7.0.tar.gz) = 85b3efada581643565ca52cbeab2239047493320245ef5d976d15a4fbb275c0c | 3 | BLAKE2s (dnsdiag-2.0.2.tar.gz) = 4fab9191f7bafdfadc7caec2965d75aa87b54197341d387bf4108c563119837c | |
4 | SHA512 (dnsdiag-1.7.0.tar.gz) = 05eebf5ab905d826005b06895817e57e2e5bdbb115b2679c096e16bf15c78ca73a77f79e8e8feb3c425a171fdc11ad2493c5ce461eff97ae774b17d7c392a768 | 4 | SHA512 (dnsdiag-2.0.2.tar.gz) = 44fcf1791680a807e0d857c1da9ce86725a9d29b7dd81cab20cfa5f425a309e8487ef731c6972f4bfdc789b3d17f0517d3ee88490ea2129d086de67256b0c4e1 | |
5 | Size (dnsdiag-1.7.0.tar.gz) = 12819 bytes | 5 | Size (dnsdiag-2.0.2.tar.gz) = 16767 bytes |
@@ -1,10 +1,19 @@ | @@ -1,10 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2020/08/03 14:11:32 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2022/08/26 09:22:27 khorben Exp $ | |
2 | bin/dnseval-${PYVERSSUFFIX} | 2 | bin/dnseval-${PYVERSSUFFIX} | |
3 | bin/dnsping-${PYVERSSUFFIX} | 3 | bin/dnsping-${PYVERSSUFFIX} | |
4 | bin/dnstraceroute-${PYVERSSUFFIX} | 4 | bin/dnstraceroute-${PYVERSSUFFIX} | |
5 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 5 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
6 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 9 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
10 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 10 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
11 | ${PYSITELIB}/util/__init__.py | |||
12 | ${PYSITELIB}/util/__init__.pyc | |||
13 | ${PYSITELIB}/util/__init__.pyo | |||
14 | ${PYSITELIB}/util/dns.py | |||
15 | ${PYSITELIB}/util/dns.pyc | |||
16 | ${PYSITELIB}/util/dns.pyo | |||
17 | ${PYSITELIB}/util/whois.py | |||
18 | ${PYSITELIB}/util/whois.pyc | |||
19 | ${PYSITELIB}/util/whois.pyo |