diff --git a/.gitignore b/.gitignore index 6bb5e6e..2614760 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ bind-dyndb-ldap-0.1.0b.tar.bz2 /bind-dyndb-ldap-8.0.tar.bz2.asc /bind-dyndb-ldap-9.0.tar.bz2 /bind-dyndb-ldap-9.0.tar.bz2.asc +/bind-dyndb-ldap-10.0.tar.bz2 +/bind-dyndb-ldap-10.0.tar.bz2.asc diff --git a/0001-hashsize-return-type-changed-in-libdns-v164.patch b/0001-hashsize-return-type-changed-in-libdns-v164.patch deleted file mode 100644 index 5af0374..0000000 --- a/0001-hashsize-return-type-changed-in-libdns-v164.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 91b4fdefc5836c259b783e56d77ff3e27ad62236 Mon Sep 17 00:00:00 2001 -From: Tomas Hozza -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 ---- - 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 - diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 194e990..20d5816 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -1,8 +1,8 @@ %define VERSION %{version} Name: bind-dyndb-ldap -Version: 9.0 -Release: 3%{?dist} +Version: 10.0 +Release: 1%{?dist} Summary: LDAP back-end plug-in for BIND 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 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: krb5-devel BuildRequires: openldap-devel @@ -30,7 +28,6 @@ off of your LDAP server. %prep %setup -q -n %{name}-%{VERSION} -%patch0 -p1 -b .hashsize_fix %build autoreconf -fiv @@ -79,6 +76,9 @@ rm -rf %{buildroot} %changelog +* Tue Jun 21 2016 Petr Spacek - 10.0-1 +- Update to 10.0 + * Fri May 27 2016 Tomas Hozza - 9.0-3 - Resolved build issue due to changes in libdns API diff --git a/sources b/sources index 6a8ecd5..76af9e2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -2c1bd7412a00055aec664c61f94e2f79 bind-dyndb-ldap-9.0.tar.bz2 -32f3af77f0b0abfe1c6582da44f5bf25 bind-dyndb-ldap-9.0.tar.bz2.asc +7ae4bd5cec32b86f886da169415b9d01 bind-dyndb-ldap-10.0.tar.bz2 +e52f2d2b19e47336978507303afddb5b bind-dyndb-ldap-10.0.tar.bz2.asc