summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-06-24 19:53:14 +0000
committer Eric Hameleers <alien@slackware.com>2017-06-24 19:53:14 +0000
commiteed17278139f966ae516d02ebb012d78515347a0 (patch)
tree26a4c16694de15c574863e169b1f4db7bbe75558
parent42bdf64e80de0d810b6daa874ce9a82e8aeae86e (diff)
downloadasb-eed17278139f966ae516d02ebb012d78515347a0.tar.gz
asb-eed17278139f966ae516d02ebb012d78515347a0.tar.xz
Initial revision
-rw-r--r--openconnect/build/patches/vpnc-script_slackware.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openconnect/build/patches/vpnc-script_slackware.patch b/openconnect/build/patches/vpnc-script_slackware.patch
new file mode 100644
index 00000000..3ffc3567
--- /dev/null
+++ b/openconnect/build/patches/vpnc-script_slackware.patch
@@ -0,0 +1,11 @@
+--- vpnc-script.orig 2017-06-08 19:49:19.350920045 +0200
++++ vpnc-script 2017-06-24 21:29:57.473670157 +0200
+@@ -127,7 +127,7 @@
+ elif [ -x /sbin/resolvconf ]; then # Optional tool on Debian, Ubuntu, Gentoo and FreeBSD
+ MODIFYRESOLVCONF=modify_resolvconf_manager
+ RESTORERESOLVCONF=restore_resolvconf_manager
+-elif [ -x /sbin/netconfig ]; then # tool on Suse after 11.1
++elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware
+ MODIFYRESOLVCONF=modify_resolvconf_suse_netconfig
+ RESTORERESOLVCONF=restore_resolvconf_suse_netconfig
+ elif [ -x /sbin/modify_resolvconf ]; then # Mandatory tool on Suse earlier than 11.1