diff options
Diffstat (limited to 'security/racoon2')
-rw-r--r-- | security/racoon2/Makefile | 69 | ||||
-rw-r--r-- | security/racoon2/distinfo | 3 | ||||
-rw-r--r-- | security/racoon2/files/patch-Makefile.am | 10 | ||||
-rw-r--r-- | security/racoon2/files/patch-configure.ac | 34 | ||||
-rw-r--r-- | security/racoon2/files/patch-iked__ikev2_child.c | 11 | ||||
-rw-r--r-- | security/racoon2/files/patch-kinkd_pathnames.h | 11 | ||||
-rw-r--r-- | security/racoon2/files/patch-lib_if__pfkkeyv2.h | 10 | ||||
-rw-r--r-- | security/racoon2/files/patch-pskgen_Makefile.am | 7 | ||||
-rw-r--r-- | security/racoon2/files/patch-samples_Makefile.am | 11 | ||||
-rw-r--r-- | security/racoon2/files/patch-samples_init.d_Makefile.am | 8 | ||||
-rw-r--r-- | security/racoon2/files/patch-samples_rc.d_Makefile.am | 9 | ||||
-rw-r--r-- | security/racoon2/files/patch-spmd-spmd_internal.h | 11 | ||||
-rw-r--r-- | security/racoon2/pkg-descr | 16 | ||||
-rw-r--r-- | security/racoon2/pkg-plist | 54 |
14 files changed, 0 insertions, 264 deletions
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile deleted file mode 100644 index 8365b8c5cd1b..000000000000 --- a/security/racoon2/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -PORTNAME= racoon2 -PORTVERSION= ${RACOON2_COMMIT_DATE} -PORTREVISION= 2 -CATEGORIES= security net -HASH= 7ee335e -RACOON2_COMMIT_DATE=202000908 - -MAINTAINER= cy@FreeBSD.org -COMMENT= Racoon2 IPsec daemon -WWW= https://github.com/zoulasc/racoon2 - -CONFLICTS= racoon2-legacy - -USE_GITHUB= yes -GH_ACCOUNT= zoulasc -GH_TAGNAME= ${HASH} - -USES= autoreconf libtool:build perl5 tar:tgz ssl -CONFIGURE_ARGS+= --enable-natt \ - --prefix=${STAGEDIR}/${PREFIX} - -GNU_CONFIGURE= yes -CONFIGURE_ENV= YACC=/usr/bin/yacc perl_bindir=${LOCALBASE}/bin/perl \ - STAGEDIR=${STAGEDIR} PREFIX=${PREFIX} - -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share - -MAKE_ENV= STAGEDIR=${STAGEDIR} PREFIX=${PREFIX} - -CFLAGS= -DHAVE_CONFIG_H - -OPTIONS_DEFINE= DOCS -OPTIONS_DEFAULT= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS+= INSTALL USAGE config-usage.ja.txt config-usage.txt -PORTDOCS+= iked-memo.ja.txt libracoon.ja.txt specification.ja.txt -PORTDOCS+= spmif.txt style.txt system-message.ja.txt -.endif - -post-patch: - # @${REINPLACE_CMD} 's|/var/run/racoon2|$$(STAGEDIR)&|' \ - ${WRKSRC}/samples/Makefile.in - ${REINPLACE_CMD} 's|$$(sysconfdir)|${STAGEDIR}/${PREFIX}/etc|' ${WRKSRC}/samples/rc.d/Makefile.am - @${LN} -sf ${LOCALBASE}/share/automake-1.16/ylwrap ${WRKSRC}/lib - -post-patch-DOCS-on: -.for FILE in ${PORTDOCS} - @${REINPLACE_CMD} -e 's|/usr/local/racoon2|${PREFIX}|' ${WRKSRC}/doc/${FILE} -.endfor - -post-install: - @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 ; - -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.jp ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR} -.endfor - -.include <bsd.port.mk> diff --git a/security/racoon2/distinfo b/security/racoon2/distinfo deleted file mode 100644 index 6c194b096f38..000000000000 --- a/security/racoon2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1600906965 -SHA256 (zoulasc-racoon2-202000908-7ee335e_GH0.tar.gz) = 984e80fcfbffd9bc2810859d3af1300671e93087c3069ceee73a61cdeaa4788f -SIZE (zoulasc-racoon2-202000908-7ee335e_GH0.tar.gz) = 885735 diff --git a/security/racoon2/files/patch-Makefile.am b/security/racoon2/files/patch-Makefile.am deleted file mode 100644 index bdbf0dc883b3..000000000000 --- a/security/racoon2/files/patch-Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.am.orig 2020-03-18 13:57:19.000000000 -0700 -+++ Makefile.am 2020-06-29 12:53:16.217963000 -0700 -@@ -2,6 +2,6 @@ - - ACLOCAL_AMFLAGS = -I m4 - --SUBDIRS = lib spmd kinkd iked pskgen samples -+SUBDIRS = lib spmd iked pskgen samples - - diff --git a/security/racoon2/files/patch-configure.ac b/security/racoon2/files/patch-configure.ac deleted file mode 100644 index 273e50220e13..000000000000 --- a/security/racoon2/files/patch-configure.ac +++ /dev/null @@ -1,34 +0,0 @@ ---- configure.ac.orig 2020-03-18 13:57:19.000000000 -0700 -+++ configure.ac 2020-06-29 12:55:22.015784000 -0700 -@@ -16,7 +16,7 @@ - AC_PROG_MAKE_SET - RC_IF_INSTALL_OPTS - --AC_CONFIG_SUBDIRS([lib spmd iked kinkd]) -+AC_CONFIG_SUBDIRS([lib spmd iked]) - - dnl Set the debug option by default for now. - AC_MSG_CHECKING(if --enable-debug option is specified) -@@ -57,7 +57,7 @@ - netbsd*1.[[56]]*|netbsd*[[2-9]].*) - startup_scripts=rc.d - ;; -- freebsd[[5-9]].*) -+ freebsd*) - startup_scripts=rc.d - ;; - *) -@@ -90,13 +90,11 @@ - samples/hook/Makefile - samples/Makefile - samples/rc.d/iked -- samples/rc.d/kinkd - samples/rc.d/racoon2 - samples/rc.d/spmd - samples/rc.d/Makefile - samples/racoon2.conf - samples/init.d/iked -- samples/init.d/kinkd - samples/init.d/spmd - samples/init.d/Makefile - samples/vals.conf]) diff --git a/security/racoon2/files/patch-iked__ikev2_child.c b/security/racoon2/files/patch-iked__ikev2_child.c deleted file mode 100644 index 548f132e011a..000000000000 --- a/security/racoon2/files/patch-iked__ikev2_child.c +++ /dev/null @@ -1,11 +0,0 @@ ---- iked/ikev2_child.c.orig 2008-09-10 01:30:58.000000000 -0700 -+++ iked/ikev2_child.c 2014-10-22 23:33:18.140601874 -0700 -@@ -1171,7 +1171,7 @@ - * used to do update or add. - */ - param->flags = 0; -- if (child_sa->is_initiator) -+ if (child_sa->is_initiator && child_sa->preceding_satype == 0) - param->flags |= PFK_FLAG_NOPORTS; - - param->wsize = ikev2_ipsec_window_size; diff --git a/security/racoon2/files/patch-kinkd_pathnames.h b/security/racoon2/files/patch-kinkd_pathnames.h deleted file mode 100644 index 01d1ea0f80ce..000000000000 --- a/security/racoon2/files/patch-kinkd_pathnames.h +++ /dev/null @@ -1,11 +0,0 @@ ---- kinkd/pathnames.h.orig 2018-08-15 21:36:53.000000000 -0700 -+++ kinkd/pathnames.h 2018-12-15 10:53:06.611652000 -0800 -@@ -30,7 +30,7 @@ - - #define PIDFILE_DIR "/var/run" - #define CACHE_DIR "/var/run" /* or "/var/db" */ --#define RACOON2_CONFIG_FILE SYSCONFDIR "/racoon2.conf" -+#define RACOON2_CONFIG_FILE "SYSCONFDIR/racoon2.conf" - - #ifdef MAKE_KINK_LIST_FILE - #define KINK_LIST_FILE "/var/run/kink-handle.list" diff --git a/security/racoon2/files/patch-lib_if__pfkkeyv2.h b/security/racoon2/files/patch-lib_if__pfkkeyv2.h deleted file mode 100644 index 2c0630a7375e..000000000000 --- a/security/racoon2/files/patch-lib_if__pfkkeyv2.h +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/if_pfkeyv2.h.orig 2018-08-15 21:36:53.000000000 -0700 -+++ lib/if_pfkeyv2.h 2018-10-19 12:48:45.115311000 -0700 -@@ -29,6 +29,7 @@ - * SUCH DAMAGE. - */ - -+#include "config.h" - #include <sys/socket.h> - #ifdef HAVE_NET_PFKEYV2_H - # include <net/pfkeyv2.h> diff --git a/security/racoon2/files/patch-pskgen_Makefile.am b/security/racoon2/files/patch-pskgen_Makefile.am deleted file mode 100644 index c669e7019b1b..000000000000 --- a/security/racoon2/files/patch-pskgen_Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ ---- pskgen/Makefile.am.orig 2020-09-08 04:43:18.000000000 -0700 -+++ pskgen/Makefile.am 2020-09-23 17:34:55.946263000 -0700 -@@ -7,4 +7,3 @@ - - install-exec-hook: - $(INSTALL) -d $(DESTDIR)$(sysconfdir) -- sh ./autogen.spmd.pwd diff --git a/security/racoon2/files/patch-samples_Makefile.am b/security/racoon2/files/patch-samples_Makefile.am deleted file mode 100644 index 017e00d5cc82..000000000000 --- a/security/racoon2/files/patch-samples_Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ ---- samples/Makefile.am.orig 2020-03-18 13:57:19.000000000 -0700 -+++ samples/Makefile.am 2020-06-29 13:05:24.670094000 -0700 -@@ -13,8 +13,6 @@ - $(INSTALL) -m 600 transport_ike.conf $(DESTDIR)$(sysconfdir)/transport_ike.conf.sample - $(INSTALL) -m 600 tunnel_ike.conf $(DESTDIR)$(sysconfdir)/tunnel_ike.conf.sample - $(INSTALL) -m 600 tunnel_ike_natt.conf $(DESTDIR)$(sysconfdir)/tunnel_ike_natt.conf.sample -- $(INSTALL) -m 600 transport_kink.conf $(DESTDIR)$(sysconfdir)/transport_kink.conf.sample -- $(INSTALL) -m 600 tunnel_kink.conf $(DESTDIR)$(sysconfdir)/tunnel_kink.conf.sample - $(INSTALL) -m 600 local-test.conf $(DESTDIR)$(sysconfdir)/local-test.conf.sample - $(INSTALL) -d -m 700 $(DESTDIR)$(sysconfdir)/psk - $(INSTALL) -d -m 700 $(DESTDIR)$(sysconfdir)/cert diff --git a/security/racoon2/files/patch-samples_init.d_Makefile.am b/security/racoon2/files/patch-samples_init.d_Makefile.am deleted file mode 100644 index 9a38e8c0f018..000000000000 --- a/security/racoon2/files/patch-samples_init.d_Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ ---- samples/init.d/Makefile.am.orig 2020-03-18 13:57:19.000000000 -0700 -+++ samples/init.d/Makefile.am 2020-06-29 14:52:07.468234000 -0700 -@@ -5,5 +5,4 @@ - install-exec-hook: - $(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d - $(INSTALL_SCRIPT) iked $(DESTDIR)$(sysconfdir)/init.d/iked -- $(INSTALL_SCRIPT) kinkd $(DESTDIR)$(sysconfdir)/init.d/kinkd - $(INSTALL_SCRIPT) spmd $(DESTDIR)$(sysconfdir)/init.d/spmd diff --git a/security/racoon2/files/patch-samples_rc.d_Makefile.am b/security/racoon2/files/patch-samples_rc.d_Makefile.am deleted file mode 100644 index f58a0cc0ba9e..000000000000 --- a/security/racoon2/files/patch-samples_rc.d_Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ ---- samples/rc.d/Makefile.am.orig 2020-03-18 13:57:19.000000000 -0700 -+++ samples/rc.d/Makefile.am 2020-06-29 14:50:50.509434000 -0700 -@@ -5,6 +5,5 @@ - install-exec-hook: - $(INSTALL) -d $(sysconfdir)/rc.d - $(INSTALL_SCRIPT) iked $(sysconfdir)/rc.d/iked -- $(INSTALL_SCRIPT) kinkd $(sysconfdir)/rc.d/kinkd - $(INSTALL_SCRIPT) spmd $(sysconfdir)/rc.d/spmd - $(INSTALL_SCRIPT) racoon2 $(sysconfdir)/rc.d/racoon2 diff --git a/security/racoon2/files/patch-spmd-spmd_internal.h b/security/racoon2/files/patch-spmd-spmd_internal.h deleted file mode 100644 index eae7442e9eb0..000000000000 --- a/security/racoon2/files/patch-spmd-spmd_internal.h +++ /dev/null @@ -1,11 +0,0 @@ ---- spmd/spmd_internal.h.orig 2008-07-06 11:41:36.000000000 +0900 -+++ spmd/spmd_internal.h 2009-03-30 13:35:24.000000000 +0900 -@@ -35,7 +35,7 @@ - - extern int spmd_foreground; - --#define RACOON2_CONFIG_FILE SYSCONFDIR"/racoon2.conf" -+#define RACOON2_CONFIG_FILE RACOON_CONF - - #if defined(HAVE_NSSWITCH_CONF) - # define NSSWITCH_CONF_FILE "/etc/nsswitch.conf" diff --git a/security/racoon2/pkg-descr b/security/racoon2/pkg-descr deleted file mode 100644 index f2ceebb2288a..000000000000 --- a/security/racoon2/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -"racoon2" is a system to exchange and to install security parameters -for the IPsec. - -Currently the system supports the following specification: - - Internet Key Exchange (IKEv2) Protocol - draft-ietf-ipsec-ikev2-17.txt - - Kerberized Internet Negotiation of Keys (KINK) - draft-ietf-kink-kink-06.txt - - PF_KEY Key Management API, Version 2 - RFC2367 - - The Internet Key Exchange (IKE) - RFC2409 diff --git a/security/racoon2/pkg-plist b/security/racoon2/pkg-plist deleted file mode 100644 index 194b588cca09..000000000000 --- a/security/racoon2/pkg-plist +++ /dev/null @@ -1,54 +0,0 @@ -sbin/iked -sbin/spmd -sbin/spmdctl -sbin/pskgen -etc/racoon2/default.conf.sample -etc/racoon2/local-test.conf.sample -etc/racoon2/racoon2.conf.sample -etc/racoon2/transport_ike.conf.sample -etc/racoon2/tunnel_ike.conf.sample -etc/racoon2/tunnel_ike_natt.conf.sample -etc/racoon2/vals.conf.sample -etc/racoon2/hook/functions -etc/racoon2/hook/ikesa-up.d/00ikesaup_sample -etc/racoon2/hook/ikesa-up -etc/racoon2/hook/ikesa-down -etc/racoon2/hook/ikesa-rekey -etc/racoon2/hook/child-up.d/00childup_sample -etc/racoon2/hook/child-up.d/01setkey -etc/racoon2/hook/child-up.d/02ifconfig-gif -etc/racoon2/hook/child-up.d/03arp -etc/racoon2/hook/child-up -etc/racoon2/hook/child-down.d/01setkey -etc/racoon2/hook/child-down.d/02ifconfig-gif -etc/racoon2/hook/child-down.d/03arp -etc/racoon2/hook/child-down -etc/racoon2/hook/child-rekey -etc/racoon2/hook/migration -etc/rc.d/iked -etc/rc.d/racoon2 -etc/rc.d/spmd -lib/libracoon.a -lib/libracoon.so -lib/libracoon.so.0 -lib/libracoon.so.0.0.0 -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.jp -%%PORTDOCS%%%%DOCSDIR%%/README -share/man/man8/spmd.8.gz -share/man/man8/spmdctl.8.gz -share/man/man8/pskgen.8.gz -share/man/man8/iked.8.gz -@dir etc/racoon2/psk -@dir etc/racoon2/hook/migration.d -@dir etc/racoon2/hook/ikesa-rekey.d -@dir etc/racoon2/hook/ikesa-down.d -@dir etc/racoon2/hook/child-rekey.d -@dir etc/racoon2/hook/child-down.d -@dir etc/racoon2/hook/child-up.d -@dir etc/racoon2/cert -@dir etc/racoon2 -@postexec [ ! -e %D/%%ETCDIR%%/spmd.pwd ] || mv %D/%%ETCDIR%%/spmd.pwd %D/%%ETCDIR%%/spmd.pwd.bak -@postexec %D/sbin/pskgen -r -o %D/%%ETCDIR%%/spmd.pwd -@rmtry %%ETCDIR%%/spmd.pwd -@dir(root,wheel,700) /var/run/racoon2 |