commit bind-dyndb-ldap for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package bind-dyndb-ldap for openSUSE:Factory checked in at 2016-08-03 11:42:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bind-dyndb-ldap (Old) and /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bind-dyndb-ldap" Changes: -------- --- /work/SRC/openSUSE:Factory/bind-dyndb-ldap/bind-dyndb-ldap.changes 2015-07-02 22:47:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new/bind-dyndb-ldap.changes 2016-08-03 11:42:51.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Jul 23 01:34:38 UTC 2016 - rpm@fthiessen.de + +- Update to 10.0 +- Added fix-initializers.patch to fix missing-field-initializers + for gcc < 5. + +------------------------------------------------------------------- Old: ---- bind-dyndb-ldap-7.0.tar.bz2 bind-dyndb-ldap-7.0.tar.bz2.asc New: ---- bind-dyndb-ldap-10.0.tar.bz2 bind-dyndb-ldap-10.0.tar.bz2.asc fix-initializers.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bind-dyndb-ldap.spec ++++++ --- /var/tmp/diff_new_pack.TadYFS/_old 2016-08-03 11:42:52.000000000 +0200 +++ /var/tmp/diff_new_pack.TadYFS/_new 2016-08-03 11:42:52.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package bind-dyndb-ldap # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: bind-dyndb-ldap -Version: 7.0 +Version: 10.0 Release: 0 Summary: LDAP back-end plug-in for BIND License: GPL-2.0+ @@ -26,11 +26,15 @@ Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2 Source1: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring +# PATCH-FIX-UPSTREAM fix-initializers.patch -- Fix initializers, needed for gcc < 5 +Patch0: fix-initializers.patch BuildRequires: bind-devel >= 9.10.0 BuildRequires: cyrus-sasl-devel BuildRequires: krb5-devel BuildRequires: libtool BuildRequires: openldap2-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(uuid) Requires: bind >= 9.10.1 %description @@ -40,6 +44,9 @@ %prep %setup -q +%if 0%{?suse_version} <= 1320 +%patch0 -p1 +%endif # If building by osc, remove date and time from the code: if test -f %{_sourcedir}/%{name}.changes ; then LANG=C sed -i "$(date +'s/compiled at " __TIME__ " " __DATE__/last change %%T %%b %%e %%Y"/' -r %{_sourcedir}/%{name}.changes)" src/zone_manager.c @@ -53,13 +60,13 @@ %install %make_install -rm %{buildroot}/usr/lib/bind/ldap.la +rm %{buildroot}%{_prefix}/lib/bind/ldap.la install -m0644 COPYING %{buildroot}%{_docdir}/%{name}/ %files %defattr(-,root,root,-) %doc %{_docdir}/%{name} -%dir /usr/lib/bind -/usr/lib/bind/ldap.so +%dir %{_prefix}/lib/bind +%{_prefix}/lib/bind/ldap.so %changelog ++++++ bind-dyndb-ldap-7.0.tar.bz2 -> bind-dyndb-ldap-10.0.tar.bz2 ++++++ ++++ 32912 lines of diff (skipped) ++++++ fix-initializers.patch ++++++ diff -Nur bind-dyndb-ldap-10.0/src/empty_zones.c new/src/empty_zones.c --- bind-dyndb-ldap-10.0/src/empty_zones.c 2016-06-21 12:36:48.000000000 +0200 +++ new/src/empty_zones.c 2016-07-23 16:48:13.850536143 +0200 @@ -303,7 +303,8 @@ { isc_result_t result; isc_boolean_t first = ISC_TRUE; - empty_zone_search_t eziter = {}; /* init with zeroes */ + empty_zone_search_t eziter; + memset(&eziter, 0, sizeof(eziter)); /* init with zeroes */ char name_char[DNS_NAME_FORMATSIZE]; char ezname_char[DNS_NAME_FORMATSIZE]; diff -Nur bind-dyndb-ldap-10.0/src/mldap.c new/src/mldap.c --- bind-dyndb-ldap-10.0/src/mldap.c 2016-06-21 12:36:48.000000000 +0200 +++ new/src/mldap.c 2016-07-23 16:51:43.637160454 +0200 @@ -478,7 +478,7 @@ isc_result_t result; dns_dbnode_t *rbt_node = NULL; metadb_iter_t *iter = NULL; - isc_uint32_t node_generation; + isc_uint32_t node_generation = 0; isc_uint32_t cur_generation; metadb_node_t metadb_node; DECLARE_BUFFERED_NAME(name);
participants (1)
-
root@hilbert.suse.de