summaryrefslogtreecommitdiff
path: root/net-dns
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/Manifest.gzbin7879 -> 7887 bytes
-rw-r--r--net-dns/c-ares/Manifest2
-rw-r--r--net-dns/c-ares/c-ares-1.33.1.ebuild2
-rw-r--r--net-dns/knot-resolver/Manifest3
-rw-r--r--net-dns/knot-resolver/knot-resolver-5.7.1.ebuild101
-rw-r--r--net-dns/knot/Manifest5
-rw-r--r--net-dns/knot/files/knot.service14
-rw-r--r--net-dns/knot/knot-3.1.5.ebuild108
-rw-r--r--net-dns/knot/knot-3.1.9.ebuild115
9 files changed, 2 insertions, 348 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index b7525d647e96..3c213ea1e087 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 a3822e00e6b3..ccbf92c447dc 100644
--- a/net-dns/c-ares/Manifest
+++ b/net-dns/c-ares/Manifest
@@ -10,7 +10,7 @@ DIST c-ares-1.34.3.tar.gz 997244 BLAKE2B fb66f4c8ae4c2e03e8f75ee72259dbe83d7bed5
DIST c-ares-1.34.3.tar.gz.asc 228 BLAKE2B 40e76fbc23a8aece1749a66499e469299e9df8174923ceeac788dd0ef0a8f029e79c550db1e8850e472b0d584215b52e3cedb5b7c4d3eb1daad8fc96864ad536 SHA512 f6ffcd6ef2571f51899f138d0f13003243e3031a2e4a1f96878c4fdd114c8682ee24c2826f9cfaa2022750058a2e11cb188972e9f369b87974b5abc351a5bc7b
EBUILD c-ares-1.28.1.ebuild 2463 BLAKE2B 77f4fbfd5cf63fae678da66a8a2293e70281b6aeb6f46dac73d72f29fa3e1a98cdee77088ac154448a08e657fe00ae73910ca301838040cf032302268f97a221 SHA512 14f96e9cdb2eeb68f3cb8468e251cf6dbc7e7e1f62dec44768c9abceaadbdd4337a3fee154e806dc9f7cf8baef92e730334314d1e4f83b4d47d92d2fa0d61e76
EBUILD c-ares-1.29.0.ebuild 2464 BLAKE2B 756c366513e30364a41ddc4532778d8e4f36119b4e50cf4168c5fce6498748d0809c9ead59ef95ddce2274469eefe1735a74bc704402bdad620fd55a661b6be8 SHA512 685d6287a0e1cde41d4790021d98fb55a00cc6042d12505d34ab025ddeb0e01d4f7000be66df9be0198889ac8d1b76ec62211d9c1603ed63e956b74951a0688f
-EBUILD c-ares-1.33.1.ebuild 3038 BLAKE2B 71c487e15b98fe7772540b081bda79d1e339eff6c52dc52659ab7a244791e3bda1ecae5f305278969190012c06e74c9862f81fb489611fcb632846edc06975f0 SHA512 c861646878a476d6d2320f0e952a4f12013723b0cb989d279fda62730899ed14e843779587e589234741f4cbfb1794676d0d08c393bd373d30eba3c9aa0fa3bd
+EBUILD c-ares-1.33.1.ebuild 3037 BLAKE2B 7a08dd800ff17d153fd103cae3ec1fde2cf62029ca786f7b64455d7d5f0d27ba89f3d61ef44b1d5dd0c6ac77280fb685ca25d9ba59583b02f205ba773db0d716 SHA512 2d1614448f888e31b4f1d92c6b57ad209f486027bbcca7d1cae8ab5171c288fac4745e8ba20a081c077c716c38706034b02b2a70981ec358163caa1770426258
EBUILD c-ares-1.34.2.ebuild 3045 BLAKE2B 02ea3d5029f48da3db4be347216e36fbd195db4551f35800df2ea9789d28d69d3525ec32da9d0a4e415a654b7596f377bdf520a12e30a4d08bdd720f0ade6235 SHA512 73f60268fc67eb73f25ae78b791a5637f8f5976d5fb2a8161c70c627283278cd0b66ffcd80247d9df4888dd01283b08435b3021311651003e9d5e820f9b018f5
EBUILD c-ares-1.34.3.ebuild 3045 BLAKE2B 02ea3d5029f48da3db4be347216e36fbd195db4551f35800df2ea9789d28d69d3525ec32da9d0a4e415a654b7596f377bdf520a12e30a4d08bdd720f0ade6235 SHA512 73f60268fc67eb73f25ae78b791a5637f8f5976d5fb2a8161c70c627283278cd0b66ffcd80247d9df4888dd01283b08435b3021311651003e9d5e820f9b018f5
MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda
diff --git a/net-dns/c-ares/c-ares-1.33.1.ebuild b/net-dns/c-ares/c-ares-1.33.1.ebuild
index 50d00053a960..f0fb03d70d0e 100644
--- a/net-dns/c-ares/c-ares-1.33.1.ebuild
+++ b/net-dns/c-ares/c-ares-1.33.1.ebuild
@@ -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/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index f8243fc979f2..e0f30a4f1d18 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -3,10 +3,7 @@ AUX knot-resolver-5.5.3-nghttp-openssl.patch 1087 BLAKE2B 4570658d9d358384c435c0
AUX knot-resolver-5.7.0-r2-tmpfiles.patch 1353 BLAKE2B f93e30113275fb92d524cfd7daf72d8f1da95970d721d4e5a83cb8fd3d1d1d95d65ade26609028b413645be3d23c2d3f30f9b43a36b8900e456fd32f316ec146 SHA512 6f9ec265ff7a82292dfcb8b1ab5756f9835573048c29829dd41fc595b535ab7a4d8c2e03cbe49894a78319fb4cf01d6be0ad02dbdc2e7e5559552d5f52a94908
AUX kresd.confd-r1 284 BLAKE2B e57439a2b7fd0f433c8ea221129c1696a74c6db95f1182a0a434eb7a53feeb5a8f8678539323bb8094e19e45d781747aae3acccd683fd3b3b4f375934191a77c SHA512 40200c590638e19f9fe26367e10148c022f11dba1182cde2d10cab695de52fd2acb8133e9f05ecc93457fccb019ef4c0b3e47999e0926bd50f1d283ba80d1195
AUX kresd.initd-r1 793 BLAKE2B 267b16475029eee74eed892fb73e8abc9f197a974f35fb22d6013b9ae68a4e5f18c0f5f371ec6309057aa31db7938f5f7dd3e87d9e1b00598253088a61aad452 SHA512 457eccdd9ec841920674d175d3bf8d25a75ea1f076cdb72a8aa24d743664412250436360e73e96fd5ce3370340c27ed6bf37faac502155e13971541653f84b72
-DIST knot-resolver-5.7.1.tar.xz 1928088 BLAKE2B 66a7f4e5e16a07f4ef2ed7ec42e40068dc9642362deffb2f78a1aa14e7cffe7e170ebde4180d460b9d5701632258e9e2148b34f5967200651762c2e8b5fe371a SHA512 89ebff7e239ea09d9d180386f4551952fb59a3f1d0ca01a172acf27d2eade16ae578142d811333e49ad3a2f629cf5b23d038043c0768469078fcfd5cbfb5020b
-DIST knot-resolver-5.7.1.tar.xz.asc 833 BLAKE2B 058a040d23a7e55dc9faf7b02967f9e5d9582f2fdbed9b8737843d0e734a1dd1bc7503e367904664fc5f42f79f1839c43aaf1c00a3fbce50c1a7d2ddf7c515cc SHA512 0ec86e0aba583383df4f1ed909ef71a3473bc1412970b91d184372b53c5471ac41e6bf60e9a817c184501113f2d8272c3b0d2c379f80dfe2476ef32c861dd235
DIST knot-resolver-5.7.2.tar.xz 1928336 BLAKE2B c4f17a050752a5d1ed141bae646f53f313e866b91b80bb72d37c6b2907d365333ca02fbadf4ff49e5559b721b695d1e7af3417a25e0518dbdfdec1860f890408 SHA512 973e9a541b54cee0d230247d279785a83ce2127216b12ee9f314a49adedac3e23e8369900d6f0985b0a666e9bcae7772f29224565e6208ed4988b13530e4ff0b
DIST knot-resolver-5.7.2.tar.xz.asc 833 BLAKE2B f73f52d7b2326a58a37b821cd8495d20c93017bd1f7bad2cc828f807f1886fc376dc95405b3b36047719f8566e27d7c1052b7ab11fae3d1d67c5563a293d965e SHA512 cf05ceca455400004cf249b1029b93619a1d5fcf839bca1259a7b411a1ddef1da0aff187ea0023c587de1981e91a8d26af3bb22341cf426e5055e8ca1c4024e2
-EBUILD knot-resolver-5.7.1.ebuild 2198 BLAKE2B 5dc2cf77cd4fb2c2edb45ce16f9823dd77981fc766c9a110e74526f36ee93022633a30dccfd24be8b99fdda317a7bd42915eec1a219db8d8924fdee54f480eaf SHA512 6de3cdfe9e6fe485eefbeb50b52900ac1b5ff0baa99ce40c1b702d14024f1ba19dae6ce0c9cc9829cd4ec1ec94bce3da91967ba3129d3277b85e10b151665f63
EBUILD knot-resolver-5.7.2.ebuild 2209 BLAKE2B 4a30a9b85434c986ddb6fb4af65c2932a367155437320fe5309fada11514bd39cf1b1527465dc35be1b3bf31c6715c20bf9848524dca195f0805947cababa6a4 SHA512 867ef76803913591eda097ac0c012446b7f59ba68a8b8a92f6c3cee323135adf29ac255a2455f1d2a24908b8e15fcaa806bac85f19282ea1778dfc075b8c7d12
MISC metadata.xml 390 BLAKE2B 8d671225e024581137be9f98f3df0e32cfde1f0582d8169991417461bafbccaecbb7b8dd32d6652360a8c57bceabacec8194768e9177d7a75d0df821f2938a16 SHA512 e2ec3636fb2534ca3d3aee4215382e033ae9fd39df20152f3bb4deadf958b256dbe578954b6de348a9b80c173cd0d5bbe878561a09d094afd141644b5e512e44
diff --git a/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild b/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
deleted file mode 100644
index a30c19804140..000000000000
--- a/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz https://gitlab.nic.cz/knot/knot-resolver"
-SRC_URI="
- https://secure.nic.cz/files/${PN}/${P}.tar.xz
- verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="caps dnstap jemalloc kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
- ${LUA_DEPS}
- acct-group/knot-resolver
- acct-user/knot-resolver
- dev-db/lmdb:=
- dev-libs/libuv:=
- net-dns/knot:=
- net-libs/gnutls:=
- caps? ( sys-libs/libcap-ng )
- dnstap? (
- dev-libs/fstrm
- dev-libs/protobuf-c:=
- )
- jemalloc? ( dev-libs/jemalloc:= )
- kresc? ( dev-libs/libedit )
- nghttp2? ( net-libs/nghttp2:= )
- systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
- ${RDEPEND}
- test? (
- dev-util/cmocka
- )
-"
-BDEPEND="
- virtual/pkgconfig
- verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.5.3-docdir.patch
- "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-
- # Bug #921567
- "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
- if use verify-sig; then
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
- fi
-
- unpack ${P}.tar.xz
-}
-
-src_configure() {
- local emesonargs=(
- --localstatedir "${EPREFIX}"/var # double lib
- # https://bugs.gentoo.org/870019
- -Dauto_features=disabled
- -Ddoc=disabled
- -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
- -Dopenssl=disabled
- -Dmalloc=$(usex jemalloc jemalloc disabled)
- $(meson_feature caps capng)
- $(meson_feature dnstap)
- $(meson_feature kresc client)
- $(meson_feature nghttp2)
- $(meson_feature test unit_tests)
- $(meson_feature systemd systemd_files)
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- fowners -R ${PN}: /etc/${PN}
-
- newinitd "${FILESDIR}"/kresd.initd-r1 kresd
- newconfd "${FILESDIR}"/kresd.confd-r1 kresd
-}
-
-pkg_postinst() {
- tmpfiles_process knot-resolver.conf
-}
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index db1b2ba42775..e95a261143ed 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,12 +1,7 @@
AUX knot-1.service 337 BLAKE2B a6645b2ab92612f3c6640f4e9601cefe087a519d8a40b222e05dbd44c8b8c5c87a01d500d5ac328fdee1cae3f9dd126448a8b82b979e13a4ff5285fa48b983d5 SHA512 58c4186e57ebd00b86dae34d5d208ed8801c0376da40cccb23b3d4542a7ee04a1003a12a4b89347b76a384b50eae4a61f96164bf22ec987ce05b1c65691659e7
AUX knot.init 861 BLAKE2B 30ffe287f4f83058407ceab00b2113dade3b60b38d76c86f156cc31c33cc4f2ec8cf7f22172823755b71385ca18cc1044605b5479c9de05284f911d500b5dc40 SHA512 e5faa96cbee618e9042bdfd0628f06c4bc4d23c7295521771e16f6eae715835a240799e8425317b03b1ea162966defb5d6b6592139cb1d9d61b47a24961ec9b9
-AUX knot.service 275 BLAKE2B c39b50630a84cb20d33a02ad82c0fc0c994b098766af0cd3e11b4ac6e2f6e6ebc38d6e5b99c358d5e771022fd6ad14fb7e04e95fd77ba677d10950e1fc52e9a9 SHA512 37c4700320a2781aa93ca92bc2634c3e080c87337b7d632d0e2fa23f6e2e8fa1985d1d8e2516fed02b612da4d340472d5f8d0ae37c5b323ac17bbd61ca243a86
-DIST knot-3.1.5.tar.xz 1414500 BLAKE2B c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab SHA512 3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
-DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0 SHA512 e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae SHA512 29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f
DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 2c81b2afa96c6077778c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8 SHA512 baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf
-EBUILD knot-3.1.5.ebuild 2019 BLAKE2B af59e0e3ef9d834be9f114a28a4f9a0d545921ddb74e83fd498cb90cf62f53de9f022a86b0f1db5702bf668ce92d614a642b722f69fe96287529d3dd9c080cbc SHA512 afd490db00387ad61540575beab506960d6bf60aa4b22e2aa52a717e7c21d0b7c6a933e2bc6653c634dde83945dca96f331af9e7518b5f41c127028dc36ef9d1
-EBUILD knot-3.1.9.ebuild 2164 BLAKE2B bc66f0908997bb4cb191c43ceeef7a60c8f64c44d2bb7983160a8552ef9d63968a4fe72cc0d70033abc4713d9513bf468bf18606fff338bec4e6c7ce1499c95a SHA512 5d393434558bc90b7e4b1201b44d43b4e731d3a257c364380852674dda015d165cbdd67f9ad33e15e528d5d0388e90ae97728bcec17132e354c417f9fa535476
EBUILD knot-3.2.2.ebuild 2351 BLAKE2B 456d0058996844d267484c81541b35d55d48c4451c23762abb98b378f73f6371f66f2dae327fc98d1f648779b784cdcf796d4edb1bae86a9578103c59f5b0c86 SHA512 f07e0ef6885cc8ee60dfcf8a3b064bd7edb81d2f4b7d236f7fecba3ff3292cbdb3f2f2d9fa42ad45da0fc2f5f5142feda4cae40ca0dc0b0954a91db3fb2064f9
EBUILD knot-3.2.9.ebuild 2362 BLAKE2B f60e095c8213bbdc2e074ee42de0e2e337676c25130659352a76e1778b548358c3774513fbd9fbc3d43e3979add8fde4348653a8b81f1df1b1d37e719f960f23 SHA512 fb5dd093c85ce7cb8e85532f2a634d9d0492ed4ef290ccf46af97ee40f6f2d4d0a9ec5dfa06509bdfc0431b45a08c30be20ac96a4e836b8e6de19b58119e296c
MISC metadata.xml 2134 BLAKE2B 3146dae8c2a77647e608c17a2ef319162956b87c24ed41b15c9e2f89a1d43d4137a281220e168ecd2d6e9a7d2aac39656398d9fc4ed44234b242593c15849725 SHA512 352cf20a4701f0c102abcd78a3ed21b6b114b6dbe4500e0d1f8ae7467219fccc6baa34c482432094be4d6f2f573be4237a35ff9d8a940edb527d0161ae50b985
diff --git a/net-dns/knot/files/knot.service b/net-dns/knot/files/knot.service
deleted file mode 100644
index 4684f9c858e2..000000000000
--- a/net-dns/knot/files/knot.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Knot high-performance DNS Server
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/knotd
-ExecReload=/usr/sbin/knotc reload
-ExecStop=/usr/sbin/knotc stop
-PrivateTmp=true
-RuntimeDirectory=knot
-RuntimeDirectoryMode=750
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
deleted file mode 100644
index 29970854cde7..000000000000
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns"
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-
-KNOT_MODULES=(
- "+cookies"
- "+dnsproxy"
- "dnstap"
- "geoip"
- "+noudp"
- "+onlinesign"
- "+queryacl"
- "+rrl"
- "+stats"
- "+synthrecord"
- "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
- acct-group/knot
- acct-user/knot
- dev-db/lmdb
- dev-libs/libedit
- dev-libs/userspace-rcu:=
- dev-python/lmdb
- net-libs/gnutls:=
- caps? ( sys-libs/libcap-ng )
- dnstap? (
- dev-libs/fstrm
- dev-libs/protobuf-c:=
- )
- geoip? ( dev-libs/libmaxminddb:= )
- idn? (
- !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
- libidn2? ( net-dns/libidn2:= )
- )
- systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
- local u
- local my_conf=(
- --with-storage="${EPREFIX}/var/lib/${PN}"
- --with-rundir="${EPREFIX}/var/run/${PN}"
- $(use_enable fastparser)
- $(use_enable dnstap)
- $(use_enable doc documentation)
- $(use_enable utils utilities)
- --enable-systemd=$(usex systemd)
- $(use_with idn libidn)
- )
-
- for u in "${KNOT_MODULES[@]#+}"; do
- my_conf+=("$(use_with ${u} module-${u})")
- done
-
- if use riscv; then
- append-libs -latomic
- fi
-
- econf "${my_conf[@]}"
-}
-
-src_compile() {
- default
-
- use doc && emake -C doc html
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-
- default
-
- rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
- newinitd "${FILESDIR}/knot.init" knot
- if use systemd; then
- systemd_newunit "${FILESDIR}/knot-1.service" knot.service
- fi
-
- find "${D}" -name '*.la' -delete || die
-
- keepdir /var/lib/knot
-}
diff --git a/net-dns/knot/knot-3.1.9.ebuild b/net-dns/knot/knot-3.1.9.ebuild
deleted file mode 100644
index c1c0a2de8e9b..000000000000
--- a/net-dns/knot/knot-3.1.9.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns"
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
- "+cookies"
- "+dnsproxy"
- "dnstap"
- "geoip"
- "+noudp"
- "+onlinesign"
- "+queryacl"
- "+rrl"
- "+stats"
- "+synthrecord"
- "+whoami"
-)
-IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp ${KNOT_MODULES[@]}"
-
-RDEPEND="
- acct-group/knot
- acct-user/knot
- dev-db/lmdb:=
- dev-libs/libedit
- dev-libs/userspace-rcu:=
- dev-python/lmdb:=
- net-libs/gnutls:=
- caps? ( sys-libs/libcap-ng )
- dnstap? (
- dev-libs/fstrm
- dev-libs/protobuf-c:=
- )
- doh? ( net-libs/nghttp2:= )
- geoip? ( dev-libs/libmaxminddb:= )
- idn? (
- !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
- libidn2? ( net-dns/libidn2:= )
- )
- systemd? ( sys-apps/systemd:= )
- xdp? (
- dev-libs/libbpf:=
- net-libs/libmnl:=
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
- local u
- local my_conf=(
- --with-storage="${EPREFIX}/var/lib/${PN}"
- --with-rundir="${EPREFIX}/var/run/${PN}"
- $(use_enable fastparser)
- $(use_enable dnstap)
- $(use_enable doc documentation)
- $(use_enable utils utilities)
- $(use_enable xdp)
- --enable-systemd=$(usex systemd)
- $(use_with idn libidn)
- $(use_with doh libnghttp2)
- )
-
- for u in "${KNOT_MODULES[@]#+}"; do
- my_conf+=("$(use_with ${u} module-${u})")
- done
-
- if use riscv; then
- append-libs -latomic
- fi
-
- econf "${my_conf[@]}"
-}
-
-src_compile() {
- default
-
- use doc && emake -C doc html
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-
- default
-
- rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
- newinitd "${FILESDIR}/knot.init" knot
- if use systemd; then
- systemd_newunit "${FILESDIR}/knot-1.service" knot.service
- fi
-
- find "${D}" -name '*.la' -delete || die
-
- keepdir /var/lib/knot
-}