From c37d894982b59595356319a2b4655fed277097ae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 1 Nov 2022 21:08:07 +0000 Subject: gentoo auto-resync : 01:11:2022 - 21:08:07 --- net-dns/Manifest.gz | Bin 8858 -> 8862 bytes net-dns/knot-resolver/Manifest | 2 +- net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 5 +- net-dns/knot/Manifest | 10 +- net-dns/knot/knot-3.1.7.ebuild | 115 --------------- net-dns/knot/knot-3.1.8.ebuild | 115 --------------- net-dns/knot/knot-3.2.0.ebuild | 115 --------------- net-dns/knot/knot-3.2.2.ebuild | 121 ++++++++++++++++ net-dns/knot/metadata.xml | 3 + net-dns/pdns/Manifest | 4 +- net-dns/pdns/pdns-4.7.0.ebuild | 170 ----------------------- net-dns/pdns/pdns-4.7.2.ebuild | 170 +++++++++++++++++++++++ 12 files changed, 304 insertions(+), 526 deletions(-) delete mode 100644 net-dns/knot/knot-3.1.7.ebuild delete mode 100644 net-dns/knot/knot-3.1.8.ebuild delete mode 100644 net-dns/knot/knot-3.2.0.ebuild create mode 100644 net-dns/knot/knot-3.2.2.ebuild delete mode 100644 net-dns/pdns/pdns-4.7.0.ebuild create mode 100644 net-dns/pdns/pdns-4.7.2.ebuild (limited to 'net-dns') diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz index e062bab9385c..0e8fa0ecc855 100644 Binary files a/net-dns/Manifest.gz and b/net-dns/Manifest.gz differ diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest index 4ed9afe6d223..8e88d718a1d9 100644 --- a/net-dns/knot-resolver/Manifest +++ b/net-dns/knot-resolver/Manifest @@ -2,5 +2,5 @@ AUX knot-resolver-5.5.3-docdir.patch 925 BLAKE2B 9d40a287fe0a6d883d46dbe13fa3ba5 AUX knot-resolver-5.5.3-nghttp-openssl.patch 1087 BLAKE2B 4570658d9d358384c435c0b4694995945f9c788249899670e000d3273ae6c2631ff69319660db2d04f4143e24746bc0160295042a7887d30dae09de11556ce8e SHA512 50e8a99aef8bc4ce41ddb4d1760cd96818859b440aa74effdc1482af150c21f4fc3e451fae739a07161fc5a2e0ee2cd093c26950dd4e16de430e6bb8a635dd84 DIST knot-resolver-5.5.3.tar.xz 1921668 BLAKE2B 7efdf1a69081d8f9f43b5bbe1b483826b94b87a0b001a449a5f89988afce070e4e3310e513e6281691bd81274a523ab8c7e52fe56a3d62019efe07809033a5a8 SHA512 7bf29bbf82e71727c1f47095a04a12712ca89a6f34d3a325337625ad116f49a47a90cb402525fdbf59cb0889b64d7083b908c335d65429b24d776603a3a8f28a DIST knot-resolver-5.5.3.tar.xz.asc 833 BLAKE2B 7ab348587c2604f14171d09436b2a296e9fb7124e6f899aba91215d32d8642dc5b9ae8300edf55c0790289bc954d5cf95c71b66a20b960c848d15e34469fc2f3 SHA512 1e95fffdb1c78a225b5bf861f978c1c18a9935ecd495e8f708ed4a241308b9302d2cf5a5ec51334dbecf50950af5f775bfff78995663cf1681a3dbc354d3a686 -EBUILD knot-resolver-5.5.3.ebuild 1921 BLAKE2B e2c258cd85f042d6aede65f05eb55af11a1b2d907652cc059703d6519937b6365d2788533be3d99c4840aed2f0f7e66fa58fdc7a8857a021136258fa7e700585 SHA512 0889a6eda39392cab71ebdaacaa67e65c5464cf5d5237853696b68707ebe00a5e7a2d62899641c7f6668d8f12ceaccf77669bcb5c81f73c5bf8d99abc47a5198 +EBUILD knot-resolver-5.5.3.ebuild 1977 BLAKE2B 4ca215563d7ed52a77cdb46d90be47817f53939932b0a2eec93adc5dae8c15bec11e90b9eed5c25a3ad723ebd818782c92d57414ab50ef63cd659e51813e3ec3 SHA512 6c2cf4e40a65434bde84fc469ac333742cd9ad4b89b24952777a2e0048420bfdd481b41e66805f294bc01b308e46f34ed88f8c0c008aafe5b758f9ce622507a2 MISC metadata.xml 470 BLAKE2B 16d945ec59b8b4bf54306a3f3182bc61f45ec8cc1880480366a6a918cbad337fc102ae6d2f0cdf3347e7a7a85fc5bc58129bb7e2f1378e42cb047aaa15dbc138 SHA512 09e7fce327eff1d4b5c4702ac4c90c6cf157d076715808eaea42cf0371007ed44a84466bed7c03b296c3fc1b99059cfd0cb575a2a957e7730d49a26bb35c160a diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild index 608408bc9bf9..e059f6d60333 100644 --- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild +++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild @@ -44,7 +44,10 @@ DEPEND=" dev-util/cmocka ) " -BDEPEND="virtual/pkgconfig" +BDEPEND=" + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-knot-resolver ) +" PATCHES=( "${FILESDIR}"/${PN}-5.5.3-docdir.patch diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index 1dcb6f9a0c09..0e49d1caea7c 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -2,15 +2,11 @@ AUX knot-1.service 337 BLAKE2B a6645b2ab92612f3c6640f4e9601cefe087a519d8a40b222e 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.7.tar.xz 1418944 BLAKE2B d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047 SHA512 4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44 -DIST knot-3.1.8.tar.xz 1439912 BLAKE2B bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d SHA512 af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0 SHA512 e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7 -DIST knot-3.2.0.tar.xz 1665720 BLAKE2B 851f8278e2936459ca8bf4f06332d6a49e89152e634aaa94235d180c91a073c648797f8e42e371f563bbeb708289fdf3839f66508fbd41b7e045efbbe5d72374 SHA512 e007d633f1debb559d47a7646b055dc970502be11a1849063da3e3d28355f77e6cba41e34f06726bc5945e4e2ba3ecb84a4b39813a8079514d3bf584d7d565a2 DIST knot-3.2.1.tar.xz 1626796 BLAKE2B f530438bc0e970abe5a6ed148dfb88e1a384ff54c91694af98d261aa3efc73201e60dc9e5f29c1a96b6d406a34fb4ea6cbde0c28dfdc772aa53836fb47e3f2f7 SHA512 2f12750dc0db06fd915c1b322626780c1d66e10c0b8170dea57559e514f66ee105ed8dbbc0a5f8084fcf772e82c242a8b09ae449631960abf4d60af4a13a1ea0 +DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae SHA512 29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f EBUILD knot-3.1.5.ebuild 1983 BLAKE2B 2479b556fcfc0ba8a4058bdf9fca6018fc0d07184f31cf61e4eb9fe71c7061cfd2c36376b074768a3606e610a5eb67c2621d229527d659860ed5dca52740d667 SHA512 ed49e7a8c7e7e06977aab5ee79c1705fa58c009764aa61234a789d10f22f45b01dd1720d1d75c4c7598d58a3d15dbca129b7bb8ca0fe53fb210884e5a7c9cfb1 -EBUILD knot-3.1.7.ebuild 2126 BLAKE2B 708d7da8fd74699cee959d91cb4820523cf62d71e0f22df212d2945c20422ef02ba50ac47f8b7f78b071a9de574f0a49bcd39a0018005e2e8d4bc1abbfcb12f4 SHA512 bafc0af04899dae5884fe7a8905381231a20496487c4b80356d578217538a161097f7f6f9946f1577db43824fce4b9cbe3c18f3a43e830fb43ae735dc7b2a35f -EBUILD knot-3.1.8.ebuild 2128 BLAKE2B a0c52ce7c910b14b2055ac09a7c11e135256e7e3db3eb450ce2fb78b5220008889bbb18d2b2b7fffc0ae181aae355f40e3e5214babae301bc7a4cd26f2b0662c SHA512 b399f78f9af4e0c2df6b5ef5fd235dcddc284286ac730e68c11773b470d1f61e0312b0295d447ccba07727d1d4853497a0aa0b64ff728035e75a30968d6caaeb EBUILD knot-3.1.9.ebuild 2128 BLAKE2B a0c52ce7c910b14b2055ac09a7c11e135256e7e3db3eb450ce2fb78b5220008889bbb18d2b2b7fffc0ae181aae355f40e3e5214babae301bc7a4cd26f2b0662c SHA512 b399f78f9af4e0c2df6b5ef5fd235dcddc284286ac730e68c11773b470d1f61e0312b0295d447ccba07727d1d4853497a0aa0b64ff728035e75a30968d6caaeb -EBUILD knot-3.2.0.ebuild 2128 BLAKE2B a0c52ce7c910b14b2055ac09a7c11e135256e7e3db3eb450ce2fb78b5220008889bbb18d2b2b7fffc0ae181aae355f40e3e5214babae301bc7a4cd26f2b0662c SHA512 b399f78f9af4e0c2df6b5ef5fd235dcddc284286ac730e68c11773b470d1f61e0312b0295d447ccba07727d1d4853497a0aa0b64ff728035e75a30968d6caaeb EBUILD knot-3.2.1-r1.ebuild 2226 BLAKE2B 7a7136b65c6de6e9786f679da8be36c14759523fda18cc24e8fcee7f2b95d2519181bd63d3a8cca10432ff166509cef3db1e3c71dcea4e68db38e8fda5e2be1e SHA512 54f07dddef5db82a94eed74e9c9fdecd58290ab5de85d76c0e8925eed0be0e5cf3d27557a3a9de9cb27c20740496b98fde0a43271fb671d09c7bd91e591b2588 -MISC metadata.xml 1970 BLAKE2B 5743cd2e6b0201db02b8f2016d1b6abb58bf96b9ce2ed392f1230d11d277ada99ed3969660aae48568413ce1ac67d7a44ca09070004702e6256dcdbb7de6f09d SHA512 6a90979ace766ae50a74f62ec375e1179bafd8d4b0be111ee10e93256404d10dfba8bd71580b4541ead5b619d2585ddb54004cd48d79c7c1ab11aa7d46445d94 +EBUILD knot-3.2.2.ebuild 2305 BLAKE2B 0540860a567bd229951e5029611fb01b1435ceb0676b03de91dae17cdfaf1c2e9c4713c0bbc261788ba859479cae2d0c911254fd7c34e21e63c9f76b1275a0f1 SHA512 fe72d484aa5c998a427a9e5ea228900e70dae53cc3424a16244f709c85b0a6a9fdd085600c742169c79d871d29a1bc6393d25ecd3497162ebc34cef7202b4453 +MISC metadata.xml 2058 BLAKE2B 1cdf35289c3096bf71f693b7ec193305ffaba9e94ecdf88fe8b7f478d3302ba332c1685bf6372a24dfe933dd58318a0fe57faf499925004b871941f1219145b1 SHA512 e0dcde9be38b5c515d7c883b0a917ba2c5127a6812c11ce455c6e3cf9bb7eae91046ee73add633cd7b7aa2694ffbffe7fa357505de4bdca38e80ce08440a92b5 diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild deleted file mode 100644 index 80d222d2fe5e..000000000000 --- a/net-dns/knot/knot-3.1.7.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/" -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 -} diff --git a/net-dns/knot/knot-3.1.8.ebuild b/net-dns/knot/knot-3.1.8.ebuild deleted file mode 100644 index 4a454d5cd861..000000000000 --- a/net-dns/knot/knot-3.1.8.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/" -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 -} diff --git a/net-dns/knot/knot-3.2.0.ebuild b/net-dns/knot/knot-3.2.0.ebuild deleted file mode 100644 index 4a454d5cd861..000000000000 --- a/net-dns/knot/knot-3.2.0.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/" -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 -} diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild new file mode 100644 index 000000000000..29120ab563c0 --- /dev/null +++ b/net-dns/knot/knot-3.2.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic systemd + +# subslot: libknot major.libdnssec major.libzscanner major +KNOT_SUBSLOT="13.9.4" + +DESCRIPTION="High-performance authoritative-only DNS server" +HOMEPAGE="https://www.knot-dns.cz/" +SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0/${KNOT_SUBSLOT}" +KEYWORDS="~amd64" + +KNOT_MODULES=( + "+cookies" + "+dnsproxy" + "dnstap" + "geoip" + "+noudp" + "+onlinesign" + "+queryacl" + "+rrl" + "+stats" + "+synthrecord" + "+whoami" +) +IUSE="doc caps doh +fastparser idn +libidn2 quic 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:= ) + ) + quic? ( net-libs/ngtcp2:=[gnutls] ) + 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 caps cap_ng) + $(use_enable fastparser) + $(use_enable dnstap) + $(use_enable doc documentation) + $(use_enable quic) + $(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 +} diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml index 56b218b58761..6fc839da3260 100644 --- a/net-dns/knot/metadata.xml +++ b/net-dns/knot/metadata.xml @@ -45,6 +45,9 @@ Enable the module for query access control + + Enable the DNS over QUIC (DoQ) module using libngtcp2 + Enable the response rate limiting module diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index eee045d63d74..0b09647d1868 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,7 +1,7 @@ AUX dnsdomain2.schema 6640 BLAKE2B d3efc6bc16390f35979f1184632e7184cf403453422888e2cb44fa4fed7891241919a39c8c6f539a61de032654650a45ea548a6983777ea1bfe029e817f2c315 SHA512 ac16f8d528d6138d3c2cbf997fd8fbb467d388aa63eb6ed4e7780a3dad11ea885b91252ff0809b1d2cf7d5200814b8963aab890af84741ea86d35b2f5955a7ea AUX pdns-r1 2815 BLAKE2B cd607cb30a94540eca9cfa2defb7c996f6e151875fcaad8ad3357261937868bc346962f1080ad45a0ef38c2dfc126eb11e41837ee0784f677d1e7c071589a057 SHA512 4c0442d8d92d95268d4971f80782d2772e2a22c43da00566a9328c79a834e4355b2610d133034351d7137ed6cd7fda300f3db8093b09d5852cea44d983de1e39 DIST pdns-4.6.3.tar.bz2 1302651 BLAKE2B 58a66952293bd5caf7b03d114e11f4d6774f5f2aab969b33c1c510b745790f7276b9913cc03e3e4565e5b1de6f61decf338a3b6430d0429c2b87cc9690d9388d SHA512 ea44a0c929e36bf9002d8db7bf1e06ec372a08b31b60c74bbc3ea5600073fb745151f33798a0a4bd151ce17ad7efb07be30f7ddcf620d5bdaab6de4f37f4296f -DIST pdns-4.7.0.tar.bz2 1361265 BLAKE2B 157e512da19c48c4a6aa32ef54525d4902b8aff8484c040ceca7ee15f4202acb3f7ed93152a625f858b475193b9c295fe3fc264caabbcf456fc92224786050a6 SHA512 d4ed9acb98b8195f6f8821d4934472f214bbb4cbef67d084c0b9836e61c9cf156eb193b6e4769ae088aaf92f1ca65dc3ab35fdfcacc42eeb9804d80ab92b25e2 +DIST pdns-4.7.2.tar.bz2 1359883 BLAKE2B 5b1571cc2ae51675877810e8e298f02e6319f830232c60ab80152c6481d8e942beaeade194d1491e16b24c50df0e031d5a52cd01d97ef33022d5428874b1972c SHA512 9087d7ea2892d337c12bed5672654092bc4b4ecee8564312318ee8912ea17f9a12a242aadc291d6583d3a197302b45977fb37e7a00867550b624da62896723f7 EBUILD pdns-4.6.3.ebuild 4539 BLAKE2B 9289eca73dbaf0a68a5d5a8ea873671f3954def7299dcfaf65b4bfa936f39d9138db3dec9b2c596bbc4c787de4a3574b60f498738772667cba71443babd5af7e SHA512 014166a1b347a9e76510e202afdbcafe29ebad112b0a43a15ebebd19d772dae268161e574cab818b0971f162a0a27abd3c9f5eef6a0db275c8c851a72bda8291 -EBUILD pdns-4.7.0.ebuild 4541 BLAKE2B 1ce28873123969fdc7f9811f0628c4a3496ce16fdd3c866864b7b70b185fe4d4e8f326eadd31bf89a87baa2f95512f7bf9570c597578cc08c5e91efe071a7050 SHA512 cdb4c8b37d4f79b37f21e5e1216e3bf000c985d1061b94fc4eeeded895ff14e4b926c9bb3947f6ab029d6ea5ffa0bc560e130e543cfa166736f95909f19bcc5b +EBUILD pdns-4.7.2.ebuild 4541 BLAKE2B 1ce28873123969fdc7f9811f0628c4a3496ce16fdd3c866864b7b70b185fe4d4e8f326eadd31bf89a87baa2f95512f7bf9570c597578cc08c5e91efe071a7050 SHA512 cdb4c8b37d4f79b37f21e5e1216e3bf000c985d1061b94fc4eeeded895ff14e4b926c9bb3947f6ab029d6ea5ffa0bc560e130e543cfa166736f95909f19bcc5b MISC metadata.xml 1080 BLAKE2B 536be9df9d0d9f8ec3f267740ad37da3bcd854ffe12582d9355bf04a75e5620eaf87483d4bed61bee8c20fd1ac2a8a7fa280585f94400472c5b374c84042dc1a SHA512 437aa6d097f9adce27acd8ae5b1a49ed048d58fd49ca9203d6d73df4728448b2d00299ce0d9e98656dca64b1f70f124c811cd435461e65dbeb1ff23fca00ae19 diff --git a/net-dns/pdns/pdns-4.7.0.ebuild b/net-dns/pdns/pdns-4.7.0.ebuild deleted file mode 100644 index 4f2153110553..000000000000 --- a/net-dns/pdns/pdns-4.7.0.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# 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 Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# other possible flags: -# db2: we lack the dep -# oracle: dito (need Oracle Client Libraries) -# xdb: (almost) dead, surely not supported - -IUSE="debug doc geoip ldap lmdb lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="${LUA_REQUIRED_USE} - mydns? ( mysql )" - -DEPEND="${LUA_DEPS} - dev-libs/openssl:= - dev-libs/boost:= - lmdb? ( >=dev-db/lmdb-0.9.29 ) - lua-records? ( >=net-misc/curl-7.21.3 ) - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 ) - sqlite? ( dev-db/sqlite:3 ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip ) - sodium? ( dev-libs/libsodium:= ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - elibc_glibc? ( x86? ( >=sys-libs/glibc-2.34 ) )" -RDEPEND="${DEPEND} - acct-user/pdns - acct-group/pdns" - -BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen[dot] )" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - lua-single_pkg_setup - append-lfs-flags - append-cppflags -D_TIME_BITS=64 -} - -src_configure() { - local cnf_dynmodules="pipe bind" # the default backends, always enabled - - #use db2 && cnf_dynmodules+=" db2" - use ldap && cnf_dynmodules+=" ldap" - use lmdb && cnf_dynmodules+=" lmdb" - use mydns && cnf_dynmodules+=" mydns" - use mysql && cnf_dynmodules+=" gmysql" - #use oracle && cnf_dynmodules+=" goracle oracle" - use postgres && cnf_dynmodules+=" gpgsql" - use remote && cnf_dynmodules+=" remote" - use sqlite && cnf_dynmodules+=" gsqlite3" - use tinydns && cnf_dynmodules+=" tinydns" - use geoip && cnf_dynmodules+=" geoip" - #use xdb && cnf_dynmodules+=" xdb" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-modules= \ - --with-dynmodules="${cnf_dynmodules}" \ - --with-mysql-lib=/usr/$(get_libdir) \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable lua-records) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with sodium libsodium) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - newinitd "${FILESDIR}"/pdns-r1 pdns - - keepdir /var/empty - - if use doc; then - docinto html - dodoc -r codedocs/html/. - fi - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - elog "The name must be in the format pdns. and PowerDNS will use the" - elog "/etc/powerdns/pdns-.conf configuration file instead of the default." - - local old - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 3.2 || continue - - echo - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - ewarn "Check if this is correct for your setup" - ewarn "This is a one-time change and will not happen on subsequent updates." - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} - - break - done - - if use postgres; then - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 4.1.11-r1 || continue - - echo - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend." - ewarn "This security fix needs to be applied manually to the database schema." - ewarn "Please refer to the official security advisory for more information:" - ewarn - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html" - - break - done - fi -} diff --git a/net-dns/pdns/pdns-4.7.2.ebuild b/net-dns/pdns/pdns-4.7.2.ebuild new file mode 100644 index 000000000000..4f2153110553 --- /dev/null +++ b/net-dns/pdns/pdns-4.7.2.ebuild @@ -0,0 +1,170 @@ +# 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 Daemon" +HOMEPAGE="https://www.powerdns.com/" +SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# other possible flags: +# db2: we lack the dep +# oracle: dito (need Oracle Client Libraries) +# xdb: (almost) dead, surely not supported + +IUSE="debug doc geoip ldap lmdb lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="${LUA_REQUIRED_USE} + mydns? ( mysql )" + +DEPEND="${LUA_DEPS} + dev-libs/openssl:= + dev-libs/boost:= + lmdb? ( >=dev-db/lmdb-0.9.29 ) + lua-records? ( >=net-misc/curl-7.21.3 ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:= ) + ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 ) + sqlite? ( dev-db/sqlite:3 ) + geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip ) + sodium? ( dev-libs/libsodium:= ) + tinydns? ( >=dev-db/tinycdb-0.77 ) + elibc_glibc? ( x86? ( >=sys-libs/glibc-2.34 ) )" +RDEPEND="${DEPEND} + acct-user/pdns + acct-group/pdns" + +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +S="${WORKDIR}"/${P/_/-} + +pkg_setup() { + lua-single_pkg_setup + append-lfs-flags + append-cppflags -D_TIME_BITS=64 +} + +src_configure() { + local cnf_dynmodules="pipe bind" # the default backends, always enabled + + #use db2 && cnf_dynmodules+=" db2" + use ldap && cnf_dynmodules+=" ldap" + use lmdb && cnf_dynmodules+=" lmdb" + use mydns && cnf_dynmodules+=" mydns" + use mysql && cnf_dynmodules+=" gmysql" + #use oracle && cnf_dynmodules+=" goracle oracle" + use postgres && cnf_dynmodules+=" gpgsql" + use remote && cnf_dynmodules+=" remote" + use sqlite && cnf_dynmodules+=" gsqlite3" + use tinydns && cnf_dynmodules+=" tinydns" + use geoip && cnf_dynmodules+=" geoip" + #use xdb && cnf_dynmodules+=" xdb" + + econf \ + --disable-static \ + --sysconfdir=/etc/powerdns \ + --libdir=/usr/$(get_libdir)/powerdns \ + --with-service-user=pdns \ + --with-service-group=pdns \ + --with-modules= \ + --with-dynmodules="${cnf_dynmodules}" \ + --with-mysql-lib=/usr/$(get_libdir) \ + --with-lua="${ELUA}" \ + $(use_enable debug verbose-logging) \ + $(use_enable lua-records) \ + $(use_enable test unit-tests) \ + $(use_enable tools) \ + $(use_enable systemd) \ + $(use_with sodium libsodium) \ + ${myconf} +} + +src_compile() { + default + use doc && emake -C codedocs codedocs +} + +src_install() { + default + + mv "${D}"/etc/powerdns/pdns.conf{-dist,} + + fperms 0700 /etc/powerdns + fperms 0600 /etc/powerdns/pdns.conf + + # set defaults: setuid=pdns, setgid=pdns + sed -i \ + -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ + "${D}"/etc/powerdns/pdns.conf + + newinitd "${FILESDIR}"/pdns-r1 pdns + + keepdir /var/empty + + if use doc; then + docinto html + dodoc -r codedocs/html/. + fi + + # Install development headers + insinto /usr/include/pdns + doins pdns/*.hh + insinto /usr/include/pdns/backends/gsql + doins pdns/backends/gsql/*.hh + + if use ldap ; then + insinto /etc/openldap/schema + doins "${FILESDIR}"/dnsdomain2.schema + fi + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "PowerDNS provides multiple instances support. You can create more instances" + elog "by symlinking the pdns init script to another name." + elog + elog "The name must be in the format pdns. and PowerDNS will use the" + elog "/etc/powerdns/pdns-.conf configuration file instead of the default." + + local old + for old in ${REPLACING_VERSIONS}; do + ver_test ${old} -lt 3.2 || continue + + echo + ewarn "To fix a security bug (bug #458018) had the following" + ewarn "files/directories the world-readable bit removed (if set):" + ewarn " ${EPREFIX}/etc/powerdns" + ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" + ewarn "Check if this is correct for your setup" + ewarn "This is a one-time change and will not happen on subsequent updates." + chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} + + break + done + + if use postgres; then + for old in ${REPLACING_VERSIONS}; do + ver_test ${old} -lt 4.1.11-r1 || continue + + echo + ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend." + ewarn "This security fix needs to be applied manually to the database schema." + ewarn "Please refer to the official security advisory for more information:" + ewarn + ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html" + + break + done + fi +} -- cgit v1.2.3