1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Update to 0.3.3

PR:		ports/81008
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2005-05-14 12:00:31 +00:00
parent a3fb4e865f
commit 3cfd565994
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135232
4 changed files with 14 additions and 17 deletions

View File

@ -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}

View File

@ -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

View File

@ -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++)

View File

@ -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