git: 20616e451e36 - main - devel/kyua: Deprecate in favor of the base version

From: Igor Ostapenko <igoro_at_FreeBSD.org>
Date: Fri, 15 Nov 2024 12:56:28 UTC
The branch main has been updated by igoro:

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

commit 20616e451e36d190a4844a32f98c92bd0ec5f4de
Author:     Igor Ostapenko <igoro@FreeBSD.org>
AuthorDate: 2024-11-15 12:55:00 +0000
Commit:     Igor Ostapenko <igoro@FreeBSD.org>
CommitDate: 2024-11-15 12:55:55 +0000

    devel/kyua: Deprecate in favor of the base version
    
    - Kyua is part of the base in all supported versions
    - Kyua's evolution happens in the base, let's avoid duplicating work
    - Set EXPIRATION_DATE to 2026-04-30 (expected 13 branch EOL)
    
    Reviewed by:    bofh
    Approved by:    bofh
    Differential Revision:  https://reviews.freebsd.org/D47473
---
 devel/kyua/Makefile | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/kyua/Makefile b/devel/kyua/Makefile
index da2dcb3e97c3..2e53feb580b1 100644
--- a/devel/kyua/Makefile
+++ b/devel/kyua/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kyua
 DISTVERSION=	0.13
-PORTREVISION=	8
+PORTREVISION=	9
 PORTEPOCH=	3
 CATEGORIES=	devel
 
@@ -10,6 +10,12 @@ WWW=		https://github.com/jmmv/kyua/
 
 LICENSE=	BSD3CLAUSE
 
+# Since 14.2 the test suite is based on execenv=jail feature of the latest Kyua,
+# and tests(7) are expected to be aligned with Kyua version in the base,
+# while the port is not going to be maintained to avoid double work.
+DEPRECATED=	Consider using base version as tests(7) fail on 14.2 and later
+EXPIRATION_DATE=	2026-04-30
+
 LIB_DEPENDS=	liblutok.so:devel/lutok
 
 USES=		autoreconf lua pkgconfig sqlite
@@ -37,6 +43,12 @@ OPTIONS_DEFINE=		DOCS EXAMPLES TEST
 OPTIONS_DEFAULT=	TEST
 OPTIONS_SUB=		yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSREL:R} >= 14
+IGNORE=		kyua from base must be used for FreeBSD 14.x and newer
+.endif
+
 DOCS_MAKE_ARGS_OFF=	doc_DATA=
 EXAMPLES_MAKE_ARGS_OFF=	dist_examples_DATA=
 TEST_BUILD_DEPENDS=	atf>=0.21:devel/atf