summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout/files/baselayout-1.12.0_pre6-1420.patch')
-rw-r--r--sys-apps/baselayout/files/baselayout-1.12.0_pre6-1420.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.12.0_pre6-1420.patch b/sys-apps/baselayout/files/baselayout-1.12.0_pre6-1420.patch
new file mode 100644
index 000000000000..64e5952e959b
--- /dev/null
+++ b/sys-apps/baselayout/files/baselayout-1.12.0_pre6-1420.patch
@@ -0,0 +1,39 @@
+Index: lib/rcscripts/net.modules.d/dhcpcd
+===================================================================
+--- lib/rcscripts/net.modules.d/dhcpcd (revision 1419)
++++ lib/rcscripts/net.modules.d/dhcpcd (working copy)
+@@ -32,7 +32,7 @@
+ if dhcpcd -h 2>&1 | grep -q "etcDir" ; then
+ return 0
+ else
+- ${1:-false} && eerror "We require dhcpcd-1.3.22_p4-r10"
++ ${1:-false} && eerror "We require dhcpcd-1.3.22_p4-r12 or newer"
+ return 1
+ fi
+ fi
+Index: lib/rcscripts/net.modules.d/wpa_supplicant
+===================================================================
+--- lib/rcscripts/net.modules.d/wpa_supplicant (revision 1419)
++++ lib/rcscripts/net.modules.d/wpa_supplicant (working copy)
+@@ -64,7 +64,7 @@
+ #
+ # Checks to see if wireless extensions are enabled on the interface
+ wpa_supplicant_check_extensions() {
+- grep -q "$1: " /proc/net/wireless
++ grep -q "^[ ]*$1: " /proc/net/wireless
+ }
+
+ # char* wpa_supplicant_get_essid(char *interface)
+Index: lib/rcscripts/net.modules.d/iwconfig
+===================================================================
+--- lib/rcscripts/net.modules.d/iwconfig (revision 1419)
++++ lib/rcscripts/net.modules.d/iwconfig (working copy)
+@@ -63,7 +63,7 @@
+ #
+ # Checks to see if wireless extensions are enabled on the interface
+ iwconfig_check_extensions() {
+- grep -q "$1: " /proc/net/wireless
++ grep -q "^[ ]*$1: " /proc/net/wireless
+ }
+
+ # char* iwconfig_get_wep_status(char *interface)