View | Details | Raw Unified | Return to bug 81008
Collapse All | Expand All

(-)vpnc/Makefile (-5 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	vpnc
8
PORTNAME=	vpnc
9
PORTVERSION=	0.3.2
9
PORTVERSION=	0.3.3
10
PORTREVISION=	2
10
PORTREVISION=	2
11
CATEGORIES=	security
11
CATEGORIES=	security
12
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/:source \
12
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/:source \
Lines 28-37 Link Here
28
28
29
.include <bsd.port.pre.mk>
29
.include <bsd.port.pre.mk>
30
30
31
.if ${ARCH} == "amd64"
32
IGNORE=		"Crashes on startup"
33
.endif
34
35
post-patch:
31
post-patch:
36
	@${REINPLACE_CMD} -e \
32
	@${REINPLACE_CMD} -e \
37
		's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
33
		's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
Lines 41-46 Link Here
41
37
42
do-install:
38
do-install:
43
	@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
39
	@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
40
	@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script
44
	@${INSTALL_SCRIPT} ${DISTDIR}/${STARTSCRIPT} ${WRKDIR}/vpnc.sh-fulltunnel
41
	@${INSTALL_SCRIPT} ${DISTDIR}/${STARTSCRIPT} ${WRKDIR}/vpnc.sh-fulltunnel
45
	@${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' ${WRKDIR}/vpnc.sh-fulltunnel
42
	@${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' ${WRKDIR}/vpnc.sh-fulltunnel
46
	@${INSTALL_SCRIPT} ${FILESDIR}/vpnc.sh ${WRKDIR}
43
	@${INSTALL_SCRIPT} ${FILESDIR}/vpnc.sh ${WRKDIR}
(-)vpnc/distinfo (-2 / +2 lines)
Lines 1-4 Link Here
1
MD5 (vpnc-0.3.2.tar.gz) = aaccdffc5656095a45dfe87c5bf612cb
1
MD5 (vpnc-0.3.3.tar.gz) = e7518cff21326fe7eb9795b60c25ae6a
2
SIZE (vpnc-0.3.2.tar.gz) = 56669
2
SIZE (vpnc-0.3.3.tar.gz) = 59939
3
MD5 (vpnc-wrapper-1.25) = 8c4a0dfc6053ec180cfcf11fc2ab04c7
3
MD5 (vpnc-wrapper-1.25) = 8c4a0dfc6053ec180cfcf11fc2ab04c7
4
SIZE (vpnc-wrapper-1.25) = 12484
4
SIZE (vpnc-wrapper-1.25) = 12484
(-)vpnc/files/patch-config.c (-9 / +9 lines)
Lines 1-13 Link Here
1
--- config.c.dist	Wed Nov 17 15:07:24 2004
1
--- config.c.orig	Sat May 14 13:20:11 2005
2
+++ config.c	Wed Nov 17 15:07:33 2004
2
+++ config.c	Sat May 14 13:20:51 2005
3
@@ -479,8 +479,8 @@
3
@@ -520,8 +520,8 @@
4
 		}
5
 	}
4
 	}
6
 
5
 
7
-	read_config_file("/etc/vpnc/default.conf", config, 1);
6
 	if (!got_conffile) {
8
-	read_config_file("/etc/vpnc.conf", config, 1);
7
-		read_config_file("/etc/vpnc/default.conf", config, 1);
9
+	read_config_file("%%PREFIX%%/etc/vpnc/default.conf", config, 1);
8
-		read_config_file("/etc/vpnc.conf", config, 1);
10
+	read_config_file("%%PREFIX%%/etc/vpnc.conf", config, 1);
9
+		read_config_file("%%PREFIX%%/etc/vpnc/default.conf", config, 1);
10
+		read_config_file("%%PREFIX%%/etc/vpnc.conf", config, 1);
11
 	}
11
 
12
 
12
 	if (!print_config) {
13
 	if (!print_config) {
13
 		for (i = 0; config_names[i].name != NULL; i++)
(-)vpnc/pkg-plist (+1 lines)
Lines 1-4 Link Here
1
sbin/vpnc
1
sbin/vpnc
2
sbin/vpnc-script
2
etc/vpnc.conf.sample
3
etc/vpnc.conf.sample
3
etc/rc.d/vpnc.sh.sample
4
etc/rc.d/vpnc.sh.sample
4
etc/rc.d/vpnc.sh.sample-fulltunnel
5
etc/rc.d/vpnc.sh.sample-fulltunnel

Return to bug 81008