Free sc_vroute on shutdown.
[openiked-portable] / Makefile
index 4e5250c3155e7977c037f99df965b2a7d0bc1f52..b2c0a4547d37b8a1cf690ed6eaa2a729818d14ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-# $FreeBSD: head/security/openiked/Makefile david@lapinbilly.eu $
+# $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=            4cbccf135e14753902208983bb89d7d5b62dcced
+DISTVERSION=   g20210305
 
 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>