Date: Thu, 9 May 2019 14:27:16 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501100 - in head/security/racoon2: . files Message-ID: <201905091427.x49ERGCG043048@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Thu May 9 14:27:15 2019 New Revision: 501100 URL: https://svnweb.freebsd.org/changeset/ports/501100 Log: Prepare for the pending removal of ispec from GENERIC, making sure that the ipsec kld is loaded. Suggested by: gallatin@ MFH: 2019Q2 Modified: head/security/racoon2/Makefile (contents, props changed) head/security/racoon2/files/patch-samples-rc.d-iked.in (contents, props changed) Modified: head/security/racoon2/Makefile ============================================================================== --- head/security/racoon2/Makefile Thu May 9 14:23:45 2019 (r501099) +++ head/security/racoon2/Makefile Thu May 9 14:27:15 2019 (r501100) @@ -3,6 +3,7 @@ PORTNAME= racoon2 PORTVERSION= ${RACOON2_COMMIT_DATE} +PORTREVISION= 1 CATEGORIES= security net ipv6 HASH= 5c4af73 RACOON2_COMMIT_DATE=20181215 Modified: head/security/racoon2/files/patch-samples-rc.d-iked.in ============================================================================== --- head/security/racoon2/files/patch-samples-rc.d-iked.in Thu May 9 14:23:45 2019 (r501099) +++ head/security/racoon2/files/patch-samples-rc.d-iked.in Thu May 9 14:27:15 2019 (r501100) @@ -1,6 +1,6 @@ ---- samples/rc.d/iked.in.orig 2018-08-15 21:36:53.000000000 -0700 -+++ samples/rc.d/iked.in 2018-10-19 12:32:15.579253000 -0700 -@@ -10,11 +10,13 @@ +--- samples/rc.d/iked.in.orig 2018-08-15 22:36:53.000000000 -0600 ++++ samples/rc.d/iked.in 2019-05-09 08:03:55.095621000 -0600 +@@ -10,14 +10,22 @@ . /etc/rc.subr @@ -15,4 +15,13 @@ +required_vars="spmd_enable" pidfile="/var/run/${name}.pid" required_files="@sysconfdir@/racoon2.conf" ++start_precmd="iked_precmd" reload_cmd="iked_reload" ++ ++iked_precmd() ++{ ++ sysctl -qn net.inet.ipsec.def_policy >/dev/null || kldload ipsec || return 1 ++} + + iked_reload() + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905091427.x49ERGCG043048>