diff options
author | wiz <wiz> | 2004-09-20 22:58:52 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-09-20 22:58:52 +0000 |
commit | d03278fbc0a11c3fa8e9ee2314a735cc5d8f9a8e (patch) | |
tree | 2c1152e51f3c9c0f03dd1643cadb30bb7a899996 /net | |
parent | 9f82519eec0d9e34b153a8ceceaeb6eee628a7c0 (diff) | |
download | pkgsrc-d03278fbc0a11c3fa8e9ee2314a735cc5d8f9a8e.tar.gz |
Initial import of vpnc-0.2.1.
vpnc is a VPN client for the Cisco 3000 VPN Concentrator, creating
an IPSec-like connection as a tunneling network device for the
local system.
This is a slightly changed version of the pkgsrc-wip/vpnc (by me ;)).
Diffstat (limited to 'net')
-rw-r--r-- | net/vpnc/DESCR | 3 | ||||
-rw-r--r-- | net/vpnc/Makefile | 28 | ||||
-rw-r--r-- | net/vpnc/PLIST | 9 | ||||
-rw-r--r-- | net/vpnc/distinfo | 6 | ||||
-rw-r--r-- | net/vpnc/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/vpnc/patches/patch-ab | 13 |
6 files changed, 74 insertions, 0 deletions
diff --git a/net/vpnc/DESCR b/net/vpnc/DESCR new file mode 100644 index 00000000000..2b8f7509b33 --- /dev/null +++ b/net/vpnc/DESCR @@ -0,0 +1,3 @@ +vpnc is a VPN client for the Cisco 3000 VPN Concentrator, creating +an IPSec-like connection as a tunneling network device for the +local system. diff --git a/net/vpnc/Makefile b/net/vpnc/Makefile new file mode 100644 index 00000000000..eb1b954d58b --- /dev/null +++ b/net/vpnc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/09/20 22:58:52 wiz Exp $ +# + +DISTNAME= vpnc-0.2-rm+zomb.1 +PKGNAME= vpnc-0.2.1 +CATEGORIES= net security +MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ + +MAINTAINER= hubertf@NetBSD.org +HOMEPAGE= http://www.unix-ag.uni-kl.de/~massar/vpnc/ +COMMENT= Client for Cisco3000 VPN Concentrator + +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +ALL_TARGET= vpnc + +do-install: + ${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 + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/vpnc/PLIST b/net/vpnc/PLIST new file mode 100644 index 00000000000..a9ef3506b4d --- /dev/null +++ b/net/vpnc/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/20 22:58:52 wiz Exp $ +bin/vpnc +bin/vpnc-connect +bin/vpnc-disconnect +man/man8/vpnc.8 +share/doc/vpnc/README +share/examples/vpnc/vpnc.conf +@dirrm share/examples/vpnc +@dirrm share/doc/vpnc diff --git a/net/vpnc/distinfo b/net/vpnc/distinfo new file mode 100644 index 00000000000..b26118fbe91 --- /dev/null +++ b/net/vpnc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/09/20 22:58:52 wiz Exp $ + +SHA1 (vpnc-0.2-rm+zomb.1.tar.gz) = 155f15bd886207e177f8d611de72a9f70819db5a +Size (vpnc-0.2-rm+zomb.1.tar.gz) = 54166 bytes +SHA1 (patch-aa) = 7989361e203525bbe68a62ddb2580f851c918bfc +SHA1 (patch-ab) = ef63e1aa4ee01f32e21ccb111ff90fa8a147866c diff --git a/net/vpnc/patches/patch-aa b/net/vpnc/patches/patch-aa new file mode 100644 index 00000000000..240d66157a4 --- /dev/null +++ b/net/vpnc/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/09/20 22:58:52 wiz Exp $ + +--- vpnc.c.orig 2004-05-13 19:24:34.000000000 +0200 ++++ vpnc.c +@@ -2298,8 +2298,8 @@ int main(int argc, char **argv) + else + read_config_file (argv[i], config, 0); + +- read_config_file ("/etc/vpnc/default.conf", config, 1); +- read_config_file ("/etc/vpnc.conf", config, 1); ++ read_config_file (PKG_SYSCONFDIR "/vpnc/default.conf", config, 1); ++ read_config_file (PKG_SYSCONFDIR "/vpnc.conf", config, 1); + + if (!print_config) + for (i = 0; config_names[i].name != NULL; i++) diff --git a/net/vpnc/patches/patch-ab b/net/vpnc/patches/patch-ab new file mode 100644 index 00000000000..4a24cfe54dc --- /dev/null +++ b/net/vpnc/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/09/20 22:58:52 wiz Exp $ + +--- Makefile.orig 2004-05-03 00:10:09.000000000 +0200 ++++ Makefile +@@ -16,7 +16,7 @@ + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + CC=gcc +-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) ++CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\" + LDFLAGS=-g $(shell libgcrypt-config --libs) + + ifeq ($(shell uname -s), Linux) |