-# $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
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= d01898b12765c70088729880d66d6b81c87d2e2f
+DISTVERSION= g20210125
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>