summaryrefslogtreecommitdiff
path: root/security/ipsec-tools/Makefile
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2004-11-09 22:42:20 +0000
committermanu <manu@pkgsrc.org>2004-11-09 22:42:20 +0000
commit5203dfadb54045f875d053c319ee1e98e29661bb (patch)
tree74b2d65ed2a46469c0a41fc256ebd02217c6b83e /security/ipsec-tools/Makefile
parentc13f54b0e4b4e1c0261fdf84ea89d40bc23e2804 (diff)
downloadpkgsrc-5203dfadb54045f875d053c319ee1e98e29661bb.tar.gz
racoon speaks IKE (ISAKMP/Oakley) key management protocol, to
establish IPsec security association with other hosts. This is based on KAME racoon, with some enhancements such as NAT-Traversal (needs a kernel patch), hybrid authentication, ISAKMP mode config, RADIUS support, IKE fragmentation and others. Ipsec-tools' racoon is able to act as a VPN server for the Cisco VPN client using hybrid authentication.
Diffstat (limited to 'security/ipsec-tools/Makefile')
-rw-r--r--security/ipsec-tools/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
new file mode 100644
index 00000000000..75805f8ba3f
--- /dev/null
+++ b/security/ipsec-tools/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/09 22:42:20 manu Exp $
+#
+
+DISTNAME= ipsec-tools-0.5.pre20041109
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipsec-tools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= manu@NetBSD.org
+HOMEPAGE= http://ovh.dl.sourceforge.net/sourceforge/ipsec-tools/
+COMMENT= Ipsec-tools racoon IKE daemon
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-libradius --enable-natt
+CONFIGURE_ARGS+= --enable-frag --enable-hybrid
+
+BUILDLINK_DEPMETHOD.libradius-linux?= build
+
+BUILD_DEPEND+= libradius-linux>=20040827nb1:../../net/libradius
+
+SAMPLE_DIR= ${WRKSRC}/src/racoon/samples
+EXAMPLE_DIR= ${PREFIX}/share/examples/ipsec-tools
+post-install:
+ ${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/psk.txt ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/psk.txt.in ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/psk.txt.sample ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.in ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample-cvpn ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample-gssapi ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample-inherit ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample-natt ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${SAMPLE_DIR}/racoon.conf.sample-plainrsa ${EXAMPLE_DIR}
+
+.include "../../net/libradius/buildlink3.mk" ${EXAMPLE_DIR}
+.include "../../mk/bsd.pkg.mk" ${EXAMPLE_DIR}