summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-11-18 14:22:26 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-11-18 14:22:26 +0000
commiteca4a66c7832bfffde97201273098b9b34d80465 (patch)
tree9aa5cd7676f5565e5167c9cb232a7c5e915e4645 /security
parentUpdate to 20051118 (diff)
Racoon is now maintained in security/ipsec-tools.
Notes
Notes: svn path=/head/; revision=148726
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/racoon/Makefile51
-rw-r--r--security/racoon/distinfo2
-rw-r--r--security/racoon/files/patch-aa20
-rw-r--r--security/racoon/files/patch-ab22
-rw-r--r--security/racoon/files/patch-ac11
-rw-r--r--security/racoon/files/patch-ad13
-rw-r--r--security/racoon/files/patch-pfkey_dump.c20
-rw-r--r--security/racoon/files/racoon.sh42
-rw-r--r--security/racoon/pkg-descr18
-rw-r--r--security/racoon/pkg-plist5
11 files changed, 0 insertions, 205 deletions
diff --git a/security/Makefile b/security/Makefile
index dfefc99ac5c1..e9de56d5d335 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -451,7 +451,6 @@
SUBDIR += qident
SUBDIR += qtfw
SUBDIR += quintuple-agent
- SUBDIR += racoon
SUBDIR += racoon2
SUBDIR += radiusniff
SUBDIR += rain
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
deleted file mode 100644
index 2ba905de2415..000000000000
--- a/security/racoon/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# New ports collection makefile for: racoon
-# Date created: 4 July 2000
-# Whom: sumikawa
-#
-# $FreeBSD$
-#
-
-PORTNAME= racoon
-PORTVERSION= 20050510a
-CATEGORIES= security net ipv6
-MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
-
-MAINTAINER= sumikawa@FreeBSD.org
-COMMENT= KAME racoon IKE daemon
-
-CONFLICTS= ipsec-tools-[0-9]*
-
-USE_RC_SUBR= YES
-USE_OPENSSL= YES
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/racoon
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include CFLAGS=-I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -L${WRKSRC}/../libipsec
-CONFIGURE_ARGS+=--enable-debug
-CONFIGURE_ARGS+=--enable-ipv6
-CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc
-CONFIGURE_ARGS+=--with-pkgversion=freebsd-${PORTVERSION}
-
-MAN5= racoon.conf.5
-MAN8= racoon.8
-
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
- RC_SUBR=${RC_SUBR}
-
-pre-patch:
- ${MV} ${WRKSRC}/racoon.8 ${WRKSRC}/racoon.8.in
-
-pre-configure:
- (cd ${WRKSRC}/../libipsec; make)
-
-post-install:
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/racoon.sh > ${PREFIX}/etc/rc.d/racoon.sh
- @${CHMOD} +x ${PREFIX}/etc/rc.d/racoon.sh
- @if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \
- ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
- ${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \
- fi ;
-
-.include <bsd.port.mk>
diff --git a/security/racoon/distinfo b/security/racoon/distinfo
deleted file mode 100644
index 2ef8af27d24d..000000000000
--- a/security/racoon/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (racoon-20050510a.tar.gz) = 50a43fa2151e52aa138922fdd9466691
-SIZE (racoon-20050510a.tar.gz) = 398231
diff --git a/security/racoon/files/patch-aa b/security/racoon/files/patch-aa
deleted file mode 100644
index b9e78afe4ac3..000000000000
--- a/security/racoon/files/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../libipsec/Makefile.orig Sun Jun 11 23:54:31 2000
-+++ ../libipsec/Makefile Tue Oct 17 01:06:10 2000
-@@ -25,12 +25,13 @@
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- # SUCH DAMAGE.
-
--.if exists(${.CURDIR}/../Makefile.opsys)
--.include "${.CURDIR}/../Makefile.opsys"
--.endif
-+#.if exists(${.CURDIR}/../Makefile.opsys)
-+#.include "${.CURDIR}/../Makefile.opsys"
-+#.endif
-+OPSYS!= uname -s
-
- LIB= ipsec
--CFLAGS+=-g
-+CFLAGS+=-g -I.
- .if (${OPSYS} != "NetBSD")
- CFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
- .else
diff --git a/security/racoon/files/patch-ab b/security/racoon/files/patch-ab
deleted file mode 100644
index e5fb29c03f60..000000000000
--- a/security/racoon/files/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.in.orig Fri Sep 27 07:04:59 2002
-+++ Makefile.in Thu Nov 21 22:28:50 2002
-@@ -7,7 +7,7 @@
- LDFLAGS=@LDFLAGS@
- CPPFLAGS= @CPPFLAGS@
- OPTFLAG=@OPTFLAG@
--CFLAGS= @CFLAGS@ $(CPPFLAGS) @DEFS@ $(CPPFLAGS) $(OPTFLAG) -DIPSEC -I. -I$(srcdir) -DSYSCONFDIR=\"${sysconfdir}\"
-+CFLAGS= @CFLAGS@ $(CPPFLAGS) @DEFS@ $(CPPFLAGS) $(OPTFLAG) -DIPSEC -I. -I$(srcdir) -DSYSCONFDIR=\"${sysconfdir}/racoon\"
- CFLAGS+=-DYY_NO_UNPUT
- CFLAGS+=-I${srcdir}/../libipsec
- LIBS= @LIBS@
-@@ -88,10 +88,6 @@
- $(INSTALL) -o bin -g bin -m 444 racoon.conf.5 $(mandir)/man5
- -mkdir -p ${sysconfdir}/racoon
- for i in $(CONF); do \
-- if test ! -f ${sysconfdir}/racoon/$$i; then \
-- $(INSTALL) -o bin -g bin -m 444 samples/$$i \
-- ${sysconfdir}/racoon; \
-- fi; \
- $(INSTALL) -o bin -g bin -m 444 samples/$$i \
- ${sysconfdir}/racoon/$$i.dist; \
- done
diff --git a/security/racoon/files/patch-ac b/security/racoon/files/patch-ac
deleted file mode 100644
index ee9eba403dd1..000000000000
--- a/security/racoon/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure- Wed Jul 5 16:18:19 2000
-+++ configure Wed Jul 5 16:18:32 2000
-@@ -4021,7 +4021,7 @@
-
- cat >> $CONFIG_STATUS <<EOF
-
--CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf"}
-+CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf racoon.8"}
- EOF
- cat >> $CONFIG_STATUS <<\EOF
- for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/security/racoon/files/patch-ad b/security/racoon/files/patch-ad
deleted file mode 100644
index 8b8fb3b81fe0..000000000000
--- a/security/racoon/files/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
---- racoon.8.in.orig Tue Jul 4 21:27:59 2000
-+++ racoon.8.in Wed Jul 5 16:17:43 2000
-@@ -97,8 +97,8 @@
- .El
- .\"
- .Sh FILES
--.Bl -tag -width /usr/local/v6/etc/racoon.conf -compact
--.It Pa /usr/local/v6/etc/racoon.conf
-+.Bl -tag -width @sysconfdir@/racoon/racoon.conf -compact
-+.It Pa @sysconfdir@/racoon/racoon.conf
- default configuration file.
- .It Pa /var/log/racoon.log
- default log file.
diff --git a/security/racoon/files/patch-pfkey_dump.c b/security/racoon/files/patch-pfkey_dump.c
deleted file mode 100644
index d05adf29811b..000000000000
--- a/security/racoon/files/patch-pfkey_dump.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../libipsec/pfkey_dump.c.orig Mon Jan 31 17:25:28 2005
-+++ ../libipsec/pfkey_dump.c Tue May 10 13:00:38 2005
-@@ -532,7 +532,7 @@ str_prefport(family, pref, port, ulp)
- else
- snprintf(prefbuf, sizeof(prefbuf), "/%u", pref);
-
-- if (ulp == IPPROTO_ICMPV6 || ulp == IPPROTO_MH)
-+ if (ulp == IPPROTO_ICMPV6)
- memset(portbuf, 0, sizeof(portbuf));
- else {
- if (port == IPSEC_PORT_ANY)
-@@ -570,8 +570,6 @@
- else
- printf("%u", ulp);
-
-- if (ulp == IPPROTO_MH && p1 != 0)
-- printf(" %u", p1);
- endprotoent();
- break;
- }
diff --git a/security/racoon/files/racoon.sh b/security/racoon/files/racoon.sh
deleted file mode 100644
index ecde585dad87..000000000000
--- a/security/racoon/files/racoon.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-# Start or stop racoon
-# $FreeBSD$
-
-# PROVIDE: racoon
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: FreeBSD shutdown
-#
-# NOTE for FreeBSD 5.0+:
-# If you want this script to start with the base rc scripts
-# move racoon.sh to /etc/rc.d/racoon
-
-prefix=%%PREFIX%%
-
-# Define these racoon_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/racoon
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-[ -z "$racoon_enable" ] && racoon_enable="YES" # Enable racoon
-#racoon_program="${prefix}/sbin/racoon" # Location of racoon
-#racoon_flags="" # Flags to racoon program
-
-. %%RC_SUBR%%
-
-name="racoon"
-rcvar=`set_rcvar`
-command="${prefix}/sbin/racoon"
-pidfile="/var/run/racoon.pid"
-required_files="${prefix}/etc/racoon/racoon.conf"
-stop_postcmd="racoon_poststop"
-
-racoon_poststop() {
- /bin/rm -f ${pidfile}
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/security/racoon/pkg-descr b/security/racoon/pkg-descr
deleted file mode 100644
index 9470793d9b4b..000000000000
--- a/security/racoon/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-racoon speaks IKE (ISAKMP/Oakley) key management protocol, to
-establish security association with other hosts.
-
-Known issues:
-- Too many use of dynamic memory allocation, which leads to memory leak.
-- Non-threaded implementation. Simultaneous key negotiation performance
- should be improved.
-- Cannot negotiate keys for per-socket policy.
-- Cryptic configuration syntax - blame IPsec specification too...
-- Needs more documentation.
-
-Design choice, not a bug:
-- racoon negotiate IPsec keys only. It does not negotiate policy. Policy must
- be configured into the kernel separately from racoon. If you want to
- support roaming clients, you may need to have a mechanism to put policy
- for the roaming client after phase 1 finishes.
-
-WWW: http://www.kame.net/
diff --git a/security/racoon/pkg-plist b/security/racoon/pkg-plist
deleted file mode 100644
index d9c289662081..000000000000
--- a/security/racoon/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-sbin/racoon
-etc/racoon/psk.txt.dist
-etc/racoon/racoon.conf.dist
-etc/rc.d/racoon.sh
-@unexec rmdir %D/etc/racoon 2>/dev/null || true