From 37f662b002f89bfa77b35b667588a5fb6e309cc4 Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Sun, 5 Nov 2006 09:03:29 +0000 Subject: merge r2360 svn path=/baselayout-vserver/branches/baselayout-1_12/; revision=517 --- ChangeLog | 16 ++++++++++++++++ Makefile | 2 +- etc/rc.conf | 2 ++ net-scripts/conf.d/net.example | 2 +- net-scripts/net/ifconfig.sh | 2 +- net-scripts/net/iproute2.sh | 2 +- net-scripts/net/iwconfig.sh | 4 ++-- net-scripts/net/pppd.sh | 3 ++- net-scripts/net/tuntap.sh | 2 +- net-scripts/net/udhcpc.sh | 2 +- sbin/rc-update | 6 +++--- sbin/runscript.sh | 4 ++-- tarball.sh | 4 ++-- 13 files changed, 35 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e77865..7527cbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,22 @@ # ChangeLog for Gentoo System Intialization ("rc") scripts # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2 +* baselayout-1.12.6 (02 Nov 2006) + + 02 Nov 2006; Roy Marples : + + We no longer unmount ramfs in halt.sh, #151128 + We no longer use =~ for the 1.12 branch only as we should work on all + bash versions, #151108 + + 01 Nov 2006; Roy Marples : + + Clarified pppd maxfail usage, #153657 thanks to Toralf Förster. + + 31 Oct 2006; Roy Marples : + + tuntap should come before bridge, #150520. + 30 Sep 2006; Roy Marples : Added warning about clamping MSS when running ppp on a router, #149525 diff --git a/Makefile b/Makefile index 2c870b4..a3618a5 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ # without an ebuild style package manager. NAME = baselayout-vserver -VERSION = 1.12.4 +VERSION = 1.12.2 PKG = $(NAME)-$(VERSION) ARCH = x86 diff --git a/etc/rc.conf b/etc/rc.conf index 0c137ca..871636a 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -13,6 +13,8 @@ EDITOR="/bin/nano" #EDITOR="/usr/bin/vim" #EDITOR="/usr/bin/emacs" +# DISPLAYMANAGER has moved to /etc/conf.d/xdm +# # XSESSION is a new variable to control what window manager to start # default with X if run with xdm, startx or xinit. The default behavior # is to look in /etc/X11/Sessions/ and run the script in matching the diff --git a/net-scripts/conf.d/net.example b/net-scripts/conf.d/net.example index cf6f648..e1f7d08 100644 --- a/net-scripts/conf.d/net.example +++ b/net-scripts/conf.d/net.example @@ -418,7 +418,7 @@ # and may seem daunting, it is recommended that you read the pppd man page # before enabling any of them #pppd_ppp0=( -# "maxfail 0" # WARNING: It's not recommended you use change this +# "maxfail 0" # WARNING: It's not recommended you use this # # if you don't specify maxfail then we assume 0 # "updetach" # If not set, "/etc/init.d/net.ppp0 start" will return # # immediately, without waiting the link to come up diff --git a/net-scripts/net/ifconfig.sh b/net-scripts/net/ifconfig.sh index 48ae2ba..d28f4b2 100644 --- a/net-scripts/net/ifconfig.sh +++ b/net-scripts/net/ifconfig.sh @@ -182,7 +182,7 @@ ifconfig_set_name() { # Outputs a space-separated list on stdout, in reverse order, for # example "eth0:2 eth0:1" ifconfig_get_aliases_rev() { - ifconfig | grep -o "^$1:[0-9]* " | tac + ifconfig | grep -Eo "^$1:[^ ]+" | tac } # bool ifconfig_del_addresses(char *interface, bool onlyinet) diff --git a/net-scripts/net/iproute2.sh b/net-scripts/net/iproute2.sh index 377dc1e..d059f3f 100644 --- a/net-scripts/net/iproute2.sh +++ b/net-scripts/net/iproute2.sh @@ -132,7 +132,7 @@ iproute2_set_name() { # example "eth0:2 eth0:1" iproute2_get_aliases_rev() { local iface=$( interface_device "$1" ) - ip addr show dev "${iface}" | grep -o "${iface}:[0-9].*" | tac + ip addr show dev "${iface}" | grep -Eo "${iface}:[^ ]+" | tac } # bool iproute2_del_addresses(char *interface, bool onlyinet) diff --git a/net-scripts/net/iwconfig.sh b/net-scripts/net/iwconfig.sh index e2ea762..4093078 100644 --- a/net-scripts/net/iwconfig.sh +++ b/net-scripts/net/iwconfig.sh @@ -64,7 +64,7 @@ iwconfig_exists() { && return 0 [[ ! -e /proc/net/wireless ]] && return 1 - [[ $(/dev/null rm -f "${svcdir}/snapshot/$$/${SVCNAME}" fi @@ -637,7 +637,7 @@ for arg in $* ; do rm -rf "${svcdir}/snapshot/$$" mkdir -p "${svcdir}/snapshot/$$" cp -pP "${svcdir}"/started/* "${svcdir}"/inactive/* \ - "${svcdir}/snapshot/$$/" + "${svcdir}/snapshot/$$/" 2>/dev/null rm -f "${svcdir}/snapshot/$$/${SVCNAME}" # Simple way to try and detect if the service use svc_{start,stop} diff --git a/tarball.sh b/tarball.sh index fb10d1d..23d356d 100755 --- a/tarball.sh +++ b/tarball.sh @@ -1,6 +1,6 @@ #!/bin/bash export TMP="${TMP:-/tmp}" -export V="1.12.3" +export V="1.12.6" export NAME="baselayout-vserver" export DEST="${TMP}/${NAME}-${V}" @@ -8,7 +8,7 @@ if [[ $1 != "-f" ]] ; then echo "Performing sanity checks (run with -f to skip) ..." # Check that we're updated - svnfiles=$( svn status 2>&1 | egrep -v '^(U|P)' ) + svnfiles=$( svn status --no-ignore 2>&1 | egrep -v '^(U|P)' ) if [[ -n ${svnfiles} ]] ; then echo "Refusing to package tarball until svn is in sync:" echo "$svnfiles" -- cgit v1.2.3-65-gdbad