svn commit: r381107 - in head/sysutils/vpnc-scripts: . files
Ryan Steinmetz
zi at FreeBSD.org
Thu Mar 12 15:36:22 UTC 2015
Author: zi
Date: Thu Mar 12 15:36:21 2015
New Revision: 381107
URL: https://svnweb.freebsd.org/changeset/ports/381107
QAT: https://qat.redports.org/buildarchive/r381107/
Log:
- Enable use of resolveconf
PR: 195359
Submitted by: John Baldwin <jhb at FreeBSD.org>
Added:
head/sysutils/vpnc-scripts/files/
head/sysutils/vpnc-scripts/files/patch-vpnc-script (contents, props changed)
Modified:
head/sysutils/vpnc-scripts/Makefile
Modified: head/sysutils/vpnc-scripts/Makefile
==============================================================================
--- head/sysutils/vpnc-scripts/Makefile Thu Mar 12 15:25:42 2015 (r381106)
+++ head/sysutils/vpnc-scripts/Makefile Thu Mar 12 15:36:21 2015 (r381107)
@@ -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/
Added: head/sysutils/vpnc-scripts/files/patch-vpnc-script
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/vpnc-scripts/files/patch-vpnc-script Thu Mar 12 15:36:21 2015 (r381107)
@@ -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
More information about the svn-ports-head
mailing list