aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2012-05-27 23:29:06 +0800
committerzi <zi@FreeBSD.org>2012-05-27 23:29:06 +0800
commitb0881fd88eac9668088764ac245bce80f7197c9d (patch)
tree32062280f5c6b5a70340e38d7394c0fa94b32e34 /security
parent8ec6cfa23cc195711804f782ad7b429de5d8a6db (diff)
downloadfreebsd-ports-gnome-b0881fd88eac9668088764ac245bce80f7197c9d.tar.gz
freebsd-ports-gnome-b0881fd88eac9668088764ac245bce80f7197c9d.tar.zst
freebsd-ports-gnome-b0881fd88eac9668088764ac245bce80f7197c9d.zip
- Use sysutils/vpnc-scripts instead of builtin version
- Bump PORTREVISION Approved by: ehaupt@ (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/vpnc/Makefile4
-rw-r--r--security/vpnc/pkg-plist1
2 files changed, 2 insertions, 3 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index cce212d02e48..9435d3260227 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpnc
PORTVERSION= 0.5.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
CRITICAL
@@ -16,6 +16,7 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Client for Cisco 3000 VPN Concentrator
LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt
+RUN_DEPENDS= vpnc-script:${PORTSDIR}/sysutils/vpnc-scripts
USE_GMAKE= yes
USE_PERL5_BUILD=yes
@@ -64,7 +65,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.endif
- ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-disconnect ${PREFIX}/sbin/vpnc-disconnect
${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample
.if !exists(${PREFIX}/etc/vpnc.conf)
diff --git a/security/vpnc/pkg-plist b/security/vpnc/pkg-plist
index 157b58c22756..3f6056e4746e 100644
--- a/security/vpnc/pkg-plist
+++ b/security/vpnc/pkg-plist
@@ -1,5 +1,4 @@
sbin/vpnc
-sbin/vpnc-script
sbin/vpnc-disconnect
%%DECRYPT%%bin/cisco-decrypt
@unexec if cmp -s %D/etc/vpnc.conf %D/etc/vpnc.conf.sample; then rm -f %D/etc/vpnc.conf; fi