Rebuilt for BIND 9.16.11
This commit is contained in:
parent
108f17e04b
commit
713204e81c
38
bind-dyndb-ldap-11.6-bind-9.16.11.patch
Normal file
38
bind-dyndb-ldap-11.6-bind-9.16.11.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From f4aec4d37447cc274b90c129ea15a008473ed02d Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
|
||||||
|
Date: Thu, 21 Jan 2021 17:30:54 +0100
|
||||||
|
Subject: [PATCH] Yet another change to support BIND 9.16.11 API change
|
||||||
|
|
||||||
|
Another change with another release, new parameter is added again.
|
||||||
|
Add another ifdef to keep compatibility with both versions.
|
||||||
|
---
|
||||||
|
src/zone.c | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/zone.c b/src/zone.c
|
||||||
|
index d0b71b194..7ce1769b3 100644
|
||||||
|
--- a/src/zone.c
|
||||||
|
+++ b/src/zone.c
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
#include <dns/zone.h>
|
||||||
|
|
||||||
|
#include "util.h"
|
||||||
|
+#include "config.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write given diff to zone journal. Journal will be created
|
||||||
|
@@ -61,7 +62,11 @@ zone_soaserial_updatetuple(dns_updatemethod_t method, dns_difftuple_t *soa_tuple
|
||||||
|
REQUIRE(soa_tuple->rdata.type == dns_rdatatype_soa);
|
||||||
|
|
||||||
|
serial = dns_soa_getserial(&soa_tuple->rdata);
|
||||||
|
+#if LIBDNS_VERSION_MAJOR >= 1611
|
||||||
|
+ serial = dns_update_soaserial(serial, method, NULL);
|
||||||
|
+#else
|
||||||
|
serial = dns_update_soaserial(serial, method);
|
||||||
|
+#endif
|
||||||
|
dns_soa_setserial(serial, &soa_tuple->rdata);
|
||||||
|
if (new_serial != NULL)
|
||||||
|
*new_serial = serial;
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Name: bind-dyndb-ldap
|
Name: bind-dyndb-ldap
|
||||||
Version: 11.6
|
Version: 11.6
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: LDAP back-end plug-in for BIND
|
Summary: LDAP back-end plug-in for BIND
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -22,6 +22,7 @@ Source1: https://releases.pagure.org/%{name}/%{name}-%{VERSION}.tar.bz2.a
|
|||||||
|
|
||||||
Patch1: bind-dyndb-ldap-11.6-bind-9.16.9.patch
|
Patch1: bind-dyndb-ldap-11.6-bind-9.16.9.patch
|
||||||
Patch2: bind-dyndb-ldap-11.6-bind-9.16.10.patch
|
Patch2: bind-dyndb-ldap-11.6-bind-9.16.10.patch
|
||||||
|
Patch3: bind-dyndb-ldap-11.6-bind-9.16.11.patch
|
||||||
|
|
||||||
BuildRequires: bind-devel >= %{bind_version}, bind-lite-devel >= %{bind_version}
|
BuildRequires: bind-devel >= %{bind_version}, bind-lite-devel >= %{bind_version}
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
@ -117,6 +118,9 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 22 2021 Petr Menšík <pemensik@redhat.com> - 11.6-6
|
||||||
|
- Rebuilt for BIND 9.16.11
|
||||||
|
|
||||||
* Fri Jan 15 2021 Petr Menšík <pemensik@redhat.com> - 11.6-5
|
* Fri Jan 15 2021 Petr Menšík <pemensik@redhat.com> - 11.6-5
|
||||||
- Rebuilt for BIND 9.16.10
|
- Rebuilt for BIND 9.16.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user