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