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:   wiz
Date:           Sun Mar 30 07:51:54 UTC 2025

Modified Files:
        pkgsrc/devel/atf: Makefile PLIST builtin.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/atf/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/atf/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/atf/builtin.mk
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/atf/distinfo

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.27 pkgsrc/devel/atf/Makefile:1.28
--- pkgsrc/devel/atf/Makefile:1.27      Thu Jul 25 05:41:51 2024
+++ pkgsrc/devel/atf/Makefile   Sun Mar 30 07:51:54 2025
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.27 2024/07/25 05:41:51 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2025/03/30 07:51:54 wiz Exp $
 
-DISTNAME=      atf-0.21
+DISTNAME=      atf-0.23
 CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=jmmv/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=freebsd/}
 GITHUB_RELEASE=        ${DISTNAME}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/jmmv/atf/
+HOMEPAGE=      https://github.com/freebsd/atf/
 COMMENT=       Automated testing framework
 LICENSE=       2-clause-bsd
 
@@ -14,6 +14,7 @@ CONFLICTS+=           atf-libs<0.20
 
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++14
 USE_LIBTOOL=           yes
 
 CONFIGURE_ARGS+=       ATF_SHELL=${SH:Q}

Index: pkgsrc/devel/atf/PLIST
diff -u pkgsrc/devel/atf/PLIST:1.20 pkgsrc/devel/atf/PLIST:1.21
--- pkgsrc/devel/atf/PLIST:1.20 Wed Feb 22 11:46:58 2017
+++ pkgsrc/devel/atf/PLIST      Sun Mar 30 07:51:54 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2017/02/22 11:46:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.21 2025/03/30 07:51:54 wiz Exp $
 bin/atf-sh
 include/atf-c++.hpp
 include/atf-c++/build.hpp
@@ -25,11 +25,8 @@ libexec/atf-check
 man/man1/atf-check.1
 man/man1/atf-sh.1
 man/man1/atf-test-program.1
-man/man3/atf-c++-api.3
 man/man3/atf-c++.3
-man/man3/atf-c-api.3
 man/man3/atf-c.3
-man/man3/atf-sh-api.3
 man/man3/atf-sh.3
 man/man4/atf-test-case.4
 man/man7/atf.7
@@ -41,7 +38,7 @@ share/atf/libatf-sh.subr
 share/doc/atf/AUTHORS
 share/doc/atf/COPYING
 share/doc/atf/NEWS
-share/doc/atf/README
+share/doc/atf/README.md
 tests/atf/Kyuafile
 tests/atf/atf-c++/Kyuafile
 tests/atf/atf-c++/atf_c++_test
@@ -49,7 +46,6 @@ tests/atf/atf-c++/build_test
 tests/atf/atf-c++/check_test
 tests/atf/atf-c++/detail/Kyuafile
 tests/atf/atf-c++/detail/application_test
-tests/atf/atf-c++/detail/auto_array_test
 tests/atf/atf-c++/detail/env_test
 tests/atf/atf-c++/detail/exceptions_test
 tests/atf/atf-c++/detail/fs_test

Index: pkgsrc/devel/atf/builtin.mk
diff -u pkgsrc/devel/atf/builtin.mk:1.1 pkgsrc/devel/atf/builtin.mk:1.2
--- pkgsrc/devel/atf/builtin.mk:1.1     Thu Jun  8 13:30:16 2017
+++ pkgsrc/devel/atf/builtin.mk Sun Mar 30 07:51:54 2025
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2017/06/08 13:30:16 jlam Exp $
+# $NetBSD: builtin.mk,v 1.2 2025/03/30 07:51:54 wiz Exp $
 
 BUILTIN_PKG:=          atf
 PKGCONFIG_BASE.atf=    /usr
@@ -7,8 +7,8 @@ PKGCONFIG_FILE.atf=     ${PKGCONFIG_BASE.atf
 .include "../../mk/buildlink3/pkgconfig-builtin.mk"
 
 CHECK_BUILTIN.atf?=    no
-.if !empty(CHECK_BUILTIN.atf:M[nN][oO])
-.  if !empty(USE_BUILTIN.atf:M[yY][eE][sS])
+.if ${CHECK_BUILTIN.atf:tl} == no
+.  if ${USE_BUILTIN.atf:tl} == yes
 BUILDLINK_PREFIX.atf=  ${PKGCONFIG_BASE.atf}
 BUILDLINK_FILES.atf+=  lib/pkgconfig/atf-c++.pc
 BUILDLINK_FILES.atf+=  lib/pkgconfig/atf-c.pc

Index: pkgsrc/devel/atf/distinfo
diff -u pkgsrc/devel/atf/distinfo:1.25 pkgsrc/devel/atf/distinfo:1.26
--- pkgsrc/devel/atf/distinfo:1.25      Tue Oct 26 10:14:17 2021
+++ pkgsrc/devel/atf/distinfo   Sun Mar 30 07:51:54 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2021/10/26 10:14:17 nia Exp $
+$NetBSD: distinfo,v 1.26 2025/03/30 07:51:54 wiz Exp $
 
-BLAKE2s (atf-0.21.tar.gz) = aa891237053bb7d8b0eef5ef341856761f1436cbb89eceeada66784557154872
-SHA512 (atf-0.21.tar.gz) = 9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1
-Size (atf-0.21.tar.gz) = 567791 bytes
+BLAKE2s (atf-0.23.tar.gz) = c6f2d75a13f65e468cba0342f716ef6d9f8070f6e666e37ce718454c5a8c42a2
+SHA512 (atf-0.23.tar.gz) = d94b6b9b611d9876f9e4cc3f8e6a9f95790a5d8b6b9a54da444ba8d503a89df84eea21d580979d47f793336103a75d6a684a306a9ddfd219c3b3abf1cf1e5337
+Size (atf-0.23.tar.gz) = 633217 bytes
 SHA1 (patch-atf-c_tp__test.c) = cfaa36a19ea9d39004c8d5b6099d3de1b2727baa



Home | Main Index | Thread Index | Old Index