Hello community,

here is the log from the commit of package sysconfig for openSUSE:Factory
checked in at Wed Oct 5 11:10:36 CEST 2011.



--------
--- openSUSE:Factory/sysconfig/sysconfig.changes        2011-09-26 
17:07:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/sysconfig/sysconfig.changes    2011-10-05 
10:18:27.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Oct  5 08:12:14 UTC 2011 - m...@suse.com
+
+- version 0.75.4
+- Don't fail when wireless power setting isn't supported
+  Thanks to Manuel Stol for the patch (bnc#716652).
+- Cleanup link / dad wait verify flag after status update
+
+------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  0001-inverted-link-ready-return-value-test.patch
  sysconfig-0.75.3.tar.bz2

New:
----
  sysconfig-0.75.4.tar.bz2

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

Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.X8Tyt4/_old  2011-10-05 11:10:29.000000000 +0200
+++ /var/tmp/diff_new_pack.X8Tyt4/_new  2011-10-05 11:10:29.000000000 +0200
@@ -19,8 +19,8 @@
 
 
 Name:           sysconfig
-Version:        0.75.3
-Release:        1
+Version:        0.75.4
+Release:        0
 Summary:        The sysconfig scheme and traditional network scripts
 Url:            http://gitorious.org/opensuse/sysconfig
 Group:          System/Base
@@ -32,7 +32,6 @@
 Requires:       iproute2 dbus-1 procps
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         %name-%version.tar.bz2
-Patch1:         0001-inverted-link-ready-return-value-test.patch
 
 %description
 This package provides the SuSE system configuration scheme and
@@ -52,7 +51,6 @@
 
 %prep
 %setup -n sysconfig-%{version}
-%patch1 -p1
 
 %build
 autoreconf --force --install

++++++ sysconfig-0.75.3.tar.bz2 -> sysconfig-0.75.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/ChangeLog 
new/sysconfig-0.75.4/ChangeLog
--- old/sysconfig-0.75.3/ChangeLog      2011-09-26 12:40:36.000000000 +0200
+++ new/sysconfig-0.75.4/ChangeLog      2011-10-05 10:16:06.000000000 +0200
@@ -1,4 +1,30 @@
-commit 1445822f75850654a42235e06a61d6ba9de5bcde (HEAD, master)
+commit ec9e9b09f9c53a965fbd35cd00ca8b7f5c793654 (HEAD, master)
+Author: Marius Tomaschewski <m...@suse.com>
+Date:   Wed Oct 5 10:15:40 2011 +0200
+
+    version 0.75.4, updated changes file
+
+commit 9eb69f416c51d8717503db51ea3642c2512d4f92 (origin/master)
+Author: Marius Tomaschewski <m...@suse.com>
+Date:   Tue Sep 27 13:30:55 2011 +0200
+
+    Don't fail when wireless power setting isn't supported
+    
+    Thanks to Manuel Stol for the patch (bnc#716652).
+
+commit 18f2d6a3006d8a90739a1c540585d7cf72eb67c2
+Author: Marius Tomaschewski <m...@suse.com>
+Date:   Tue Sep 27 13:28:49 2011 +0200
+
+    Cleanup verify flag after status update
+
+commit 8fed34d78851f6fba1c6451e74cba6c9772b157e
+Author: Marius Tomaschewski <m...@suse.com>
+Date:   Mon Sep 26 14:32:25 2011 +0200
+
+    Fixed inverted link ready return value test
+
+commit 1445822f75850654a42235e06a61d6ba9de5bcde
 Author: Marius Tomaschewski <m...@suse.com>
 Date:   Mon Sep 26 12:39:42 2011 +0200
 
@@ -28,7 +54,7 @@
     detection finished what can cause failures of further services.
     Added LINK_READY_WAIT and IPV6_DAD_WAIT variables (bnc#697929).
 
-commit 21c4b70cf6204b3bac37d0ef70a159724b1af51a (public/master, origin/master)
+commit 21c4b70cf6204b3bac37d0ef70a159724b1af51a (public/master)
 Author: Marius Tomaschewski <m...@suse.com>
 Date:   Thu Sep 22 20:58:23 2011 +0200
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/VERSION new/sysconfig-0.75.4/VERSION
--- old/sysconfig-0.75.3/VERSION        2011-09-26 12:10:01.000000000 +0200
+++ new/sysconfig-0.75.4/VERSION        2011-10-05 10:10:24.000000000 +0200
@@ -1 +1 @@
-0.75.3
+0.75.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/configure 
new/sysconfig-0.75.4/configure
--- old/sysconfig-0.75.3/configure      2011-09-26 12:40:16.000000000 +0200
+++ new/sysconfig-0.75.4/configure      2011-10-05 10:15:57.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.in Revision: 1.13 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for sysconfig 0.75.3.
+# Generated by GNU Autoconf 2.68 for sysconfig 0.75.4.
 #
 # Report bugs to <http://www.suse.de/feedback/>.
 #
@@ -710,8 +710,8 @@
 # Identity of this package.
 PACKAGE_NAME='sysconfig'
 PACKAGE_TARNAME='sysconfig'
-PACKAGE_VERSION='0.75.3'
-PACKAGE_STRING='sysconfig 0.75.3'
+PACKAGE_VERSION='0.75.4'
+PACKAGE_STRING='sysconfig 0.75.4'
 PACKAGE_BUGREPORT='http://www.suse.de/feedback/'
 PACKAGE_URL=''
 
@@ -1437,7 +1437,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures sysconfig 0.75.3 to adapt to many kinds of systems.
+\`configure' configures sysconfig 0.75.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1507,7 +1507,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of sysconfig 0.75.3:";;
+     short | recursive ) echo "Configuration of sysconfig 0.75.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1607,7 +1607,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-sysconfig configure 0.75.3
+sysconfig configure 0.75.4
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1976,7 +1976,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by sysconfig $as_me 0.75.3, which was
+It was created by sysconfig $as_me 0.75.4, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2795,7 +2795,7 @@
 
 # Define the identity of the package.
  PACKAGE='sysconfig'
- VERSION='0.75.3'
+ VERSION='0.75.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11296,7 +11296,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by sysconfig $as_me 0.75.3, which was
+This file was extended by sysconfig $as_me 0.75.4, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11353,7 +11353,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-sysconfig config.status 0.75.3
+sysconfig config.status 0.75.4
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/scripts/ifup 
new/sysconfig-0.75.4/scripts/ifup
--- old/sysconfig-0.75.3/scripts/ifup   2011-09-26 12:03:18.000000000 +0200
+++ new/sysconfig-0.75.4/scripts/ifup   2011-10-05 10:10:10.000000000 +0200
@@ -1162,11 +1162,11 @@
                                                if [ "$BOOTING" = yes -a 
"$RUN_FROM_RC" = yes ] ; then
                                                        link_ready_check 
"$INTERFACE"
                                                        link_ret=$?
-                                                       test "$link_ret" && 
retcode=$R_DHCP_BG
+                                                       test "$link_ret" -eq 0 
|| retcode=$R_DHCP_BG
                                                else
                                                        link_ready_wait 
"$INTERFACE" "${LINK_READY_WAIT}"
                                                        link_ret=$?
-                                                       test "$link_ret" && 
retcode=$R_NOTRUNNING
+                                                       test "$link_ret" -eq 0 
|| retcode=$R_NOTRUNNING
                                                fi
                                        fi
                                fi
@@ -1241,9 +1241,9 @@
                                                link_ready_check "$INTERFACE"
                                                link_ret=$?
                                                if [ "$BOOTING" = yes -a 
"$RUN_FROM_RC" = yes ] ; then
-                                                       test "$link_ret" && 
retcode=$R_DHCP_BG
+                                                       test "$link_ret" -eq 0 
|| retcode=$R_DHCP_BG
                                                else
-                                                       test "$link_ret" && 
retcode=$R_NOTRUNNING
+                                                       test "$link_ret" -eq 0 
|| retcode=$R_NOTRUNNING
                                                fi
                                        fi
 
@@ -1278,8 +1278,11 @@
                                        if [ "$retcode" = "$R_SUCCESS" ] ; then
                                                v=`read_cached_config_data 
verify $INTERFACE`
                                                s=`read_cached_config_data 
status $INTERFACE`
-                                               if test "$v" = "status" -a "$s" 
= "connecting" ; then
-                                                       
write_cached_config_data status connected $INTERFACE
+                                               if test "$v" = "status" ; then
+                                                       if test "$s" = 
"connecting" ; then
+                                                               
write_cached_config_data status connected $INTERFACE
+                                                       fi
+                                                       
delete_from_cached_config_data verify ""  $INTERFACE
                                                        
commit_cached_config_data $INTERFACE
                                                fi
                                        fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/scripts/ifup-wireless 
new/sysconfig-0.75.4/scripts/ifup-wireless
--- old/sysconfig-0.75.3/scripts/ifup-wireless  2011-09-26 12:01:37.000000000 
+0200
+++ new/sysconfig-0.75.4/scripts/ifup-wireless  2011-10-05 10:10:10.000000000 
+0200
@@ -777,11 +777,27 @@
                 ;;
         esac
 
+        # Note, that this setting is not supported by all cards resp. drivers
+        # and shall be tested before the user decides to set it.
         case $WIRELESS_POWER in
             ""|none) ;;
-            yes)     run_iw_tool config power period 2 ;;
-            no)      run_iw_tool config power off ;;
-            *)       run_iw_tool config power $WIRELESS_POWER ;;
+            yes)    run_iw_tool config power period 2
+                    if [ $RETVAL -eq 250 ]; then
+                        # The power operation is invalid or unsupported.
+                        iwconfig $INTERFACE power off 2> /dev/null
+                        # If the power operation is unsupported, ignore the 
error.
+                        [ $? -eq 250 ] && RETVAL=$R_SUCCESS
+                    fi ;;
+            no|off) run_iw_tool config power off
+                    # If the power operation is unsupported, ignore the error.
+                    [ $RETVAL -eq 250 ] && RETVAL=$R_SUCCESS ;;
+            *)      run_iw_tool config power $WIRELESS_POWER
+                    if [ $RETVAL -eq 250 ]; then
+                        # The power operation is invalid or unsupported.
+                        iwconfig $INTERFACE power off 2> /dev/null
+                        # If the power operation is unsupported, ignore the 
error.
+                        [ $? -eq 250 ] && RETVAL=$R_SUCCESS
+                    fi ;;
         esac
 
         if need_wpa_supplicant ; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.75.3/sysconfig.spec 
new/sysconfig-0.75.4/sysconfig.spec
--- old/sysconfig-0.75.3/sysconfig.spec 2011-09-26 12:40:20.000000000 +0200
+++ new/sysconfig-0.75.4/sysconfig.spec 2011-10-05 10:16:01.000000000 +0200
@@ -19,7 +19,7 @@
 
 
 Name:           sysconfig
-Version:        0.75.3
+Version:        0.75.4
 Release:        0
 Summary:        The sysconfig scheme and traditional network scripts
 Url:            http://gitorious.org/opensuse/sysconfig

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to