diff options
author | itojun <itojun@pkgsrc.org> | 2000-04-04 03:01:11 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-04-04 03:01:11 +0000 |
commit | 81c5439e1e346d0bc00cf2040ecbc312c4c23f2f (patch) | |
tree | 27862d5bc894b5ecbe35033f5a0d285810088f26 /security/racoon | |
parent | 36fad73f6d3a86c2a1e290fdf7c5c5bbd0f1164e (diff) | |
download | pkgsrc-81c5439e1e346d0bc00cf2040ecbc312c4c23f2f.tar.gz |
pkgsrc build for racoon IKE daemon
Diffstat (limited to 'security/racoon')
-rw-r--r-- | security/racoon/Makefile | 45 | ||||
-rw-r--r-- | security/racoon/files/Makefile.libpfkey | 16 | ||||
-rw-r--r-- | security/racoon/files/patch-sum | 3 | ||||
-rw-r--r-- | security/racoon/patches/patch-aa | 23 | ||||
-rw-r--r-- | security/racoon/pkg/COMMENT | 1 | ||||
-rw-r--r-- | security/racoon/pkg/DESCR | 2 | ||||
-rw-r--r-- | security/racoon/pkg/PLIST | 11 |
7 files changed, 101 insertions, 0 deletions
diff --git a/security/racoon/Makefile b/security/racoon/Makefile new file mode 100644 index 00000000000..59966feadde --- /dev/null +++ b/security/racoon/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/04/04 03:01:11 itojun Exp $ +# + +DISTNAME= racoon-0.0 +CATEGORIES= security net + +MAINTAINER= itojun@kame.net +HOMEPAGE= http:/www.kame.net/ + +# openssl is necessary for RSA libraries +DEPENDS+= openssl-0.9.4:../../security/openssl + +CONFLICTS+= racoon-* + +# crypto-intl configuration. needs "cvs login". +ANONCVS= :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot +INTL= intl +# crypto-us configuration. needs "CVS_RSH = ssh". not tested. +#ANONCVS= anoncvs@anoncvs.netbsd.org:/cvsroot +#INTL= us + +WRKSRC= ${WRKDIR}/racoon + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--enable-debug +.if defined(USE_INET6) && ${USE_INET6} == "YES" +CONFIGURE_ARGS+=--enable-ipv6 +.else +CONFIGURE_ARGS+=--disable-ipv6 +.endif + +do-fetch:: + +do-extract: + ${MKDIR} ${WRKDIR} + (cd ${WRKDIR}; cvs -d ${ANONCVS} co -P -d racoon \ + cryptosrc-${INTL}/crypto-${INTL}/dist/kame/racoon) + (cd ${WRKDIR}; cvs -d ${ANONCVS} co -P -d libpfkey \ + cryptosrc-${INTL}/crypto-${INTL}/dist/kame/libpfkey) + ${CP} ${FILESDIR}/Makefile.libpfkey ${WRKDIR}/libpfkey/Makefile + +pre-build: + (cd ${WRKDIR}/libpfkey; make) + +.include "../../mk/bsd.pkg.mk" diff --git a/security/racoon/files/Makefile.libpfkey b/security/racoon/files/Makefile.libpfkey new file mode 100644 index 00000000000..ae69e8d9df8 --- /dev/null +++ b/security/racoon/files/Makefile.libpfkey @@ -0,0 +1,16 @@ +# $NetBSD: Makefile.libpfkey,v 1.1.1.1 2000/04/04 03:01:12 itojun Exp $ + +LIB= pfkey +SRCS= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c + +CPPFLAGS+=-I${.CURDIR} + +NOMAN= yes +MKPIC= no +MKPROFILE=no +MKLINT= no + +# only needed during build +libinstall:: + +.include <bsd.lib.mk> diff --git a/security/racoon/files/patch-sum b/security/racoon/files/patch-sum new file mode 100644 index 00000000000..841c8f958c8 --- /dev/null +++ b/security/racoon/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/04/04 03:01:12 itojun Exp $ + +MD5 (patch-aa) = 610bc105ac4381b5ec6ffb0218124d0c diff --git a/security/racoon/patches/patch-aa b/security/racoon/patches/patch-aa new file mode 100644 index 00000000000..8cc41c6beb2 --- /dev/null +++ b/security/racoon/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/04/04 03:01:12 itojun Exp $ +--- Makefile.in.orig Mon Apr 3 19:34:51 2000 ++++ Makefile.in Mon Apr 3 19:38:45 2000 +@@ -9,7 +9,7 @@ + OPTFLAG=@OPTFLAG@ + CFLAGS= @CFLAGS@ @CPPFLAGS@ @DEFS@ $(CPPFLAGS) $(OPTFLAG) -DIPSEC -I. -I$(srcdir) -Dss_family=__ss_family -Dss_len=__ss_len -DSYSCONFDIR=\"${sysconfdir}\" + CFLAGS+=-DYY_NO_UNPUT +-LIBS= @LIBS@ ++LIBS= @LIBS@ -L${srcdir}/../libpfkey -lpfkey + YFLAGS+=-d + + prefix= @prefix@ +@@ -78,10 +78,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/pkg/COMMENT b/security/racoon/pkg/COMMENT new file mode 100644 index 00000000000..252204b81ad --- /dev/null +++ b/security/racoon/pkg/COMMENT @@ -0,0 +1 @@ +KAME racoon IKE daemon diff --git a/security/racoon/pkg/DESCR b/security/racoon/pkg/DESCR new file mode 100644 index 00000000000..233c3e741a8 --- /dev/null +++ b/security/racoon/pkg/DESCR @@ -0,0 +1,2 @@ +racoon speaks IKE (ISAKMP/Oakley) key management protocol, to +establish security association with other hosts. diff --git a/security/racoon/pkg/PLIST b/security/racoon/pkg/PLIST new file mode 100644 index 00000000000..ef58d288fc4 --- /dev/null +++ b/security/racoon/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/04/04 03:01:12 itojun Exp $ +sbin/racoon +man/man8/racoon.8 +man/man5/racoon.conf.5 +etc/racoon/basic.conf.dist +etc/racoon/policy.conf.dist +etc/racoon/psk.txt.dist +etc/racoon/racoon.conf.dist +etc/racoon/remote.conf.dist +etc/racoon/sa.conf.dist +@dirrm etc/racoon |