diff options
author | hubertf <hubertf@pkgsrc.org> | 2006-01-03 21:48:09 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2006-01-03 21:48:09 +0000 |
commit | 3d3cc2a9ff439c09b6f9c4c6f778195d12aab381 (patch) | |
tree | 34343b36332d6305abdce40b9fb406fb74fc564b /net/vpnc/Makefile | |
parent | 8d5b0e5d1cec4241800c6e1db68c945598f64a34 (diff) | |
download | pkgsrc-3d3cc2a9ff439c09b6f9c4c6f778195d12aab381.tar.gz |
Update vpnc to 0.3.3. Changes:
* ignore \r in config files
* (hopefuly) fixed 64bit bugs (Nicolas Boichat and Zach Brown)
* added support for "Split-Net" Routing
* introduced vpnc-script and removed vpnc-connect
* always search for configfiles in /etc/vpnc/ expect if the
filename contains at least one "/"
* only read /etc/vpnc/default.conf and /etc/vpnc.conf if no other
configfiles are provided
* various other fixes contributed by Anton Altaparmakov, Randy
Chou, "krabat", Andre Vanha and Nikolay Sturm
Diffstat (limited to 'net/vpnc/Makefile')
-rw-r--r-- | net/vpnc/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/net/vpnc/Makefile b/net/vpnc/Makefile index f0672b31ae9..2541094a96f 100644 --- a/net/vpnc/Makefile +++ b/net/vpnc/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2005/11/01 03:40:34 tv Exp $ +# $NetBSD: Makefile,v 1.9 2006/01/03 21:48:17 hubertf Exp $ # -DISTNAME= vpnc-0.3.2 +DISTNAME= vpnc-0.3.3 CATEGORIES= net security MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ @@ -15,15 +15,22 @@ USE_TOOLS+= gmake BUILD_TARGET= vpnc INSTALLATION_DIRS= bin man/man8 +USE_PKGINSTALL= yes +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +CONF_FILES+= ${EGDIR}/vpnc.conf ${PKG_SYSCONFDIR}/vpnc.conf +CONF_FILES+= ${EGDIR}/vpnc-script ${PKG_SYSCONFDIR}/vpnc-script +CONF_FILES_MODE= 755 # vpn-script must be executable! + do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc + ${INSTALL_DATA_DIR} ${EGDIR} + : ${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-connect ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${PREFIX}/man/man8 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vpnc - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vpnc - ${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${PREFIX}/share/examples/vpnc + ${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${EGDIR} .include "../../security/libgcrypt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |