diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 8687 -> 8696 bytes | |||
-rw-r--r-- | net-dns/dnsviz/Manifest | 9 | ||||
-rw-r--r-- | net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild | 61 | ||||
-rw-r--r-- | net-dns/dnsviz/dnsviz-0.9.2.ebuild | 52 | ||||
-rw-r--r-- | net-dns/dnsviz/dnsviz-0.9.3.ebuild | 52 | ||||
-rw-r--r-- | net-dns/dnsviz/files/dnsviz-0.8.2-add-ed448-support.patch | 182 | ||||
-rw-r--r-- | net-dns/dnsviz/metadata.xml | 9 | ||||
-rw-r--r-- | net-dns/maradns/Manifest | 2 | ||||
-rw-r--r-- | net-dns/maradns/metadata.xml | 5 | ||||
-rw-r--r-- | net-dns/nsd/Manifest | 12 | ||||
-rw-r--r-- | net-dns/nsd/files/nsd-4.3.9-no_ssl.patch | 22 | ||||
-rw-r--r-- | net-dns/nsd/nsd-4.5.0-r1.ebuild (renamed from net-dns/nsd/nsd-4.4.0.ebuild) | 36 | ||||
-rw-r--r-- | net-dns/nsd/nsd-4.5.0.ebuild | 2 | ||||
-rw-r--r-- | net-dns/nsd/nsd-4.6.0.ebuild (renamed from net-dns/nsd/nsd-4.3.9.ebuild) | 52 | ||||
-rw-r--r-- | net-dns/nsd/nsd-9999.ebuild | 36 | ||||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 2 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.7.1.ebuild | 88 |
17 files changed, 174 insertions, 448 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex e130297e257c..80e3f326ac47 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/dnsviz/Manifest b/net-dns/dnsviz/Manifest index bfa641e5b628..5cbd459c9bf5 100644 --- a/net-dns/dnsviz/Manifest +++ b/net-dns/dnsviz/Manifest @@ -1,10 +1,3 @@ -AUX dnsviz-0.8.2-add-ed448-support.patch 6452 BLAKE2B 77f12acf3bd4224200f677b24899c56061a9d99d03de681bfa117869a7af4148faa30004a200cd6bb968ce53b67d1d3b72a0374e441ebc9ae96e22c3a88b9c95 SHA512 d2e60d7270267dac1237b8d32ae2a5b603972a9e9901eee03cf7d51e004f3d2aba911b3032f710f4b293b308b3507dfa74eede0e2a653b6c86b90123c9b847ad -DIST dnsviz-0.8.2.tar.gz 404265 BLAKE2B c4ba6b5a7d6fee7c8e2cba0c90f29560152dd4beed1ef4d80a6a3bf9f81646ee8f0d61c38329233e300f2b434cb5d9e9d2a926dc72997ae68ff0a57e147bafcf SHA512 5414d9bda6c0bf5fdc5a84a09cb5833619110702749b12f87d63f5149de473f4bd1b6960c506c60ec5fc5ff82d789536cee70a299ff13c960a45776de2916c80 -DIST dnsviz-0.9.2.tar.gz 477947 BLAKE2B 62b94e6b05d1129d5c4655ff1faf8adb3c2eec868db6049e09dd180cebccab94412eee25293d83ec3e6bc5b18fae33ba0acfe3c3b30cececdd4952005879eab0 SHA512 8ad9e1aabb4704ff4939617532c32e5edde0d369efd2e4a7a6f30d33b8bac941b2d1073e98fed90e2a11438a0b1c18b8fafe07f4122fb888ebdb24bd2426abf6 -DIST dnsviz-0.9.3.tar.gz 477931 BLAKE2B e3e020fdddacdf06a4e7b78edade72136d6530dac5b243b30e97f609c9fb3b912fb6d6c00b8c54e17f1d2ba411a2b116f9cb89bfc51c01f43d8a1a03a00755aa SHA512 8ccaa29df6cc7824db7153950d5cb423d1ac7a76ae20a15b35c2e66d362b3340e23a9973f71b884ea7e7b861e2bb0051e32abc3e45795792a7db3b01b62449c5 DIST dnsviz-0.9.4.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3 -EBUILD dnsviz-0.8.2-r1.ebuild 1665 BLAKE2B 8fc98b6e8541017e8ef69860f5f4c303ae0bd1052df844d292d32b9f4cbe8fa8c948c113cabbd79c3956637401c3ce6296e327b7c469a63eb9e12e6966d6a95f SHA512 6d282ff6cd563d83b8fe667bc65ba16dd714938301df646025d6f68cea456e6eb1390fc18279ab4bf3f8d143d151c648d688d2c76b8b8e0653b7e02a1b1fad0b -EBUILD dnsviz-0.9.2.ebuild 1463 BLAKE2B 6a71e37c098775c6b3ed137b7226481e89ecc1acf64c618dd3c7d13c47b2ea8fe4912fc7a3120787c1ba5ff17f74909d226b4b7c75a87e3ac38651cab79d1b13 SHA512 197a8c4423fb4f62d1dc7386be493e307d746bc5b61be4a6130150ec4aa09f4979c1eae460ad1428c4f0d75da0ef93b969bbd8694eeaa44198de2c4b7d1b0ad4 -EBUILD dnsviz-0.9.3.ebuild 1463 BLAKE2B 6a71e37c098775c6b3ed137b7226481e89ecc1acf64c618dd3c7d13c47b2ea8fe4912fc7a3120787c1ba5ff17f74909d226b4b7c75a87e3ac38651cab79d1b13 SHA512 197a8c4423fb4f62d1dc7386be493e307d746bc5b61be4a6130150ec4aa09f4979c1eae460ad1428c4f0d75da0ef93b969bbd8694eeaa44198de2c4b7d1b0ad4 EBUILD dnsviz-0.9.4.ebuild 1463 BLAKE2B fe1a695ec737219689900334fcbb908aab7bd1b299f73763a65af21d0067519abdf0864bde5362195b7509ccef0ea4b544c327f8b59934189028defaf55d66fa SHA512 17eee874998d6a5f28cdd6c0b78e78d7c251f59d48851d677f7727898fba580e6d4915d347d2a03845ada860407db2b8fc277124e912ae3dffe73dd42390fb0d -MISC metadata.xml 718 BLAKE2B 556f60636b5e538fdb399b5b385ab835370688ac9720ecd980d700b1383b20cd0524c5af7255f14bd51ee18b771d0028d5a156eae07594e0ef2ae8aca53e9111 SHA512 06734ac2b97b065e442672a38a00ccc182c095d94847d588d4471eb00021b338c3ff6ce2144d2c2b66d8f2019a826b4cd5e95eb2aaac840e7bf0acc132f7ba5e +MISC metadata.xml 482 BLAKE2B 0cbdba25f485a7eca25f8c9978f16637878cca931ce4f43320efe579b35286c6a1ce8319d2144f5e48367b61d3c0818f076848f6bb86ecc3fdb98d62ff74c184 SHA512 1c4d34e000391515754dc345f56894279dfcf142dc7c12e91276f437d932c3d744c4ec36fd342f8a9040394d0c63af2113ebeea25d743b49b9d0359406827eb4 diff --git a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild deleted file mode 100644 index e3feb492a94d..000000000000 --- a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -inherit distutils-r1 optfeature - -DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC" -HOMEPAGE="https://dnsviz.net/" -SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-python/dnspython[${PYTHON_USEDEP}] - >=dev-python/m2crypto-0.31.0[${PYTHON_USEDEP}] - >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]" - -RDEPEND=" - ${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-0.8.2-add-ed448-support.patch ) - -python_prepare_all() { - # Fix the ebuild to use correct FHS/Gentoo policy paths for 0.8.2 - sed -i \ - -e "s|share/doc/dnsviz|share/doc/${PF}|g" \ - "${S}"/setup.py \ - || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - "${EPYTHON}" tests/offline_tests.py -v || die - - # No need to pull in net-dns/bind for this small test - if hash named-checkconf &>/dev/null ; then - "${EPYTHON}" tests/local_probe_tests.py -v || die - else - einfo "Skipping local_probe_tests -- named-checkconf not found!" - fi -} - -pkg_postinst() { - optfeature "Support for pre-deployment testing" net-dns/bind - - # Warn about extra requirements for >=OpenSSL 1.1.0 - if has_version '=dev-libs/openssl-1.1*'; then - ewarn "With OpenSSL version 1.1.0 and later,the OpenSSL GOST Engine" - ewarn "is necessary to validate DNSSEC signatures with algorithm 12" - ewarn "(GOST R 34.10-2001) and digests of type 3 (GOST R 34.11-94)" - ewarn "OpenSSL GOST Engine can be get from --> dev-libs/gost-engine" - fi -} diff --git a/net-dns/dnsviz/dnsviz-0.9.2.ebuild b/net-dns/dnsviz/dnsviz-0.9.2.ebuild deleted file mode 100644 index d1f444d39db4..000000000000 --- a/net-dns/dnsviz/dnsviz-0.9.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit distutils-r1 optfeature - -DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC" -HOMEPAGE="https://dnsviz.net/" -SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( net-dns/bind )" - -DEPEND=">=dev-python/dnspython-1.13[${PYTHON_USEDEP}] - >=dev-python/m2crypto-0.37.0[${PYTHON_USEDEP}] - >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]" - -RDEPEND="${DEPEND}" - -python_prepare_all() { - # Fix the ebuild to use correct FHS/Gentoo policy paths - sed -i \ - -e "s|share/doc/dnsviz|share/doc/${PF}|g" \ - "${S}"/setup.py \ - || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - "${EPYTHON}" tests/dnsviz_probe_run_offline.py -v || die - "${EPYTHON}" tests/dnsviz_print_options.py -v || die - "${EPYTHON}" tests/dnsviz_print_run.py -v || die - "${EPYTHON}" tests/dnsviz_graph_options.py -v || die - "${EPYTHON}" tests/dnsviz_graph_run.py -v || die - "${EPYTHON}" tests/dnsviz_grok_options.py -v || die - "${EPYTHON}" tests/dnsviz_grok_run.py -v || die -} - -pkg_postinst() { - optfeature "Support for pre-deployment testing" net-dns/bind - optfeature "Support for DNSSEC signatures using GOST algorithm or digest" dev-libs/ghost-engine -} diff --git a/net-dns/dnsviz/dnsviz-0.9.3.ebuild b/net-dns/dnsviz/dnsviz-0.9.3.ebuild deleted file mode 100644 index d1f444d39db4..000000000000 --- a/net-dns/dnsviz/dnsviz-0.9.3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit distutils-r1 optfeature - -DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC" -HOMEPAGE="https://dnsviz.net/" -SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( net-dns/bind )" - -DEPEND=">=dev-python/dnspython-1.13[${PYTHON_USEDEP}] - >=dev-python/m2crypto-0.37.0[${PYTHON_USEDEP}] - >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]" - -RDEPEND="${DEPEND}" - -python_prepare_all() { - # Fix the ebuild to use correct FHS/Gentoo policy paths - sed -i \ - -e "s|share/doc/dnsviz|share/doc/${PF}|g" \ - "${S}"/setup.py \ - || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - "${EPYTHON}" tests/dnsviz_probe_run_offline.py -v || die - "${EPYTHON}" tests/dnsviz_print_options.py -v || die - "${EPYTHON}" tests/dnsviz_print_run.py -v || die - "${EPYTHON}" tests/dnsviz_graph_options.py -v || die - "${EPYTHON}" tests/dnsviz_graph_run.py -v || die - "${EPYTHON}" tests/dnsviz_grok_options.py -v || die - "${EPYTHON}" tests/dnsviz_grok_run.py -v || die -} - -pkg_postinst() { - optfeature "Support for pre-deployment testing" net-dns/bind - optfeature "Support for DNSSEC signatures using GOST algorithm or digest" dev-libs/ghost-engine -} diff --git a/net-dns/dnsviz/files/dnsviz-0.8.2-add-ed448-support.patch b/net-dns/dnsviz/files/dnsviz-0.8.2-add-ed448-support.patch deleted file mode 100644 index 1d4d88e97e6d..000000000000 --- a/net-dns/dnsviz/files/dnsviz-0.8.2-add-ed448-support.patch +++ /dev/null @@ -1,182 +0,0 @@ -From 99bb0c7430c9f954582eabd3a9581fe0db6f2e81 Mon Sep 17 00:00:00 2001 -From: Pascal Ernster <git@hardfalcon.net> -Date: Mon, 22 Jul 2019 04:25:18 +0200 -Subject: [PATCH] Replace libnacl with python-cryptography, add support for - algo 16 (Ed448) - -Origin: https://github.com/dnsviz/dnsviz/pull/54 - ---- - Dockerfile | 2 +- - README.md | 8 ++++---- - contrib/dnsviz-py2.spec | 2 +- - contrib/dnsviz-py3.spec | 2 +- - dnsviz/crypto.py | 30 +++++++++++++++++++++++++----- - requirements.txt | 2 +- - setup.py | 2 +- - 7 files changed, 34 insertions(+), 14 deletions(-) - -diff --git a/Dockerfile b/Dockerfile -index dc6a0d9e..61a319de 100644 ---- a/Dockerfile -+++ b/Dockerfile -@@ -2,7 +2,7 @@ FROM alpine:edge - - RUN apk add python3 graphviz ttf-liberation libsodium bind bind-tools - RUN apk add --virtual builddeps linux-headers python3-dev graphviz-dev gcc libc-dev openssl-dev swig && \ -- pip3 install pygraphviz m2crypto dnspython libnacl && \ -+ pip3 install pygraphviz m2crypto dnspython cryptography && \ - apk del builddeps - - COPY . /tmp/dnsviz -diff --git a/README.md b/README.md -index e9dcda83..03d9c3dd 100644 ---- a/README.md -+++ b/README.md -@@ -41,7 +41,7 @@ Instructions for running in a Docker container are also available - - * M2Crypto (0.28.0 or later) - https://gitlab.com/m2crypto/m2crypto - --* libnacl - https://github.com/saltstack/libnacl -+* Cryptography (2.6 or later) - https://cryptography.io/ - - Note that the software versions listed above are known to work with the current - version of DNSViz. Other versions might also work well together, but might -@@ -85,7 +85,7 @@ $ source ~/myenv/bin/activate - ``` - (Note that this installs the dependencies that are python packages, but some of - these packages have non-python dependecies, such as Graphviz (required for --pygraphviz) and libsodium (required for libnacl), that are not installed -+pygraphviz) and OpenSSL (required for Cryptography), that are not installed - automatically.) - - Next download and install DNSViz from the Python Package Index (PyPI): -@@ -121,9 +121,9 @@ $ cp dist/dnsviz-*.tar.gz ~/rpmbuild/SOURCES/ - $ cp contrib/dnsviz-py${PY_VERS}.spec ~/rpmbuild/SPECS/dnsviz.spec - ``` - --Install dnspython, pygraphviz, M2Crypto, and libnacl. -+Install dnspython, pygraphviz, M2Crypto, and Cryptography. - ``` --$ sudo dnf install python${PY_VERS}-dns python${PY_VERS}-pygraphviz python${PY_VERS}-libnacl -+$ sudo dnf install python${PY_VERS}-dns python${PY_VERS}-pygraphviz python${PY_VERS}-cryptography - ``` - For python2: - ``` -diff --git a/contrib/dnsviz-py2.spec b/contrib/dnsviz-py2.spec -index 0bea597b..65033c95 100644 ---- a/contrib/dnsviz-py2.spec -+++ b/contrib/dnsviz-py2.spec -@@ -15,7 +15,7 @@ BuildRequires: make - Requires: python2-pygraphviz >= 1.3 - Requires: m2crypto >= 0.28.0 - Requires: python2-dns >= 1.13 --Requires: python2-libnacl -+Requires: python2-cryptography - - %description - DNSViz is a tool suite for analysis and visualization of Domain Name System -diff --git a/contrib/dnsviz-py3.spec b/contrib/dnsviz-py3.spec -index ef25f4b5..975f3e10 100644 ---- a/contrib/dnsviz-py3.spec -+++ b/contrib/dnsviz-py3.spec -@@ -15,7 +15,7 @@ BuildRequires: make - Requires: python3-pygraphviz >= 1.3 - Requires: python3-m2crypto >= 0.28.0 - Requires: python3-dns >= 1.13 --Requires: python3-libnacl -+Requires: python3-cryptography - - %description - DNSViz is a tool suite for analysis and visualization of Domain Name System -diff --git a/dnsviz/crypto.py b/dnsviz/crypto.py -index b011cbf3..283eac4d 100644 ---- a/dnsviz/crypto.py -+++ b/dnsviz/crypto.py -@@ -55,7 +55,7 @@ - 'M2Crypto >= 0.21.1': (set([1,5,7,8,10]), set([1,2,4]), set([1])), - 'M2Crypto >= 0.24.0': (set([3,6,13,14]), set(), set()), - 'M2Crypto >= 0.24.0 and either openssl < 1.1.0 or openssl >= 1.1.0 plus the OpenSSL GOST Engine': (set([12]), set([3]), set()), -- 'libnacl': (set([15]), set(), set()), -+ 'cryptography': (set([15,16]), set(), set()), - } - _logged_modules = set() - -@@ -72,12 +72,19 @@ - _supported_digest_algs.update(set([1,2,4])) - - try: -- from libnacl.sign import Verifier as ed25519Verifier -+ from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey - except ImportError: - pass - else: - _supported_algs.add(15) - -+try: -+ from cryptography.hazmat.primitives.asymmetric.ed448 import Ed448PublicKey -+except ImportError: -+ pass -+else: -+ _supported_algs.add(16) -+ - GOST_PREFIX = b'\x30\x63\x30\x1c\x06\x06\x2a\x85\x03\x02\x02\x13\x30\x12\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x07\x2a\x85\x03\x02\x02\x1e\x01\x03\x43\x00\x04\x40' - GOST_ENGINE_NAME = b'gost' - GOST_DIGEST_NAME = b'GOST R 34.11-94' -@@ -386,10 +393,21 @@ def _validate_rrsig_ec(alg, sig, msg, key): - - def _validate_rrsig_ed25519(alg, sig, msg, key): - try: -- verifier = ed25519Verifier(binascii.hexlify(key)) -- return verifier.verify(sig + msg) == msg -- except ValueError: -+ verifier = Ed25519PublicKey.from_public_bytes(key) -+ verifier.verify(sig, msg) -+ except: - return False -+ else: -+ return True -+ -+def _validate_rrsig_ed448(alg, sig, msg, key): -+ try: -+ verifier = Ed448PublicKey.from_public_bytes(key) -+ verifier.verify(sig, msg) -+ except: -+ return False -+ else: -+ return True - - def validate_rrsig(alg, sig, msg, key): - if not alg_is_supported(alg): -@@ -407,6 +425,8 @@ def validate_rrsig(alg, sig, msg, key): - return _validate_rrsig_ec(alg, sig, msg, key) - elif alg in (15,): - return _validate_rrsig_ed25519(alg, sig, msg, key) -+ elif alg in (16,): -+ return _validate_rrsig_ed448(alg, sig, msg, key) - - def get_digest_for_nsec3(val, salt, alg, iterations): - if not nsec3_alg_is_supported(alg): -diff --git a/requirements.txt b/requirements.txt -index d6b2de5e..af2be235 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,4 +1,4 @@ - dnspython - pygraphviz - m2crypto --libnacl -+cryptography -diff --git a/setup.py b/setup.py -index ba1016e3..b531c025 100644 ---- a/setup.py -+++ b/setup.py -@@ -135,7 +135,7 @@ def run(self): - 'pygraphviz (>=1.1)', - 'm2crypto (>=0.24.0)', - 'dnspython (>=1.11)', -- 'libnacl', -+ 'cryptography (>=2.6)', - ], - classifiers=[ - 'Development Status :: 5 - Production/Stable', diff --git a/net-dns/dnsviz/metadata.xml b/net-dns/dnsviz/metadata.xml index dd590e429417..4d5fa79a603b 100644 --- a/net-dns/dnsviz/metadata.xml +++ b/net-dns/dnsviz/metadata.xml @@ -1,14 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>hasan.calisir@psauxit.com</email> - <name>Hasan ÇALIŞIR</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> + <!-- maintainer-needed --> <longdescription lang="en"> DNSViz is a tool suite for analysis and visualization of Domain Name System (DNS) behavior, including its security extensions (DNSSEC). diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 3559fffba083..15b733a4bee3 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -8,4 +8,4 @@ DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0a DIST maradns-3.5.0020.tar.xz 7154452 BLAKE2B 4d193c06620332b90f4a004e787f9cbe61cd48adcee1dd667ecf0383c0fb81f5b7cae40ee953f077b2ccf060d7429863f741cf942c34c862d6c56092bc40600b SHA512 3478ccdc82d5be45826072f91c1b00c491f21f69bcce169cfeb3dfdd00e0012a9def884d711daa41ea18dce52e069dbb4c31e1e37ecda418565b5d8d6a0ea4d4 EBUILD maradns-3.5.0005.ebuild 2410 BLAKE2B a6703a7856b9344dfa5c17df257f8cdcf46013498c2acfb46a02bf2d2923692e9d9b9288b7ba3d15fe77a8fdd67ba444fc3283e3e43f01c97fff82a971fd928e SHA512 d09cddab2a6e4af7cdfbd48ce99b16a1759baf34c85376fd3ed16629c545abfa353eb95a074ce73f8af44ef8ed631daa128b3bc23bcb9b4ed39afec9bc0f86d6 EBUILD maradns-3.5.0020.ebuild 2576 BLAKE2B ca97afffa1ec6db0af09d78e9e5574037a360b8d4b1914a939a48d0daec36ee86ddaeadb8cd4fb59721750f1749f38ba0faf6e61ac1d1047d7d74757745ad566 SHA512 73a2fd092e379ebde7c670c172aa369dfbd75d4ae401f064ee9dac802b38eca60dde7fdac6006f4ae38a8a48ad8cf5f7474d3796b749cf69ae95768e887d4d44 -MISC metadata.xml 362 BLAKE2B bbaef4b08b863e64c6efe3cac9384723cb2c4853b90ba14fd120b45541895a68821fba60e204077e094e99d10998ba49afdd47165889b2260eed847399edfe17 SHA512 61a0fb43282050c22c65b715d4df88ee64acbfefa7fa05726e5f784483357dae57ec68778d12b60354b34664bdf4226f556a66039a0624e0908daa30d19dce8b +MISC metadata.xml 262 BLAKE2B c06e19c824b3a1235a60dd441b0443e2bd2880c90d531b7775402b1f89a89347127b4ee72d7d114f93a2ded7bc0dde81c61cd16e5eb38923ea3d13565598e3df SHA512 a6cf0c235960afadbf8e447a7f7c07c0fa2f713334ad7019e237885df34c0027a62bf3bed1f9600e8d1a4be1366686f6ae65ac3b113f0328e3d628a6eabb7f71 diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml index cef4084d070a..fb814e265bc9 100644 --- a/net-dns/maradns/metadata.xml +++ b/net-dns/maradns/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>slashbeast@gentoo.org</email> - <name>Piotr Karbowski</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="github">samboy/MaraDNS</remote-id> </upstream> diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest index 1c85736ce73f..345831aae6b7 100644 --- a/net-dns/nsd/Manifest +++ b/net-dns/nsd/Manifest @@ -1,15 +1,13 @@ -AUX nsd-4.3.9-no_ssl.patch 662 BLAKE2B 372b8d842a9ee79b30aee24b5df339bda5de697cefc3a5616fa048e58cf8c6be0cf2b90c046fe211a374e9c643d28222c8a67c52fe7fa86417caaa88a127619c SHA512 3bb33786d19803b8ce4e8119fb5be5fb450aaeba81f915eb7f758f61b6e5bad1cdfc3daa7c217d6cf367561a9387df7e5682028c22d598045b2e4164b42db6ca AUX nsd.initd-r1 1383 BLAKE2B b90de2ebef09a4f9050f6e95f5faf659c62910462aba1179daccde4e63a3972124247e6e8ce725c4dbd34a7fcd4f14b40899d7b59ba4937bdc59c493f6f7e173 SHA512 f775c78b529c5c7f1130035ea9c6cf1c1e9c1790c5df84fafd86a41294748a46c82b66c58df8385f8f4bbca8113427c665051aeec5720073bd9823607c9f8ce1 AUX nsd.munin-conf 23 BLAKE2B 0b08804b2218d77ea925d4c9e26e73649b453b923d6d7b1e1df39ceb58b92a44c48cb21583a480e622f72d07650f410f2e0703f1d16af08152aed16982ab8da2 SHA512 c06d0b035387e7be79cfa8fedf8afb3900772146c6d4090ac39ea2ef165772d875b222ef467bd73422078ef57818bcc931ca67fa290bd99a7a9456efa5448853 AUX nsd.service 272 BLAKE2B 66a7d4132246589f71341afd98361f6b02082be3d4e230c86ae690876a797ea0a4580b29892d91feba2785ea933a053f862e0d00f2c8a8c09ab907386c39a03c SHA512 fbca86887bfc36d61af06992cc98b3f3cb33c39274fbdc1e53d489bdcc767993911fab27a20244c3878b36bacbd1644a552364b2f7bf4d48e6eb247d0eecdf0f AUX nsd_munin_.patch 542 BLAKE2B 13ff49c41683d5bf505e257cd17bf5f3ad06662c00032d79b36be3f96486eb89fdd62a42b5ed4816ad99835366864603568613e27504894340ebb64057e2b2c3 SHA512 6034086d6b6f6980468766c901e92291fea8a32df179561ede2add5918c37bfe3aabf122735d4ae2e28efece394fd3398f9a0cc4d8fdcc1e5da1ca709d2ba6ae DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5 SHA512 aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268 -DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5 SHA512 de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32 -DIST nsd-4.4.0.tar.gz 1226433 BLAKE2B 8ead662c2ad87e9cfd9424898758cb7a7e6adc3c419583e0a4c3ced4d6bb8ae5005266af621ee4c138a06215652b60b65f075a875b6473dc92d1bef414901be1 SHA512 0fa32337246ccdaf9d6fe4257792cef8b6ce6de086fdee1024983da7b90a77b9039061cee87a2e0ad7eddf195411c57f4777469d973f2bdc10d3a51ee96d90bc DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397 SHA512 0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da +DIST nsd-4.6.0.tar.gz 1273532 BLAKE2B 962bb93decb268d6958afad0e3182f256c91a9e78179db21458d00571df200faf23efe327b99a2bac423d092ad759dc678230bbdc45cfb95b75f2e7a271005c6 SHA512 e9f035e42f47ac115cb2c1d0ebdef8b13b1feebca91d4f840d36904efb5ab44a817584b28c9d0d3e236fde1581e8283bcdd554a5463d4b5788329f9245414cbb EBUILD nsd-4.3.8.ebuild 3049 BLAKE2B 3499602d7adbc789ceab25cf46d5006c3744589872774fb9a019d9353a457e221ba11e2c05e74c737f214b08f38abe2a85fcf3e4247896aea5ebc4d296f81f8f SHA512 d1be9bac66251d7f1a37b0ed62d162cbce93a5b483ebff88de50c3f1c87b6f20235874303a18ab26ae731a235fe7f4fb245e09f07272bdd3a0a8704c5c8e8796 -EBUILD nsd-4.3.9.ebuild 3093 BLAKE2B 443b5593181d0a5586c715b8c78887f5ffb0fb9e9b525f8af0d2786bb4912562fce74d258a71df34342c0692cd98be1ee3e2ebd11e11f1feb2c37709dd94fce4 SHA512 ff61b9bc7e9f9cfd24de1f4a9abb8dd810937bd7cba48f185f1f50160624ad9ba2e906dd8bd90d91e9a81d70bb8616e1de803c7ab743f3886fa8765c740d580a -EBUILD nsd-4.4.0.ebuild 3166 BLAKE2B e7d9f5a1208e13456c0a29095e4e2e1132c5d03b2bd3d498079313e8ece39b77f69a65917d9117a811d79f2578debf3c1d5fb6fbfe6b607f2eea062518860109 SHA512 fe6e353bd410ed2f00eca4581ec0c23c1a9b033f6bd01fe03b177c93d5e441d329e3e15a8c566fba184a6d10f6433049373729a1101d137745784720747b83b5 -EBUILD nsd-4.5.0.ebuild 3166 BLAKE2B e7d9f5a1208e13456c0a29095e4e2e1132c5d03b2bd3d498079313e8ece39b77f69a65917d9117a811d79f2578debf3c1d5fb6fbfe6b607f2eea062518860109 SHA512 fe6e353bd410ed2f00eca4581ec0c23c1a9b033f6bd01fe03b177c93d5e441d329e3e15a8c566fba184a6d10f6433049373729a1101d137745784720747b83b5 -EBUILD nsd-9999.ebuild 3166 BLAKE2B e7d9f5a1208e13456c0a29095e4e2e1132c5d03b2bd3d498079313e8ece39b77f69a65917d9117a811d79f2578debf3c1d5fb6fbfe6b607f2eea062518860109 SHA512 fe6e353bd410ed2f00eca4581ec0c23c1a9b033f6bd01fe03b177c93d5e441d329e3e15a8c566fba184a6d10f6433049373729a1101d137745784720747b83b5 +EBUILD nsd-4.5.0-r1.ebuild 3153 BLAKE2B d9edcc348716fddc9c776d8f77889532100719d218b8d8662dd68023d340064c8b97f74da15b56b1d3474334b96821cb879305042562df978c9b8b18e058fa83 SHA512 a071cfb2135c75131a4c05180ada77ea30915adc0276831f9f1861347bd7a9978662d07d1c541cf2ca59f98a3d9edcf46b00ac305193e785b8b6fecc0bcc80ac +EBUILD nsd-4.5.0.ebuild 3164 BLAKE2B f7e5de846b7dd78f2d95c40dfed9ce694f8773976929760ca9667d3209a5aa35bc909edce689d6ceae18faf73364775ae1b8df1cb7d09fe42e39d72b39b1b60d SHA512 d77bd9baae67acac772692cf26392e39fd6a4afb4f01dca399b015e19631d267e7cff32442f1d9e8dde83951b8587ca91d23f66505d743440bdcf20819b90807 +EBUILD nsd-4.6.0.ebuild 3153 BLAKE2B d9edcc348716fddc9c776d8f77889532100719d218b8d8662dd68023d340064c8b97f74da15b56b1d3474334b96821cb879305042562df978c9b8b18e058fa83 SHA512 a071cfb2135c75131a4c05180ada77ea30915adc0276831f9f1861347bd7a9978662d07d1c541cf2ca59f98a3d9edcf46b00ac305193e785b8b6fecc0bcc80ac +EBUILD nsd-9999.ebuild 3153 BLAKE2B d9edcc348716fddc9c776d8f77889532100719d218b8d8662dd68023d340064c8b97f74da15b56b1d3474334b96821cb879305042562df978c9b8b18e058fa83 SHA512 a071cfb2135c75131a4c05180ada77ea30915adc0276831f9f1861347bd7a9978662d07d1c541cf2ca59f98a3d9edcf46b00ac305193e785b8b6fecc0bcc80ac MISC metadata.xml 1077 BLAKE2B 81ba4f798150f077bf01a0c901f6552ce3b56dd54efa5c988206c956c58674d2f4fd9e046e4cddb5ad798aea1c5cb59ad1e6d7b0ea250fe297167fd1dcc5c3a5 SHA512 8c105314e496ec71c847a1768cefa12b2bcdad2f00e38fca0e90a1b2f2a66b26b271a17c883a5d1be9dd66190477c0e0e67b0412699c2ca34a2f6655e3e55b36 diff --git a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch deleted file mode 100644 index 33553a0ec889..000000000000 --- a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch +++ /dev/null @@ -1,22 +0,0 @@ -From c5e6a8e5e566380c8c6731e9feb7ac686a1c0735 Mon Sep 17 00:00:00 2001 -From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl> -Date: Fri, 28 Jan 2022 16:38:53 +0100 -Subject: [PATCH] - Fix #206: build with --without-ssl fails. - -diff --git a/edns.c b/edns.c -index c7fc39d9..478ec681 100644 ---- a/edns.c -+++ b/edns.c -@@ -21,6 +21,12 @@ - #include "nsd.h" - #include "query.h" - -+#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP) -+/* we need fixed time compare, pull it in from tsig.c */ -+#define CRYPTO_memcmp memcmp_fixedtime -+int memcmp_fixedtime(const void *s1, const void *s2, size_t n); -+#endif -+ - void - edns_init_data(edns_data_type *data, uint16_t max_length) - { diff --git a/net-dns/nsd/nsd-4.4.0.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild index a41057e6300d..d3d5d3b51e9d 100644 --- a/net-dns/nsd/nsd-4.4.0.ebuild +++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild @@ -6,10 +6,9 @@ EAPI=8 inherit autotools systemd DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -LICENSE="BSD" -SLOT="0" -if [[ "${PV}" == *9999 ]] ; then +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" else @@ -18,12 +17,17 @@ else MY_PV="${MY_PV/_rc/rc}" MY_P="${PN}-${MY_PV}" - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ - KEYWORDS="~amd64 ~x86" - SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="~amd64 ~x86" + fi fi -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" + +LICENSE="BSD" +SLOT="0" +IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" RDEPEND=" acct-group/nsd @@ -51,17 +55,20 @@ PATCHES=( src_prepare() { default + # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 + # See bugs #663618 and #758050 eautoreconf } src_configure() { local myeconfargs=( + --enable-ipv6 --enable-largefile --enable-pie --enable-relro-now --enable-tcp-fastopen + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db --with-logfile="${EPREFIX}"/var/log/nsd.log --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid @@ -69,20 +76,21 @@ src_configure() { --with-xfrdir="${EPREFIX}"/var/db/nsd --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) $(use_enable dnstap) - $(use_enable ipv6) $(use_enable minimal-responses) $(use_enable mmap) $(use_enable nsec3) $(use_enable ratelimit) $(use_enable root-server) - $(use_enable runtime-checks checking) $(use_enable systemd) $(use_with libevent) $(use_with ssl) ) + econf "${myeconfargs[@]}" } @@ -93,7 +101,7 @@ src_install() { newinitd "${FILESDIR}"/nsd.initd-r1 nsd - # install munin plugin and config + # Install munin plugin and config if use munin ; then exeinto /usr/libexec/munin/plugins doexe contrib/nsd_munin_ @@ -103,7 +111,7 @@ src_install() { systemd_dounit "${FILESDIR}"/nsd.service - # remove the /run directory that usually resides on tmpfs and is + # Remove the /run directory that usually resides on tmpfs and is # being taken care of by the nsd init script anyway (checkpath) rm -r "${ED}"/run || die "Failed to remove /run" diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild index a41057e6300d..63333507b30a 100644 --- a/net-dns/nsd/nsd-4.5.0.ebuild +++ b/net-dns/nsd/nsd-4.5.0.ebuild @@ -19,7 +19,7 @@ else MY_P="${PN}-${MY_PV}" [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" fi diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.6.0.ebuild index e4f824b01061..d3d5d3b51e9d 100644 --- a/net-dns/nsd/nsd-4.3.9.ebuild +++ b/net-dns/nsd/nsd-4.6.0.ebuild @@ -5,21 +5,29 @@ EAPI=8 inherit autotools systemd -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 -MY_PV="${PV/_beta/b}" -MY_PV="${MY_PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" +else + # version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 + MY_PV="${PV/_beta/b}" + MY_PV="${MY_PV/_rc/rc}" + MY_P="${PN}-${MY_PV}" + + if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="~amd64 ~x86" + fi +fi + LICENSE="BSD" SLOT="0" -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ -KEYWORDS="~amd64 ~x86" -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" - -S="${WORKDIR}/${MY_P}" +IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" RDEPEND=" acct-group/nsd @@ -30,9 +38,7 @@ RDEPEND=" ) libevent? ( dev-libs/libevent ) munin? ( net-analyzer/munin ) - ssl? ( - dev-libs/openssl:0= - ) + ssl? ( dev-libs/openssl:0= ) systemd? ( sys-apps/systemd ) " DEPEND="${RDEPEND}" @@ -45,23 +51,24 @@ BDEPEND=" PATCHES=( # Fix the paths in the munin plugin to match our install "${FILESDIR}"/nsd_munin_.patch - - "${FILESDIR}/${P}-no_ssl.patch" #832213 ) src_prepare() { default + # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 + # See bugs #663618 and #758050 eautoreconf } src_configure() { local myeconfargs=( + --enable-ipv6 --enable-largefile --enable-pie --enable-relro-now --enable-tcp-fastopen + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db --with-logfile="${EPREFIX}"/var/log/nsd.log --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid @@ -69,20 +76,21 @@ src_configure() { --with-xfrdir="${EPREFIX}"/var/db/nsd --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) $(use_enable dnstap) - $(use_enable ipv6) $(use_enable minimal-responses) $(use_enable mmap) $(use_enable nsec3) $(use_enable ratelimit) $(use_enable root-server) - $(use_enable runtime-checks checking) $(use_enable systemd) $(use_with libevent) $(use_with ssl) ) + econf "${myeconfargs[@]}" } @@ -93,7 +101,7 @@ src_install() { newinitd "${FILESDIR}"/nsd.initd-r1 nsd - # install munin plugin and config + # Install munin plugin and config if use munin ; then exeinto /usr/libexec/munin/plugins doexe contrib/nsd_munin_ @@ -103,7 +111,7 @@ src_install() { systemd_dounit "${FILESDIR}"/nsd.service - # remove the /run directory that usually resides on tmpfs and is + # Remove the /run directory that usually resides on tmpfs and is # being taken care of by the nsd init script anyway (checkpath) rm -r "${ED}"/run || die "Failed to remove /run" diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild index a41057e6300d..d3d5d3b51e9d 100644 --- a/net-dns/nsd/nsd-9999.ebuild +++ b/net-dns/nsd/nsd-9999.ebuild @@ -6,10 +6,9 @@ EAPI=8 inherit autotools systemd DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -LICENSE="BSD" -SLOT="0" -if [[ "${PV}" == *9999 ]] ; then +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" else @@ -18,12 +17,17 @@ else MY_PV="${MY_PV/_rc/rc}" MY_P="${PN}-${MY_PV}" - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ - KEYWORDS="~amd64 ~x86" - SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="~amd64 ~x86" + fi fi -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" + +LICENSE="BSD" +SLOT="0" +IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" RDEPEND=" acct-group/nsd @@ -51,17 +55,20 @@ PATCHES=( src_prepare() { default + # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 + # See bugs #663618 and #758050 eautoreconf } src_configure() { local myeconfargs=( + --enable-ipv6 --enable-largefile --enable-pie --enable-relro-now --enable-tcp-fastopen + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db --with-logfile="${EPREFIX}"/var/log/nsd.log --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid @@ -69,20 +76,21 @@ src_configure() { --with-xfrdir="${EPREFIX}"/var/db/nsd --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) $(use_enable dnstap) - $(use_enable ipv6) $(use_enable minimal-responses) $(use_enable mmap) $(use_enable nsec3) $(use_enable ratelimit) $(use_enable root-server) - $(use_enable runtime-checks checking) $(use_enable systemd) $(use_with libevent) $(use_with ssl) ) + econf "${myeconfargs[@]}" } @@ -93,7 +101,7 @@ src_install() { newinitd "${FILESDIR}"/nsd.initd-r1 nsd - # install munin plugin and config + # Install munin plugin and config if use munin ; then exeinto /usr/libexec/munin/plugins doexe contrib/nsd_munin_ @@ -103,7 +111,7 @@ src_install() { systemd_dounit "${FILESDIR}"/nsd.service - # remove the /run directory that usually resides on tmpfs and is + # Remove the /run directory that usually resides on tmpfs and is # being taken care of by the nsd init script anyway (checkpath) rm -r "${ED}"/run || die "Failed to remove /run" diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index 8d807e20f930..3b1a4ddf5f5c 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -2,6 +2,8 @@ AUX pdns-recursor-4.6.2-parseACL.patch 711 BLAKE2B 95e5a602909b0d293b50304d21844 AUX pdns-recursor-r2 1426 BLAKE2B 4407525f88d6e4299acdaa015e13866b70b2f697493218953c515e00af1476df7b8dbc87f6a39c50743d78b7f8efd2d3446e1a387f98ac4191cea2c04e10c175 SHA512 2f4d8458f6224a42103d28937d69228092c74c9c8c958833b292acf8959df1e617eafc13b65b95cf6eb4e06fb4fa7f23906c28b583865b6885949daaac12799e DIST pdns-recursor-4.6.2.tar.bz2 1552587 BLAKE2B 3e7fe59ebe9d776c012304fc1bf6ed723c1c15df0aaedcaa8ac538741e81c5b6ebac2528e763e1395a0ea383904e4a902319509580938caae85b3aef947cfc3d SHA512 20779a065720162f0a6223a4d92deeef7911892bb8aa1929f9c6a8a6ccd2f8756e7bd35c877dbf945bb7627a2a7d40626d02f0008c2e8a602b424d36c110fddc DIST pdns-recursor-4.7.0.tar.bz2 1596954 BLAKE2B d2fb35caef19ee21ff495deb19939659940f245b44f6ff38977f328af9821862b939c48b5052b42ae83ae09647bab53094816b6dbe784737ef4c53ba02add855 SHA512 095272311623684a5a465ae48bd97b86ffe27d4092dea5dceee915ebb071ffb976eeb4055d560d834a3fafab0b15808137e384f28b7cec24719b78ac024e48c2 +DIST pdns-recursor-4.7.1.tar.bz2 1597536 BLAKE2B fc5d7ee80823ad55a986a9317d4be5be7d1ec1d1b993a5bb1bf0c138a901d4f81d4ebcef5e9774cd5de88c9f650053be26dc01dfd31b989dae25d53d12b87bad SHA512 7769c4c082bbf52b0e13adbe9c1c7272a638c0b2b11e1d76794cea66dfe8dc83b07989fa16707a7cc682e8c366ef4c1d37a614ad2841af33ccb9adec6270e07f EBUILD pdns-recursor-4.6.2.ebuild 2084 BLAKE2B 450ba72505ca8c6d1c9f30c89490e6a6f19d20c25b15fc125827b589397ece3af97a8e5f3f7d37a9fc4e974d5a206108ee47bc8a82831b395d386ef6ece09d88 SHA512 019bdd87dfd978127b558d56e174b00913320d7b61edd87fc9a421025685adfa27bac612d7b925f4b5bf4b3f7a05fc09b40d215720025911a646296a280d63fb EBUILD pdns-recursor-4.7.0.ebuild 2038 BLAKE2B 3fe15ab77462c178800157bb3248a19751537d8f22871f68ab7b4aaac6cf418bf44723fc8a02f07c31082f9779769a3108ba5dde8f3b5d54eed489f956a597ec SHA512 1c701eb0f365992294ebc93ea073d1ed6dc5b1336d0ce57657a70ce14a4448aa16ef433c1f71ca076ca516d268847fb40295e1c2c369c20ae1314fb4a0d26f1b +EBUILD pdns-recursor-4.7.1.ebuild 2038 BLAKE2B 3fe15ab77462c178800157bb3248a19751537d8f22871f68ab7b4aaac6cf418bf44723fc8a02f07c31082f9779769a3108ba5dde8f3b5d54eed489f956a597ec SHA512 1c701eb0f365992294ebc93ea073d1ed6dc5b1336d0ce57657a70ce14a4448aa16ef433c1f71ca076ca516d268847fb40295e1c2c369c20ae1314fb4a0d26f1b MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.7.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.7.1.ebuild new file mode 100644 index 000000000000..fe258d909f08 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-4.7.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit flag-o-matic lua-single + +DESCRIPTION="The PowerDNS Recursor" +HOMEPAGE="https://www.powerdns.com/" +SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug dnstap snmp sodium systemd test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND="${LUA_DEPS} + dnstap? ( dev-libs/fstrm ) + systemd? ( sys-apps/systemd:0= ) + snmp? ( net-analyzer/net-snmp ) + sodium? ( dev-libs/libsodium:= ) + elibc_glibc? ( + arm? ( >=sys-libs/glibc-2.34 ) + x86? ( >=sys-libs/glibc-2.34 ) + ) + dev-libs/openssl:= + >=dev-libs/boost-1.35:=[context]" +RDEPEND="${DEPEND} + !<net-dns/pdns-2.9.20-r1 + acct-user/pdns + acct-group/pdns" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}"/${P/_/-} + +pkg_setup() { + lua-single_pkg_setup + filter-flags -ftree-vectorize + append-lfs-flags + append-cppflags -D_TIME_BITS=64 +} + +src_configure() { + econf \ + --sysconfdir=/etc/powerdns \ + --with-nod-cache-dir=/var/lib/powerdns \ + --with-service-user=pdns \ + --with-service-group=pdns \ + --with-lua="${ELUA}" \ + $(use_enable debug verbose-logging) \ + $(use_enable systemd) \ + $(use_enable dnstap dnstap) \ + $(use_enable test unit-tests) \ + $(use_with sodium libsodium) \ + $(use_with snmp net-snmp) +} + +src_install() { + default + + mv "${D}"/etc/powerdns/recursor.conf{-dist,} + + # set defaults: setuid=nobody, setgid=nobody + sed -i \ + -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ + -e 's/^# quiet=$/quiet=on/' \ + -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ + "${D}"/etc/powerdns/recursor.conf + + newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor +} + +pkg_postinst() { + local old + + for old in ${REPLACING_VERSIONS}; do + ver_test ${old} -lt 4.0.0-r1 || continue + + ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" + ewarn "to pdns-recursor, please update your runlevels accordingly." + + break + done +} |