summaryrefslogtreecommitdiff
path: root/net-dns
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/Manifest.gzbin7887 -> 7878 bytes
-rw-r--r--net-dns/c-ares/Manifest4
-rw-r--r--net-dns/c-ares/c-ares-1.34.3.ebuild4
-rw-r--r--net-dns/c-ares/c-ares-1.34.4.ebuild4
-rw-r--r--net-dns/ddclient/Manifest2
-rw-r--r--net-dns/ddclient/ddclient-4.0.0.ebuild85
-rw-r--r--net-dns/knot/Manifest6
-rw-r--r--net-dns/knot/knot-3.2.9-r1.ebuild4
-rw-r--r--net-dns/knot/knot-3.4.4.ebuild190
-rw-r--r--net-dns/knot/metadata.xml6
10 files changed, 292 insertions, 13 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index 8f9419ca3777..baa91ccedef5 100644
--- a/net-dns/Manifest.gz
+++ b/net-dns/Manifest.gz
Binary files differ
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest
index 5cfcb9a20810..7cc19a7b8a2c 100644
--- a/net-dns/c-ares/Manifest
+++ b/net-dns/c-ares/Manifest
@@ -5,6 +5,6 @@ DIST c-ares-1.34.3.tar.gz.asc 228 BLAKE2B 40e76fbc23a8aece1749a66499e469299e9df8
DIST c-ares-1.34.4.tar.gz 1001209 BLAKE2B 31b0f6820079105b44714dbd6074bbc31f0552a1387437dc43b8ec80dce9cdd6678a89734d32fcdf3fdd9358197d4b866b7b67286f2efc26463c178f049cdc54 SHA512 3285e14d94bc736d6caddfe7ad7e3c6a6e69d49b079c989bb3e8aba4da62c022e38229d1e691aaa030b7d3bcd89e458d203f260806149a71ad9adb31606eae02
DIST c-ares-1.34.4.tar.gz.asc 228 BLAKE2B 9ceb0735dfdc200f34cfbf6b9b6af4ef3f8d8897478c695b179a76edfb126532420a42d3379006c1bb601660a703aa2775c4a585db90b51b2bfc2b0b89c4d1f8 SHA512 595f1980f61c10c01666b6c596a70b5312474b7a4432b045e0e57004d66c147c6f73643b258e04a0fdd81ff804bf9c36f51b1c95edb2c52e09829a6fcca5b468
EBUILD c-ares-1.33.1.ebuild 3037 BLAKE2B 7a08dd800ff17d153fd103cae3ec1fde2cf62029ca786f7b64455d7d5f0d27ba89f3d61ef44b1d5dd0c6ac77280fb685ca25d9ba59583b02f205ba773db0d716 SHA512 2d1614448f888e31b4f1d92c6b57ad209f486027bbcca7d1cae8ab5171c288fac4745e8ba20a081c077c716c38706034b02b2a70981ec358163caa1770426258
-EBUILD c-ares-1.34.3.ebuild 3038 BLAKE2B 71c487e15b98fe7772540b081bda79d1e339eff6c52dc52659ab7a244791e3bda1ecae5f305278969190012c06e74c9862f81fb489611fcb632846edc06975f0 SHA512 c861646878a476d6d2320f0e952a4f12013723b0cb989d279fda62730899ed14e843779587e589234741f4cbfb1794676d0d08c393bd373d30eba3c9aa0fa3bd
-EBUILD c-ares-1.34.4.ebuild 3049 BLAKE2B f235849e16758cd6da365f8514ced768b8bbd56ff038d5f920f3ff0f1773751686ac3bf5e9310710102885477051fb87c8d2c02f8220fb306d2d925152a3b664 SHA512 f6c3e017be9ecf244e52961bde2d275e32b468873554229586a33e4fbd7b43bb41f74449a11088bd7fa3a6ce143fc8b3a1f0372b3d22cba23bf74a01df2ebfd5
+EBUILD c-ares-1.34.3.ebuild 3037 BLAKE2B 3b6610e5d2651ba352c03dc337006b94c23da2a99589d642dd658cbfbf0caa834df8d8569e15124745ea12d3b8da985b8d2cf1ac6fa48feaada70dedf016fffd SHA512 ca5600ed83379e5a29f1229e9b9acdd3cf7f3be218b0e48364a3886486989a3bffbbfc249750e3125c46dcbff91532bb6c90ba180bfba10463d1954ad652e5ab
+EBUILD c-ares-1.34.4.ebuild 3043 BLAKE2B d9e9550fc508a2bcf1c8d25f6790974184fcf4b17a0bdf2d92d810a1fe8753ff66e56254c7c015fcafb411ad25bffc17f63981ac466d3da31d33cf136e22175b SHA512 dcb0838dc133707043ee986176b951d8bf053487449e2cfa4fa8ae13f0a27530e1ab9bb14ad62af4b70346bea00cc1b1bfc054da54d725244beca0992a6bb56c
MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda
diff --git a/net-dns/c-ares/c-ares-1.34.3.ebuild b/net-dns/c-ares/c-ares-1.34.3.ebuild
index 50d00053a960..ca266b9127bc 100644
--- a/net-dns/c-ares/c-ares-1.34.3.ebuild
+++ b/net-dns/c-ares/c-ares-1.34.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT ISC"
# Subslot = SONAME of libcares.so.2
SLOT="0/2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
diff --git a/net-dns/c-ares/c-ares-1.34.4.ebuild b/net-dns/c-ares/c-ares-1.34.4.ebuild
index 756f84c586f6..90e345468154 100644
--- a/net-dns/c-ares/c-ares-1.34.4.ebuild
+++ b/net-dns/c-ares/c-ares-1.34.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT ISC"
# Subslot = SONAME of libcares.so.2
SLOT="0/2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index bcec4633d403..f5bd0267bb06 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -3,5 +3,7 @@ AUX ddclient.initd-r7 579 BLAKE2B 0dc1e1806789189db1e4e36765e119730df7c1f93a5053
AUX ddclient.service-r2 226 BLAKE2B 19072199ca175fe302f0efa77848bc6a47d560738bd24a731d636ac96fdb91bfef75c5f63bfc4b268e139c24263f857f295f22d9f0ecb1448d7794175f09a528 SHA512 903a5c1f5fb253fb54e9ae0ee13d94e3515c35147be5e07bfbb4e229614425ea0a5130fc90cde91d6593ee06417f8239986212cec00dc48ef832e1f270a81da3
AUX ddclient.tmpfiles-r1 144 BLAKE2B ccee5c685e9ade37b67c629b09a3c7b92d88ad2fa80dadf5299460a792a4a6c93d112a5d910a2e8dc0f01b14f5f678890ad5a7d1e7e62399cf8917af67084c41 SHA512 47c688084f2d3a0015557140b9a74857a40b352bad1bcc95a42d7d848fa2f1fc17d62d551462e9e893d32211394b924701a6780b8dce02789603623b4b377dc6
DIST ddclient-3.11.2.tar.gz 278314 BLAKE2B 5e60d8ab0889fbfe03cf182faf025b84faa6a5c278d0c0c1fd45c0bab88828bc3ebacdadac44d1cbd71202f1eff79a7ae0ffcb668992ad54f71e36f8c2f74333 SHA512 b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f
+DIST ddclient-4.0.0.tar.gz 301499 BLAKE2B 16cb19ee4d9f30b8da1d8e05cb17aabdf41039d6eb72c66c64c996146918d2f694b50b8364d08ff753911f189af2a5d3f1141a037a1d5fc886fd7cda7a2a1bd3 SHA512 095723aa43c4f08d7e3aa46c0bc47e753fdcbcb2cd0ac5f77cd687f98694985ad70e2f6509c05aaa232d0412fcb0aef8bb07a6d9e4302130ab1db047c14e1e86
EBUILD ddclient-3.11.2.ebuild 2254 BLAKE2B 62cc2e8f716bd33123256b2a4075012377454c1165c993cb60cf692e335fa703a5f74d5e9352017b9a5188dbd65a29fd7114fff0788a19684077e95fe1c2ec03 SHA512 07304c3aace5fe34def5f74c0320a9ec291c24bf5747fc5037fe6a3d5fbeef19d4b6895b1a5b2a866c983a0c1b181336184bc7e815cbc450cd0effe56904cc76
+EBUILD ddclient-4.0.0.ebuild 1838 BLAKE2B 5ed5268c69b009227c521521b951d8d773e4e0d14f6a8323bf0332045044806cea5927ea320d770cb386b658620b6e4f0710bbb4dd0e8ee1a14a4647bc007b54 SHA512 51ffe56d01dc7f75bb90dca68c6d06d0f9a8f1eec30c6083679b7696afa5972ba443b8ba7e7be4412d1646a1685483eb5212fa171c6c1de80399467cee452b23
MISC metadata.xml 885 BLAKE2B c63978b4205739e523e5ad71c9a0268c1619533a2951339ef3a03509e9031276ba1a8add5afc2b38cac0d1808ccda59da41cc431de86fa7203c5759f5398c4ce SHA512 2a2888daaff085ccd82ad956e6d3590f4af0eb8d8224b3110424ac828ff1bfb49d9a187d1ab2b2ba436860b14a0d2ad0dda1dd13378872c85fe5e0df90f09f5c
diff --git a/net-dns/ddclient/ddclient-4.0.0.ebuild b/net-dns/ddclient/ddclient-4.0.0.ebuild
new file mode 100644
index 000000000000..d032d58f08e2
--- /dev/null
+++ b/net-dns/ddclient/ddclient-4.0.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools optfeature systemd tmpfiles
+
+DESCRIPTION="Perl client used to update dynamic DNS entries"
+HOMEPAGE="https://ddclient.net/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="examples selinux test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ acct-group/ddclient
+ acct-user/ddclient
+ dev-lang/perl
+ net-misc/curl
+ dev-perl/Digest-SHA1
+ virtual/perl-Digest-SHA
+ virtual/perl-JSON-PP
+ selinux? ( sec-policy/selinux-ddclient )
+"
+
+BDEPEND="
+ test? (
+ dev-perl/HTTP-Daemon
+ dev-perl/HTTP-Daemon-SSL
+ dev-perl/Plack
+ dev-perl/Test-MockModule
+ dev-perl/Test-Warnings
+ )
+"
+
+src_prepare() {
+ default
+
+ # Remove PID setting, to reliably setup the environment for the init script
+ sed -e '/^pid/d' -i ddclient.conf.in || die
+
+ # Disable 'get_ip_from_if.pl' test, as it fails with network-sandbox
+ # Don't create cache directory, as it's created by init script / tmpfiles
+ sed -e '/get_ip_from_if.pl/d' -e '/MKDIR_P/d' -i Makefile.am || die
+
+ # Remove windows executable
+ if use examples; then
+ rm sample-etc_dhcpc_dhcpcd-eth0.exe || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ myeconfargs=(
+ --with-confdir="${EPREFIX}/etc"
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/ddclient.initd-r7 ddclient
+ systemd_newunit "${FILESDIR}"/ddclient.service-r2 ddclient.service
+ newtmpfiles "${FILESDIR}"/ddclient.tmpfiles-r1 ddclient.conf
+
+ if use examples; then
+ docinto examples
+ dodoc sample-*
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "using iproute2 instead if ifconfig." sys-apps/iproute2
+ tmpfiles_process ddclient.conf
+}
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index f77d798f1344..0badd35c97c1 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -6,7 +6,9 @@ AUX knot.tmpfile 58 BLAKE2B a107ca27b8d47253409c319d0e69ab151237844d10840155e6ce
DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae SHA512 29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f
DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 2c81b2afa96c6077778c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8 SHA512 baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf
DIST knot-3.4.3.tar.xz 1637080 BLAKE2B d5d96a69b2464d75e4f2d3231339c1dedccc1cd95febc8bd5950f68c89a277d002d09a60e629a74b378bc7f765370aaef05bf41fd497e740be6c0a349c27f731 SHA512 c05a214a9e5564d09257aff44c0f42e9d084d47536197c95dff7aa125a8b53ed99e26c90affaa6833779778cd8d37af9cc473f108ab6acf7230c476b5858c03f
+DIST knot-3.4.4.tar.xz 1641460 BLAKE2B d477a4a368b0c6d6c1003a52041403d17bab4e3ecb6e532130b633894d4ee88711038b94e1d4cf12406eb281b800d701c00e40414d458b7bdefb1d632a779821 SHA512 bf8e80d430336934083c1f7c304306de78b254fba5d3b9dd8b44065a0f1527cd78b74d498d994822ed2d364b66091ad967d3cd991bde380fbba67ea34a1ee33f
EBUILD knot-3.2.2.ebuild 2519 BLAKE2B 7c38aa28ce1792b1de97e2135b6aa37a0a1cf7b806e67187cf184b4b78ccfd9f7ca18ac076c2562d92e2d6c985c1f1d33a6e5ee77d2364141aed74cf379eebfe SHA512 81d150918959655847b36006b31d6c27615ffe54a57d001ba555cbf4ffb89cf51289850b0f07f9aa5936b36e33dc8246bfff8f91d94ffb296131ea63ddd95fe7
-EBUILD knot-3.2.9-r1.ebuild 2557 BLAKE2B 98623be379ee80b9273209d68697bb6fcda3f0722b22d71a50824a0568762430bc27c28cb20d6c611dbe1503717971a27294f794897bbf04f52cd734ab3c4ed0 SHA512 87bae5d116b2744296e16fdc52b0c27d9f224233849adc0db8bbb86cd34bbbd9920507868aa34bbf7e1c71e769af647c1e8851e5d4d7d386d857aaf9430c831e
+EBUILD knot-3.2.9-r1.ebuild 2555 BLAKE2B 02d1a07d3760efbc94b595f76a0dab1c2d9027ed793199faff2cc2fe38ef6dcd89dc4ccf5bcdfaffcd282ded88c691b8195ffa7151cc3195a7f9eb9ab2312950 SHA512 97bdef94775b6810a9fda091ba9b5041aa233394953ffd05bfa7237b68c5e72b410165bdd1f6d3ddecf5e96456e738d629a1a54bc92e7bae88d80fbb832cc647
EBUILD knot-3.4.3-r2.ebuild 4401 BLAKE2B f2989d7c9ecfc0e5a9cbebffd2f3c88e484f752f0907563f200b3e0be143bdf454f28fddc205adb6f835f4d73ce32b3b95411cbae66e2b3ac6eb28657e6d0f66 SHA512 0f64660da37cd8fdc6cffd848de88e692373cd842c7400b0c0bb94e4994d1a7668ae87bad74bdf49d455d9066d7561b0dfd47349e908542876279d4f66086ad7
-MISC metadata.xml 2453 BLAKE2B e916665c8a3c2dbb5498e061098d6bd1208acfc79e79e584e85cbd60c7da8a55d97d8e91eaa3a2b8565c9802319fc7bbd64e8212b82cfb799feb3d0dd633f717 SHA512 1a40d2185d65cee18bf8ccba12f27a1a2d17fbbb0433d0f9322a2efddd6156e70213d5fd60a7b1a64a61c02017d21dabe3a1a521e7a6b4d6d9867fea6a7acaf6
+EBUILD knot-3.4.4.ebuild 4104 BLAKE2B d1800d9409c4d5faaa125203a4bdf9c23ade4ba572b15eba8e14c4e9ce151b43a7928be8336f85a0bd12f1c29a23a52cd9a546cb50811d3d165c7303ee191124 SHA512 d8f857307156bf965d9f508bab6d19c93f5356fae924717e77de5e3dc3babf8edf7677af5c7ff7a91c5d658014e5d6c1a5d60b87e77277eece1c88f136b6001a
+MISC metadata.xml 2438 BLAKE2B 60c948f4b6c425ac34e62dc10165495cf3cb3dcbcc1053e2d7ef19c69666ad979d7f503276d5188c092710530403a29f06aefc1ddc54bf0474f18011ab981bca SHA512 482ea8a7d71e2398099e6484c7ea7827dfcb6ad85d9b26ddf234a2d62e1261a47b665aaa7275723b137ac3e081b599edc01cb7dbef3dd0edbe0ad4863d8f57f9
diff --git a/net-dns/knot/knot-3.2.9-r1.ebuild b/net-dns/knot/knot-3.2.9-r1.ebuild
index e93de9489b6c..eba5990f6fb6 100644
--- a/net-dns/knot/knot-3.2.9-r1.ebuild
+++ b/net-dns/knot/knot-3.2.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ S="${WORKDIR}/${P/_/-}"
LICENSE="GPL-3+"
SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
KNOT_MODULES=(
"+cookies"
diff --git a/net-dns/knot/knot-3.4.4.ebuild b/net-dns/knot/knot-3.4.4.ebuild
new file mode 100644
index 000000000000..313d56e7e1b5
--- /dev/null
+++ b/net-dns/knot/knot-3.4.4.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit python-single-r1 flag-o-matic systemd tmpfiles
+
+# subslot: libknot major.libdnssec major.libzscanner major
+KNOT_SUBSLOT="15.9.4"
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns"
+SRC_URI="https://knot-dns.nic.cz/release/${P/_/-}.tar.xz"
+
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="GPL-3+"
+SLOT="0/${KNOT_SUBSLOT}"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+ "+authsignal"
+ "+cookies"
+ "+dnsproxy"
+ "dnstap"
+ "geoip"
+ "+noudp"
+ "+onlinesign"
+ "+queryacl"
+ "+rrl"
+ "+stats"
+ "+synthrecord"
+ "+whoami"
+)
+
+IUSE="caps +daemon dbus +doc doh +fastparser +idn pkcs11 prometheus python quic systemd test +utils xdp ${KNOT_MODULES[@]}"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ prometheus? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+COMMON_DEPEND="
+ dev-libs/libedit
+ dnstap? (
+ dev-libs/fstrm
+ dev-libs/protobuf-c:=
+ )
+ quic? ( net-libs/ngtcp2[gnutls] )
+"
+RDEPEND="
+ dev-db/lmdb:=
+ net-libs/gnutls:=[pkcs11?]
+ daemon? (
+ ${COMMON_DEPEND}
+ acct-group/knot
+ acct-user/knot
+ dev-libs/userspace-rcu:=
+ caps? ( sys-libs/libcap-ng )
+ dbus? ( sys-apps/dbus )
+ geoip? ( dev-libs/libmaxminddb:= )
+ systemd? ( sys-apps/systemd:= )
+ )
+ utils? (
+ ${COMMON_DEPEND}
+ doh? ( net-libs/nghttp2:= )
+ idn? ( net-dns/libidn2:= )
+ )
+ python? ( ${PYTHON_DEPS} )
+ prometheus? (
+ $(python_gen_cond_dep '
+ dev-python/prometheus-client[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ ')
+ )
+ xdp? (
+ >=dev-libs/libbpf-1.0:=
+ net-libs/xdp-tools
+ utils? ( net-libs/libmnl:= )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )
+ python? (
+ ${PYTHON_DEPS}
+ )
+ test? (
+ pkcs11? ( dev-libs/softhsm )
+ )
+"
+
+# Used to check cpuset_t in sched.h with NetBSD.
+# False positive because linux have sched.h too but with cpu_set_t
+QA_CONFIG_IMPL_DECL_SKIP=( cpuset_create cpuset_destroy )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local u
+ local my_conf=(
+ --with-storage="${EPREFIX}/var/lib/${PN}"
+ --with-rundir="${EPREFIX}/var/run/${PN}"
+ $(use_enable caps cap_ng)
+ $(use_enable daemon)
+ $(use_enable fastparser)
+ $(use_enable dnstap)
+ $(use_enable doc documentation)
+ $(use_with doh libnghttp2)
+ $(use_enable geoip maxminddb)
+ $(use_with idn libidn)
+ $(use_enable quic)
+ $(use_enable systemd)
+ $(use_enable utils utilities)
+ $(use_enable xdp)
+ )
+
+ # modules (except dnstap forced by use_enable if set with utils) are only used by daemon
+ if use daemon; then
+ for u in "${KNOT_MODULES[@]#+}"; do
+ my_conf+=("$(use_with ${u} module-${u})")
+ done
+ else
+ my_conf+=("--disable-modules")
+ fi
+
+ if use !daemon; then
+ my_conf+=("--enable-dbus=no")
+ elif use dbus; then
+ my_conf+=("--enable-dbus=libdbus")
+ elif use !dbus && use !systemd; then
+ my_conf+=("--enable-dbus=no")
+ elif use !dbus && use systemd; then
+ my_conf+=("--enable-dbus=systemd")
+ fi
+
+ if use riscv; then
+ append-libs -latomic
+ fi
+
+ econf "${my_conf[@]}"
+}
+
+src_compile() {
+ default
+
+ use doc && emake -C doc html
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+
+ if use python; then
+ python_domodule python/libknot/libknot
+ newdoc python/libknot/README.md README.python.md
+ fi
+
+ if use prometheus; then
+ python_domodule python/knot_exporter/knot_exporter
+ python_scriptinto /usr/sbin
+ python_newscript python/knot_exporter/knot_exporter/knot_exporter.py knot-exporter
+ newdoc python/knot_exporter/README.md README.knot_exporter.md
+ fi
+
+ default
+
+ if use daemon; then
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+ newinitd "${FILESDIR}"/knot-3.init knot
+ newconfd "${FILESDIR}"/knot.confd knot
+
+ newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
+
+ use systemd && systemd_newunit distro/common/knot.service knot.service
+ fi
+
+ find "${D}" -name '*.la' -delete || die
+
+ keepdir /var/lib/knot
+}
+
+pkg_postinst() {
+ use daemon && tmpfiles_process ${PN}.conf
+}
diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index 6544e399dce4..96c1da3b8018 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>nemunaire@nemunai.re</email>
- <name>Pierre-Olivier Mercier</name>
+ <maintainer type="person">
+ <email>nicolas.parlant@parhuet.fr</email>
+ <name>Nicolas PARLANT</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>