summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r--sys-apps/baselayout/files/baselayout-1.12.0_pre11-net.patch70
-rw-r--r--sys-apps/baselayout/files/digest-baselayout-1.12.0_pre11-r11
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.12.0_pre11-net.patch b/sys-apps/baselayout/files/baselayout-1.12.0_pre11-net.patch
new file mode 100644
index 000000000000..e99d17c3f2eb
--- /dev/null
+++ b/sys-apps/baselayout/files/baselayout-1.12.0_pre11-net.patch
@@ -0,0 +1,70 @@
+Index: lib/rcscripts/net.modules.d/arping
+===================================================================
+--- lib/rcscripts/net.modules.d/arping (revision 1626)
++++ lib/rcscripts/net.modules.d/arping (working copy)
+@@ -63,7 +63,7 @@
+
+ einfo "Pinging gateways on ${iface} for configuration"
+
+- gateways="gateways_${ifvar}"
++ gateways="gateways_${ifvar}[@]"
+ if [[ -z ${!gateways} ]]; then
+ eerror "No gateways have been defined (gateways_${ifvar}=\"...\")"
+ return 1
+@@ -71,7 +71,7 @@
+
+ eindent
+
+- for x in "${!gateways}"; do
++ for x in ${!gateways}; do
+ vebegin "${x}"
+ if arping_address_exists "${iface}" "${x}" ; then
+ for i in ${x//./ } ; do
+Index: lib/rcscripts/net.modules.d/helpers.d/functions
+===================================================================
+--- lib/rcscripts/net.modules.d/helpers.d/functions (revision 1626)
++++ lib/rcscripts/net.modules.d/helpers.d/functions (working copy)
+@@ -568,7 +568,7 @@
+ x=""
+ [[ -n ${option2} ]] && x="${v}_${option2}[@]"
+ [[ -z ${!x} ]] && x="${v}_${option1}[@]"
+- [[ -n ${!x} ]] && eval "${v}_${ifvar}=( "${!x}" )"
++ [[ -n ${!x} ]] && eval "${v}_${ifvar}=( \"${!x}\" )"
+ done
+ done
+
+Index: lib/rcscripts/net.modules.d/ifconfig
+===================================================================
+--- lib/rcscripts/net.modules.d/ifconfig (revision 1626)
++++ lib/rcscripts/net.modules.d/ifconfig (working copy)
+@@ -175,7 +175,7 @@
+ ifconfig_get_old_config() {
+ local iface="$1" ifvar=$( bash_variable "$1" ) i inet6
+
+- config="ifconfig_${ifvar}[@\]"
++ config="ifconfig_${ifvar}[@]"
+ config=( "${!config}" )
+ config_fallback="ifconfig_fallback_${ifvar}[@]"
+ config_fallback=( "${!config_fallback}" )
+@@ -312,7 +312,7 @@
+ fi
+
+ # Add a metric if we don't have one
+- [[ ${x} != *" metric "* ]] && x="${x} metric ${metric}"
++ [[ ${x} != *" metric "* ]] && x="${x} metric ${!metric}"
+
+ route add ${x} dev "${iface}"
+ eend $?
+Index: etc/conf.d/net.example
+===================================================================
+--- etc/conf.d/net.example (revision 1626)
++++ etc/conf.d/net.example (working copy)
+@@ -283,7 +283,7 @@
+ # simply ensure that each ocet is zero padded and the dots are removed.
+ # Below is an example.
+ #
+-#arping_eth0="192.168.0.1 10.0.0.1"
++#gateways_eth0="192.168.0.1 10.0.0.1"
+ #config_192168000001=( "192.168.0.2/24" )
+ #routes_192168000001=( "default via 192.168.0.1" )
+ #dns_servers_192168000001=( "192.168.0.1" )
diff --git a/sys-apps/baselayout/files/digest-baselayout-1.12.0_pre11-r1 b/sys-apps/baselayout/files/digest-baselayout-1.12.0_pre11-r1
new file mode 100644
index 000000000000..ff1df0ed224d
--- /dev/null
+++ b/sys-apps/baselayout/files/digest-baselayout-1.12.0_pre11-r1
@@ -0,0 +1 @@
+MD5 abc62e768ebd4e10029975f61f9c4cab baselayout-1.12.0_pre11.tar.bz2 209907