Compare commits

..

1 Commits

Author SHA1 Message Date
80206e7b8d Import from CS git 2025-04-22 08:08:20 +00:00
2 changed files with 19 additions and 22 deletions

View File

@ -1,14 +1,15 @@
From dbbcc2f07ea6955c6b0b5a719f8058c54b1d750c Mon Sep 17 00:00:00 2001 From d2864db744849736243dd92c9cdb8a96cb4c26f1 Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy@redhat.com> From: Petr Menšík <pemensik@redhat.com>
Date: Feb 14 2024 12:31:22 +0000 Date: Thu, 22 Feb 2024 17:44:31 +0100
Subject: use BIND macros when defining DNS names Subject: Rebuild required for BIND changes for KeyTrap change
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
; Related: CVE-2023-50387 CVE-2023-50868
Related: RHEL-25396 RHEL-25385
Fixes: https://pagure.io/bind-dyndb-ldap/issue/228 Signed-off-by: Petr Menšík <pemensik@redhat.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
---
diff --git a/src/mldap.c b/src/mldap.c diff --git a/src/mldap.c b/src/mldap.c
index 92a330c..79efddb 100644 index 92a330c..79efddb 100644
@ -34,4 +35,3 @@ index 92a330c..79efddb 100644
struct mldapdb { struct mldapdb {
isc_mem_t *mctx; isc_mem_t *mctx;

View File

@ -11,7 +11,7 @@
Name: bind-dyndb-ldap Name: bind-dyndb-ldap
Version: 11.6 Version: 11.6
Release: 5%{?dist}.alma.2 Release: 6%{?dist}
Summary: LDAP back-end plug-in for BIND Summary: LDAP back-end plug-in for BIND
Group: System Environment/Libraries Group: System Environment/Libraries
@ -22,7 +22,6 @@ Source1: https://releases.pagure.org/%{name}/%{name}-%{VERSION}.tar.bz2.a
Patch0001: 0001-Modify-empty-zone-conflicts-under-exclusive-mode_rhbz#2133036.patch Patch0001: 0001-Modify-empty-zone-conflicts-under-exclusive-mode_rhbz#2133036.patch
Patch0002: 0002-add-rwlock-before-include-zt-h.patch Patch0002: 0002-add-rwlock-before-include-zt-h.patch
# https://pagure.io/bind-dyndb-ldap/c/dbbcc2f07ea6955c6b0b5a719f8058c54b1d750c
Patch0003: 0003-bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch Patch0003: 0003-bind-dyndb-ldap-11.9-bind-CVE-2023-50387.patch
BuildRequires: bind-devel >= %{bind_version}, bind-lite-devel >= %{bind_version}, bind-pkcs11-devel >= %{bind_version} BuildRequires: bind-devel >= %{bind_version}, bind-lite-devel >= %{bind_version}, bind-pkcs11-devel >= %{bind_version}
@ -45,11 +44,7 @@ off of your LDAP server.
%prep %prep
%setup -q -n %{name}-%{VERSION} %autosetup -n %{name}-%{VERSION} -p1
for p in %patches; do
%__patch -p1 -i $p
done
%build %build
autoreconf -fiv autoreconf -fiv
@ -116,11 +111,13 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
%changelog %changelog
* Fri May 24 2024 Eduard Abdullin <eabdullin@almalinux.org> 11.6-5.alma.2 * Thu Apr 03 2025 Rafael Jeffman <rjeffman@redhat.com> - 11.6-6
- Rebuild with latest bind - Fix rpminspect warnings
Resolves: RHEL-22497
* Fri Apr 12 2024 Andrew Lukoshko <alukoshko@almalinux.org> 11.6-5.alma.1 * Tue Apr 02 2024 Rafael Jeffman <rjeffman@redhat.com> - 11.6-5
- use BIND macros when defining DNS names (CVE-2023-50387) - Rebuild due to Bind ABI changes.
Resolves: RHEL-28842
* Thu Oct 13 2022 Rafael Jeffman <rjeffman@redhat.com> - 11.6-4 * Thu Oct 13 2022 Rafael Jeffman <rjeffman@redhat.com> - 11.6-4
- Modify empty zone conflicts under exclusive mode - Modify empty zone conflicts under exclusive mode