X-Git-Url: http://popeye.lapinbilly.eu/git/?p=openiked-portable;a=blobdiff_plain;f=Makefile;h=4ce702ac5767998f79f765b8d3b1091b41669516;hp=5c320b775a7cd67667bf86ba134f2852ea819e06;hb=refs%2Fheads%2Fmaster;hpb=20149e54c44571197c7fd02c88b4b1605758622f diff --git a/Makefile b/Makefile index 5c320b7..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 -USES= cmake +CONFLICTS_INSTALL= openiked-[0-9]* +USES= cmake ssl + +USE_RC_SUBR= iked +USERS= _iked +GROUPS= _iked + +.include + +# 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