pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/atf



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep  2 15:35:03 UTC 2026

Modified Files:
        pkgsrc/devel/atf: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/atf/patches: patch-atf-c_detail_process.c

Log Message:
atf: updated to 0.24

0.24

Major Changes
* This version of ATF requires C++-20 to build/function.
* This version of ATF focused heavily on correctness and memory management
  issues discussed in 77. While most of the issues are believed to be resolved,
  some issues may still remain.
* The `atf::text::duplicate(..)` API and tests were removed.

Feature Enhancements
* Issue 105: Widen our process status capabilties

Docs
* Issue 107: Clarify the semantics of ATF_{CHECK,REQUIRE}_ERRNO()
* Issue 124: atf-check.1: Add missing -r flag to synopsis
* Issue 127: atf-c.3: Fix test case addition in ATF_TP_ADD_TCS synopsis example


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/atf/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/atf/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/atf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/atf/patches/patch-atf-c_detail_process.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/atf/Makefile
diff -u pkgsrc/devel/atf/Makefile:1.28 pkgsrc/devel/atf/Makefile:1.29
--- pkgsrc/devel/atf/Makefile:1.28      Sun Mar 30 07:51:54 2025
+++ pkgsrc/devel/atf/Makefile   Wed Sep  2 15:35:03 2026
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.28 2025/03/30 07:51:54 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2026/09/02 15:35:03 adam Exp $
 
-DISTNAME=      atf-0.23
+DISTNAME=      atf-0.24
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=freebsd/}
 GITHUB_RELEASE=        ${DISTNAME}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/freebsd/atf/
+HOMEPAGE=      https://github.com/freebsd/atf
 COMMENT=       Automated testing framework
 LICENSE=       2-clause-bsd
 
 CONFLICTS+=            atf-libs<0.20
 
-GNU_CONFIGURE=         yes
+USE_CXX_FEATURES=      c++20
 USE_LANGUAGES=         c c++
-USE_CXX_FEATURES+=     c++14
 USE_LIBTOOL=           yes
-
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       ATF_SHELL=${SH:Q}
 
 PKGCONFIG_OVERRIDE=    atf-c/atf-c.pc.in

Index: pkgsrc/devel/atf/PLIST
diff -u pkgsrc/devel/atf/PLIST:1.21 pkgsrc/devel/atf/PLIST:1.22
--- pkgsrc/devel/atf/PLIST:1.21 Sun Mar 30 07:51:54 2025
+++ pkgsrc/devel/atf/PLIST      Wed Sep  2 15:35:03 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2025/03/30 07:51:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2026/09/02 15:35:03 adam Exp $
 bin/atf-sh
 include/atf-c++.hpp
 include/atf-c++/build.hpp
@@ -28,7 +28,7 @@ man/man1/atf-test-program.1
 man/man3/atf-c++.3
 man/man3/atf-c.3
 man/man3/atf-sh.3
-man/man4/atf-test-case.4
+man/man7/atf-test-case.7
 man/man7/atf.7
 share/aclocal/atf-c++.m4
 share/aclocal/atf-c.m4

Index: pkgsrc/devel/atf/distinfo
diff -u pkgsrc/devel/atf/distinfo:1.26 pkgsrc/devel/atf/distinfo:1.27
--- pkgsrc/devel/atf/distinfo:1.26      Sun Mar 30 07:51:54 2025
+++ pkgsrc/devel/atf/distinfo   Wed Sep  2 15:35:03 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2025/03/30 07:51:54 wiz Exp $
+$NetBSD: distinfo,v 1.27 2026/09/02 15:35:03 adam Exp $
 
-BLAKE2s (atf-0.23.tar.gz) = c6f2d75a13f65e468cba0342f716ef6d9f8070f6e666e37ce718454c5a8c42a2
-SHA512 (atf-0.23.tar.gz) = d94b6b9b611d9876f9e4cc3f8e6a9f95790a5d8b6b9a54da444ba8d503a89df84eea21d580979d47f793336103a75d6a684a306a9ddfd219c3b3abf1cf1e5337
-Size (atf-0.23.tar.gz) = 633217 bytes
+BLAKE2s (atf-0.24.tar.gz) = 3565ca095815e4220539181165d748bfa29319de07b3a77d8bf5414bb1c99f00
+SHA512 (atf-0.24.tar.gz) = a02768257ea5367ab12d744e06ef9ff6ba8fc9f240b8fdb7df2b826d0e60b9a0cc7651cd15d0424e7694d38cf317686704da687207dfa5c4edfc1fbf0098b878
+Size (atf-0.24.tar.gz) = 631870 bytes
+SHA1 (patch-atf-c_detail_process.c) = 690e6ae102dba2a0a9d72d8485b7fd921bc3df12
 SHA1 (patch-atf-c_tp__test.c) = cfaa36a19ea9d39004c8d5b6099d3de1b2727baa

Added files:

Index: pkgsrc/devel/atf/patches/patch-atf-c_detail_process.c
diff -u /dev/null pkgsrc/devel/atf/patches/patch-atf-c_detail_process.c:1.1
--- /dev/null   Wed Sep  2 15:35:03 2026
+++ pkgsrc/devel/atf/patches/patch-atf-c_detail_process.c       Wed Sep  2 15:35:03 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-atf-c_detail_process.c,v 1.1 2026/09/02 15:35:03 adam Exp $
+
+Fix build: si_code is a macro on NetBSD.
+
+--- atf-c/detail/process.c.orig        2026-09-02 15:28:37.877635416 +0000
++++ atf-c/detail/process.c
+@@ -218,8 +218,8 @@ atf_process_status_signaled(const atf_process_status_t
+ bool
+ atf_process_status_signaled(const atf_process_status_t *s)
+ {
+-    int si_code = s->m_info.si_code;
+-    return si_code == CLD_KILLED || si_code == CLD_DUMPED;
++    int code = s->m_info.si_code;
++    return code == CLD_KILLED || code == CLD_DUMPED;
+ }
+ 
+ int



Home | Main Index | Thread Index | Old Index