Update to 10.0.
Patch 0001-hashsize-return-type-changed-in-libdns-v164 was merged upstream.
This commit is contained in:
parent
8b87b61c7d
commit
61f8ab7ef2
2
.gitignore
vendored
2
.gitignore
vendored
@ -35,3 +35,5 @@ bind-dyndb-ldap-0.1.0b.tar.bz2
|
|||||||
/bind-dyndb-ldap-8.0.tar.bz2.asc
|
/bind-dyndb-ldap-8.0.tar.bz2.asc
|
||||||
/bind-dyndb-ldap-9.0.tar.bz2
|
/bind-dyndb-ldap-9.0.tar.bz2
|
||||||
/bind-dyndb-ldap-9.0.tar.bz2.asc
|
/bind-dyndb-ldap-9.0.tar.bz2.asc
|
||||||
|
/bind-dyndb-ldap-10.0.tar.bz2
|
||||||
|
/bind-dyndb-ldap-10.0.tar.bz2.asc
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
From 91b4fdefc5836c259b783e56d77ff3e27ad62236 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tomas Hozza <thozza@redhat.com>
|
|
||||||
Date: Fri, 27 May 2016 10:21:15 +0200
|
|
||||||
Subject: [PATCH] hashsize() return type changed in libdns v164
|
|
||||||
|
|
||||||
Since bind version 9.10.4b1 (libdns version 164), the return type of
|
|
||||||
hashsize() has changed from unsigned int to size_t. Without this change
|
|
||||||
the plugin does not compile against bind 9.10.4b1 or newer on 64bit
|
|
||||||
architecture.
|
|
||||||
|
|
||||||
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
||||||
---
|
|
||||||
src/ldap_driver.c | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/ldap_driver.c b/src/ldap_driver.c
|
|
||||||
index 5727641..83ec00a 100644
|
|
||||||
--- a/src/ldap_driver.c
|
|
||||||
+++ b/src/ldap_driver.c
|
|
||||||
@@ -871,7 +871,11 @@ setcachestats(dns_db_t *db, isc_stats_t *stats)
|
|
||||||
return dns_db_setcachestats(ldapdb->rbtdb, stats);
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if LIBDNS_VERSION_MAJOR >= 164
|
|
||||||
+size_t
|
|
||||||
+#else
|
|
||||||
unsigned int
|
|
||||||
+#endif /* LIBDNS_VERSION_MAJOR >= 164 */
|
|
||||||
hashsize(dns_db_t *db)
|
|
||||||
{
|
|
||||||
ldapdb_t *ldapdb = (ldapdb_t *) db;
|
|
||||||
--
|
|
||||||
2.5.5
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
%define VERSION %{version}
|
%define VERSION %{version}
|
||||||
|
|
||||||
Name: bind-dyndb-ldap
|
Name: bind-dyndb-ldap
|
||||||
Version: 9.0
|
Version: 10.0
|
||||||
Release: 3%{?dist}
|
Release: 1%{?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
|
||||||
@ -12,8 +12,6 @@ Source0: https://fedorahosted.org/released/%{name}/%{name}-%{VERSION}.tar
|
|||||||
Source1: https://fedorahosted.org/released/%{name}/%{name}-%{VERSION}.tar.bz2.asc
|
Source1: https://fedorahosted.org/released/%{name}/%{name}-%{VERSION}.tar.bz2.asc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Patch0: 0001-hashsize-return-type-changed-in-libdns-v164.patch
|
|
||||||
|
|
||||||
BuildRequires: bind-devel >= 32:9.9.0-1, bind-lite-devel >= 32:9.9.0-1
|
BuildRequires: bind-devel >= 32:9.9.0-1, bind-lite-devel >= 32:9.9.0-1
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
@ -30,7 +28,6 @@ off of your LDAP server.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{VERSION}
|
%setup -q -n %{name}-%{VERSION}
|
||||||
%patch0 -p1 -b .hashsize_fix
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -79,6 +76,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 21 2016 Petr Spacek <pspacek@redhat.com> - 10.0-1
|
||||||
|
- Update to 10.0
|
||||||
|
|
||||||
* Fri May 27 2016 Tomas Hozza <thozza@redhat.com> - 9.0-3
|
* Fri May 27 2016 Tomas Hozza <thozza@redhat.com> - 9.0-3
|
||||||
- Resolved build issue due to changes in libdns API
|
- Resolved build issue due to changes in libdns API
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user