diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-14 12:00:31 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-05-14 12:00:31 +0000 |
commit | 3cfd56599484fc7e3118196115d944173681f645 (patch) | |
tree | 011d8aa90b126811a26002b8e8ce418fbe390328 /security/vpnc | |
parent | a3fb4e865fe86f63cfb2adf4138dd3cbbd177e44 (diff) | |
download | ports-3cfd56599484fc7e3118196115d944173681f645.tar.gz ports-3cfd56599484fc7e3118196115d944173681f645.zip |
Notes
Diffstat (limited to 'security/vpnc')
-rw-r--r-- | security/vpnc/Makefile | 8 | ||||
-rw-r--r-- | security/vpnc/distinfo | 4 | ||||
-rw-r--r-- | security/vpnc/files/patch-config.c | 18 | ||||
-rw-r--r-- | security/vpnc/pkg-plist | 1 |
4 files changed, 14 insertions, 17 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile index 39f642f05b47..43306be6883a 100644 --- a/security/vpnc/Makefile +++ b/security/vpnc/Makefile @@ -6,8 +6,7 @@ # PORTNAME= vpnc -PORTVERSION= 0.3.2 -PORTREVISION= 2 +PORTVERSION= 0.3.3 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/:source \ http://dragon.roe.ch/mirrors/distfiles/vpnc/:script @@ -28,10 +27,6 @@ MAN8= vpnc.8 .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -IGNORE= "Crashes on startup" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c @@ -41,6 +36,7 @@ post-patch: do-install: @${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc + @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script @${INSTALL_SCRIPT} ${DISTDIR}/${STARTSCRIPT} ${WRKDIR}/vpnc.sh-fulltunnel @${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' ${WRKDIR}/vpnc.sh-fulltunnel @${INSTALL_SCRIPT} ${FILESDIR}/vpnc.sh ${WRKDIR} diff --git a/security/vpnc/distinfo b/security/vpnc/distinfo index b594b2bedab5..4986f468b4f0 100644 --- a/security/vpnc/distinfo +++ b/security/vpnc/distinfo @@ -1,4 +1,4 @@ -MD5 (vpnc-0.3.2.tar.gz) = aaccdffc5656095a45dfe87c5bf612cb -SIZE (vpnc-0.3.2.tar.gz) = 56669 +MD5 (vpnc-0.3.3.tar.gz) = e7518cff21326fe7eb9795b60c25ae6a +SIZE (vpnc-0.3.3.tar.gz) = 59939 MD5 (vpnc-wrapper-1.25) = 8c4a0dfc6053ec180cfcf11fc2ab04c7 SIZE (vpnc-wrapper-1.25) = 12484 diff --git a/security/vpnc/files/patch-config.c b/security/vpnc/files/patch-config.c index 3c88084fde07..06ba2d56c0d1 100644 --- a/security/vpnc/files/patch-config.c +++ b/security/vpnc/files/patch-config.c @@ -1,13 +1,13 @@ ---- config.c.dist Wed Nov 17 15:07:24 2004 -+++ config.c Wed Nov 17 15:07:33 2004 -@@ -479,8 +479,8 @@ - } +--- config.c.orig Sat May 14 13:20:11 2005 ++++ config.c Sat May 14 13:20:51 2005 +@@ -520,8 +520,8 @@ } -- read_config_file("/etc/vpnc/default.conf", config, 1); -- read_config_file("/etc/vpnc.conf", config, 1); -+ read_config_file("%%PREFIX%%/etc/vpnc/default.conf", config, 1); -+ read_config_file("%%PREFIX%%/etc/vpnc.conf", config, 1); + if (!got_conffile) { +- read_config_file("/etc/vpnc/default.conf", config, 1); +- read_config_file("/etc/vpnc.conf", config, 1); ++ read_config_file("%%PREFIX%%/etc/vpnc/default.conf", config, 1); ++ read_config_file("%%PREFIX%%/etc/vpnc.conf", config, 1); + } if (!print_config) { - for (i = 0; config_names[i].name != NULL; i++) diff --git a/security/vpnc/pkg-plist b/security/vpnc/pkg-plist index 131ca3c84ee0..3bded1bccdd8 100644 --- a/security/vpnc/pkg-plist +++ b/security/vpnc/pkg-plist @@ -1,4 +1,5 @@ sbin/vpnc +sbin/vpnc-script etc/vpnc.conf.sample etc/rc.d/vpnc.sh.sample etc/rc.d/vpnc.sh.sample-fulltunnel |