aboutsummaryrefslogtreecommitdiff
path: root/security/openiked/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openiked/Makefile')
-rw-r--r--security/openiked/Makefile29
1 files changed, 13 insertions, 16 deletions
diff --git a/security/openiked/Makefile b/security/openiked/Makefile
index a280721acf7e..2a9230deae95 100644
--- a/security/openiked/Makefile
+++ b/security/openiked/Makefile
@@ -1,37 +1,34 @@
PORTNAME= openiked
-PORTVERSION= 2.2
+DISTVERSION= 7.4
PORTREVISION= 1
CATEGORIES= security net
+MASTER_SITES= OPENBSD/OpenIKED \
+ https://github.com/${PORTNAME}/${PORTNAME}-portable/releases/download/v${DISTVERSION}/
-MAINTAINER= marcel@FreeBSD.org
+MAINTAINER= david.marec@proton.me
COMMENT= IKEv2 daemon
-WWW= https://github.com/xcllnt/openiked
+WWW= https://www.openiked.org
LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libevent.so:devel/libevent
-USES= autoreconf libtool ssl
-
-CONFLICTS_INSTALL= openiked-portable[0-9]*
-
-USE_GITHUB= yes
-GH_ACCOUNT= xcllnt
+USES= cmake ssl
USE_RC_SUBR= iked
USERS= _iked
GROUPS= _iked
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-INSTALL_TARGET= install-strip
-CONFIGURE_ARGS= --with-libevent-dir=${PREFIX} --with-mantype=man
-CONFIGURE_ARGS+= --without-zlib-version-check # fix build by disabling zlib version check
+CMAKE_ARGS= -DCADIR=${PREFIX}/etc/ssl \
+ -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
post-install:
- ${MV} ${STAGEDIR}${PREFIX}/etc/ikeca.cnf \
- ${STAGEDIR}${PREFIX}/etc/ikeca.cnf.sample
${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \
${STAGEDIR}${PREFIX}/etc/iked.conf.sample
+ ${MV} ${STAGEDIR}${PREFIX}/etc/ssl/ikeca.cnf \
+ ${STAGEDIR}${PREFIX}/etc/ssl/ikeca.cnf.sample
+ ${MV} ${STAGEDIR}${PREFIX}/etc/ssl/ikex509v3.cnf \
+ ${STAGEDIR}${PREFIX}/etc/ssl/ikex509v3.cnf.sample
.include <bsd.port.mk>