From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/
Date: Fri, 28 Jan 2022 15:46:45 +0000 (UTC) [thread overview]
Message-ID: <1643384786.a27323c9c5ee56359c8a3418dd2b83df0ba4c896.polynomial-c@gentoo> (raw)
commit: a27323c9c5ee56359c8a3418dd2b83df0ba4c896
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 28 15:45:55 2022 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 15:46:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27323c9
net-dns/nsd: Fixed build with USE="-ssl"
Closes: https://bugs.gentoo.org/832213
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-dns/nsd/files/nsd-4.3.9-no_ssl.patch | 22 ++++++++++++++++++++++
net-dns/nsd/nsd-4.3.9.ebuild | 4 +++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
new file mode 100644
index 000000000000..33553a0ec889
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch
@@ -0,0 +1,22 @@
+From c5e6a8e5e566380c8c6731e9feb7ac686a1c0735 Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
+Date: Fri, 28 Jan 2022 16:38:53 +0100
+Subject: [PATCH] - Fix #206: build with --without-ssl fails.
+
+diff --git a/edns.c b/edns.c
+index c7fc39d9..478ec681 100644
+--- a/edns.c
++++ b/edns.c
+@@ -21,6 +21,12 @@
+ #include "nsd.h"
+ #include "query.h"
+
++#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP)
++/* we need fixed time compare, pull it in from tsig.c */
++#define CRYPTO_memcmp memcmp_fixedtime
++int memcmp_fixedtime(const void *s1, const void *s2, size_t n);
++#endif
++
+ void
+ edns_init_data(edns_data_type *data, uint16_t max_length)
+ {
diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.3.9.ebuild
index 77567aaed614..e4f824b01061 100644
--- a/net-dns/nsd/nsd-4.3.9.ebuild
+++ b/net-dns/nsd/nsd-4.3.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,6 +45,8 @@ BDEPEND="
PATCHES=(
# Fix the paths in the munin plugin to match our install
"${FILESDIR}"/nsd_munin_.patch
+
+ "${FILESDIR}/${P}-no_ssl.patch" #832213
)
src_prepare() {
next reply other threads:[~2022-01-28 15:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-28 15:46 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-04 1:29 [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/, net-dns/nsd/files/ 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
2023-06-07 11:30 Sam James
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=1643384786.a27323c9c5ee56359c8a3418dd2b83df0ba4c896.polynomial-c@gentoo \
--to=polynomial-c@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