Hello community, here is the log from the commit of package sysconfig for openSUSE:Factory checked in at 2013-09-29 19:29:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-09-23 15:47:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sysconfig.new/sysconfig.changes 2013-09-29 19:29:14.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Sep 27 15:05:28 UTC 2013 - m...@suse.de + +- version 0.81.5 +- Fixed to support dummyX interfaces again (bnc#694810) +- Improved default netconfig dns ranking defaults and man page. +- Do not set "ap any" for wlags49* wireless driver (bnc#837941) + +------------------------------------------------------------------- Old: ---- sysconfig-0.81.4.tar.bz2 New: ---- sysconfig-0.81.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysconfig.spec ++++++ --- /var/tmp/diff_new_pack.qgDfnR/_old 2013-09-29 19:29:15.000000000 +0200 +++ /var/tmp/diff_new_pack.qgDfnR/_new 2013-09-29 19:29:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: sysconfig -Version: 0.81.4 +Version: 0.81.5 Release: 0 Summary: The sysconfig scheme for traditional network scripts License: GPL-2.0+ ++++++ sysconfig-0.81.4.tar.bz2 -> sysconfig-0.81.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/ChangeLog new/sysconfig-0.81.5/ChangeLog --- old/sysconfig-0.81.4/ChangeLog 2013-09-23 10:27:59.000000000 +0200 +++ new/sysconfig-0.81.5/ChangeLog 2013-09-27 17:07:57.000000000 +0200 @@ -1,10 +1,38 @@ -commit a9c11f61d706a6c1f873b24212b94757a0569882 (HEAD, master) +commit 2c186e52f27a19406b9ef967520892d45fe5beeb (HEAD, origin/master, master) +Author: Marius Tomaschewski <m...@suse.com> +Date: Fri Sep 27 17:05:40 2013 +0200 + + version 0.81.5, updated changes file + +commit 0f205567990fa2116f59eb8ec8bb33a2c2874660 +Author: Marius Tomaschewski <m...@suse.com> +Date: Fri Sep 27 17:01:48 2013 +0200 + + Do not set "ap any" for wlags49* wireless driver (bnc#837941) + +commit 503dfd9b99c7362a8ac0b3ff61bab36ef2d8aabd +Author: Marius Tomaschewski <m...@suse.com> +Date: Fri Sep 27 16:44:15 2013 +0200 + + Improved default netconfig dns ranking and docs + + Improved to use a more generic netconfig dns ranking list of: + "+/vpn/ -/auto/ +strongswan +openswan +racoon -avahi" + Fixed documentaion to mention also usage of regex patterns. + +commit 44b0dbce49a704482e766e061bd5a39d96e5c625 +Author: Marius Tomaschewski <m...@suse.com> +Date: Mon Sep 23 14:47:12 2013 +0200 + + Added scripts/ifup-dummy to support dummyX again (bnc#694810) + +commit a9c11f61d706a6c1f873b24212b94757a0569882 Author: Marius Tomaschewski <m...@suse.com> Date: Mon Sep 23 10:27:22 2013 +0200 version 0.81.4, updated changes file -commit f90a4ade0e63fa2f04937ae5d37302f5225a5a37 (origin/master) +commit f90a4ade0e63fa2f04937ae5d37302f5225a5a37 Author: Marius Tomaschewski <m...@suse.com> Date: Fri Sep 20 13:55:47 2013 +0000 @@ -118,7 +146,7 @@ version 0.81.0, updated changes file -commit 6eeb97a8a237da859b83450b94895bad7d7a5956 (old-master-split-2) +commit 6eeb97a8a237da859b83450b94895bad7d7a5956 Author: Marius Tomaschewski <m...@suse.com> Date: Fri Aug 16 13:25:35 2013 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/VERSION new/sysconfig-0.81.5/VERSION --- old/sysconfig-0.81.4/VERSION 2013-09-23 10:23:44.000000000 +0200 +++ new/sysconfig-0.81.5/VERSION 2013-09-27 17:04:38.000000000 +0200 @@ -1 +1 @@ -0.81.4 +0.81.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/configure new/sysconfig-0.81.5/configure --- old/sysconfig-0.81.4/configure 2013-09-23 10:27:53.000000000 +0200 +++ new/sysconfig-0.81.5/configure 2013-09-27 17:07:50.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.69 for sysconfig 0.81.4. +# Generated by GNU Autoconf 2.69 for sysconfig 0.81.5. # # Report bugs to <http://bugs.opensuse.org>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='sysconfig' PACKAGE_TARNAME='sysconfig' -PACKAGE_VERSION='0.81.4' -PACKAGE_STRING='sysconfig 0.81.4' +PACKAGE_VERSION='0.81.5' +PACKAGE_STRING='sysconfig 0.81.5' PACKAGE_BUGREPORT='http://bugs.opensuse.org' PACKAGE_URL='https://github.com/openSUSE/sysconfig' @@ -1324,7 +1324,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.81.4 to adapt to many kinds of systems. +\`configure' configures sysconfig 0.81.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1394,7 +1394,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sysconfig 0.81.4:";; + short | recursive ) echo "Configuration of sysconfig 0.81.5:";; esac cat <<\_ACEOF @@ -1501,7 +1501,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sysconfig configure 0.81.4 +sysconfig configure 0.81.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1870,7 +1870,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.81.4, which was +It was created by sysconfig $as_me 0.81.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2698,7 +2698,7 @@ # Define the identity of the package. PACKAGE='sysconfig' - VERSION='0.81.4' + VERSION='0.81.5' cat >>confdefs.h <<_ACEOF @@ -12188,7 +12188,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.81.4, which was +This file was extended by sysconfig $as_me 0.81.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12246,7 +12246,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.81.4 +sysconfig config.status 0.81.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/doc/netconfig.8 new/sysconfig-0.81.5/doc/netconfig.8 --- old/sysconfig-0.81.4/doc/netconfig.8 2013-08-26 14:07:16.000000000 +0200 +++ new/sysconfig-0.81.5/doc/netconfig.8 2013-09-27 17:04:24.000000000 +0200 @@ -227,11 +227,12 @@ (e.g. avahi). It causes a per service sorting of the nameservers and search list settings. Preferred service names have to be prepended with a \fB"+"\fR, fallback -service names with a \fB"\-"\fR character. +service names can be marked with a \fB"\-"\fR character. Instead of the +service name also a regex is supported using +/pattern/ and -/pattern/. The special default value \fI"auto"\fR enables the build-in service ranking list, currently: .nf - "+strongswan +openswan +racoon +openvpn +vpnc -avahi" + "+/vpn/ -/auto/ +strongswan +openswan +racoon -avahi" .fi the value \fI"none"\fR or \fI""\fR allows to disable the ranking / sorting. .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/Makefile.am new/sysconfig-0.81.5/scripts/Makefile.am --- old/sysconfig-0.81.4/scripts/Makefile.am 2013-08-26 14:07:16.000000000 +0200 +++ new/sysconfig-0.81.5/scripts/Makefile.am 2013-09-23 14:54:28.000000000 +0200 @@ -24,6 +24,7 @@ ifup-sysctl \ ifup-wireless \ ifup-tunnel \ + ifup-dummy \ ifplugd-selectif \ if-up.ndp-proxy \ dhcpcd-hook \ @@ -78,6 +79,8 @@ ln -sf ifup-bonding $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-bonding ln -sf ifup-infiniband $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifdown-infiniband ln -sf ifup-infiniband $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-infiniband + ln -sf ifup-dummy $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifdown-dummy + ln -sf ifup-dummy $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-dummy ln -sf ip-up $(DESTDIR)/$(pppdir)/ip-down ln -sf ip-up $(DESTDIR)/$(pppdir)/ipv6-up ln -sf ip-up $(DESTDIR)/$(pppdir)/ipv6-down diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/Makefile.in new/sysconfig-0.81.5/scripts/Makefile.in --- old/sysconfig-0.81.4/scripts/Makefile.in 2013-09-23 10:27:54.000000000 +0200 +++ new/sysconfig-0.81.5/scripts/Makefile.in 2013-09-27 17:07:51.000000000 +0200 @@ -288,6 +288,7 @@ ifup-sysctl \ ifup-wireless \ ifup-tunnel \ + ifup-dummy \ ifplugd-selectif \ if-up.ndp-proxy \ dhcpcd-hook \ @@ -863,6 +864,8 @@ ln -sf ifup-bonding $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-bonding ln -sf ifup-infiniband $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifdown-infiniband ln -sf ifup-infiniband $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-infiniband + ln -sf ifup-dummy $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifdown-dummy + ln -sf ifup-dummy $(DESTDIR)/$(sysconfig_network_scriptsdir)/ifstatus-dummy ln -sf ip-up $(DESTDIR)/$(pppdir)/ip-down ln -sf ip-up $(DESTDIR)/$(pppdir)/ipv6-up ln -sf ip-up $(DESTDIR)/$(pppdir)/ipv6-down diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/functions.netconfig new/sysconfig-0.81.5/scripts/functions.netconfig --- old/sysconfig-0.81.4/scripts/functions.netconfig 2013-08-26 14:07:16.000000000 +0200 +++ new/sysconfig-0.81.5/scripts/functions.netconfig 2013-09-27 17:04:24.000000000 +0200 @@ -21,7 +21,7 @@ r=$ROOT # builtin dns ranking defaults -NETCONFIG_DNS_RANKING_DEFAULT="+strongswan +openswan +racoon +openvpn +vpnc -avahi" +NETCONFIG_DNS_RANKING_DEFAULT="+/vpn/ -/auto/ +strongswan +openswan +racoon -avahi" test -z "$MD5DIR" && { MD5DIR=$r/var/adm/netconfig/md5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/ifup new/sysconfig-0.81.5/scripts/ifup --- old/sysconfig-0.81.4/scripts/ifup 2013-09-09 15:28:08.000000000 +0200 +++ new/sysconfig-0.81.5/scripts/ifup 2013-09-23 14:54:28.000000000 +0200 @@ -800,6 +800,11 @@ scripts/${SCRIPTNAME}-tunnel $CONFIG $INTERFACE ${OPTIONS:+-o $OPTIONS} test "$?" -ne 0 && exit ;; + dummy) + # Frob dummy interface + scripts/${SCRIPTNAME}-dummy $CONFIG $INTERFACE ${OPTIONS:+-o $OPTIONS} + test "$?" -ne 0 && exit + ;; esac fi @@ -848,6 +853,7 @@ wireless) : ;; tun|tap) : ;; ipip|sit|gre) : ;; + dummy) : ;; *) if [ -x "$INTERFACESCRIPT" ] ; then $INTERFACESCRIPT $CONFIG $INTERFACE ${OPTIONS:+-o $OPTIONS} @@ -1425,6 +1431,11 @@ scripts/${SCRIPTNAME}-tunnel $CONFIG $INTERFACE ${OPTIONS:+-o $OPTIONS} test "$?" -ne 0 && exit ;; + dummy) + # Frob dummy interface, part II + scripts/${SCRIPTNAME}-dummy $CONFIG $INTERFACE ${OPTIONS:+-o $OPTIONS} + test "$?" -ne 0 && exit + ;; esac fi fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/ifup-dummy new/sysconfig-0.81.5/scripts/ifup-dummy --- old/sysconfig-0.81.4/scripts/ifup-dummy 1970-01-01 01:00:00.000000000 +0100 +++ new/sysconfig-0.81.5/scripts/ifup-dummy 2013-09-23 14:54:28.000000000 +0200 @@ -0,0 +1,132 @@ +#! /bin/bash +# +# Copyright (c) 2002-2006 SuSE Linux AG Nuernberg, Germany. +# Copyright (c) 2007-2013 SUSE LINUX Products GmbH, Germany. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program. If not, see <http://www.gnu.org/licenses/>. +# +# Authors: Marius Tomaschewski <m...@suse.de> +# +# $Id$ +# + +unset POSIXLY_CORRECT ; set +o posix # we are using non-posix bash features + +usage () { + echo $@ + echo "" + echo "Usage: if{up,down,status}-dummy [<config>] <interface> [-o <options>]" + echo "" + echo "Options are:" + echo " [on]boot : we are currently booting (or shutting down)" + echo " hotplug : we are handling a hotplug event" + echo " auto : alias for onboot" + echo " debug : be verbose" + echo "" + echo "All other or wrong options are silently ignored." + echo "" + exit $R_USAGE +} + +###################################################################### +# change the working direcory and source some common files +# +R_INTERNAL=1 # internal error, e.g. no config or missing scripts +cd /etc/sysconfig/network || exit $R_INTERNAL +test -f ./config && . ./config +test -f scripts/functions && . scripts/functions || exit $R_INTERNAL + +###################################################################### +# check arguments and how we are called (in case of links) +# +SCRIPTNAME=${0##*/} +debug $* +ACTION=${SCRIPTNAME#if} +ACTION=${ACTION%%-*} +case "${ACTION}" in + up|status|down|check) ;; + *) usage +esac +case "$1" in ""|-h|*help*) usage; esac +CONFIG=$1 +shift +if [ -n "$1" -a "$1" != "-o" ] ; then + INTERFACE=$1 +else + INTERFACE=$CONFIG +fi +shift +test "$1" = "-o" && shift +OPTIONS="$@" +MODE=manual +while [ $# -gt 0 ]; do + case $1 in + boot|onboot) MODE=auto ;; + hotplug) MODE=auto ;; + auto) MODE=auto ;; + quiet) be_quiet_has_gone ;; + debug) DEBUG=yes ;; + *) debug unknown option $1 ;; + esac + shift +done + +###################################################################### +# check presence of configuration file and source it +# +source_iface_config "$CONFIG" || { + message "could not find interface configuration: $CONFIG" +} + +###################################################################### +# now do what has to be done +# +RETVAL=$R_SUCCESS +case $ACTION in + up) + if [ ! -d "/sys/class/net/$INTERFACE" ] ; then + out=`ip link add name "$INTERFACE" type dummy 2>&1` || { + RETVAL=$R_NODEV + err_mesg "`printf " %-9s " "$INTERFACE"` $out" + } + fi + ;; + down) + if [ -d "/sys/class/net/$INTERFACE" ] ; then + if is_iface_up $INTERFACE ; then + ip link set dev $INTERFACE down &>/dev/null + fi + out=`ip link del "$INTERFACE" type dummy 2>&1` || { + RETVAL=$R_ERROR + err_mesg "`printf " %-9s " "$INTERFACE"` $out" + } + else + RETVAL=$R_NODEV + fi + ;; + status) + if [ -d "/sys/class/net/$INTERFACE" ] ; then + if is_iface_up "$INTERFACE" ; then + : ip addr show "$INTERFACE" + else + RETVAL=$R_NOTRUNNING + fi + else + RETVAL=$R_NODEV + fi + ;; +esac + +exit $RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/scripts/ifup-wireless new/sysconfig-0.81.5/scripts/ifup-wireless --- old/sysconfig-0.81.4/scripts/ifup-wireless 2013-09-02 18:26:40.000000000 +0200 +++ new/sysconfig-0.81.5/scripts/ifup-wireless 2013-09-27 17:04:31.000000000 +0200 @@ -342,7 +342,7 @@ case "$WIRELESS_MODE" in ([M,m]anaged|[A,a]d-[H,h]oc|"") case "${DRIVER}" in - (wl) + (wl|wlags49*) # bnc#555774, wl driver does not like it ;; (ath_pci) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.81.4/sysconfig.spec new/sysconfig-0.81.5/sysconfig.spec --- old/sysconfig-0.81.4/sysconfig.spec 2013-09-23 10:27:56.000000000 +0200 +++ new/sysconfig-0.81.5/sysconfig.spec 2013-09-27 17:07:53.000000000 +0200 @@ -18,7 +18,7 @@ Name: sysconfig -Version: 0.81.4 +Version: 0.81.5 Release: 0 Summary: The sysconfig scheme for traditional network scripts License: GPL-2.0+ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org