Save one allocation by passing msg_nonce ownership instead of using
[openiked-portable] / Makefile
index ee3e43cb5c29dd86d12528b189ecda57cbc474e7..78158e66995a5c6bfb98edfccbbf8352846a0607 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $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
 CATEGORIES=    security net
@@ -8,17 +8,20 @@ COMMENT=      IKEv2 daemon
 
 LICENSE=       ISCL
 
-LIB_DEPENDS=   libevent.so:devel/libevent 
+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=            1eb9cc91c899e8da14280ac7d73f040e8eff769f
+DISTVERSION=   g20210220
 
 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>