aboutsummaryrefslogtreecommitdiffstats
path: root/security/vpnc
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-03-02 00:29:28 +0800
committermarkus <markus@FreeBSD.org>2004-03-02 00:29:28 +0800
commit0b8ea82b59ca03ee895c0a661035d5421ef7a4f4 (patch)
tree3e74bc77677cb5c5bbd6c5f726765a383c2fa715 /security/vpnc
parentaad57664eafd4c68f39879310152c492a4570e8e (diff)
downloadfreebsd-ports-gnome-0b8ea82b59ca03ee895c0a661035d5421ef7a4f4.tar.gz
freebsd-ports-gnome-0b8ea82b59ca03ee895c0a661035d5421ef7a4f4.tar.zst
freebsd-ports-gnome-0b8ea82b59ca03ee895c0a661035d5421ef7a4f4.zip
- use tun0 as default-interface
- fix install of startscript Approved by: Christian Lackas <delta@lackas.net> (maintainer) arved (mentor)
Diffstat (limited to 'security/vpnc')
-rw-r--r--security/vpnc/Makefile6
-rw-r--r--security/vpnc/files/patch-vpnc.conf8
2 files changed, 11 insertions, 3 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index ab8bad8bd339..e91782d738c7 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -32,9 +32,9 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
- @${INSTALL_SCRIPT} -m 755 ${FILESDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
- ${PREFIX}/etc/rc.d/vpnc.sh.sample
+ @${CP} ${FILESDIR}/vpnc.sh ${WRKDIR}
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKDIR}/vpnc.sh
+ @${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample
@${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample
.if !defined(NO_INSTALL_MANPAGES)
@${INSTALL_MAN} ${FILESDIR}/vpnc.8 ${PREFIX}/man/man8
diff --git a/security/vpnc/files/patch-vpnc.conf b/security/vpnc/files/patch-vpnc.conf
new file mode 100644
index 000000000000..a20010fcb187
--- /dev/null
+++ b/security/vpnc/files/patch-vpnc.conf
@@ -0,0 +1,8 @@
+--- vpnc.conf.orig Mon Mar 1 16:04:25 2004
++++ vpnc.conf Sun Oct 26 05:39:27 2003
+@@ -1,4 +1,4 @@
+-Interface name vpnunikl
++Interface name tun0
+ IKE DH Group dh2
+ Perfect Forward Secrecy nopfs
+ IPSec gateway 131.246.118.240