Skip to content

Commit aa43a19

Browse files
committed
atf: update to 0.23.
## Changes in version 0.23 Released on March, 29, 2025 * Issue #101: fix release tarballs by using `make dist` instead of alternative ad hoc method. * Issue #76: `atf_check`: fix `std::length_error` thrown from `temp_file`. * #87: Update documentation/build files to point to FreeBSD repo/mailing lists. * #86: Improve diagnostics when paths cannot be opened * #85: various build-related changes. Highlights: * Remove leftover references of `auto_array` (bugfix). * Remove the `atf-*-api` manpages (enhancement). * Require -std=C++14 with ATF (enhancement). * Expose `WCOREDUMP(..)` on platforms that support it (bugfix). * Add `__attribute__((nonnull))` support (enhancement). * Restore `AC_PROG_CPP` (bugfix). ### General fixes * Fix various style issues which were blocking `make dist` from completing cleanly. * Fix `atf_utils_file_exists` declaration in atf-c(3). * Fix various memory leaks and logic errors. * `atf-test-case(4)`: update reference to the "descr" metadata property so it's marked Optional. * `atf-check.cpp`: remove unnecessary data copy in `temp_file`. ## Changes in version 0.22 Released on November 25th, 2024. * Issue #23: Fix double-free triggered by atf_map_insert in low memory scenarios, caused by an overlook in the atf_list code. * Issue #31: Added require.progs metadata properties to the tests that need a compiler to run. * Added the atf_check_not_equal function to atf-sh to check for unequal values. * Add `-r timeout` flag to `atf-check`. * Open results files before executing tests to fix an issue ATF tests that adjust the processes' Capsicum rights as part of the testcase(s) executed. * Add Cirrus CI integration for FreeBSD CI/CD support. * Address compilation issues on OpenSolaris distributions. * Replace `auto_array` with `std::vector` (fixes modern C++ compliance). * Replace `auto_ptr` with `std::shared_ptr` (fixes modern C++ compliance). * Update autotools idioms and requirements. The minimum required version of autoconf is now 2.68. * Modify `ATF_CHECK*` and `ATF_REQUIRE*` macros to avoid double evaluation/allow the gcc toolchain to detect accidental single assignment typos. * Always define CPP to fix use of ATF_BUILD_CPP when the user did not define CPP when invoking the configure script. ### General fixes * Fix various typos and formatting errors in manual pages and markdown documents.
1 parent 841e44a commit aa43a19

File tree

4 files changed

+14
-17
lines changed

4 files changed

+14
-17
lines changed

devel/atf/Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# $NetBSD: Makefile,v 1.27 2024/07/25 05:41:51 wiz Exp $
1+
# $NetBSD: Makefile,v 1.28 2025/03/30 07:51:54 wiz Exp $
22

3-
DISTNAME= atf-0.21
3+
DISTNAME= atf-0.23
44
CATEGORIES= devel
5-
MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}
5+
MASTER_SITES= ${MASTER_SITE_GITHUB:=freebsd/}
66
GITHUB_RELEASE= ${DISTNAME}
77

88
MAINTAINER= [email protected]
9-
HOMEPAGE= https://github.com/jmmv/atf/
9+
HOMEPAGE= https://github.com/freebsd/atf/
1010
COMMENT= Automated testing framework
1111
LICENSE= 2-clause-bsd
1212

1313
CONFLICTS+= atf-libs<0.20
1414

1515
GNU_CONFIGURE= yes
1616
USE_LANGUAGES= c c++
17+
USE_CXX_FEATURES+= c++14
1718
USE_LIBTOOL= yes
1819

1920
CONFIGURE_ARGS+= ATF_SHELL=${SH:Q}

devel/atf/PLIST

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.20 2017/02/22 11:46:58 wiz Exp $
1+
@comment $NetBSD: PLIST,v 1.21 2025/03/30 07:51:54 wiz Exp $
22
bin/atf-sh
33
include/atf-c++.hpp
44
include/atf-c++/build.hpp
@@ -25,11 +25,8 @@ libexec/atf-check
2525
man/man1/atf-check.1
2626
man/man1/atf-sh.1
2727
man/man1/atf-test-program.1
28-
man/man3/atf-c++-api.3
2928
man/man3/atf-c++.3
30-
man/man3/atf-c-api.3
3129
man/man3/atf-c.3
32-
man/man3/atf-sh-api.3
3330
man/man3/atf-sh.3
3431
man/man4/atf-test-case.4
3532
man/man7/atf.7
@@ -41,15 +38,14 @@ share/atf/libatf-sh.subr
4138
share/doc/atf/AUTHORS
4239
share/doc/atf/COPYING
4340
share/doc/atf/NEWS
44-
share/doc/atf/README
41+
share/doc/atf/README.md
4542
tests/atf/Kyuafile
4643
tests/atf/atf-c++/Kyuafile
4744
tests/atf/atf-c++/atf_c++_test
4845
tests/atf/atf-c++/build_test
4946
tests/atf/atf-c++/check_test
5047
tests/atf/atf-c++/detail/Kyuafile
5148
tests/atf/atf-c++/detail/application_test
52-
tests/atf/atf-c++/detail/auto_array_test
5349
tests/atf/atf-c++/detail/env_test
5450
tests/atf/atf-c++/detail/exceptions_test
5551
tests/atf/atf-c++/detail/fs_test

devel/atf/builtin.mk

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: builtin.mk,v 1.1 2017/06/08 13:30:16 jlam Exp $
1+
# $NetBSD: builtin.mk,v 1.2 2025/03/30 07:51:54 wiz Exp $
22

33
BUILTIN_PKG:= atf
44
PKGCONFIG_BASE.atf= /usr
@@ -7,8 +7,8 @@ PKGCONFIG_FILE.atf= ${PKGCONFIG_BASE.atf}/lib/pkgconfig/atf-sh.pc
77
.include "../../mk/buildlink3/pkgconfig-builtin.mk"
88

99
CHECK_BUILTIN.atf?= no
10-
.if !empty(CHECK_BUILTIN.atf:M[nN][oO])
11-
. if !empty(USE_BUILTIN.atf:M[yY][eE][sS])
10+
.if ${CHECK_BUILTIN.atf:tl} == no
11+
. if ${USE_BUILTIN.atf:tl} == yes
1212
BUILDLINK_PREFIX.atf= ${PKGCONFIG_BASE.atf}
1313
BUILDLINK_FILES.atf+= lib/pkgconfig/atf-c++.pc
1414
BUILDLINK_FILES.atf+= lib/pkgconfig/atf-c.pc

devel/atf/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
$NetBSD: distinfo,v 1.25 2021/10/26 10:14:17 nia Exp $
1+
$NetBSD: distinfo,v 1.26 2025/03/30 07:51:54 wiz Exp $
22

3-
BLAKE2s (atf-0.21.tar.gz) = aa891237053bb7d8b0eef5ef341856761f1436cbb89eceeada66784557154872
4-
SHA512 (atf-0.21.tar.gz) = 9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1
5-
Size (atf-0.21.tar.gz) = 567791 bytes
3+
BLAKE2s (atf-0.23.tar.gz) = c6f2d75a13f65e468cba0342f716ef6d9f8070f6e666e37ce718454c5a8c42a2
4+
SHA512 (atf-0.23.tar.gz) = d94b6b9b611d9876f9e4cc3f8e6a9f95790a5d8b6b9a54da444ba8d503a89df84eea21d580979d47f793336103a75d6a684a306a9ddfd219c3b3abf1cf1e5337
5+
Size (atf-0.23.tar.gz) = 633217 bytes
66
SHA1 (patch-atf-c_tp__test.c) = cfaa36a19ea9d39004c8d5b6099d3de1b2727baa

0 commit comments

Comments
 (0)