git: 1c503e031aa7 - stable/14 - contrib/kyua: update to 0.15.0

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Mon, 23 Nov 2026 01:39:36 UTC
The branch stable/14 has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c503e031aa7e468a127b0ad2adec8e2bc3b8f56

commit 1c503e031aa7e468a127b0ad2adec8e2bc3b8f56
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-10-07 17:50:26 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-23 01:36:15 +0000

    contrib/kyua: update to 0.15.0
    
    This new release contains multiple feature updates and bugfixes. Please
    see the release notes mentioned in the merge commit for more details.
    
    MFC after:      1 month
    Merge commit '144afd05f8a2300361ec30c1c2020e4022ddd943'
    
    Conflicts:
            contrib/kyua/cli/cmd_debug.cpp
            contrib/kyua/doc/kyua-debug.1.in
            contrib/kyua/doc/kyuafile.5.in
            contrib/kyua/engine/config.cpp
            contrib/kyua/engine/execenv/execenv.cpp
            contrib/kyua/engine/execenv/execenv.hpp
            contrib/kyua/engine/execenv/execenv_host.hpp
            contrib/kyua/engine/requirements.cpp
            contrib/kyua/engine/requirements.hpp
            contrib/kyua/engine/scheduler.cpp
            contrib/kyua/model/metadata.cpp
            contrib/kyua/os/freebsd/execenv_jail.hpp
            contrib/kyua/os/freebsd/execenv_jail_stub.cpp
            contrib/kyua/os/freebsd/main.cpp
            contrib/kyua/os/freebsd/reqs_checker_kmods.cpp
            contrib/kyua/os/freebsd/utils/jail.hpp
            contrib/kyua/utils/fs/directory.cpp
            contrib/kyua/utils/process/executor.cpp
    
    (cherry picked from commit eb8f69902f7de8012a31a85db2f88a54584f81af)
---
 contrib/kyua/.cirrus.yml                           |  25 -
 contrib/kyua/.gitignore                            |  23 -
 contrib/kyua/.travis.yml                           |  49 --
 contrib/kyua/Doxyfile.in                           |   1 -
 contrib/kyua/FREEBSD-Xlist                         |  12 +
 contrib/kyua/INSTALL.md                            | 268 ------
 contrib/kyua/Makefile.am                           | 186 ----
 contrib/kyua/{NEWS.md => NEWS}                     | 163 +++-
 contrib/kyua/README.md                             |  33 +-
 contrib/kyua/admin/.gitignore                      |   6 -
 contrib/kyua/admin/Makefile.am.inc                 |  41 -
 contrib/kyua/admin/build-bintray-dist.sh           | 131 ---
 contrib/kyua/admin/check-api-docs.awk              |  72 --
 contrib/kyua/admin/check-style-common.awk          |  79 --
 contrib/kyua/admin/check-style-cpp.awk             |  87 --
 contrib/kyua/admin/check-style-make.awk            |  71 --
 contrib/kyua/admin/check-style-man.awk             |  71 --
 contrib/kyua/admin/check-style-shell.awk           |  95 --
 contrib/kyua/admin/check-style.sh                  | 170 ----
 contrib/kyua/admin/clean-all.sh                    |  90 --
 contrib/kyua/admin/travis-build.sh                 |  98 ---
 contrib/kyua/admin/travis-install-deps.sh          |  83 --
 contrib/kyua/bootstrap/.gitignore                  |   4 -
 contrib/kyua/bootstrap/Kyuafile                    |   5 -
 contrib/kyua/bootstrap/Makefile.am.inc             |  90 --
 contrib/kyua/bootstrap/plain_helpers.cpp           | 141 ---
 contrib/kyua/bootstrap/testsuite.at                | 200 -----
 contrib/kyua/cli/Makefile.am.inc                   | 123 ---
 contrib/kyua/cli/cmd_debug.cpp                     |   7 +-
 contrib/kyua/cli/main.cpp                          |   4 +
 contrib/kyua/config.h                              | 139 +++
 contrib/kyua/configure.ac                          | 173 ----
 contrib/kyua/doc/.gitignore                        |  14 -
 contrib/kyua/doc/Makefile.am.inc                   | 152 ----
 contrib/kyua/doc/kyua-about.1.in                   |   2 +-
 contrib/kyua/doc/kyua-config.1.in                  |   2 +-
 contrib/kyua/doc/kyua-db-exec.1.in                 |   2 +-
 contrib/kyua/doc/kyua-db-migrate.1.in              |   2 +-
 contrib/kyua/doc/kyua-debug.1.in                   |   4 +-
 contrib/kyua/doc/kyua-help.1.in                    |   2 +-
 contrib/kyua/doc/kyua-list.1.in                    |   2 +-
 contrib/kyua/doc/kyua-report-html.1.in             |   2 +-
 contrib/kyua/doc/kyua-report-junit.1.in            |   2 +-
 contrib/kyua/doc/kyua-report.1.in                  |   2 +-
 contrib/kyua/doc/kyua-test.1.in                    |   2 +-
 contrib/kyua/doc/kyua.1.in                         |   6 +-
 contrib/kyua/doc/kyua.conf.5.in                    |   2 +-
 contrib/kyua/doc/kyuafile.5.in                     |  19 +-
 contrib/kyua/drivers/Makefile.am.inc               |  72 --
 contrib/kyua/engine/Kyuafile                       |   3 +
 contrib/kyua/engine/Makefile.am.inc                | 155 ----
 contrib/kyua/engine/atf.hpp                        |  21 +-
 contrib/kyua/engine/atf_result.cpp                 |  16 +-
 contrib/kyua/engine/atf_result_test.cpp            |   7 +-
 contrib/kyua/engine/atf_test.cpp                   |   2 +-
 contrib/kyua/engine/config.cpp                     |   4 +-
 contrib/kyua/engine/execenv/execenv.cpp            |   3 -
 contrib/kyua/engine/execenv/execenv.hpp            |   6 +-
 contrib/kyua/engine/execenv/execenv_fwd.hpp        |  44 +
 contrib/kyua/engine/execenv/execenv_host.hpp       |   2 +-
 contrib/kyua/engine/googletest.cpp                 | 219 +++++
 contrib/kyua/engine/googletest.hpp                 |  68 ++
 contrib/kyua/engine/googletest_helpers.cpp         | 330 +++++++
 contrib/kyua/engine/googletest_list.cpp            | 111 +++
 .../atf_helpers.cpp => engine/googletest_list.hpp} |  49 +-
 contrib/kyua/engine/googletest_list_test.cpp       | 208 +++++
 contrib/kyua/engine/googletest_result.cpp          | 528 ++++++++++++
 contrib/kyua/engine/googletest_result.hpp          | 111 +++
 contrib/kyua/engine/googletest_result_fwd.hpp      |  43 +
 contrib/kyua/engine/googletest_result_test.cpp     | 427 +++++++++
 contrib/kyua/engine/googletest_test.cpp            | 361 ++++++++
 contrib/kyua/engine/kyuafile.hpp                   |   5 -
 contrib/kyua/engine/kyuafile_test.cpp              |  10 +-
 contrib/kyua/engine/plain.hpp                      |  13 +-
 contrib/kyua/engine/requirements.cpp               |   4 +-
 contrib/kyua/engine/requirements.hpp               |   4 +-
 contrib/kyua/engine/scheduler.cpp                  |   4 +-
 contrib/kyua/engine/scheduler.hpp                  |  26 +-
 contrib/kyua/engine/scheduler_test.cpp             |  24 +-
 contrib/kyua/engine/tap.hpp                        |  13 +-
 contrib/kyua/examples/Makefile.am.inc              |  45 -
 contrib/kyua/integration/Makefile.am.inc           | 150 ----
 contrib/kyua/integration/cmd_about_test.sh         |   2 +-
 contrib/kyua/integration/cmd_report_test.sh        |   2 +-
 contrib/kyua/integration/cmd_test_test.sh          |   4 +-
 contrib/kyua/integration/helpers/.gitignore        |  11 -
 contrib/kyua/integration/helpers/Makefile.am.inc   |  90 --
 contrib/kyua/integration/utils.sh                  |  34 +-
 contrib/kyua/m4/ax_cxx_compile_stdcxx.m4           | 951 ---------------------
 contrib/kyua/m4/compiler-features.m4               | 122 ---
 contrib/kyua/m4/compiler-flags.m4                  | 169 ----
 contrib/kyua/m4/developer-mode.m4                  | 112 ---
 contrib/kyua/m4/doxygen.m4                         |  62 --
 contrib/kyua/m4/fs.m4                              | 125 ---
 contrib/kyua/m4/getopt.m4                          | 213 -----
 contrib/kyua/m4/memory.m4                          | 122 ---
 contrib/kyua/m4/signals.m4                         |  92 --
 contrib/kyua/m4/uname.m4                           |  63 --
 contrib/kyua/misc/Makefile.am.inc                  |  32 -
 contrib/kyua/model/Makefile.am.inc                 |  89 --
 contrib/kyua/model/README                          |  11 -
 contrib/kyua/model/metadata.cpp                    |  51 +-
 contrib/kyua/os/freebsd/execenv_jail.hpp           |   2 +-
 contrib/kyua/os/freebsd/execenv_jail_stub.cpp      |   2 +-
 contrib/kyua/os/freebsd/main.cpp                   |   8 -
 contrib/kyua/os/freebsd/reqs_checker_kmods.cpp     |   2 +-
 contrib/kyua/os/freebsd/utils/jail.hpp             |   7 +-
 contrib/kyua/store/Makefile.am.inc                 | 145 ----
 contrib/kyua/store/write_transaction_test.cpp      |   2 +-
 contrib/kyua/utils/.gitignore                      |   2 -
 contrib/kyua/utils/Makefile.am.inc                 | 133 ---
 contrib/kyua/utils/cmdline/Makefile.am.inc         |  96 ---
 contrib/kyua/utils/config/Makefile.am.inc          |  87 --
 contrib/kyua/utils/config/nodes.cpp                |  20 +-
 contrib/kyua/utils/config/nodes.hpp                |   2 +
 contrib/kyua/utils/config/nodes_test.cpp           |  15 +-
 contrib/kyua/utils/defs.hpp.in                     |  15 +-
 contrib/kyua/utils/format/Makefile.am.inc          |  59 --
 contrib/kyua/utils/fs/Makefile.am.inc              |  84 --
 contrib/kyua/utils/fs/directory.cpp                |  13 +-
 contrib/kyua/utils/fs/operations.cpp               | 120 +--
 contrib/kyua/utils/logging/Makefile.am.inc         |  53 --
 contrib/kyua/utils/process/.gitignore              |   1 -
 contrib/kyua/utils/process/Kyuafile                |   1 -
 contrib/kyua/utils/process/Makefile.am.inc         | 118 ---
 contrib/kyua/utils/process/child.hpp               |   4 +-
 contrib/kyua/utils/process/child_test.cpp          |   2 +-
 contrib/kyua/utils/process/executor.cpp            |   2 +
 contrib/kyua/utils/process/executor_pid_test.cpp   | 208 -----
 contrib/kyua/utils/process/executor_test.cpp       |  23 +-
 contrib/kyua/utils/process/isolation.cpp           |   2 +-
 contrib/kyua/utils/process/operations.cpp          |   3 +-
 contrib/kyua/utils/process/operations.hpp          |   6 +-
 contrib/kyua/utils/process/operations_test.cpp     |   4 +-
 contrib/kyua/utils/sanity.hpp                      |   4 +-
 contrib/kyua/utils/signals/Makefile.am.inc         |  73 --
 contrib/kyua/utils/signals/misc_test.cpp           |   2 +-
 contrib/kyua/utils/sqlite/Makefile.am.inc          |  82 --
 contrib/kyua/utils/sqlite/database.hpp             |   1 +
 contrib/kyua/utils/sqlite/test_utils.hpp           |   4 +-
 contrib/kyua/utils/stacktrace.cpp                  |   2 +-
 contrib/kyua/utils/stacktrace_test.cpp             |   9 +-
 contrib/kyua/utils/test_utils.ipp                  |   2 +-
 contrib/kyua/utils/text/Makefile.am.inc            |  74 --
 contrib/kyua/utils/text/operations.ipp             |   1 +
 contrib/kyua/utils/text/regex.cpp                  |   4 +-
 contrib/kyua/utils/text/regex.hpp                  |   1 +
 147 files changed, 3019 insertions(+), 6883 deletions(-)

diff --git a/contrib/kyua/.cirrus.yml b/contrib/kyua/.cirrus.yml
deleted file mode 100644
index 855693b34fa1..000000000000
--- a/contrib/kyua/.cirrus.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-env:
-  ARCH: amd64
-
-task:
-  matrix:
-    - name: 14.0-RELEASE
-      freebsd_instance:
-        image_family: freebsd-14-0
-    - name: 14.0-STABLE
-      freebsd_instance:
-        image_family: freebsd-14-0-snap
-    - name: 13.2-RELEASE
-      freebsd_instance:
-        image_family: freebsd-13-2
-    - name: 13.2-STABLE
-      freebsd_instance:
-        image_family: freebsd-13-2-snap
-  env:
-    DO: distcheck
-  install_script:
-    - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
-    - ASSUME_ALWAYS_YES=yes pkg bootstrap -f
-    - pkg install -y autoconf automake atf lutok pkgconf sqlite3
-  script:
-    - ./admin/travis-build.sh
diff --git a/contrib/kyua/.gitignore b/contrib/kyua/.gitignore
deleted file mode 100644
index d7f1a180d6fb..000000000000
--- a/contrib/kyua/.gitignore
+++ /dev/null
@@ -1,23 +0,0 @@
-*.a
-*.o
-*_helpers
-*_inttest
-*_test
-*~
-
-.deps
-.dirstamp
-Doxyfile
-Makefile
-Makefile.in
-aclocal.m4
-api-docs
-autom4te.cache
-config.h
-config.h.in
-config.log
-config.status
-configure
-kyua
-local-kyua
-stamp-h1
diff --git a/contrib/kyua/.travis.yml b/contrib/kyua/.travis.yml
deleted file mode 100644
index 619dceaf3d2d..000000000000
--- a/contrib/kyua/.travis.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-language: cpp
-sudo: required
-
-before_install:
-    - ./admin/travis-install-deps.sh
-
-matrix:
-    include:
-        - os: linux
-          dist: xenial
-          compiler: clang
-          env: ARCH=amd64 DO=distcheck AS_ROOT=no
-        - os: linux
-          dist: xenial
-          compiler: gcc
-          env: ARCH=amd64 DO=distcheck AS_ROOT=no
-        - os: linux
-          dist: xenial
-          compiler: clang
-          env: ARCH=amd64 DO=apidocs
-        - os: linux
-          dist: xenial
-          compiler: clang
-          env: ARCH=amd64 DO=style
-        - os: linux
-          dist: xenial
-          compiler: clang
-          env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=no
-        - os: linux
-          dist: xenial
-          compiler: clang
-          env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=yes
-        # TODO(ngie): reenable i386; the libraries were not available in the
-        #             Ubuntu Xenial x86_64 docker image.
-        #- os: linux
-        #  dist: xenial
-        #  compiler: clang
-        #  env: ARCH=i386 DO=distcheck AS_ROOT=no
-        #- os: linux
-        #  dist: xenial
-        #  compiler: gcc
-        #  env: ARCH=i386 DO=distcheck AS_ROOT=no
-
-script:
-    - ./admin/travis-build.sh
-
-notifications:
-    email:
-        - kyua-log@googlegroups.com
diff --git a/contrib/kyua/Doxyfile.in b/contrib/kyua/Doxyfile.in
index e28d82f8999a..ac1dbf3398b6 100644
--- a/contrib/kyua/Doxyfile.in
+++ b/contrib/kyua/Doxyfile.in
@@ -45,7 +45,6 @@ JAVADOC_AUTOBRIEF = YES
 MACRO_EXPANSION = YES
 OUTPUT_DIRECTORY = @top_builddir@/api-docs
 OUTPUT_LANGUAGE = English
-PREDEFINED += "KYUA_DEFS_NORETURN="
 PREDEFINED += "KYUA_DEFS_FORMAT_PRINTF(x, y)="
 PROJECT_NAME = "@PACKAGE_NAME@"
 PROJECT_NUMBER = @VERSION@
diff --git a/contrib/kyua/FREEBSD-Xlist b/contrib/kyua/FREEBSD-Xlist
new file mode 100644
index 000000000000..06fef93a4024
--- /dev/null
+++ b/contrib/kyua/FREEBSD-Xlist
@@ -0,0 +1,12 @@
+*/*/Makefile*
+*/Makefile*
+*/*.m4
+*/*.pc.in
+INSTALL.md
+Makefile*
+aclocal.m4
+admin/
+config.h.in
+bootstrap/
+configure*
+m4/
diff --git a/contrib/kyua/INSTALL.md b/contrib/kyua/INSTALL.md
deleted file mode 100644
index d3dcab49cb74..000000000000
--- a/contrib/kyua/INSTALL.md
+++ /dev/null
@@ -1,268 +0,0 @@
-Installation instructions
-=========================
-
-Kyua uses the GNU Automake, GNU Autoconf and GNU Libtool utilities as
-its build system.  These are used only when compiling the application
-from the source code package.  If you want to install Kyua from a binary
-package, you do not need to read this document.
-
-For the impatient:
-
-    $ ./configure
-    $ make
-    $ make check
-    Gain root privileges
-    # make install
-    Drop root privileges
-    $ make installcheck
-
-Or alternatively, install as a regular user into your home directory:
-
-    $ ./configure --prefix ~/local
-    $ make
-    $ make check
-    $ make install
-    $ make installcheck
-
-
-Dependencies
-------------
-
-To build and use Kyua successfully you need:
-
-* A standards-compliant C and C++ complier.
-* Lutok 0.4.
-* pkg-config.
-* SQLite 3.6.22.
-
-To build the Kyua tests, you optionally need:
-
-* The Automated Testing Framework (ATF), version 0.15 or greater.  This
-  is required if you want to create a distribution file.
-
-If you are building Kyua from the code on the repository, you will also
-need the following tools:
-
-* GNU Autoconf.
-* GNU Automake.
-* GNU Libtool.
-
-
-Regenerating the build system
------------------------------
-
-This is not necessary if you are building from a formal release
-distribution file.
-
-On the other hand, if you are building Kyua from code extracted from the
-repository, you must first regenerate the files used by the build
-system.  You will also need to do this if you modify `configure.ac`,
-`Makefile.am` or any of the other build system files.  To do this, simply
-run:
-
-    $ autoreconf -i -s
-
-If ATF is installed in a different prefix than Autoconf, you will also
-need to tell autoreconf where the ATF M4 macros are located.  Otherwise,
-the configure script will be incomplete and will show confusing syntax
-errors mentioning, for example, `ATF_CHECK_SH`.  To fix this, you have
-to run autoreconf in the following manner, replacing `<atf-prefix>` with
-the appropriate path:
-
-    $ autoreconf -i -s -I <atf-prefix>/share/aclocal
-
-
-General build procedure
------------------------
-
-To build and install the source package, you must follow these steps:
-
-1. Configure the sources to adapt to your operating system.  This is
-   done using the `configure` script located on the sources' top
-   directory, and it is usually invoked without arguments unless you
-   want to change the installation prefix.  More details on this
-   procedure are given on a later section.
-
-2. Build the sources to generate the binaries and scripts.  Simply run
-   `make` on the sources' top directory after configuring them.  No
-   problems should arise.
-
-3. Check that the built programs work by running `make check`.  You do
-   not need to be root to do this, but if you are not, some checks will
-   be skipped.
-
-4. Install the program by running `make install`.  You may need to
-   become root to issue this step.
-
-5. Issue any manual installation steps that may be required.  These are
-   described later in their own section.
-
-6. Check that the installed programs work by running `make
-   installcheck`.  You do not need to be root to do this, but if you are
-   not, some checks will be skipped.
-
-
-Configuration flags
--------------------
-
-The most common, standard flags given to `configure` are:
-
-* `--prefix=directory`:
-  **Possible values:** Any path.
-  **Default:** `/usr/local`.
-
-  Specifies where the program (binaries and all associated files) will
-  be installed.
-
-* `--sysconfdir=directory`:
-  **Possible values:** Any path.
-  **Default:** `/usr/local/etc`.
-
-  Specifies where the installed programs will look for configuration
-  files.  `/kyua` will be appended to the given path unless
-  `KYUA_CONFSUBDIR` is redefined as explained later on.
-
-* `--help`:
-
-  Shows information about all available flags and exits immediately,
-  without running any configuration tasks.
-
-The following environment variables are specific to Kyua's `configure`
-script:
-
-* `GDB`:
-  **Possible values:** empty, absolute path to GNU GDB.
-  **Default:** empty.
-
-  Specifies the path to the GNU GDB binary that Kyua will use to gather a
-  stack trace of a crashing test program.  If empty, the configure script
-  will try to find a suitable binary for you and, if not found, Kyua will
-  attempt to do the search at run time.
-
-* `KYUA_ARCHITECTURE`:
-  **Possible values:** name of a CPU architecture (e.g. `x86_64`, `powerpc`).
-  **Default:** autodetected; typically the output of `uname -p`.
-
-  Specifies the name of the CPU architecture on which Kyua will run.
-  This value is used at run-time to determine tests that are not
-  applicable to the host system.
-
-* `KYUA_CONFSUBDIR`:
-  **Possible values:** empty, a relative path.
-  **Default:** `kyua`.
-
-  Specifies the subdirectory of the configuration directory (given by
-  the `--sysconfdir` argument) under which Kyua will search for its
-  configuration files.
-
-* `KYUA_CONFIG_FILE_FOR_CHECK`:
-  **Possible values:** none, an absolute path to an existing file.
-  **Default:** none.
-
-  Specifies the `kyua.conf` configuration file to use when running any
-  of the `check`, `installcheck` or `distcheck` targets on this source
-  tree.  This setting is exclusively used to customize the test runs of
-  Kyua itself and has no effect whatsoever on the built product.
-
-* `KYUA_MACHINE`:
-  **Possible values:** name of a machine type (e.g. `amd64`, `macppc`).
-  **Default:** autodetected; typically the output of `uname -m`.
-
-  Specifies the name of the machine type on which Kyua will run.  This
-  value is used at run-time to determine tests that are not applicable
-  to the host system.
-
-* `KYUA_TMPDIR`:
-  **Possible values:** an absolute path to a temporary directory.
-  **Default:** `/tmp`.
-
-  Specifies the path that Kyua will use to create temporary directories
-  in by default.
-
-The following flags are specific to Kyua's `configure` script:
-
-* `--enable-developer`:
-  **Possible values:** `yes`, `no`.
-  **Default:** `yes` in Git `HEAD` builds; `no` in formal releases.
-
-  Enables several features useful for development, such as the inclusion
-  of debugging symbols in all objects or the enforcement of compilation
-  warnings.
-
-  The compiler will be executed with an exhaustive collection of warning
-  detection features regardless of the value of this flag.  However, such
-  warnings are only fatal when `--enable-developer` is `yes`.
-
-* `--with-atf`:
-  **Possible values:** `yes`, `no`, `auto`.
-  **Default:** `auto`.
-
-  Enables usage of ATF to build (and later install) the tests.
-
-  Setting this to `yes` causes the configure script to look for ATF
-  unconditionally and abort if not found.  Setting this to `auto` lets
-  configure perform the best decision based on availability of ATF.
-  Setting this to `no` explicitly disables ATF usage.
-
-  When support for tests is enabled, the build process will generate the
-  test programs and will later install them into the tests tree.
-  Running `make check` or `make installcheck` from within the source
-  directory will cause these tests to be run with Kyua.
-
-* `--with-doxygen`:
-  **Possible values:** `yes`, `no`, `auto` or a path.
-  **Default:** `auto`.
-
-  Enables usage of Doxygen to generate documentation for internal APIs.
-  This documentation is *not* installed and is only provided to help the
-  developer of this package.  Therefore, enabling or disabling Doxygen
-  causes absolutely no differences on the files installed by this
-  package.
-
-  Setting this to `yes` causes the configure script to look for Doxygen
-  unconditionally and abort if not found.  Setting this to `auto` lets
-  configure perform the best decision based on availability of Doxygen.
-  Setting this to `no` explicitly disables Doxygen usage.  And, lastly,
-  setting this to a path forces configure to use a specific Doxygen
-  binary, which must exist.
-
-
-Post-installation steps
------------------------
-
-Copy the `Kyuafile.top` file installed in the examples directory to the
-root of your tests hierarchy and name it `Kyuafile`.  For example:
-
-    # cp /usr/local/share/kyua/examples/Kyuafile.top \
-         /usr/local/tests/Kyuafile
-
-This will allow you to simply go into `/usr/tests` and run the tests
-from there.
-
-
-Run the tests!
---------------
-
-Lastly, after a successful installation, you should periodically run the
-tests from the final location to ensure things remain stable.  Do so as
-follows:
-
-    $ cd /usr/local/kyua && kyua test
-
-The following configuration variables are specific to the 'kyua' test
-suite and can be given to Kyua with arguments of the form
-`-v test_suites.kyua.<variable_name>=<value>`:
-
-* `run_coredump_tests`:
-  **Possible values:** `true` or `false`.
-  **Default:** `true`.
-
-  Avoids running tests that crash subprocesses on purpose to make them
-  dump core.  Such tests are particularly slow on macOS, and it is
-  sometimes handy to disable them for quicker development iteration.
-
-If you see any tests fail, do not hesitate to report them in:
-
-    https://github.com/jmmv/kyua/issues/
-
-Thank you!
diff --git a/contrib/kyua/Makefile.am b/contrib/kyua/Makefile.am
deleted file mode 100644
index d7f3cd27e73b..000000000000
--- a/contrib/kyua/Makefile.am
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 2010 The Kyua Authors.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-#   notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-#   notice, this list of conditions and the following disclaimer in the
-#   documentation and/or other materials provided with the distribution.
-# * Neither the name of Google Inc. nor the names of its contributors
-#   may be used to endorse or promote products derived from this software
-#   without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-ACLOCAL_AMFLAGS = -I m4
-
-CHECK_BOOTSTRAP_DEPS =
-CHECK_KYUA_DEPS =
-CHECK_LOCAL =
-CLEAN_TARGETS =
-DIST_HOOKS =
-PHONY_TARGETS =
-CLEANFILES =
-
-EXTRA_DIST =
-noinst_DATA =
-noinst_LIBRARIES =
-noinst_SCRIPTS =
-
-doc_DATA = AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE NEWS.md
-noinst_DATA += INSTALL.md README.md
-EXTRA_DIST += $(doc_DATA) INSTALL.md README.md
-
-if WITH_ATF
-tests_topdir = $(pkgtestsdir)
-
-tests_top_DATA = Kyuafile
-EXTRA_DIST += $(tests_top_DATA)
-endif
-
-include admin/Makefile.am.inc
-include bootstrap/Makefile.am.inc
-include cli/Makefile.am.inc
-include doc/Makefile.am.inc
-include drivers/Makefile.am.inc
-include engine/Makefile.am.inc
-include examples/Makefile.am.inc
-include integration/Makefile.am.inc
-include misc/Makefile.am.inc
-include model/Makefile.am.inc
-include store/Makefile.am.inc
-include utils/Makefile.am.inc
-
-bin_PROGRAMS = kyua
-kyua_SOURCES = main.cpp
-kyua_CXXFLAGS = $(CLI_CFLAGS) $(ENGINE_CFLAGS) $(UTILS_CFLAGS)
-kyua_LDADD = $(CLI_LIBS) $(ENGINE_LIBS) $(UTILS_LIBS)
-
-CHECK_ENVIRONMENT = KYUA_CONFDIR="/non-existent" \
-                    KYUA_DOCDIR="$(abs_top_srcdir)" \
-                    KYUA_EXAMPLESDIR="$(abs_top_srcdir)/examples" \
-                    KYUA_MISCDIR="$(abs_top_srcdir)/misc" \
-                    KYUA_STOREDIR="$(abs_top_srcdir)/store" \
-                    KYUA_STORETESTDATADIR="$(abs_top_srcdir)/store" \
-                    PATH="$(abs_top_builddir):$${PATH}"
-INSTALLCHECK_ENVIRONMENT = KYUA_CONFDIR="/non-existent" \
-                           PATH="$(prefix)/bin:$${PATH}"
-
-# Generate local-kyua, a wrapper shell script to run the just-built 'kyua'
-# binary by pointing it to the possibly not-yet-installed data files in the
-# build tree.
-noinst_SCRIPTS += local-kyua
-CLEANFILES += local-kyua local-kyua.tmp
-local-kyua: Makefile
-	$(AM_V_GEN)echo '#!/bin/sh' >local-kyua.tmp; \
-	echo 'env $(CHECK_ENVIRONMENT) $(TESTS_ENVIRONMENT)' \
-	    '"$(abs_top_builddir)/kyua" \
-	    --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' \
-	    "$${@}"' >>local-kyua.tmp; \
-	chmod +x local-kyua.tmp; \
-	mv -f local-kyua.tmp local-kyua
-
-if WITH_ATF
-CHECK_LOCAL += dump-ulimits check-kyua
-PHONY_TARGETS += check-kyua
-check-kyua: $(CHECK_KYUA_DEPS)
-	@failed=no; \
-	./local-kyua test \
-	    --kyuafile='$(top_srcdir)/Kyuafile' --build-root='$(top_builddir)' \
-	    || failed=yes; \
-	if [ "$${failed}" = yes ]; then \
-	    ./local-kyua report --results-file='$(abs_top_srcdir)' \
-	        --verbose --results-filter=broken,failed; \
-	    exit 1; \
-	fi
-
-installcheck-local: dump-ulimits installcheck-kyua
-PHONY_TARGETS += installcheck-kyua
-installcheck-kyua:
-	@failed=no; \
-	cd $(pkgtestsdir) && $(INSTALLCHECK_ENVIRONMENT) $(TESTS_ENVIRONMENT) \
-	    kyua --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' test \
-	    || failed=yes; \
-	if [ "$${failed}" = yes ]; then \
-	    cd $(pkgtestsdir) && $(INSTALLCHECK_ENVIRONMENT) \
-	        $(TESTS_ENVIRONMENT) \
-	        kyua --config='$(KYUA_CONFIG_FILE_FOR_CHECK)' report \
-	        --verbose --results-filter=broken,failed; \
-	    exit 1; \
-	fi
-
-# TODO(jmmv): kyua should probably be recording this information itself as part
-# of the execution context, just as we record environment variables.
-PHONY_TARGETS += dump-ulimits
-dump-ulimits:
-	@echo "Resource limits:"
-	@{ \
-	    ulimit -a | sed -e 's,$$, (soft),'; \
-	    ulimit -a -H | sed -e 's,$$, (hard),'; \
-	} | sort | sed -e 's,^,    ,'
-	@echo
-else
-DIST_HOOKS += forbid-dist
-PHONY_TARGETS += forbid-dist
-forbid-dist:
-	@echo "Sorry; cannot make dist without atf."
-	@false
-endif
-check-local: $(CHECK_LOCAL)
-
-if WITH_DOXYGEN
-# Runs doxygen on the source tree and validates the contents of the docstrings.
-# We do not do this by default, even if doxygen has been enabled, because this
-# step takes a long time.  Instead, we just rely on a Travis CI build to catch
-# inconsistencies.
-PHONY_TARGETS += check-api-docs
-check-api-docs: api-docs/api-docs.tag
-	@$(AWK) -f $(srcdir)/admin/check-api-docs.awk api-docs/doxygen.out
-
-api-docs/api-docs.tag: $(builddir)/Doxyfile $(SOURCES)
-	@$(MKDIR_P) api-docs
-	@rm -f api-docs/doxygen.out api-docs/doxygen.out.tmp
-	$(AM_V_GEN)$(DOXYGEN) $(builddir)/Doxyfile \
-	    >api-docs/doxygen.out.tmp 2>&1 && \
-	    mv api-docs/doxygen.out.tmp api-docs/doxygen.out
-
-CLEAN_TARGETS += clean-api-docs
-clean-api-docs:
-	rm -rf api-docs
-endif
-
-# Replace Automake's builtin check-news functionality so that we can validate
-# the NEWS.md file instead of NEWS.
-DIST_HOOKS += check-news
-PHONY_TARGETS += check-news
-check-news:
-	@case "$$(sed 15q "$(srcdir)/NEWS.md")" in \
-	*"$(VERSION)"*) : ;; \
-	*) \
-	    echo "NEWS.md not updated; not releasing" 1>&2; \
-	    exit 1 \
-	    ;; \
-	esac
-
-clean-local: $(CLEAN_TARGETS)
-dist-hook: $(DIST_HOOKS)
-
-PHONY_TARGETS += clean-all
-clean-all:
-	GIT="$(GIT)" $(SH) $(srcdir)/admin/clean-all.sh
-
-.PHONY: $(PHONY_TARGETS)
diff --git a/contrib/kyua/NEWS.md b/contrib/kyua/NEWS
similarity index 85%
rename from contrib/kyua/NEWS.md
rename to contrib/kyua/NEWS
index 304cfe94695a..c794e6e60092 100644
--- a/contrib/kyua/NEWS.md
+++ b/contrib/kyua/NEWS
@@ -1,17 +1,119 @@
-Major changes between releases
-==============================
+# Major changes between releases
 
+## Changes in version 0.15.0
 
-Changes in version 0.14
------------------------
+**Released on 2026/10/07.**
 
-**NOT RELEASED YET; STILL UNDER DEVELOPMENT.**
+### Bugfixes
 
-* Explicitly require C++11 language features when compiling Kyua.
+* #265: Null cleanups
+* #271: kyua: Try harder to delete directories.
+* #300: Implement utils::config::positive_int_node::deep_copy
 
+### Developer Workflow Changes
 
-Changes in version 0.13
------------------------
+* #254: Add initial GitHub Actions support for kyua
+* #288: [CI] remove legacy CI scripts and files
+* #291: Remove Travis CI config
+* #298: Add sanitizers and code coverage support
+* #301: Add FreeBSD CI support via vmactions
+* #305: Automate uploading release assets
+
+### Feature Enhancements
+
+* #203: Add GoogleTest support
+* #230: Do not count skipped as passed in test cmd
+* #260: Support require.diskspace ATF metadata
+* #261: Pass unprivileged user config prop to ATF using all known names
+* #266: Add "kyua debug -p" option
+* #270: Add required_kmods metadata
+* #272: Make "test" command actually report about workdir cleanup issues
+* #273: Make "debug -p" skip writing stdout/stderr to tmp files
+* #277: kyua-debug: Add -P option
+* #290: Require C++-20 in order to build kyua
+* #307: Upstream multiple items from FreeBSD
+
+### Documentation
+
+* #258: kyuafile.5: Add ATF metadata mapping reference
+* #275: kyua manuals: Correct --results-file short form
+* #279: docs: Standardize document description tone
+
+### Miscellaneous
+
+* #264: Switch from std::auto_ptr<> to std::unique_ptr<>
+* #269: Fix cmd_about_test:topic__version test case
+* #297: Reduce overall lutok dependency
+* #312: Replace KYUA_ATTRIBUTE_{NORETURN,UNUSED}} with C++ attributes
+* #318: utils::fs: remove umount(8) support
+
+**Full Changelog**: https://github.com/freebsd/lutok/compare/kyua-0.14.1...kyua-0.15.0
+
+## Changes in version 0.14.1
+
+**Released on March 29th, 2025.**
+
+* Issue #263: fix release tarball by relying on `make dist`.
+
+* Document ATF to Kyua mappings for metadata properties.
+
+* Support `require.diskspace` ATF metadata property.
+
+* Support backwards compatible `unprivileged_user` metadata property for ease
+  of use dealing with ATF vs Kyua.
+
+* Fix building from source by tracking `utils/process/Kyuafile.in` and
+  `engine/execenv/execenv_fwd.hpp` with automake.
+
+## Changes in version 0.14
+
+**Released on December 31st, 2024.**
+
+* Replace `--with-atf` with `--enable-atf`. The latter must be specified
+  to enable ATF support and the Kyua tests by proxy.
+
+* Require newer versions of ATF (0.21) and Lutok (0.5). This is being done
+  as part of a multi-phase deprecation of pre-C++11 environments.
+
+* Vendor the ATF m4 files from the freebsd/atf repo.
+
+* Translate `is_exclusive` metadata to its ATF counterpart.
+
+* Issue #236: fix accidental test forkbomb in specific user environments
+  with `integration` tests by avoiding infinite recursion calling kyua.
+
+* Fix the build on Ubuntu 24.04.
+
+- execenv support added. This FreeBSD-specific feature allows tests to be
+  executed in jails.
+
+* Issue #169: Remove deprecated `readdir_r` use.
+
+* Fix build issue on more recent versions of MacOS.
+
+* Fix build issue on IllumOS.
+
+* Fix issues with PID reuse in testcases.
+
+* Escape characters captured from stderr and stdout in HTML output.
+
+* `integration/cmd_report_test:verbose`: fix regular expression used in
+  tests which would break in certain user environments.
+
+* Add Cirrus CI support for testing Kyua on FreeBSD.
+
+* Remove `UTILS_UNUSED_PARAM` macro.
+
+* Fix document rendering with newer versions of doxygen.
+
+* Issue #152: explicitly require C++11 language features when compiling Kyua.
+  Remove `std::shared_ptr` compatibility header, `utils/shared_ptr.hpp`.
+
+* Fix `igor` and `mandoc -Tlint` reported issues with generated manpages.
+
+* Issue #167: fix typos in kyua(1) manpage.
+
+## Changes in version 0.13
 
 **Released on August 26th, 2016.**
 
@@ -36,8 +138,7 @@ Changes in version 0.13
   timers to control test deadlines.
 
 
-Changes in version 0.12
------------------------
+## Changes in version 0.12
 
 **Released on November 22nd, 2015.**
 
@@ -129,8 +230,7 @@ parallelization possibilities.
   Markdown for better formatting online.
 
 
-Changes in version 0.11
------------------------
+## Changes in version 0.11
 
 **Released on October 23rd, 2014.**
 
@@ -211,8 +311,7 @@ Changes in version 0.11
   examples.
 
 
-Changes in version 0.10
------------------------
+## Changes in version 0.10
 
 **Experimental version released on August 14th, 2014.**
 
@@ -232,8 +331,7 @@ Changes in version 0.10
   prevent triggering a core dump that made the test fail in some platforms.
 
 
-Changes in kyua-cli version 0.9
--------------------------------
+## Changes in kyua-cli version 0.9
 
 **Experimental version released on August 8th, 2014.**
 
@@ -276,8 +374,7 @@ Changes in more detail:
   files.
 
 
-Changes in kyua-testers version 0.3
------------------------------------
+## Changes in kyua-testers version 0.3
 
 **Experimental version released on August 8th, 2014.**
 
@@ -293,8 +390,7 @@ Changes in kyua-testers version 0.3
   handle test programs that report a pass but exit with a non-zero code.
*** 10994 LINES SKIPPED ***