commit bind-dyndb-ldap for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package bind-dyndb-ldap for openSUSE:Factory 
checked in at 2017-06-23 09:18:46

Comparing /work/SRC/openSUSE:Factory/bind-dyndb-ldap (Old)
 and  /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new (New)


Package is "bind-dyndb-ldap"

Fri Jun 23 09:18:46 2017 rev:3 rq:505753 version:10.0

Changes:

--- /work/SRC/openSUSE:Factory/bind-dyndb-ldap/bind-dyndb-ldap.changes  
2016-08-03 11:42:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new/bind-dyndb-ldap.changes 
2017-06-23 09:19:04.972347295 +0200
@@ -1,0 +2,6 @@
+Wed Jun 21 14:28:05 UTC 2017 - dims...@opensuse.org
+
+- Add bind-dyndb-ldap-gcc7.patch: Fix build with gcc7
+  "error: duplicate 'const' declaration specifier" (boo#1041191).
+
+---

New:

  bind-dyndb-ldap-gcc7.patch



Other differences:
--
++ bind-dyndb-ldap.spec ++
--- /var/tmp/diff_new_pack.O98mq2/_old  2017-06-23 09:19:05.512271002 +0200
+++ /var/tmp/diff_new_pack.O98mq2/_new  2017-06-23 09:19:05.516270437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bind-dyndb-ldap
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -28,6 +28,8 @@
 Source2:%{name}.keyring
 # PATCH-FIX-UPSTREAM fix-initializers.patch -- Fix initializers, needed for 
gcc < 5
 Patch0: fix-initializers.patch
+# PATCH-FIX-UPSTREAM bind-dyndb-ldap-gcc7.patch dims...@opensuse.org -- Fix 
build with gcc7: error: duplicate 'const' declaration specifier
+Patch1: bind-dyndb-ldap-gcc7.patch
 BuildRequires:  bind-devel >= 9.10.0
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  krb5-devel
@@ -47,6 +49,7 @@
 %if 0%{?suse_version} <= 1320
 %patch0 -p1
 %endif
+%patch1 -p1
 # 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


++ bind-dyndb-ldap-gcc7.patch ++
Index: bind-dyndb-ldap-10.0/src/ldap_helper.c
===
--- bind-dyndb-ldap-10.0.orig/src/ldap_helper.c
+++ bind-dyndb-ldap-10.0/src/ldap_helper.c
@@ -2302,7 +2302,7 @@ free_rdatalist(isc_mem_t *mctx, dns_rdat
  * @retval  others Unexpected errors.
  */
 static isc_result_t ATTR_NONNULLS ATTR_CHECKRESULT
-ldap_substitute_rr_template(isc_mem_t *mctx, const settings_set_t const * set,
+ldap_substitute_rr_template(isc_mem_t *mctx, const settings_set_t * set,
ld_string_t *orig_val, ld_string_t **output) {
isc_result_t result;
regex_t regex;



commit bind-dyndb-ldap for openSUSE:Factory

2016-08-03 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new/bind-dyndb-ldap.changes 
2016-08-03 11:42:51.0 +0200
@@ -1,0 +2,7 @@
+Sat Jul 23 01:34:38 UTC 2016 - r...@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.0 +0200
+++ /var/tmp/diff_new_pack.TadYFS/_new  2016-08-03 11:42:52.0 +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.0 
+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(, 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.c2016-06-21 12:36:48.0 +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);



commit bind-dyndb-ldap for openSUSE:Factory

2015-07-02 Thread h_root
Hello community,

here is the log from the commit of package bind-dyndb-ldap for openSUSE:Factory 
checked in at 2015-07-02 22:47:24

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:

New Changes file:

--- /dev/null   2015-06-25 09:04:34.320025005 +0200
+++ /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new/bind-dyndb-ldap.changes 
2015-07-02 22:47:25.0 +0200
@@ -0,0 +1,13 @@
+---
+Thu Jun 18 20:06:14 CEST 2015 - sbra...@suse.com
+
+- Use fixed string instead of build date.
+- Call full %make_install.
+- Add GPG keyring.
+- Clean spec file.
+
+---
+Fri May  8 09:27:19 UTC 2015 - h...@suse.com
+
+- New package.
+

New:

  bind-dyndb-ldap-7.0.tar.bz2
  bind-dyndb-ldap-7.0.tar.bz2.asc
  bind-dyndb-ldap.changes
  bind-dyndb-ldap.keyring
  bind-dyndb-ldap.spec



Other differences:
--
++ bind-dyndb-ldap.spec ++
#
# spec file for package bind-dyndb-ldap
#
# Copyright (c) 2015 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   bind-dyndb-ldap
Version:7.0
Release:0
Summary:LDAP back-end plug-in for BIND
License:GPL-2.0+
Group:  Productivity/Networking/DNS/Servers
Url:https://fedorahosted.org/bind-dyndb-ldap/
Source0:
https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
Source1:
https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2.asc
Source2:%{name}.keyring
BuildRequires:  bind-devel = 9.10.0
BuildRequires:  cyrus-sasl-devel
BuildRequires:  krb5-devel
BuildRequires:  libtool
BuildRequires:  openldap2-devel
Requires:   bind = 9.10.1

%description
This package provides an LDAP back-end plug-in for BIND. It features
support for dynamic updates and internal caching, to lift the load
off of your LDAP server.

%prep
%setup -q
# 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
fi

%build
%configure\
--docdir=%{_docdir}/%{name} \
--libdir=%{_prefix}/lib
make %{?_smp_mflags}

%install
%make_install
rm %{buildroot}/usr/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

%changelog
++ bind-dyndb-ldap.keyring ++
pub   rsa4096/1CB2BB71 2014-10-03
uid   [ unknown] Petr Špaček pspa...@redhat.com
sub   rsa4096/C0C402E3 2014-10-03

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2

mQINBFQuYP8BEADR2Ea/GZwemavSNixIWVbZSBxRZ9pS8+0UlFHE0AvO1/vlZmH9
oJtFmOHrqB8xIsQQ5IeD9UYpF9bVWY+UfIW4KfVECH0kivuHipXetBRvn0aESn4U
Raaihb7K2QR6BUM/9MTTxOMgM7D0OlJTH3p0peUuUA3wHVKWF1ux2lp5wbrM4W4Z
MRKbEbQxuC4rkoSOMpSEaY5Z7JOyJS/yZy/msBgBLUB/Q/l2KcGQ1/u4QqxMkUVw
whbbpJSu601OnBMFgd6rGsy97K2FKEnPcvrAQXhpy6XZSq3J8jXMnyUb7HIsAu9G
Au8v/mW6WqMzSFK5bxRcDCHuFvo4TZ82FlUderP+OL1dG/9PAGtz1dNyfHFlVhGy
0z3IuhkNIvk44djF6YR7GYdjh0rHM3s+Peo9VjhcgPv01FoHYRCrRqDhFFmGRoj0
hd55RpuV2GlBH6SdcXjSKhVd4s7tFjlRS2VWW0N9laXxAZ1vbSUPyMdmAnCxumvR
AOSCvAPn3uC2JfXjDMQ80GnKGTNFKMBDwtH1ixH9JxXR2tMLIlx9q0P5RJfSveth
unrtARfPIKsAM+n/MkDGX0dVT0GKbmQkta4x/U6iflmKweFbCFxXHu1BVRPkDgvc
c4Kp5X6fE9vohLbgpixZ9wEP6b9MaJemXb4m6tBlDOuyI0wMETByasImewARAQAB
tCJQZXRyIMWgcGHEjWVrIDxwc3BhY2VrQHJlZGhhdC5jb20+iQI4BBMBAgAiBQJU
LmD/AhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAQWH6IHLK7cdIREACf
z1tUT/VliIOmCL0/ZZ1DVz3Yi++f7ExF1I5GcDGGNUY7yThejz8QR9z9xtfbgt6B
WKA475TArB5LjS7RfBU6sgz8Xi3us6FLxtfcSukL7MQmGaKMK8G2afaH4e9YEjCJ
euAb+jQ7LLJmg/ITlLT8VLJRUA47b67f5IfanlPBWg6KCYsLKmHz1gvLkaCB+rhA
fQWqyJ/97ASJcnOdfd8R3AXL7SbhWhYMULx8FIucPggvuKzz8ynZq4XW2cl2Wker
zp9r1SLe7xz8EQl+JFS2PMv4D4k2+WGJa6M0vdJaCUc9OQrKjq8hhoABq+KumcV2
nUuxecSrPMcUR56dUZ3WTzBkTdIislhRObq6KDruH4MFoTmNEzLqo/BBTs9orBAD
RWt+Kwu8uEesgzF6ozFAf+ePkaxBTkF2wNv8pGRxfw222U8mMHYDV5L0Th9WZglg