From b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0 Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Wed, 18 Aug 2021 20:06:01 +0700 Subject: security/ipsec-tools: make upgrade less painful Partially revert r516983 to make upgrade from old versions less painful. For example, upgrade path from 9.3 via 10.4 then to 11.0 and later should not break due to non-existing required module ipsec.ko. --- security/ipsec-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile index 65a6daf78223..600ddc36b4bc 100644 --- a/security/ipsec-tools/Makefile +++ b/security/ipsec-tools/Makefile @@ -7,7 +7,7 @@ PORTNAME= ipsec-tools PORTVERSION= 0.8.2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= security MASTER_SITES= SF @@ -76,7 +76,7 @@ WCPSKEY_EXTRA_PATCHES= ${FILESDIR}/wildcard-psk.diff ${FILESDIR}/wildcard-psk-oa .include -.if ${OPSYS} == FreeBSD +.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100510 REQUIREMOD?= ipsec .endif -- cgit v1.2.3