Hello community,

here is the log from the commit of package bind for openSUSE:Factory checked in 
at 2020-03-23 12:49:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bind (Old)
 and      /work/SRC/openSUSE:Factory/.bind.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bind"

Mon Mar 23 12:49:36 2020 rev:146 rq:787354 version:9.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/bind/bind.changes        2020-02-26 
15:01:34.908776422 +0100
+++ /work/SRC/openSUSE:Factory/.bind.new.3160/bind.changes      2020-03-23 
12:50:03.503937497 +0100
@@ -1,0 +2,24 @@
+Sat Mar 21 08:56:28 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Use sysusers.d to create named user
+- Have only one package creating the user
+
+-------------------------------------------------------------------
+Fri Mar 20 09:00:07 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- coreutils are not used in %post, remove Requires.
+- Use systemd_ordering instead of hard requiring systemd
+
+-------------------------------------------------------------------
+Fri Mar 20 08:04:19 UTC 2020 - Josef Möllers <[email protected]>
+
+- Upgrade to version 9.16.1
+  * UDP network ports used for listening can no longer simultaneously
+    be used for sending traffic.
+  * The system-provided POSIX Threads read-write lock implementation
+    is now used by default instead of the native BIND 9 implementation.
+  * Fixed re-signing issues with inline zones which resulted in records
+    being re-signed late or not at all. 
+  [bind-9.16.1.tar.xz]
+
+-------------------------------------------------------------------

Old:
----
  bind-9.16.0.tar.xz
  bind-9.16.0.tar.xz.sha512.asc

New:
----
  bind-9.16.1.tar.xz
  bind-9.16.1.tar.xz.sha512.asc
  named.conf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bind.spec ++++++
--- /var/tmp/diff_new_pack.IZ2btg/_old  2020-03-23 12:50:04.347938027 +0100
+++ /var/tmp/diff_new_pack.IZ2btg/_new  2020-03-23 12:50:04.351938029 +0100
@@ -20,19 +20,23 @@
 # Note that the sonums are LIBINTERFACE - LIBAGE
 %define bind9_sonum 1600
 %define libbind9 libbind9-%{bind9_sonum}
-%define dns_sonum 1600
+%define dns_sonum 1601
 %define libdns libdns%{dns_sonum}
 %define irs_sonum 1600
 %define libirs libirs%{irs_sonum}
-%define isc_sonum 1600
+%define isc_sonum 1601
 %define libisc libisc%{isc_sonum}
 %define isccc_sonum 1600
 %define libisccc libisccc%{isccc_sonum}
 %define isccfg_sonum 1600
 %define libisccfg libisccfg%{isccfg_sonum}
-%define libns_sonum 1600
+%define libns_sonum 1601
 
 %define        VENDOR SUSE
+%if 0%{?suse_version} >= 1500
+%define with_systemd 1
+%else
+%define with_systemd 0
 # Defines for user and group add
 %define        NAMED_UID 44
 %define        NAMED_UID_NAME named
@@ -44,10 +48,6 @@
 %define        GROUPADD_NAMED getent group %{NAMED_GID_NAME} >/dev/null || 
%{_sbindir}/groupadd -g %{NAMED_GID} -o -r %{NAMED_GID_NAME}
 %define        USERADD_NAMED getent passwd %{NAMED_UID_NAME} >/dev/null || 
%{_sbindir}/useradd -r -o -g %{NAMED_GID_NAME} -u %{NAMED_UID} -s 
%{NAMED_SHELL} -c "%{NAMED_COMMENT}" -d %{NAMED_HOMEDIR} %{NAMED_UID_NAME}
 %define        USERMOD_NAMED getent passwd %{NAMED_UID_NAME} >/dev/null || 
%{_sbindir}/usermod -s %{NAMED_SHELL} -d  %{NAMED_HOMEDIR} %{NAMED_UID_NAME}
-%if 0%{?suse_version} >= 1500
-%define with_systemd 1
-%else
-%define with_systemd 0
 %endif
 %if 0%{?suse_version} < 1315
 %define with_sfw2 1
@@ -60,7 +60,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:           bind
-Version:        9.16.0
+Version:        9.16.1
 Release:        0
 Summary:        Domain Name System (DNS) Server (named)
 License:        MPL-2.0
@@ -78,6 +78,7 @@
 # configuation files for systemd-tmpfiles
 Source70:       bind.conf
 Source71:       bind-chrootenv.conf
+Source72:       named.conf
 Patch1:         Makefile.in.diff
 Patch51:        pie_compile.diff
 Patch52:        named-bootconf.diff
@@ -102,8 +103,6 @@
 Requires:       %{name}-utils
 Requires(post): %fillup_prereq
 Requires(post): bind-utils
-Requires(post): coreutils
-Requires(pre):  shadow
 Provides:       bind8 = %{version}
 Provides:       bind9 = %{version}
 Provides:       dns_daemon
@@ -111,11 +110,15 @@
 Obsoletes:      bind9 < %{version}
 %if %{with_systemd}
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(systemd)
-%{?systemd_requires}
+%{?systemd_ordering}
+%sysusers_requires
 %else
 Requires(post): %insserv_prereq
+Requires(pre):  shadow
 %endif
 
 %description
@@ -204,8 +207,9 @@
 
 %package chrootenv
 Summary:        Chroot environment for BIND named
+# We need the named user and group, have only one authoritative place
 Group:          Productivity/Networking/DNS/Servers
-Requires(pre):  shadow
+Requires(pre):  %{name}
 
 %description chrootenv
 This package contains all directories and files which are common to the
@@ -331,6 +335,9 @@
   s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g
 ' libtool
 make %{?_smp_mflags}
+%if %{with_systemd}
+%sysusers_generate_pre %{SOURCE72} named
+%endif
 
 %install
 mkdir -p \
@@ -355,6 +362,7 @@
 # install errno2result.h, some dynamic DB plugins could use it.
 install -m 0755 -d %{buildroot}%{_includedir}/isc/
 install -m 0644 lib/isc/unix/errno2result.h %{buildroot}%{_includedir}/isc/
+install -m 0644 .clang-format.headers %{buildroot}/%{_defaultdocdir}/bind
 
 # remove useless .la files
 rm -f %{buildroot}/%{_libdir}/lib*.{la,a}
@@ -416,14 +424,20 @@
 done
 # ---------------------------------------------------------------------------
 install -m 0644 bind.keys 
%{buildroot}%{_localstatedir}/lib/named/named.root.key
+%if %{with_systemd}
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m 644 %{SOURCE72} %{buildroot}%{_sysusersdir}/
+%endif
 
+%if %{with_systemd}
+%pre -f named.pre
+%service_add_pre named.service
+%else
 %pre
 %{GROUPADD_NAMED}
 %{USERADD_NAMED}
 # Might be an update.
 %{USERMOD_NAMED}
-%if %{with_systemd}
-%service_add_pre named.service
 %endif
 
 %preun
@@ -469,10 +483,6 @@
 %postun -n %{libisccc} -p /sbin/ldconfig
 %post   -n %{libisccfg} -p /sbin/ldconfig
 %postun -n %{libisccfg} -p /sbin/ldconfig
-%pre chrootenv
-%{GROUPADD_NAMED}
-%{USERADD_NAMED}
-
 %post chrootenv
 %{fillup_only -nsa named common}
 %{fillup_only -nsa syslog named}
@@ -480,8 +490,6 @@
 %tmpfiles_create bind-chrootenv.conf
 %endif
 
-%post utils
-
 %files
 %license LICENSE
 %attr(0644,root,named) %config(noreplace) /%{_sysconfdir}/named.conf
@@ -492,6 +500,7 @@
 %config %{_unitdir}/named.service
 %{_sbindir}/named.init
 %{_prefix}/lib/tmpfiles.d/bind.conf
+%{_sysusersdir}/named.conf
 %{_datadir}/factory
 %else
 %config /%{_sysconfdir}/init.d/named
@@ -626,6 +635,7 @@
 %{_sbindir}/tsig-keygen
 %dir %doc %{_defaultdocdir}/bind
 %{_defaultdocdir}/bind/README.%{VENDOR}
+%{_defaultdocdir}/bind/.clang-format.headers
 %{_mandir}/man1/arpaname.1%{ext_man}
 %{_mandir}/man1/delv.1%{ext_man}
 %{_mandir}/man1/dig.1%{ext_man}

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.IZ2btg/_old  2020-03-23 12:50:04.395938057 +0100
+++ /var/tmp/diff_new_pack.IZ2btg/_new  2020-03-23 12:50:04.399938059 +0100
@@ -1,7 +1,7 @@
 libbind9-1600
-libdns1600
+libdns1601
 libirs1600
-libisc1600
+libisc1601
        obsoletes "bind-libs-<targettype> = <version>"
        provides "bind-libs-<targettype> = <version>"
 libisccc1600
@@ -9,8 +9,8 @@
 bind-devel
        requires -bind-<targettype>
        requires "libbind9-1600-<targettype> = <version>"
-       requires "libdns1600-<targettype> = <version>"
+       requires "libdns1601-<targettype> = <version>"
        requires "libirs1600-<targettype> = <version>"
-       requires "libisc1600-<targettype> = <version>"
+       requires "libisc1601-<targettype> = <version>"
        requires "libisccc1600-<targettype> = <version>"
        requires "libisccfg1600-<targettype> = <version>"

++++++ bind-9.16.0.tar.xz -> bind-9.16.1.tar.xz ++++++
++++ 293515 lines of diff (skipped)


++++++ named.conf ++++++
# Type Name ID GECOS [HOME]
g named 44 - -
u named 44 "Name server daemon" /var/lib/named

Reply via email to