summaryrefslogtreecommitdiff
path: root/security/openiked
diff options
context:
space:
mode:
Diffstat (limited to 'security/openiked')
-rw-r--r--security/openiked/Makefile27
-rw-r--r--security/openiked/distinfo6
-rw-r--r--security/openiked/files/patch-ikectl_Makefile.am10
-rw-r--r--security/openiked/pkg-plist3
4 files changed, 16 insertions, 30 deletions
diff --git a/security/openiked/Makefile b/security/openiked/Makefile
index a280721acf7e..44481558e8fa 100644
--- a/security/openiked/Makefile
+++ b/security/openiked/Makefile
@@ -1,37 +1,32 @@
PORTNAME= openiked
-PORTVERSION= 2.2
-PORTREVISION= 1
+DISTVERSION= 7.4
CATEGORIES= security net
+MASTER_SITES= https://cdn.openbsd.org/pub/OpenBSD/OpenIKED/ \
+ https://github.com/${PORTNAME}/${PORTNAME}-portable/releases/download/v${DISTVERSION}/
MAINTAINER= marcel@FreeBSD.org
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= -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>
diff --git a/security/openiked/distinfo b/security/openiked/distinfo
index a154c38488e5..7fcb08fd7e1f 100644
--- a/security/openiked/distinfo
+++ b/security/openiked/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1598375734
-SHA256 (xcllnt-openiked-2.2_GH0.tar.gz) = 5e161f12cdba3853dca576348409fa512d58c19840eac9eb4d1ce68e8dd5f0bf
-SIZE (xcllnt-openiked-2.2_GH0.tar.gz) = 230804
+TIMESTAMP = 1748557872
+SHA256 (openiked-7.4.tar.gz) = 19b72b48080240c3eff585f5cbcf6aa7b5734192ad8bc6677ae64a455074358a
+SIZE (openiked-7.4.tar.gz) = 321175
diff --git a/security/openiked/files/patch-ikectl_Makefile.am b/security/openiked/files/patch-ikectl_Makefile.am
deleted file mode 100644
index 315d87d83986..000000000000
--- a/security/openiked/files/patch-ikectl_Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- ikectl/Makefile.am.orig 2020-09-04 14:25:33 UTC
-+++ ikectl/Makefile.am
-@@ -28,7 +28,6 @@ $(MANPAGES): $(MANPAGES_IN)
-
- install-exec-hook: $(MANPAGES)
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/iked/
-- $(MKDIR_P) $(DESTDIR)$(SSLDIR)
- $(MKDIR_P) $(DESTDIR)$(sbindir)
- $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
-
diff --git a/security/openiked/pkg-plist b/security/openiked/pkg-plist
index d0b202daae26..1260cf64689d 100644
--- a/security/openiked/pkg-plist
+++ b/security/openiked/pkg-plist
@@ -1,5 +1,6 @@
-@sample etc/ikeca.cnf.sample
@sample etc/iked.conf.sample
+@sample etc/ssl/ikeca.cnf.sample
+@sample etc/ssl/ikex509v3.cnf.sample
sbin/ikectl
sbin/iked
share/man/man5/iked.conf.5.gz