diff options
Diffstat (limited to 'net-dns/dnsdist')
-rw-r--r-- | net-dns/dnsdist/Manifest | 18 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.8.0.ebuild | 84 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.8.1.ebuild | 84 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.9.4.ebuild | 112 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.9.5.ebuild | 112 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.9.7.ebuild | 112 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.9.8-r1.ebuild (renamed from net-dns/dnsdist/dnsdist-1.9.6-r1.ebuild) | 14 | ||||
-rw-r--r-- | net-dns/dnsdist/dnsdist-1.9.8.ebuild | 112 | ||||
-rw-r--r-- | net-dns/dnsdist/files/1.9.6-boost-1.86.0.patch | 35 | ||||
-rw-r--r-- | net-dns/dnsdist/files/1.9.6-json11-gcc15.patch | 19 | ||||
-rw-r--r-- | net-dns/dnsdist/files/1.9.8-quiche-0.23.patch | 52 | ||||
-rw-r--r-- | net-dns/dnsdist/metadata.xml | 1 |
12 files changed, 62 insertions, 693 deletions
diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest index 20716ab2d103..64aef0c0824a 100644 --- a/net-dns/dnsdist/Manifest +++ b/net-dns/dnsdist/Manifest @@ -1,21 +1,9 @@ -AUX 1.9.6-boost-1.86.0.patch 1018 BLAKE2B efc91130b651534467b505d18bfbd3ebb04186766499423f102bd0af565422a738734baf6a641ed9df4043708162e18df640559efb4a677f55b4a9545d43b501 SHA512 93fd7f6da8568a82e59e76f1572e5f6455b39e5935fa6361f04a54de97ca2c641117658f82f3764246e9d8efd0d5cbf0446919f04026a39f99abd945bb10ed0d -AUX 1.9.6-json11-gcc15.patch 588 BLAKE2B 3f623a06f42eef59d3ec7ce502f554e5ebae7913a00cbb040958ed73995483baef2e111aab2f1317327967fdfe204f7743f5e748414a1280f216acc0b1d55a86 SHA512 13c476975802ba40319b23dff76fa5b737a1640c69fad21c2bbc050a94dca991ceba846b7fe433068993854070c3d4e7d4608256491ce93ef4496f79f4080402 +AUX 1.9.8-quiche-0.23.patch 2511 BLAKE2B 716c858f51be62eccba712feb9ec6c22080ce78667d8ff65c0ebae46e00746da6af1961b718be3c5545f6ded877b23c065f4c12023531ce7a31e6480339b3ee7 SHA512 8ebc9eba5b33dd11e0ed7cfaee7c98efa1209af60bd930871f207db8575a6e76fc1786b10219439f5ce2110b9ab3e6cd6bf3a0dcecd53c715c7f966612a52e56 AUX dnsdist.conf.example 524 BLAKE2B e9d140129dfbd276d1fb927d73bee4e4c29920ae70d587765ea5d432f02694b1a8583340c2e14e191bbdf5ddd5b921274cb2336c3520839d7cfe6f399a4d6c26 SHA512 385bee5725d927feb50fc0f40cd48cd365a495e39c0d947aa53dc454d84b7fe3806cd1d206056c96d111e7251db2cda27570ff8154c70bed145d37bc7d1db01d AUX dnsdist.confd 266 BLAKE2B c201b0aa3599ea7606e998348d777796ff391f3d4b0e46744160298456c86a9d9bbf65d1a339c0c13db4c796efb7c3adba01110882542fe501c735c9dd190f92 SHA512 935afc768ae56d017f6dee8bed7a3e92615055a0d4d2ae9980afef1b8f353da0e8bd6e20b914602e50b116ad33ef17ba05535b225af8b8da9ad005694edc071f AUX dnsdist.initd 1337 BLAKE2B e2619182674439be6942a0a936208326c12cfc2839bba4fd6a2ca3653ac6083458ebf2b644d2db63c187ed33ba2bef3437680714bb76dfc7632e1b62149a6f6a SHA512 99e38a58c97dd206ea82ffc783102feaa28f74bec5e03c1790e2db0f428f8228eec43617b2c951f22320e10dbd42ddfbf40650fed28608428f9c48eec3640a8d -DIST dnsdist-1.8.0.tar.bz2 1480500 BLAKE2B 47cfcfe3756cdc4520c1ba1e11b7d60191125ef900ba829ff7437ac2041352b845ab5f7183f53fea9b3aa6f44c5745de3878c2b72f2be048fa57d2c2e9325c0c SHA512 426db3e83729bd2f8a8c8b1c02d719c6618acc0aec09d1f2670c159d441c1cad2fdc85c5ffe919e76d1b1e8e24198bf29133802cb857dfacde2dfed2532001f1 -DIST dnsdist-1.8.1.tar.bz2 1492793 BLAKE2B 84fdf2f360c41ea235f3989d2bc14ad05e98d7b51dd20d983e7ad53ce5a6c00c7075b673e8a15fe3fd710a4e15c80db4d7431256bfb4291bd5785482d3f7f7e5 SHA512 db50c56587084ebdea3eb7f8e5b79178aea67b608cf6afce1453932b5225b3474a459cdc3dc8e4618a36a9edb405403dfefaed7fadd5848b5612de6bfb356f3a -DIST dnsdist-1.9.4.tar.bz2 1591994 BLAKE2B a8cfc5c2da135ed96b857f9f1b6c3caa796b27f66ff7ead6e976b871a5e5db208ef3ce275c23085318bd7ff2f0fa2ec19e28ad36234991d84b8d13e74acb2f34 SHA512 e013fa3e582cc30d104a66ee44eec50dd1d04cb2bd0dc5b3c9dfec95f3e0e5f3da5f2a1bb9a713b50e5659908669957fe4deb5b1ca10f728e6ceaf550a3223ef -DIST dnsdist-1.9.5.tar.bz2 1607962 BLAKE2B 2723abd3ba9ab2824c232f65901601c558054ae70dc668632514c4f9bd60f1e3dd7d67d6a58a974a054d33b6869b72dc888024a8f23256c078d7779dbb1b1836 SHA512 1c38f346b6199063e3862dcc5ff8283b3fe17473ef88660a122793b07c806e47fd1c47602d0edf66fd060f2170fb2f678d94e6cc6cc4800e70912b80a4c26c7d DIST dnsdist-1.9.6.tar.bz2 1598874 BLAKE2B adb56707bb768ceae974cd9b725d2bf1f4beaa6e3edc6ede22a7d93920214614f10c82d71dbb773741f56dff04e0f0aa26dc0a0e2d5d405bee89d8ada1130303 SHA512 8d0c88336864b788df320298678e2a8556d7c4ff468ec1b4165b87c2fe5c6c167a2c75cdd2df433346fac12694d8e39d30910b8d1d4be7f35d9e0d85edd5ef5a -DIST dnsdist-1.9.7.tar.bz2 1594532 BLAKE2B 895a581caf00e8274787d7280e790372868354cceebe5c34fc9bd960778758c6e39b1e47e11038b3f85277a9ea0231ee9951cd01febbf1c8edb0c5ae1059c644 SHA512 7d49136efd811d10e86e5df2e4972fdd31245686294efe618107ebb80e13762a0f9a5677af59277484a7b69a05c84bbc6b26f8fabbdcc34acdfcdd7e7b155aac DIST dnsdist-1.9.8.tar.bz2 1593902 BLAKE2B 854344eb6b82f98001171830715fe5cf564628405b4c79c07b43fccdbca0a4c9da7e527a748bc2972261a32ed9c51582eac2e6fdbef5c25bd71b161318a62155 SHA512 b89bc1ba62a2cf009a305a71eaa2553810d6d5f25f71098cb34acd86bfe5632e5f9f4b5ce057ea93665f1f5dd65e6a3d67fa364e8cecf0b648559c73061baddd -EBUILD dnsdist-1.8.0.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486 -EBUILD dnsdist-1.8.1.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486 -EBUILD dnsdist-1.9.4.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b -EBUILD dnsdist-1.9.5.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b -EBUILD dnsdist-1.9.6-r1.ebuild 2804 BLAKE2B f9e0352b533521dd282225a65102a8516da81463e79fdaef877ca20b9ae2520c1e198da9fa11d17cbabed72f1466beaa632be33c3fc4be264435e917f1962ed7 SHA512 b65fd11fe357b9bc5e8855f52bf9abfcecffbba8c5cb23bb762848ca9b2adb366f2de3248f7d78fed1e6b78fd0e9144d92504c653f626eed31da95131069cab1 EBUILD dnsdist-1.9.6.ebuild 2710 BLAKE2B 5148ee3d8471495e0b4aec5a69078afc2f4a931c1c223270b31b59ec98a26ba1dc27dcdc5b264e0bb6978d0f3bd8488c58cbbb18db43d691b0edd307833bb7cd SHA512 3ff14d72f3faf0f828c763b7cd980f51f5390fc34fb3d182cdaec49e2b611e8e0e4104a80dc6b3ee05c92b87cd47da42dad8ccd1733b66f9b0367280def31900 -EBUILD dnsdist-1.9.7.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b -EBUILD dnsdist-1.9.8.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b -MISC metadata.xml 1965 BLAKE2B 2d5f3a088a14fcdc2a36ccb3dae1cf47c44c3601264a3fd379e66d6440ac37182384d53d041e35a7bac72227800ba3cadd0ab02a2b0ab53883b6ed44d8803e13 SHA512 a2f3a0d9e17b653912d4269edf4f34e25ff0ebfdf19bea030b41830332ea880fb6fb49a4cb41a21e41402ce6b8478bee7a826874b68da1619dc3198b771d8b11 +EBUILD dnsdist-1.9.8-r1.ebuild 2816 BLAKE2B b9905719b8a60b10a421ab15319315bce05f32bdf8f6f263b9be7bb086b24750d90aa846a16fdf982a88a5d476b740b5aead909027a6e3c61158c95361a981b1 SHA512 995b8d9a777bfec1e75fb426eec6855be9ba684ed897f17976f871c70f95ead7766b8931a19038b287c011387826eb4a72f2e7193ac156e71fa9c84f8718c120 +MISC metadata.xml 1861 BLAKE2B c160b636f744acabe9ee303a60f8170bb5474d70e58b858e5585eb60e41b5b9d80f4e6cb8f49304b6ec7f11d0378332f8b9ebdd79d06d6d62cc9299b40e5e4ed SHA512 c034972452c33b6ded417772883af3d91f9b7f8f364fc9536337c91dbb23971592be082e8acac59d03b4b28779c081386e881085c5941b19d95ba3b3c544c65a diff --git a/net-dns/dnsdist/dnsdist-1.8.0.ebuild b/net-dns/dnsdist/dnsdist-1.8.0.ebuild deleted file mode 100644 index c0ec5088ac0e..000000000000 --- a/net-dns/dnsdist/dnsdist-1.8.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 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="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -KEYWORDS="~amd64 ~x86" - -LICENSE="GPL-2" -SLOT="0" -IUSE="dnscrypt dnstap doh gnutls +lmdb regex remote-logging snmp +ssl systemd test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - gnutls? ( ssl ) - doh? ( ssl !gnutls )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - dev-libs/boost:= - dev-libs/libedit:= - dev-libs/libsodium:= - >=dev-libs/protobuf-3:= - dnstap? ( dev-libs/fstrm:= ) - doh? ( www-servers/h2o:=[libh2o] ) - lmdb? ( dev-db/lmdb:= ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:= ) - ) - systemd? ( sys-apps/systemd:0= ) - ${LUA_DEPS} - net-libs/nghttp2 -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - # bug #822855 - append-lfs-flags - - econf \ - --sysconfdir=/etc/dnsdist \ - --with-lua="${ELUA}" \ - $(use_enable doh dns-over-https) \ - $(use_enable dnscrypt) \ - $(use_enable dnstap) \ - $(use_with lmdb ) \ - $(use_with regex re2) \ - $(use_with snmp net-snmp) \ - $(use ssl && { echo "--enable-dns-over-tls" && use_with gnutls && use_with !gnutls libssl;} || echo "--without-gnutls --without-libssl") \ - $(use_enable systemd) \ - $(use_enable test unit-tests) - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/dnsdist-1.8.1.ebuild b/net-dns/dnsdist/dnsdist-1.8.1.ebuild deleted file mode 100644 index c0ec5088ac0e..000000000000 --- a/net-dns/dnsdist/dnsdist-1.8.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 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="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -KEYWORDS="~amd64 ~x86" - -LICENSE="GPL-2" -SLOT="0" -IUSE="dnscrypt dnstap doh gnutls +lmdb regex remote-logging snmp +ssl systemd test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - gnutls? ( ssl ) - doh? ( ssl !gnutls )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - dev-libs/boost:= - dev-libs/libedit:= - dev-libs/libsodium:= - >=dev-libs/protobuf-3:= - dnstap? ( dev-libs/fstrm:= ) - doh? ( www-servers/h2o:=[libh2o] ) - lmdb? ( dev-db/lmdb:= ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:= ) - ) - systemd? ( sys-apps/systemd:0= ) - ${LUA_DEPS} - net-libs/nghttp2 -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - # bug #822855 - append-lfs-flags - - econf \ - --sysconfdir=/etc/dnsdist \ - --with-lua="${ELUA}" \ - $(use_enable doh dns-over-https) \ - $(use_enable dnscrypt) \ - $(use_enable dnstap) \ - $(use_with lmdb ) \ - $(use_with regex re2) \ - $(use_with snmp net-snmp) \ - $(use ssl && { echo "--enable-dns-over-tls" && use_with gnutls && use_with !gnutls libssl;} || echo "--without-gnutls --without-libssl") \ - $(use_enable systemd) \ - $(use_enable test unit-tests) - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/dnsdist-1.9.4.ebuild b/net-dns/dnsdist/dnsdist-1.9.4.ebuild deleted file mode 100644 index 33366646a868..000000000000 --- a/net-dns/dnsdist/dnsdist-1.9.4.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit flag-o-matic lua-single - -DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="bpf cdb dnscrypt dnstap doh doh3 ipcipher lmdb quic regex snmp +ssl systemd test web xdp" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - doh? ( ssl ) - doh3? ( ssl quic ) - ipcipher? ( ssl ) - quic? ( ssl )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - bpf? ( dev-libs/libbpf:= ) - cdb? ( dev-db/tinycdb:= ) - dev-libs/boost:= - sys-libs/libcap - dev-libs/libedit - dev-libs/libsodium:= - dnstap? ( dev-libs/fstrm ) - doh? ( net-libs/nghttp2:= ) - doh3? ( net-libs/quiche:= ) - lmdb? ( dev-db/lmdb:= ) - quic? ( net-libs/quiche ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:0= ) - xdp? ( net-libs/xdp-tools ) - ${LUA_DEPS} -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # clean up duplicate file - rm -f README.md -} - -src_configure() { - # bug #822855 - append-lfs-flags - - # some things can only be enabled/disabled by defines - ! use dnstap && append-cppflags -DDISABLE_PROTOBUF - ! use web && append-cppflags -DDISABLE_BUILTIN_HTML - - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" - - local myeconfargs=( - --sysconfdir=/etc/dnsdist - --with-lua="${ELUA}" - --without-h2o - --enable-tls-providers - --without-gnutls - $(use_with bpf ebpf) - $(use_with cdb cdb) - $(use_enable doh dns-over-https) - $(use_enable doh3 dns-over-http3) - $(use_enable dnscrypt) - $(use_enable dnstap) - $(use_enable ipcipher) - $(use_with lmdb ) - $(use_enable quic dns-over-quic) - $(use_with regex re2) - $(use_with snmp net-snmp) - $(use_enable ssl dns-over-tls) - $(use_enable systemd) \ - $(use_enable test unit-tests) - $(use_with xdp xsk) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/dnsdist-1.9.5.ebuild b/net-dns/dnsdist/dnsdist-1.9.5.ebuild deleted file mode 100644 index 33366646a868..000000000000 --- a/net-dns/dnsdist/dnsdist-1.9.5.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit flag-o-matic lua-single - -DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="bpf cdb dnscrypt dnstap doh doh3 ipcipher lmdb quic regex snmp +ssl systemd test web xdp" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - doh? ( ssl ) - doh3? ( ssl quic ) - ipcipher? ( ssl ) - quic? ( ssl )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - bpf? ( dev-libs/libbpf:= ) - cdb? ( dev-db/tinycdb:= ) - dev-libs/boost:= - sys-libs/libcap - dev-libs/libedit - dev-libs/libsodium:= - dnstap? ( dev-libs/fstrm ) - doh? ( net-libs/nghttp2:= ) - doh3? ( net-libs/quiche:= ) - lmdb? ( dev-db/lmdb:= ) - quic? ( net-libs/quiche ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:0= ) - xdp? ( net-libs/xdp-tools ) - ${LUA_DEPS} -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # clean up duplicate file - rm -f README.md -} - -src_configure() { - # bug #822855 - append-lfs-flags - - # some things can only be enabled/disabled by defines - ! use dnstap && append-cppflags -DDISABLE_PROTOBUF - ! use web && append-cppflags -DDISABLE_BUILTIN_HTML - - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" - - local myeconfargs=( - --sysconfdir=/etc/dnsdist - --with-lua="${ELUA}" - --without-h2o - --enable-tls-providers - --without-gnutls - $(use_with bpf ebpf) - $(use_with cdb cdb) - $(use_enable doh dns-over-https) - $(use_enable doh3 dns-over-http3) - $(use_enable dnscrypt) - $(use_enable dnstap) - $(use_enable ipcipher) - $(use_with lmdb ) - $(use_enable quic dns-over-quic) - $(use_with regex re2) - $(use_with snmp net-snmp) - $(use_enable ssl dns-over-tls) - $(use_enable systemd) \ - $(use_enable test unit-tests) - $(use_with xdp xsk) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/dnsdist-1.9.7.ebuild b/net-dns/dnsdist/dnsdist-1.9.7.ebuild deleted file mode 100644 index 33366646a868..000000000000 --- a/net-dns/dnsdist/dnsdist-1.9.7.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit flag-o-matic lua-single - -DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="bpf cdb dnscrypt dnstap doh doh3 ipcipher lmdb quic regex snmp +ssl systemd test web xdp" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - doh? ( ssl ) - doh3? ( ssl quic ) - ipcipher? ( ssl ) - quic? ( ssl )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - bpf? ( dev-libs/libbpf:= ) - cdb? ( dev-db/tinycdb:= ) - dev-libs/boost:= - sys-libs/libcap - dev-libs/libedit - dev-libs/libsodium:= - dnstap? ( dev-libs/fstrm ) - doh? ( net-libs/nghttp2:= ) - doh3? ( net-libs/quiche:= ) - lmdb? ( dev-db/lmdb:= ) - quic? ( net-libs/quiche ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:0= ) - xdp? ( net-libs/xdp-tools ) - ${LUA_DEPS} -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # clean up duplicate file - rm -f README.md -} - -src_configure() { - # bug #822855 - append-lfs-flags - - # some things can only be enabled/disabled by defines - ! use dnstap && append-cppflags -DDISABLE_PROTOBUF - ! use web && append-cppflags -DDISABLE_BUILTIN_HTML - - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" - - local myeconfargs=( - --sysconfdir=/etc/dnsdist - --with-lua="${ELUA}" - --without-h2o - --enable-tls-providers - --without-gnutls - $(use_with bpf ebpf) - $(use_with cdb cdb) - $(use_enable doh dns-over-https) - $(use_enable doh3 dns-over-http3) - $(use_enable dnscrypt) - $(use_enable dnstap) - $(use_enable ipcipher) - $(use_with lmdb ) - $(use_enable quic dns-over-quic) - $(use_with regex re2) - $(use_with snmp net-snmp) - $(use_enable ssl dns-over-tls) - $(use_enable systemd) \ - $(use_enable test unit-tests) - $(use_with xdp xsk) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/dnsdist-1.9.6-r1.ebuild b/net-dns/dnsdist/dnsdist-1.9.8-r1.ebuild index dc311688bbfd..b51d68a3dba2 100644 --- a/net-dns/dnsdist/dnsdist-1.9.6-r1.ebuild +++ b/net-dns/dnsdist/dnsdist-1.9.8-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) -inherit flag-o-matic lua-single +inherit autotools flag-o-matic lua-single DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" +HOMEPAGE="https://www.dnsdist.org/index.html" SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" LICENSE="GPL-2" @@ -49,16 +49,16 @@ RDEPEND="acct-group/dnsdist DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( - "${FILESDIR}/1.9.6-boost-1.86.0.patch" - "${FILESDIR}/1.9.6-json11-gcc15.patch" -) +PATCHES=( "${FILESDIR}/1.9.8-quiche-0.23.patch" ) src_prepare() { default # clean up duplicate file rm -f README.md + + # reconfigure + eautoreconf } src_configure() { diff --git a/net-dns/dnsdist/dnsdist-1.9.8.ebuild b/net-dns/dnsdist/dnsdist-1.9.8.ebuild deleted file mode 100644 index 33366646a868..000000000000 --- a/net-dns/dnsdist/dnsdist-1.9.8.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit flag-o-matic lua-single - -DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" -HOMEPAGE="https://dnsdist.org" - -SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="bpf cdb dnscrypt dnstap doh doh3 ipcipher lmdb quic regex snmp +ssl systemd test web xdp" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE} - dnscrypt? ( ssl ) - doh? ( ssl ) - doh3? ( ssl quic ) - ipcipher? ( ssl ) - quic? ( ssl )" - -RDEPEND="acct-group/dnsdist - acct-user/dnsdist - bpf? ( dev-libs/libbpf:= ) - cdb? ( dev-db/tinycdb:= ) - dev-libs/boost:= - sys-libs/libcap - dev-libs/libedit - dev-libs/libsodium:= - dnstap? ( dev-libs/fstrm ) - doh? ( net-libs/nghttp2:= ) - doh3? ( net-libs/quiche:= ) - lmdb? ( dev-db/lmdb:= ) - quic? ( net-libs/quiche ) - regex? ( dev-libs/re2:= ) - snmp? ( net-analyzer/net-snmp:= ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd:0= ) - xdp? ( net-libs/xdp-tools ) - ${LUA_DEPS} -" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # clean up duplicate file - rm -f README.md -} - -src_configure() { - # bug #822855 - append-lfs-flags - - # some things can only be enabled/disabled by defines - ! use dnstap && append-cppflags -DDISABLE_PROTOBUF - ! use web && append-cppflags -DDISABLE_BUILTIN_HTML - - sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ - -i "${S}/configure" - - local myeconfargs=( - --sysconfdir=/etc/dnsdist - --with-lua="${ELUA}" - --without-h2o - --enable-tls-providers - --without-gnutls - $(use_with bpf ebpf) - $(use_with cdb cdb) - $(use_enable doh dns-over-https) - $(use_enable doh3 dns-over-http3) - $(use_enable dnscrypt) - $(use_enable dnstap) - $(use_enable ipcipher) - $(use_with lmdb ) - $(use_enable quic dns-over-quic) - $(use_with regex re2) - $(use_with snmp net-snmp) - $(use_enable ssl dns-over-tls) - $(use_enable systemd) \ - $(use_enable test unit-tests) - $(use_with xdp xsk) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc/dnsdist - doins "${FILESDIR}"/dnsdist.conf.example - - newconfd "${FILESDIR}"/dnsdist.confd ${PN} - newinitd "${FILESDIR}"/dnsdist.initd ${PN} -} - -pkg_postinst() { - elog "dnsdist provides multiple instances support. You can create more instances" - elog "by symlinking the dnsdist init script to another name." - elog - elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" - elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." -} diff --git a/net-dns/dnsdist/files/1.9.6-boost-1.86.0.patch b/net-dns/dnsdist/files/1.9.6-boost-1.86.0.patch deleted file mode 100644 index bf9d23984bba..000000000000 --- a/net-dns/dnsdist/files/1.9.6-boost-1.86.0.patch +++ /dev/null @@ -1,35 +0,0 @@ - -Fix compilation with boost-1.86. -Patch path prefix adapted for dnsdist. - -From: https://github.com/PowerDNS/pdns/commit/eed56000b1d68ac083b8e8bea4ff0ea30a1579c4 - -From eed56000b1d68ac083b8e8bea4ff0ea30a1579c4 Mon Sep 17 00:00:00 2001 -From: Michael Cho <michael@michaelcho.dev> -Date: Thu, 15 Aug 2024 22:49:17 -0400 -Subject: [PATCH] Fix build with boost 1.86.0 - -Boost 1.86.0 changes seem to no longer indirectly include header which -causes build to fail with: -``` -uuid-utils.cc:38:58: -error: 'random' is not a class, namespace, or enumeration -``` - -boost/random/mersenne_twister.hpp has been available since Boost 1.21.2 ---- - pdns/uuid-utils.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/pdns/uuid-utils.cc b/pdns/uuid-utils.cc -index c59e0a0d0daa..301daff0bb1e 100644 ---- a/uuid-utils.cc -+++ b/uuid-utils.cc -@@ -30,6 +30,7 @@ - #endif /* BOOST_PENDING_INTEGER_LOG2_HPP */ - #endif /* BOOST_VERSION */ - -+#include <boost/random/mersenne_twister.hpp> - #include <boost/uuid/uuid_generators.hpp> - - // The default of: diff --git a/net-dns/dnsdist/files/1.9.6-json11-gcc15.patch b/net-dns/dnsdist/files/1.9.6-json11-gcc15.patch deleted file mode 100644 index 9aac470625f6..000000000000 --- a/net-dns/dnsdist/files/1.9.6-json11-gcc15.patch +++ /dev/null @@ -1,19 +0,0 @@ - -Fix compilation with gcc-15 - -Bug: https://bugs.gentoo.org/937628 -Bug: https://github.com/PowerDNS/pdns/issues/14549 - -Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> - -diff -rup dnsdist-1.9.6/ext/json11/json11.cpp dnsdist-1.9.6-gcc15/ext/json11/json11.cpp ---- dnsdist-1.9.6/ext/json11/json11.cpp 2024-07-15 11:46:15.000000000 +0200 -+++ dnsdist-1.9.6-gcc15/ext/json11/json11.cpp 2024-08-09 18:03:51.090140981 +0200 -@@ -22,6 +22,7 @@ - #include "json11.hpp" - #include <cassert> - #include <cmath> -+#include <cstdint> - #include <cstdlib> - #include <cstdio> - #include <limits> diff --git a/net-dns/dnsdist/files/1.9.8-quiche-0.23.patch b/net-dns/dnsdist/files/1.9.8-quiche-0.23.patch new file mode 100644 index 000000000000..a99897a691a3 --- /dev/null +++ b/net-dns/dnsdist/files/1.9.8-quiche-0.23.patch @@ -0,0 +1,52 @@ + +Manual backport of upstream commit: +https://github.com/PowerDNS/pdns/commit/661b071b347193a66deaa0d5b8350a2c816f6534 + +Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> + +diff -up dnsdist-1.9.8/doh3.cc.orig dnsdist-1.9.8/doh3.cc +--- dnsdist-1.9.8/doh3.cc.orig 2024-12-17 10:14:37.000000000 +0100 ++++ dnsdist-1.9.8/doh3.cc 2025-02-18 10:04:11.843950262 +0100 +@@ -751,7 +751,11 @@ static void processH3HeaderEvent(ClientS + } + + if (headers.at(":method") == "POST") { ++#if defined(HAVE_QUICHE_H3_EVENT_HEADERS_HAS_MORE_FRAMES) ++ if (!quiche_h3_event_headers_has_more_frames(event)) { ++#else + if (!quiche_h3_event_headers_has_body(event)) { ++#endif + handleImmediateError("Empty POST query"); + } + return; +diff -up dnsdist-1.9.8/m4/pdns_with_quiche.m4.orig dnsdist-1.9.8/m4/pdns_with_quiche.m4 +--- dnsdist-1.9.8/m4/pdns_with_quiche.m4.orig 2024-12-17 10:14:37.000000000 +0100 ++++ dnsdist-1.9.8/m4/pdns_with_quiche.m4 2025-02-18 10:04:11.844114375 +0100 +@@ -10,16 +10,23 @@ AC_DEFUN([PDNS_WITH_QUICHE], [ + + AS_IF([test "x$with_quiche" != "xno"], [ + AS_IF([test "x$with_quiche" = "xyes" -o "x$with_quiche" = "xauto"], [ +- PKG_CHECK_MODULES([QUICHE], [quiche >= 0.22.0], [ ++ PKG_CHECK_MODULES([QUICHE], [quiche >= 0.23.0], [ + [HAVE_QUICHE=1] + AC_DEFINE([HAVE_QUICHE], [1], [Define to 1 if you have quiche]) ++ AC_DEFINE([HAVE_QUICHE_H3_EVENT_HEADERS_HAS_MORE_FRAMES], [1], [Define to 1 if the Quiche API has quiche_h3_event_headers_has_more_frames instead of quiche_h3_event_headers_has_body]) + AC_DEFINE([HAVE_QUICHE_STREAM_ERROR_CODES], [1], [Define to 1 if the Quiche API includes error code in quiche_conn_stream_recv and quiche_conn_stream_send]) + ], [ +- # Quiche is older than 0.22.0, or no Quiche at all +- PKG_CHECK_MODULES([QUICHE], [quiche >= 0.15.0], [ ++ PKG_CHECK_MODULES([QUICHE], [quiche >= 0.22.0], [ + [HAVE_QUICHE=1] + AC_DEFINE([HAVE_QUICHE], [1], [Define to 1 if you have quiche]) +- ], [ : ]) ++ AC_DEFINE([HAVE_QUICHE_STREAM_ERROR_CODES], [1], [Define to 1 if the Quiche API includes error code in quiche_conn_stream_recv and quiche_conn_stream_send]) ++ ], [ ++ # Quiche is older than 0.22.0, or no Quiche at all ++ PKG_CHECK_MODULES([QUICHE], [quiche >= 0.15.0], [ ++ [HAVE_QUICHE=1] ++ AC_DEFINE([HAVE_QUICHE], [1], [Define to 1 if you have quiche]) ++ ], [ : ]) ++ ]) + ]) + ]) + ]) diff --git a/net-dns/dnsdist/metadata.xml b/net-dns/dnsdist/metadata.xml index 000b9a78abb3..83896633eca4 100644 --- a/net-dns/dnsdist/metadata.xml +++ b/net-dns/dnsdist/metadata.xml @@ -26,7 +26,6 @@ <flag name="lmdb">Enable support for lmdb</flag> <flag name="quic">Enable support for dns over quic via <pkg>net-libs/quiche</pkg></flag> <flag name="regex">Enable support for regular expression matching via <pkg>dev-libs/re2</pkg></flag> - <flag name="remote-logging">Enable support for remote logging via <pkg>dev-libs/protobuf</pkg></flag> <flag name="ssl">Enable support for and encrypted client-server communication via <pkg>dev-libs/libsodium</pkg></flag> <flag name="web">Enable support for the web UI</flag> <flag name="xdp">Enable support for AF_XDP high performance packet processing</flag> |