From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/
Date: Wed, 21 May 2025 20:56:45 +0000 (UTC) [thread overview]
Message-ID: <1747860860.ac7be6e517cdc4ca9815fd76b0b8c57cad72829e.sam@gentoo> (raw)
commit: ac7be6e517cdc4ca9815fd76b0b8c57cad72829e
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue May 20 14:14:05 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 20:54:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7be6e5
net-dns/dnsdist: add 1.9.10
Bug: https://bugs.gentoo.org/956344
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/42169
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-dns/dnsdist/Manifest | 1 +
net-dns/dnsdist/dnsdist-1.9.10.ebuild | 115 ++++++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest
index ae4c9496b317..c1be2328ffc1 100644
--- a/net-dns/dnsdist/Manifest
+++ b/net-dns/dnsdist/Manifest
@@ -1 +1,2 @@
+DIST dnsdist-1.9.10.tar.bz2 1598472 BLAKE2B ea66ca17ef66ecc64fd3a7379b22c2b0448c2a41f325e574a4edb20dfe408315be84a407b78f30a441479fbbcba31a28da2e310c275877739918ad3f9870acd1 SHA512 d7249861bb5454dce3d179701e1c686c5c5ed177ca39b07ca6b1f27d2ab7a014d0d255ee6b70153962dc5d9a84545ae4a4a55c53c8e75f308cda5406eed57e9b
DIST dnsdist-1.9.9.tar.bz2 1609983 BLAKE2B 54517c396d8b5b546e9bcc5890f6df0cfa8470b65d9c7dcece0c7d503fff3fc0d4e2898a7bda8e16f9935279849128293967b38865345fa4c963705b9c9b8cad SHA512 addd72f5324d75811601d9efe7af8846a448694172a14066b3ae53c7e53195f6955a038f97411703f66ce6bafd02846bf3c679839c473de6f7fc9ebecb8e6ca9
diff --git a/net-dns/dnsdist/dnsdist-1.9.10.ebuild b/net-dns/dnsdist/dnsdist-1.9.10.ebuild
new file mode 100644
index 000000000000..2b530d29c1bf
--- /dev/null
+++ b/net-dns/dnsdist/dnsdist-1.9.10.ebuild
@@ -0,0 +1,115 @@
+# 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 autotools flag-o-matic lua-single
+
+DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer"
+HOMEPAGE="https://www.dnsdist.org/index.html"
+
+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
+
+ # reconfigure
+ eautoreconf
+}
+
+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."
+}
next reply other threads:[~2025-05-21 20:56 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 20:56 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-20 13:36 [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/ Sam James
2025-09-18 23:00 Sam James
2025-09-06 15:05 Sam James
2025-09-06 15:05 Sam James
2025-07-24 21:27 Sam James
2025-07-24 21:27 Sam James
2025-05-21 20:59 Sam James
2025-05-21 20:56 Sam James
2025-04-29 20:31 Sam James
2025-04-27 18:07 Sam James
2025-03-27 12:05 Sam James
2025-03-27 12:05 Sam James
2024-12-27 12:25 Andreas Schuerch
2024-10-06 7:57 Andreas Schuerch
2024-09-08 8:53 Sam James
2024-08-04 15:50 Andreas Schuerch
2024-07-03 15:39 Andreas Schuerch
2024-05-14 12:14 Andreas Schuerch
2024-05-14 12:12 Andreas Schuerch
2024-04-09 10:34 Andreas Schuerch
2024-04-09 10:32 Andreas Schuerch
2024-02-19 18:52 Andreas Schuerch
2024-02-18 11:17 Andreas Schuerch
2023-09-11 13:21 Andreas Schuerch
2023-09-11 13:20 Andreas Schuerch
2023-04-18 6:00 Sam James
2023-04-02 19:44 Andreas Schuerch
2023-01-27 8:35 Joonas Niilola
2023-01-27 8:35 Joonas Niilola
2022-11-05 10:20 Andreas Schuerch
2022-06-25 9:03 Andreas Schuerch
2022-06-08 3:00 Sam James
2022-06-08 2:57 Sam James
2022-04-27 12:14 Andreas Schuerch
2022-04-27 12:14 Andreas Schuerch
2022-01-22 14:03 Andreas Schuerch
2021-09-21 17:15 Andreas Schuerch
2021-05-17 15:47 Andreas Schuerch
2021-03-26 19:46 Conrad Kostecki
2020-10-02 13:26 Andreas Schuerch
2020-01-15 10:27 Andreas Schuerch
2019-03-28 20:40 Andreas Schuerch
2018-04-05 15:21 Aaron Bauman
2017-10-28 9:53 Patrice Clement
2017-10-28 9:53 Patrice Clement
2017-06-30 20:17 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1747860860.ac7be6e517cdc4ca9815fd76b0b8c57cad72829e.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox