From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/
Date: Wed, 7 Jun 2023 11:30:04 +0000 (UTC) [thread overview]
Message-ID: <1686136812.6e9437e116b0186d464b1fe48f9ff7f0617e71fd.sam@gentoo> (raw)
commit: 6e9437e116b0186d464b1fe48f9ff7f0617e71fd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 7 11:20:12 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 7 11:20:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9437e1
net-dns/nsd: fix build w/ USE='-bind8-stats -ssl'
Closes: https://bugs.gentoo.org/907997
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/nsd-4.7.0-no-bind8-stats-no-ssl.patch | 23 ++++++++++++++++++++++
net-dns/nsd/nsd-4.7.0.ebuild | 2 ++
2 files changed, 25 insertions(+)
diff --git a/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch b/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch
new file mode 100644
index 000000000000..402a42e19e0c
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.7.0-no-bind8-stats-no-ssl.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/907997
+https://github.com/NLnetLabs/nsd/issues/283
+https://github.com/NLnetLabs/nsd/commit/f31d31ab1d45d615ebd192beaacac66746e0ff80
+
+From f31d31ab1d45d615ebd192beaacac66746e0ff80 Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
+Date: Wed, 7 Jun 2023 13:07:53 +0200
+Subject: [PATCH] - Fix #283: Compile failure in remote.c when
+ --disable-bind8-stats
+
+--- a/remote.c
++++ b/remote.c
+@@ -1246,7 +1246,9 @@ do_stats(struct daemon_remote* rc, int peek, struct rc_state* rs)
+ xfrd_set_reload_now(xfrd);
+ #else
+ RES res;
++#ifdef HAVE_SSL
+ res.ssl = rs->ssl;
++#endif
+ res.fd = rs->fd;
+ (void)rc; (void)peek;
+ (void)ssl_printf(&res, "error no stats enabled at compile time\n");
+
diff --git a/net-dns/nsd/nsd-4.7.0.ebuild b/net-dns/nsd/nsd-4.7.0.ebuild
index d9028ba457da..6c6eb84db034 100644
--- a/net-dns/nsd/nsd-4.7.0.ebuild
+++ b/net-dns/nsd/nsd-4.7.0.ebuild
@@ -51,6 +51,8 @@ BDEPEND="
PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+ # bug #907997
+ "${FILESDIR}"/${P}-no-bind8-stats-no-ssl.patch
)
src_prepare() {
next reply other threads:[~2023-06-07 11:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 11:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-05 1:07 [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/ Joshua Kinard
2024-11-04 1:29 Andreas K. Hüttel
2024-08-04 22:33 Joshua Kinard
2024-08-04 10:16 Joshua Kinard
2024-06-03 6:21 Joshua Kinard
2023-12-08 8:35 Sam James
2022-01-28 15:46 Lars Wendler
2019-06-12 10:45 Lars Wendler
2016-08-26 7:32 Lars Wendler
2016-08-25 8:39 Lars Wendler
2016-08-24 15:59 Lars Wendler
2016-07-06 1:31 Lars Wendler
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=1686136812.6e9437e116b0186d464b1fe48f9ff7f0617e71fd.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