aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2015-03-12 15:36:21 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2015-03-12 15:36:21 +0000
commit539e08f66c1e09158256f9e28356c1ee8996342f (patch)
tree36b696308437cf720735675d3a9dfd0713e71550 /sysutils
parentc7f9cfcf5f25bde0f186a678c5f08e677161d773 (diff)
downloadports-539e08f66c1e09158256f9e28356c1ee8996342f.tar.gz
ports-539e08f66c1e09158256f9e28356c1ee8996342f.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/vpnc-scripts/Makefile1
-rw-r--r--sysutils/vpnc-scripts/files/patch-vpnc-script11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/vpnc-scripts/Makefile b/sysutils/vpnc-scripts/Makefile
index a961f5ba448c..fc1d32d8b08f 100644
--- a/sysutils/vpnc-scripts/Makefile
+++ b/sysutils/vpnc-scripts/Makefile
@@ -3,6 +3,7 @@
PORTNAME= vpnc-scripts
PORTVERSION= 20140806
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \
http://mirrors.rit.edu/zi/
diff --git a/sysutils/vpnc-scripts/files/patch-vpnc-script b/sysutils/vpnc-scripts/files/patch-vpnc-script
new file mode 100644
index 000000000000..f4bdfb2e85d2
--- /dev/null
+++ b/sysutils/vpnc-scripts/files/patch-vpnc-script
@@ -0,0 +1,11 @@
+--- vpnc-script.orig 2014-08-05 13:38:58 UTC
++++ vpnc-script
+@@ -121,7 +121,7 @@ if [ -r /etc/openwrt_release ] && [ -n "
+ include /lib/network
+ MODIFYRESOLVCONF=modify_resolvconf_openwrt
+ RESTORERESOLVCONF=restore_resolvconf_openwrt
+-elif [ -x /sbin/resolvconf ] && [ "$OS" != "FreeBSD" ]; then # Optional tool on Debian, Ubuntu, Gentoo - but not FreeBSD, it seems to work different
++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