diff options
author | will <will@FreeBSD.org> | 2001-05-20 10:31:11 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-05-20 10:31:11 +0800 |
commit | 4dabad7eff7c0f989b211e5505c20bdec9b054bd (patch) | |
tree | ed393fe4dc43b247d9288b71171dbb34687f6e5a /security | |
parent | add8143bac263f0612dd5bd2900e03560ab3769c (diff) | |
download | freebsd-ports-gnome-4dabad7eff7c0f989b211e5505c20bdec9b054bd.tar.gz freebsd-ports-gnome-4dabad7eff7c0f989b211e5505c20bdec9b054bd.tar.zst freebsd-ports-gnome-4dabad7eff7c0f989b211e5505c20bdec9b054bd.zip |
Add isakmpd 20010403, the OpenBSD IKE daemon. About time, too...
PR: 27274
Submitted by: Martti Kuparinen <martti.kuparinen@iki.fi>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/isakmpd/Makefile | 32 | ||||
-rw-r--r-- | security/isakmpd/distinfo | 1 | ||||
-rw-r--r-- | security/isakmpd/files/patch-aa | 15 | ||||
-rw-r--r-- | security/isakmpd/files/patch-ab | 11 | ||||
-rw-r--r-- | security/isakmpd/files/patch-ac | 11 | ||||
-rw-r--r-- | security/isakmpd/files/patch-ba | 10 | ||||
-rw-r--r-- | security/isakmpd/files/patch-ca | 10 | ||||
-rw-r--r-- | security/isakmpd/pkg-comment | 1 | ||||
-rw-r--r-- | security/isakmpd/pkg-descr | 15 | ||||
-rw-r--r-- | security/isakmpd/pkg-plist | 11 |
11 files changed, 118 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 9d5fe95dc2f4..150cf26c3232 100644 --- a/security/Makefile +++ b/security/Makefile @@ -50,6 +50,7 @@ SUBDIR += inflex SUBDIR += integrit SUBDIR += ipfmeta + SUBDIR += isakmpd SUBDIR += its4 SUBDIR += john SUBDIR += keynote diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile new file mode 100644 index 000000000000..63ad10b413ee --- /dev/null +++ b/security/isakmpd/Makefile @@ -0,0 +1,32 @@ +# New ports collection Makefile for: ISAKMP daemon +# Date created: Fri May 11 18:20:02 EEST 2001 +# Whom: Martti Kuparinen <martti.kuparinen@iki.fi> +# +# $FreeBSD$ +# +# NOTE: See NetBSD's /usr/pkgsrc/security/isakmpd if this package +# should be updated! +# + +PORTNAME= isakmpd +PORTVERSION= 20010403 +CATEGORIES= security net +MASTER_SITES= ${MASTER_SITE_NETBSD} +MASTER_SITE_SUBDIR= LOCAL_PORTS + +MAINTAINER= ports@FreeBSD.org + +# this is not compatible with cross build - there's no other way +.if !exists(/usr/include/netinet6/ipsec.h) +BROKEN= "requires IPsec support" +.endif + +USE_SSL= yes +WRKSRC= ${WRKDIR}/isakmpd +MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man + +MAN5= isakmpd.conf.5 isakmpd.policy.5 +MAN8= isakmpd.8 +MANCOMPRESSED= yes + +.include <bsd.port.mk> diff --git a/security/isakmpd/distinfo b/security/isakmpd/distinfo new file mode 100644 index 000000000000..6e68df333aa5 --- /dev/null +++ b/security/isakmpd/distinfo @@ -0,0 +1 @@ +MD5 (isakmpd-20010403.tar.gz) = 9813cb6735983eb00908616bb63a654c diff --git a/security/isakmpd/files/patch-aa b/security/isakmpd/files/patch-aa new file mode 100644 index 000000000000..6685a63fa3d0 --- /dev/null +++ b/security/isakmpd/files/patch-aa @@ -0,0 +1,15 @@ +--- Makefile.orig Fri May 11 17:38:14 2001 ++++ Makefile Fri May 11 17:38:33 2001 +@@ -44,10 +44,10 @@ + # openbsd means 2.5 or newer, openbsd-encap is for older kernels with PF_ENCAP + # linux is the name for Linux with FreeS/WAN integrated, freebsd/netbsd means + # FreeBSD/NetBSD with KAME IPsec. +-OS= openbsd ++#OS= openbsd + #OS= openbsd-encap + #OS= netbsd +-#OS= freebsd ++OS= freebsd + #OS= linux + #OS= bsdi + diff --git a/security/isakmpd/files/patch-ab b/security/isakmpd/files/patch-ab new file mode 100644 index 000000000000..e63051e2e7b9 --- /dev/null +++ b/security/isakmpd/files/patch-ab @@ -0,0 +1,11 @@ +--- samples/Makefile.orig Fri May 11 17:40:05 2001 ++++ samples/Makefile Fri May 11 17:40:30 2001 +@@ -31,7 +31,7 @@ + # + + FILES= VPN-* policy singlehost-* +-TARGETDIR= /usr/share/ipsec/isakmpd ++TARGETDIR= ${PREFIX}/share/examples/isakmpd + + # The mkdir below is for installation on OpenBSD pre 2.7 + install: diff --git a/security/isakmpd/files/patch-ac b/security/isakmpd/files/patch-ac new file mode 100644 index 000000000000..55d66822a832 --- /dev/null +++ b/security/isakmpd/files/patch-ac @@ -0,0 +1,11 @@ +--- apps/certpatch/Makefile.orig Fri May 11 17:50:35 2001 ++++ apps/certpatch/Makefile Fri May 11 17:51:04 2001 +@@ -37,7 +37,7 @@ + + PROG= certpatch + SRCS= certpatch.c +-BINDIR= /usr/sbin ++BINDIR?= /usr/sbin + TOPSRC= ${.CURDIR}/../.. + TOPOBJ!= cd ${TOPSRC}; printf "all:\n\t@pwd\n" |${MAKE} -f- + OS!= awk '/^OS=/ { print $$2 }' ${.CURDIR}/../../Makefile diff --git a/security/isakmpd/files/patch-ba b/security/isakmpd/files/patch-ba new file mode 100644 index 000000000000..f1b370296456 --- /dev/null +++ b/security/isakmpd/files/patch-ba @@ -0,0 +1,10 @@ +--- x509.c.orig Fri May 11 18:13:32 2001 ++++ x509.c Fri May 11 18:14:00 2001 +@@ -545,7 +545,6 @@ + return 0; + } + +- free (x509_policy_asserts); + x509_policy_asserts = new_asserts; + } + diff --git a/security/isakmpd/files/patch-ca b/security/isakmpd/files/patch-ca new file mode 100644 index 000000000000..1b1ac59fa416 --- /dev/null +++ b/security/isakmpd/files/patch-ca @@ -0,0 +1,10 @@ +--- sysdep/freebsd/sysdep-os.h.orig Fri May 11 19:17:49 2001 ++++ sysdep/freebsd/sysdep-os.h Fri May 11 19:18:01 2001 +@@ -44,7 +44,6 @@ + /* We need in_addr_t, in_port_t & socklen_t. */ + typedef u_int32_t in_addr_t; + typedef u_int16_t in_port_t; +-typedef u_int32_t socklen_t; + + #if 0 + /* OpenSSL differs from OpenBSD very slightly... */ diff --git a/security/isakmpd/pkg-comment b/security/isakmpd/pkg-comment new file mode 100644 index 000000000000..e58965602dbb --- /dev/null +++ b/security/isakmpd/pkg-comment @@ -0,0 +1 @@ +OpenBSD IKE daemon diff --git a/security/isakmpd/pkg-descr b/security/isakmpd/pkg-descr new file mode 100644 index 000000000000..795df6d1c23b --- /dev/null +++ b/security/isakmpd/pkg-descr @@ -0,0 +1,15 @@ +This is isakmpd, a BSD-licensed ISAKMP/Oakley (a.k.a. IKE) +implementation. It's written by Niklas Hallqvist and Niels Provos, +funded by Ericsson Radio Systems AB. Currently it is work in +progress, although it can be used for real setups. There are +releases, but this distribution is not a release and is not named with +ordinary version numbers. When you got the source, hopefully the +archive was named with a date which reflects when it was created. +These archives are also known as snapshots and will be created at +irregular intervals and put up on ftp.gsnig.net and ftp.appli.se in +/pub/isakmpd. From Nov 14, 1998 isakmpd is also available in the +OpenBSD main source tree under src/sbin/isakmpd, though slightly +modified because I don't want to carry support files for other OSes in +that distribution. + +WWW: http://www.openbsd.org/ diff --git a/security/isakmpd/pkg-plist b/security/isakmpd/pkg-plist new file mode 100644 index 000000000000..a9f3e8adb9c5 --- /dev/null +++ b/security/isakmpd/pkg-plist @@ -0,0 +1,11 @@ +sbin/isakmpd +share/examples/isakmpd/VPN-3way-template.conf +share/examples/isakmpd/VPN-east.conf +share/examples/isakmpd/VPN-west.conf +share/examples/isakmpd/policy +share/examples/isakmpd/singlehost-east.conf +share/examples/isakmpd/singlehost-east.gdb +share/examples/isakmpd/singlehost-setup.sh +share/examples/isakmpd/singlehost-west.conf +share/examples/isakmpd/singlehost-west.gdb +@dirrm share/examples/isakmpd |