X-Git-Url: http://popeye.lapinbilly.eu/git/?p=openiked-portable;a=blobdiff_plain;f=Makefile;h=4ce702ac5767998f79f765b8d3b1091b41669516;hp=d8b54e0263971f8e27b1ba73c938dc7fb89902c7;hb=refs%2Fheads%2Fmaster;hpb=dc394a3f8dc74af221da67b60a3596e92e5ddaf0 diff --git a/Makefile b/Makefile index d8b54e0..4ce702a 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,34 @@ -# $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= d01898b12765c70088729880d66d6b81c87d2e2f -DISTVERSION= g20210125 +USE_RC_SUBR= iked +USERS= _iked +GROUPS= _iked + +.include -USE_RC_SUBR= iked -USERS= _iked -GROUPS= _iked +# 12.0-STABLE after updating OpenSSL shared library version numbers. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200086 +BROKEN_SSL= base +BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.0+ (DH_get0_pqg) +.endif post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \ ${STAGEDIR}${PREFIX}/etc/iked.conf.sample + + .include