X-Git-Url: http://popeye.lapinbilly.eu/git/?p=openiked-portable;a=blobdiff_plain;f=Makefile;h=4ce702ac5767998f79f765b8d3b1091b41669516;hp=ee3e43cb5c29dd86d12528b189ecda57cbc474e7;hb=refs%2Fheads%2Fmaster;hpb=8bf0d68ddd010c2f8e8a9505c845018dd06ecc2a diff --git a/Makefile b/Makefile index ee3e43c..4ce702a 100644 --- a/Makefile +++ b/Makefile @@ -1,24 +1,34 @@ -# $FreeBSD: head/security/openiked/Makefile 547543 2020-09-04 14:33:16Z swills $ +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 +LIB_DEPENDS= libevent.so:devel/libevent + +CONFLICTS_INSTALL= openiked-[0-9]* +USES= cmake ssl + +USE_RC_SUBR= iked +USERS= _iked +GROUPS= _iked + +.include -USES= cmake +# 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 -USE_GITHUB= yes -GH_ACCOUNT= openiked -GH_TAGNAME=45352722b7320ed97c6abe3bd961bea5acccf43d -DISTVERSION= g20210119 +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \ + ${STAGEDIR}${PREFIX}/etc/iked.conf.sample -USE_RC_SUBR= iked -USERS= _iked -GROUPS= _iked .include