diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-09-04 14:20:45 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-09-04 14:20:45 +0000 |
commit | 9dccd11f781c98960516b6de2109fec0ca579c9a (patch) | |
tree | 611ff6010583f6183f44028ff31a9a1f3a465fc1 /security/vpnc | |
parent | 2f3f9c1707a4464a4602ae11526a158e787ceba0 (diff) | |
download | ports-9dccd11f781c98960516b6de2109fec0ca579c9a.tar.gz ports-9dccd11f781c98960516b6de2109fec0ca579c9a.zip |
Notes
Diffstat (limited to 'security/vpnc')
-rw-r--r-- | security/vpnc/Makefile | 16 | ||||
-rw-r--r-- | security/vpnc/files/patch-config.c | 12 | ||||
-rw-r--r-- | security/vpnc/pkg-plist | 9 |
3 files changed, 18 insertions, 19 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile index 2d881a45e8c0..7558bead6503 100644 --- a/security/vpnc/Makefile +++ b/security/vpnc/Makefile @@ -7,22 +7,26 @@ PORTNAME= vpnc PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= delta@lackas.net COMMENT= Client for Cisco 3000 VPN Concentrator LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt -STARTSCRIPT= vpnc-wrapper-1.25 USE_GMAKE= yes USE_REINPLACE= yes ALL_TARGET= vpnc +PLIST_FILES= sbin/vpnc \ + sbin/vpnc-script \ + sbin/vpnc-disconnect \ + etc/vpnc.conf.sample \ + etc/rc.d/vpnc.sh.sample + +PORTDOCS= README ChangeLog TODO MAN8= vpnc.8 .include <bsd.port.pre.mk> @@ -48,9 +52,7 @@ do-install: .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif post-install: diff --git a/security/vpnc/files/patch-config.c b/security/vpnc/files/patch-config.c index da017cb6df89..9a3fe1a6f43e 100644 --- a/security/vpnc/files/patch-config.c +++ b/security/vpnc/files/patch-config.c @@ -1,6 +1,6 @@ ---- config.c.bak Sun May 15 15:06:20 2005 -+++ config.c Sun May 15 15:06:52 2005 -@@ -125,7 +125,7 @@ +--- config.c.orig Sun May 1 22:06:36 2005 ++++ config.c Tue Aug 2 20:18:29 2005 +@@ -125,12 +125,12 @@ static const char *config_def_script(void) { @@ -9,6 +9,12 @@ } static const char *config_def_pid_file(void) + { +- return "/var/run/vpnc/pid"; ++ return "/var/run/vpnc.pid"; + } + + static const struct config_names_s { @@ -520,8 +520,8 @@ } diff --git a/security/vpnc/pkg-plist b/security/vpnc/pkg-plist deleted file mode 100644 index db37548aa25c..000000000000 --- a/security/vpnc/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -sbin/vpnc -sbin/vpnc-script -sbin/vpnc-disconnect -etc/vpnc.conf.sample -etc/rc.d/vpnc.sh.sample -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% |