Delay deletion of IKE SAs on rekey when stickyaddress is enabled to make
[openiked-portable] / Makefile
index 5c320b775a7cd67667bf86ba134f2852ea819e06..81f2f5262418cfc19043164a447b847f8bbc42e3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-# $FreeBSD: head/security/openiked/Makefile 547543 2020-09-04 14:33:16Z swills $
+# $FreeBSD: head/security/openiked-portable/Makefile david@lapinbilly.eu
 
-PORTNAME=      openiked-portable
+PORTNAME=openiked-portable
 CATEGORIES=    security net
 
 MAINTAINER=    portmgr@FreeBSD.org
@@ -10,15 +10,18 @@ LICENSE=    ISCL
 
 LIB_DEPENDS=   libevent.so:devel/libevent
 
-USES=          cmake
+USES=          cmake ssl
 
-USE_GITHUB=    yes
-GH_ACCOUNT=    openiked
-GH_TAGNAME=            45352722b7320ed97c6abe3bd961bea5acccf43d
-DISTVERSION=   g20210119
+USE_GITHUB=            yes
+GH_ACCOUNT=            openiked
+GH_TAGNAME=            a67efddc709b63bccfde649f1f9865eb832d0eb0
+DISTVERSION=   g20210211
 
 USE_RC_SUBR= iked
 USERS=         _iked
 GROUPS=                _iked
 
+post-install:
+       ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \
+           ${STAGEDIR}${PREFIX}/etc/iked.conf.sample
 .include <bsd.port.mk>