Date: Thu, 12 Mar 2015 15:36:21 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381107 - in head/sysutils/vpnc-scripts: . files Message-ID: <201503121536.t2CFaLVJ061805@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503121536.t2CFaLVJ061805>