public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind-dyndb-ldap] f45: Fix build on multibind in rawhide
Date: Tue, 13 Oct 2026 12:10:32 GMT [thread overview]
Message-ID: <179189343274.1.13867252312330414743.rpms-bind-dyndb-ldap-96233ab6d585@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bind-dyndb-ldap
Branch : f45
Commit : 96233ab6d585b21e04efd7de36f40006f1421539
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-07-28T21:31:31+02:00
Stats : +36/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bind-dyndb-ldap/c/96233ab6d585b21e04efd7de36f40006f1421539?branch=f45
Log:
Fix build on multibind in rawhide
---
diff --git a/bind-dyndb-ldap-12-multibind-libs.patch b/bind-dyndb-ldap-12-multibind-libs.patch
new file mode 100644
index 0000000..b44f23e
--- /dev/null
+++ b/bind-dyndb-ldap-12-multibind-libs.patch
@@ -0,0 +1,34 @@
+From f551da5dfbca28bdc6fc793374bad9b66d78b2df Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
+Date: Tue, 28 Jul 2026 20:42:17 +0200
+Subject: [PATCH] Fix plugin compilation after changes done to bind9
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+In attempt to support multiple binds installed at the same time, it had
+to start using alternatives. But they use multiple levels of symlinks,
+where simple ls -l output won't help anymore. Rely on realpath providing
+final destination.
+
+Signed-off-by: Petr Menšík <pemensik@redhat.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 42c654dc6..027b5c0aa 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -124,7 +124,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([
+ [
+ LIBDNS_PATH="${libdir}/libdns.so"
+ if test -L "$LIBDNS_PATH" ; then
+- LIBDNS_VERSION_MAJOR=$(ls -l "$LIBDNS_PATH" | sed -e 's/^.*->\s*libdns-9\.\([[0-9]]\+\)\.\([[0-9]]\+\).*\.so/\1 \2/' -e t -e d | xargs printf "%02d%02d")
++ LIBDNS_VERSION_MAJOR=$(realpath "$LIBDNS_PATH" | sed -e 's/^.*\/libdns-9\.\([[0-9]]\+\)\.\([[0-9]]\+\).*\.so/\1 \2/' -e t -e d | xargs printf "%02d%02d")
+ else
+ AC_MSG_ERROR([Can't obtain libdns version1.])
+ fi
+--
+2.55.0
+
diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec
index ebe5dda..3277b5f 100644
--- a/bind-dyndb-ldap.spec
+++ b/bind-dyndb-ldap.spec
@@ -29,6 +29,8 @@ Source1: https://codeberg.org/freeipa/%{name}/releases/download/v%{VERSIO
# https://codeberg.org/freeipa/bind-dyndb-ldap/issues/243
Patch1: bind-dyndb-ldap-11.10-check-pr244.patch
+# https://codeberg.org/freeipa/bind-dyndb-ldap/pulls/247
+Patch2: bind-dyndb-ldap-12-multibind-libs.patch
BuildRequires: bind-devel >= %{bind_version}, bind-lite-devel >= %{bind_version}
BuildRequires: krb5-devel
reply other threads:[~2026-10-13 12:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179189343274.1.13867252312330414743.rpms-bind-dyndb-ldap-96233ab6d585@fedoraproject.org \
--to=git-commits@fedoraproject.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