Uses OpenBSD FTP master sites
[openiked-portable] / Makefile
index 81f2f5262418cfc19043164a447b847f8bbc42e3..fc1669c226f143017dc55095e7c5428bb4a95668 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,25 @@
-# $FreeBSD: head/security/openiked-portable/Makefile david@lapinbilly.eu
+PORTNAME=                      openiked-portable
+PORTVERSION=           6.9.0
+CATEGORIES=                    security net
+MASTER_SITES=          OPENBSD/OpenIKED
+DISTNAME=                      openiked-${PORTVERSION}
 
-PORTNAME=openiked-portable
-CATEGORIES=    security net
-
-MAINTAINER=    portmgr@FreeBSD.org
+MAINTAINER=    david@lapinbilly.eu
 COMMENT=       IKEv2 daemon
 
 LICENSE=       ISCL
 
 LIB_DEPENDS=   libevent.so:devel/libevent
 
+CONFLICTS_INSTALL=             openiked-[0-9]*
 USES=          cmake ssl
 
-USE_GITHUB=            yes
-GH_ACCOUNT=            openiked
-GH_TAGNAME=            a67efddc709b63bccfde649f1f9865eb832d0eb0
-DISTVERSION=   g20210211
-
-USE_RC_SUBR= iked
-USERS=         _iked
-GROUPS=                _iked
+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>