git: b69e9c3c4e6f - main - security/ipsec-tools: make upgrade less painful

Eugene Grosbein eugen at FreeBSD.org
Wed Aug 18 13:08:39 UTC 2021


The branch main has been updated by eugen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0

commit b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0
Author:     Eugene Grosbein <eugen at FreeBSD.org>
AuthorDate: 2021-08-18 13:06:01 +0000
Commit:     Eugene Grosbein <eugen at FreeBSD.org>
CommitDate: 2021-08-18 13:06:01 +0000

    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 <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100510
 REQUIREMOD?=	ipsec
 .endif
 


More information about the dev-commits-ports-main mailing list