Hello community,
here is the log from the commit of package sysconfig
checked in at Tue Jul 31 10:38:22 CEST 2007.
--------
--- sysconfig/sysconfig.changes 2007-07-26 16:43:15.000000000 +0200
+++ /mounts/work_src_done/STABLE/sysconfig/sysconfig.changes 2007-07-30 13:16:51.949364000 +0200
@@ -1,0 +2,16 @@
+Mon Jul 30 10:54:40 CEST 2007 - zoz(a)suse.de
+
+- new version 0.70.0
+- removed /sbin/getcfg (read README.no_more_hardwaredescriptions)
+- enhanced conversion of old configuration names into interface names
+ + do conversion in %post and not in rcnetwork
+ + skip wlan helper files
+ + fixed quoting bug in sed command
+ + added variable conversion in ifcfg-* files (bridge ports and such)
+- don't perform update conversion from pre-9.1 (needs fixes)
+- remove superfluous script 'check_configurations'
+- functions: remove getcfg from get_ifplugd_priority() and comments
+- netcontrol_global_hooks: remove getcfg
+- ifup: dbus-send is now in /bin
+
+-------------------------------------------------------------------
Old:
----
sysconfig-0.69.5.tar.bz2
New:
----
sysconfig-0.70.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.K24674/_old 2007-07-31 10:38:12.000000000 +0200
+++ /var/tmp/diff_new_pack.K24674/_new 2007-07-31 10:38:12.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package sysconfig (Version 0.69.5)
+# spec file for package sysconfig (Version 0.70.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,7 +12,7 @@
Name: sysconfig
BuildRequires: sysfsutils
-Version: 0.69.5
+Version: 0.70.0
Release: 1
Summary: The sysconfig scheme
Group: System/Base
@@ -62,12 +62,6 @@
make DESTDIR=$RPM_BUILD_ROOT install
# This directory is not used since some time (was used for ifup locking)
mkdir -p $RPM_BUILD_ROOT/var/lock/subsys/sysconfig
-test -d $RPM_BUILD_ROOT/%_lib || mkdir $RPM_BUILD_ROOT/%_lib
-for i in $RPM_BUILD_ROOT/%_libdir/lib*.so.* ; do
- mv $RPM_BUILD_ROOT/%_libdir/`basename $i` $RPM_BUILD_ROOT/%_lib
- ln -sf ../../%_lib/`basename $i` $RPM_BUILD_ROOT/%_libdir/`basename $i`
-done
-rm -vf $RPM_BUILD_ROOT/%_libdir/libgetconfig*a
touch $RPM_BUILD_ROOT/etc/sysconfig/network/config
touch $RPM_BUILD_ROOT/etc/sysconfig/network/dhcp
# remove template dir
@@ -93,8 +87,6 @@
/etc/ppp/poll.tcpip
/etc/NetworkManager
/sbin/*
-/usr/%_lib/libgetconfig*
-/%_lib/libgetconfig*.so.*
%doc /usr/share/doc/packages/sysconfig
%_mandir/*/*
%dir /usr/share/omc
@@ -111,34 +103,39 @@
fi
# package update ?
if [ ${1:-0} -gt 1 ]; then
+ # update from pre-9.1 to post-10.2 still needs to be checked
# update from pre-9.1?
- if ! [ -x sbin/getcfg ]; then
- cat > etc/sysconfig/network/__conversion_for_getconfig_needed__ <<-EOF
- This directory contains network configuration files that need to be
- converted by /etc/sysconfig/network/scripts/convert_for_getconfig.
- EOF
- fi
-fi
-# conversion of persistent name ruules
-if [ -f /etc/udev/rules.d/30-net_persistent_names.rules ] ; then
+ #if ! [ -x sbin/getcfg ]; then
+ # cat > etc/sysconfig/network/__conversion_for_getconfig_needed__ <<-EOF
+ # This directory contains network configuration files that need to be
+ # converted by /etc/sysconfig/network/scripts/convert_for_getconfig.
+ # EOF
+ #fi
+ # conversion of persistent name ruules
+ if [ -f /etc/udev/rules.d/30-net_persistent_names.rules ] ; then
mv -v /etc/udev/rules.d/30-net_persistent_names.rules \
/etc/udev/rules.d/30-net_persistent_names.rules.to_convert
+ fi
+ # if oldversion < 0.70.0
+ touch etc/sysconfig/network/__convert_hwdesc_to_iface__
+ # fi
fi
%post
-etc/sysconfig/network/scripts/oldnet2new.sh
-# look if dhclient.rc.config is present
-if [ -f etc/rc.config.d/dhclient.rc.config ] ; then
- mv etc/rc.config.d/dhclient.rc.config etc/rc.config.d/dhcp.rc.config
-fi
-# but prefer dhcpcd.rc.config as template (because it has more variables and is used more frequently)
-if [ -f etc/rc.config.d/dhcpcd.rc.config ] ; then
- mv etc/rc.config.d/dhcpcd.rc.config etc/rc.config.d/dhcp.rc.config
-fi
-if [ -f etc/sysconfig/network/__conversion_for_getconfig_needed__ ]; then
- etc/sysconfig/network/scripts/convert_for_getconfig etc/sysconfig/network
- if [ $? = 0 ]; then rm etc/sysconfig/network/__conversion_for_getconfig_needed__; fi
-fi
+#etc/sysconfig/network/scripts/oldnet2new.sh
+## look if dhclient.rc.config is present
+#if [ -f etc/rc.config.d/dhclient.rc.config ] ; then
+# mv etc/rc.config.d/dhclient.rc.config etc/rc.config.d/dhcp.rc.config
+#fi
+## but prefer dhcpcd.rc.config as template (because it has more variables and is used more frequently)
+#if [ -f etc/rc.config.d/dhcpcd.rc.config ] ; then
+# mv etc/rc.config.d/dhcpcd.rc.config etc/rc.config.d/dhcp.rc.config
+#fi
+# update from pre-9.1 to post-10.2 still needs to be checked
+#if [ -f etc/sysconfig/network/__conversion_for_getconfig_needed__ ]; then
+# etc/sysconfig/network/scripts/convert_for_getconfig etc/sysconfig/network
+# if [ $? = 0 ]; then rm etc/sysconfig/network/__conversion_for_getconfig_needed__; fi
+#fi
pushd etc/sysconfig/network >/dev/null
for i in ifcfg-ppp* ifcfg-ippp* ifcfg-dsl* ifcfg-modem* ; do
case $i in
@@ -187,6 +184,15 @@
if [ -f /etc/udev/rules.d/30-net_persistent_names.rules.to_convert ] ; then
etc/sysconfig/network/scripts/convert_persistent_name_rules
fi
+# convert hwdescs to interface names in config filenames and variables
+if [ -f etc/sysconfig/network/__convert_hwdesc_to_iface__ ] ; then
+ pushd etc/sysconfig/network
+ scripts/hwdesc2iface netconfig .
+ for cf in ifcfg-*; do
+ scripts/hwdesc2iface $cf
+ done
+ popd
+fi
%{fillup_and_insserv -fY network}
%{fillup_only -dns dhcp network network}
%{fillup_only -dns config network network}
@@ -199,6 +205,19 @@
%{insserv_cleanup}
%changelog
+* Mon Jul 30 2007 - zoz(a)suse.de
+- new version 0.70.0
+- removed /sbin/getcfg (read README.no_more_hardwaredescriptions)
+- enhanced conversion of old configuration names into interface names
+ + do conversion in %%post and not in rcnetwork
+ + skip wlan helper files
+ + fixed quoting bug in sed command
+ + added variable conversion in ifcfg-* files (bridge ports and such)
+- don't perform update conversion from pre-9.1 (needs fixes)
+- remove superfluous script 'check_configurations'
+- functions: remove getcfg from get_ifplugd_priority() and comments
+- netcontrol_global_hooks: remove getcfg
+- ifup: dbus-send is now in /bin
* Thu Jul 26 2007 - zoz(a)suse.de
- new version 0.69.5
- removed /lib/udev/trigger_firmware_loading.sh; lets see if we still
++++++ sysconfig-0.69.5.tar.bz2 -> sysconfig-0.70.0.tar.bz2 ++++++
++++ 3954 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org