diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2021-08-18 13:06:01 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2021-08-18 13:06:01 +0000 |
commit | b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0 (patch) | |
tree | 24496ad6aaa1cbd7a1d3473ecb3ceab89bc633ee | |
parent | fe1375b13d3a9fab5f818fe0502db86e76107405 (diff) | |
download | ports-b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0.tar.gz ports-b69e9c3c4e6fd7b5d7b71676f0f16ce635cde6d0.zip |
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.
-rw-r--r-- | security/ipsec-tools/Makefile | 4 |
1 files 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 |