commit:     f3179f71889f044dc45167e08bb55a126cae36dd
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Mon Jul 21 16:23:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 24 21:27:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3179f71

net-dns/dnsdist: minor updates to 1.9.10

While preparing the update to 2.0 I noticed that we should explicitly
initialise the Lua configuration. Also some cleanups.

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/43100
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/dnsdist/dnsdist-1.9.10.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-dns/dnsdist/dnsdist-1.9.10.ebuild 
b/net-dns/dnsdist/dnsdist-1.9.10.ebuild
index 215e0b4d8692..b80492557968 100644
--- a/net-dns/dnsdist/dnsdist-1.9.10.ebuild
+++ b/net-dns/dnsdist/dnsdist-1.9.10.ebuild
@@ -49,6 +49,10 @@ RDEPEND="acct-group/dnsdist
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+pkg_setup() {
+       lua-single_pkg_setup
+}
+
 src_prepare() {
        default
 
@@ -66,10 +70,10 @@ src_configure() {
 
        local myeconfargs=(
                --sysconfdir=/etc/dnsdist
-               --with-lua="${ELUA}"
-               --without-h2o
                --enable-tls-providers
+               --with-lua="${ELUA}"
                --without-gnutls
+               --without-h2o
                $(use_with bpf ebpf)
                $(use_with cdb cdb)
                $(use_enable doh dns-over-https)
@@ -77,12 +81,12 @@ src_configure() {
                $(use_enable dnscrypt)
                $(use_enable dnstap)
                $(use_enable ipcipher)
-               $(use_with lmdb )
+               $(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 systemd)
                $(use_enable test unit-tests)
                $(use_with xdp xsk)
        )

Reply via email to