diff options
author | markus <markus@FreeBSD.org> | 2004-03-01 16:29:28 +0000 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2004-03-01 16:29:28 +0000 |
commit | 0b8ea82b59ca03ee895c0a661035d5421ef7a4f4 (patch) | |
tree | 3e74bc77677cb5c5bbd6c5f726765a383c2fa715 /security/vpnc | |
parent | aad57664eafd4c68f39879310152c492a4570e8e (diff) | |
download | FreeBSD-ports-0b8ea82b59ca03ee895c0a661035d5421ef7a4f4.zip FreeBSD-ports-0b8ea82b59ca03ee895c0a661035d5421ef7a4f4.tar.gz |
- 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/Makefile | 6 | ||||
-rw-r--r-- | security/vpnc/files/patch-vpnc.conf | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile index ab8bad8..e91782d 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 0000000..a20010f --- /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 |