Hello community, here is the log from the commit of package sysconfig for openSUSE:Factory checked in at 2016-09-12 13:22:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysconfig (Old) and /work/SRC/openSUSE:Factory/.sysconfig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysconfig" Changes: -------- --- /work/SRC/openSUSE:Factory/sysconfig/sysconfig.changes 2016-06-05 14:19:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sysconfig.new/sysconfig.changes 2016-09-12 13:22:37.000000000 +0200 @@ -1,0 +2,14 @@ +Fri Sep 9 17:19:32 UTC 2016 - m...@suse.de + +- version 0.84.0 +- netconfig: intoduced a batch mode (bsc#989741) + It permits to preform multiple modify/remove operations + and call the effective update at the end of the batch. +- netconfig: use ntpq, as ntpdc is deprecated (bsc#894889), + lower sleep lock wait granularity and fix NTP_KEYS parsing +- Drop the omc svcinfo data as they are not used anymore +- Run spec-cleaner to remove few obsolete things +- Drop cvs helper files as we are in git +- Rename configure.in to configure.ac + +------------------------------------------------------------------- Old: ---- sysconfig-0.83.9.tar.bz2 New: ---- sysconfig-0.84.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysconfig.spec ++++++ --- /var/tmp/diff_new_pack.3F9s32/_old 2016-09-12 13:22:38.000000000 +0200 +++ /var/tmp/diff_new_pack.3F9s32/_new 2016-09-12 13:22:38.000000000 +0200 @@ -16,142 +16,119 @@ # +%if 0%{?suse_version} >= 1230 +%define udevdir %{_prefix}/lib/udev +BuildRequires: pkgconfig(systemd) +%else +%define udevdir /lib/udev +%endif Name: sysconfig -Version: 0.83.9 +Version: 0.84.0 Release: 0 Summary: The sysconfig scheme for traditional network scripts License: GPL-2.0+ Group: System/Base Url: https://github.com/openSUSE/sysconfig -PreReq: %fillup_prereq %insserv_prereq textutils fileutils gawk sed grep +Source: %{name}-%{version}.tar.bz2 BuildRequires: libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} >= 1230 -BuildRequires: pkgconfig(systemd) -%define udevdir /usr/lib/udev -%else -%define udevdir /lib/udev -%endif -Source: %name-%version.tar.bz2 +BuildRequires: pkgconfig Requires: /sbin/ifup Requires: /sbin/netconfig Requires: sysvinit(network) +PreReq: %fillup_prereq %insserv_prereq textutils fileutils gawk sed grep Recommends: wicked-service +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides the SUSE system configuration scheme for the traditional "ifup" alias "netcontrol" network scripts. -Authors: --------- - Olaf Kirch <o...@suse.de> - Bjoern Jacke <bjo...@j3e.de> - Mads Martin Joergensen <m...@suse.de> - Peter Poeml <po...@suse.de> - Arvin Schnell <ar...@suse.de> - Michal Svec <ms...@suse.cz> - Christian Zoz <z...@suse.de> - Werner Fink <wer...@suse.de> - Hannes Reinecke <h...@suse.de> - Marius Tomaschewski <m...@suse.de> - %package netconfig Summary: Script to apply network provided settings Group: System/Base +Requires: /bin/logger Requires(pre): sysconfig = %{version} Provides: /sbin/netconfig -Requires: /bin/logger %description netconfig This package provides the netconfig scripts to apply network provided settings like DNS or NIS into system files. -Authors: --------- - Michael Calmer <m...@suse.de> - Marius Tomaschewski <m...@suse.de> - Milisav Radmanic <radma...@suse.de> - - %prep -%setup -n sysconfig-%{version} +%setup -q %build -autoreconf --force --install -CFLAGS="$RPM_OPT_FLAGS -fPIC" \ -./configure --prefix=/ \ +autoreconf -fvi +CFLAGS="%{optflags} -fPIC" \ +%configure --prefix=/ \ --sbindir=/sbin \ - --libdir=/%_lib \ - --sysconfdir=%_sysconfdir \ - --mandir=%_mandir \ - --with-unitdir=%_unitdir \ - --with-udevdir=%udevdir \ - --with-fillup-templatesdir=/var/adm/fillup-templates -%{__make} %{?_smp_mflags} + --libdir=/%{_lib} \ + --sysconfdir=%{_sysconfdir} \ + --mandir=%{_mandir} \ + --with-unitdir=%{_unitdir} \ + --with-udevdir=%{udevdir} \ + --with-fillup-templatesdir=%{_localstatedir}/adm/fillup-templates +make %{?_smp_mflags} %check -make check - -%clean -rm -rf $RPM_BUILD_ROOT +make %{?_smp_mflags} check %install -make DESTDIR=$RPM_BUILD_ROOT install -touch $RPM_BUILD_ROOT/etc/sysconfig/network/config -touch $RPM_BUILD_ROOT/etc/sysconfig/network/dhcp -mkdir -p $RPM_BUILD_ROOT/sbin -ln -s /sbin/service $RPM_BUILD_ROOT/sbin/rcnetwork +make %{?_smp_mflags} DESTDIR=%{buildroot} install +touch %{buildroot}%{_sysconfdir}/sysconfig/network/config +touch %{buildroot}%{_sysconfdir}/sysconfig/network/dhcp +mkdir -p %{buildroot}/sbin +ln -s /sbin/service %{buildroot}/sbin/rcnetwork %files %defattr(-,root,root) -%dir /etc/modprobe.d -%config /etc/modprobe.d/50-blacklist.conf -%config /etc/sysconfig/network/ifcfg.template -%ghost /etc/sysconfig/network/config -%ghost /etc/sysconfig/network/dhcp -%dir /usr/share/doc/packages/sysconfig -%doc /usr/share/doc/packages/sysconfig/Contents -%doc /usr/share/doc/packages/sysconfig/COPYING -/etc/sysconfig/network/scripts/functions.rpm-utils -/var/adm/fillup-templates/sysconfig.dhcp-network -/var/adm/fillup-templates/sysconfig.config-network -/usr/share/omc/svcinfo.d/network.xml +%dir %{_sysconfdir}/modprobe.d +%config %{_sysconfdir}/modprobe.d/50-blacklist.conf +%config %{_sysconfdir}/sysconfig/network/ifcfg.template +%ghost %{_sysconfdir}/sysconfig/network/config +%ghost %{_sysconfdir}/sysconfig/network/dhcp +%dir %{_docdir}/sysconfig +%doc %{_docdir}/sysconfig/Contents +%doc %{_docdir}/sysconfig/COPYING +%{_sysconfdir}/sysconfig/network/scripts/functions.rpm-utils +%{_localstatedir}/adm/fillup-templates/sysconfig.dhcp-network +%{_localstatedir}/adm/fillup-templates/sysconfig.config-network /sbin/rcnetwork /sbin/ifuser -%dir %attr(0750,root,dialout) %_sysconfdir/ppp -%dir %_sysconfdir/ppp/ip-up.d -%dir %_sysconfdir/ppp/ip-down.d -%dir %_sysconfdir/ppp/ipv6-up.d -%dir %_sysconfdir/ppp/ipv6-down.d -%dir %_sysconfdir/ppp/pre-start.d -%dir %_sysconfdir/ppp/post-stop.d -%_sysconfdir/ppp/ip-up -%_sysconfdir/ppp/ip-down -%_sysconfdir/ppp/ipv6-up -%_sysconfdir/ppp/ipv6-down -%_sysconfdir/ppp/post-stop -%_sysconfdir/ppp/pre-start +%dir %attr(0750,root,dialout) %{_sysconfdir}/ppp +%dir %{_sysconfdir}/ppp/ip-up.d +%dir %{_sysconfdir}/ppp/ip-down.d +%dir %{_sysconfdir}/ppp/ipv6-up.d +%dir %{_sysconfdir}/ppp/ipv6-down.d +%dir %{_sysconfdir}/ppp/pre-start.d +%dir %{_sysconfdir}/ppp/post-stop.d +%{_sysconfdir}/ppp/ip-up +%{_sysconfdir}/ppp/ip-down +%{_sysconfdir}/ppp/ipv6-up +%{_sysconfdir}/ppp/ipv6-down +%{_sysconfdir}/ppp/post-stop +%{_sysconfdir}/ppp/pre-start %files netconfig %defattr(-,root,root) -%dir /etc/netconfig.d -/etc/netconfig.d/* -/etc/sysconfig/network/scripts/functions.netconfig +%dir %{_sysconfdir}/netconfig.d +%{_sysconfdir}/netconfig.d/* +%{_sysconfdir}/sysconfig/network/scripts/functions.netconfig /sbin/netconfig -/usr/share/man/man8/netconfig.8.gz -%doc /usr/share/doc/packages/sysconfig/netconfig.png -%_sysconfdir/ppp/netconfig -%_sysconfdir/ppp/ip-up.d/10-netconfig -%_sysconfdir/ppp/ip-down.d/90-netconfig -%_sysconfdir/ppp/pre-start.d/10-netconfig -%_sysconfdir/ppp/post-stop.d/90-netconfig +%{_mandir}/man8/netconfig.8%{ext_man} +%doc %{_docdir}/sysconfig/netconfig.png +%{_sysconfdir}/ppp/netconfig +%{_sysconfdir}/ppp/ip-up.d/10-netconfig +%{_sysconfdir}/ppp/ip-down.d/90-netconfig +%{_sysconfdir}/ppp/pre-start.d/10-netconfig +%{_sysconfdir}/ppp/post-stop.d/90-netconfig %pre # package update ? if [ ${1:-0} -gt 1 ]; then # trigger update from < 0.80.x only (-> openSUSE 12.3), # (guard for variable added to network/config later...) - if [ -x /usr/sbin/NetworkManager ] && grep -qs "^NETWORKMANAGER=" \ + if [ -x %{_sbindir}/NetworkManager ] && grep -qs "^NETWORKMANAGER=" \ var/adm/fillup-templates/sysconfig.config-network ; then mkdir -p /dev/.sysconfig/network/ && \ grep -s "^NETWORKMANAGER=" etc/sysconfig/network/config \ @@ -208,23 +185,23 @@ chmod 0600 etc/sysconfig/network/ifcfg-* 2>/dev/null || : # bnc#803058: migrate from NETWORKMANAGER=yes/no variable to # network.service alias link masking rcnetwork. -if [ -f /dev/.sysconfig/network/migrate_nm_variable -a -x /usr/bin/systemctl ] ; then +if [ -f /dev/.sysconfig/network/migrate_nm_variable -a -x %{_bindir}/systemctl ] ; then . /dev/.sysconfig/network/migrate_nm_variable case $NETWORKMANAGER in no) # NetworkManager.service were always started before; stop - # and disable it, so /etc/init.d/network isn't masked... + # and disable it, so %{_initddir}/network isn't masked... # kill all, NM is using KillMode=Process (bnc#895447) - /usr/bin/systemctl --kill-who=all kill NetworkManager.service || : - /usr/bin/systemctl stop NetworkManager.service || : - /usr/bin/systemctl --force disable NetworkManager.service || : + %{_bindir}/systemctl --kill-who=all kill NetworkManager.service || : + %{_bindir}/systemctl stop NetworkManager.service || : + %{_bindir}/systemctl --force disable NetworkManager.service || : rm -f /dev/.sysconfig/network/migrate_nm_variable || : ;; yes) # Keep the /dev/.sysconfig/network/migrate_nm_variable file, # as hint for migration in NetworkManager post-install ... - # Mask /etc/init.d/network service until NM update is done. - /usr/bin/systemctl --force mask network.service || : + # Mask %{_initddir}/network service until NM update is done. + %{_bindir}/systemctl --force mask network.service || : ;; esac else @@ -232,12 +209,10 @@ sysconfig_remove_and_set network/config NETWORKMANAGER fi -%postun -/sbin/ldconfig - +%postun -p /sbin/ldconfig %preun -if test "$1" = "0" -a -x /etc/init.d/network ; then - /etc/init.d/network stop-all-dhcp-clients 2>/dev/null || : +if test "$1" = "0" -a -x %{_initddir}/network ; then + %{_initddir}/network stop-all-dhcp-clients 2>/dev/null || : fi %changelog ++++++ sysconfig-0.83.9.tar.bz2 -> sysconfig-0.84.0.tar.bz2 ++++++ ++++ 55758 lines of diff (skipped)