Page MenuHomeFreeBSD

Vendor import of pkgconf 2.9.92
Needs ReviewPublic

Authored by khorben on Thu, Jun 25, 10:38 PM.

Details

Reviewers
emaste
markj
Summary

Obtained from https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.9.92.tar.gz

SHA1: 865d15aac5e720a8897b14e0f475736a810a9340 -
SHA256: 1eeda57d5f7b8dd346278ea164536f313366bb10d531d7c490be439638942f6d -
SHA512: a66960f79f83508e372ef948ec98f906abb31aed0b4c1a667f2cf8235f55ede1553fc5dfd1baaa6217a2d82c725448e64207b1dfb858f21fdb12f82e6771546f -

One test folder in tests/lib1 had to be removed to avoid UTF-8 filenames in the tree. (Breaks make create-source-packages)

Sponsored by: The FreeBSD Foundation

Makefile.am                                   | 109 +++++++-
Makefile.lite                                 |   2 +-
NEWS                                          |   3 +
cli/bomtool/main.c                            |   7 -
cli/core.c                                    |   4 +-
cli/spdxtool/core.c                           | 113 +++++++-
cli/spdxtool/core.h                           |   6 +
cli/spdxtool/main.c                           |  16 +-
cli/spdxtool/serialize.c                      |  15 +-
cli/spdxtool/serialize.h                      |   6 +
cli/spdxtool/software.c                       | 100 +++++++
cli/spdxtool/util.h                           |   2 +
codecov.yml                                   |   3 +
configure.ac                                  |  16 +-
fuzzer/replay.c                               | 104 ++++++++
libpkgconf/libpkgconf.h                       |   4 +-
libpkgconf/pkg.c                              |   2 +-
libpkgconf/version.c                          |  36 +--
meson.build                                   |  73 ++++-
t/bomtool/private-dependency.test             |   5 +
t/cli/atleast-version-fail.test               |   4 +
t/cli/atleast-version-inline-constraint.test  |   3 +
t/cli/atleast-version-inline-overrides.test   |   3 +
t/cli/atleast-version-pass.test               |   4 +
t/cli/debug.test                              |   7 +
t/cli/define-variable.test                    |   4 +
t/cli/dont-define-prefix.test                 |   4 +
t/cli/dump-personality-loaded.test            |  12 +
t/cli/env-allow-system-cflags-default.test    |   7 +
t/cli/env-allow-system-cflags.test            |   7 +
t/cli/env-allow-system-libs-default.test      |   7 +
t/cli/env-allow-system-libs.test              |   7 +
t/cli/env-dont-relocate-paths.test            |   6 +
t/cli/env-early-trace.test                    |   8 +
t/cli/env-log.test                            |   9 +
t/cli/env-maximum-traverse-depth.test         |   6 +
t/cli/env-msvc-syntax.test                    |   7 +
t/cli/env-only.test                           |   4 +
t/cli/env-top-build-dir.test                  |   5 +
t/cli/env.test                                |   6 +
t/cli/exact-version-fail.test                 |   4 +
t/cli/exact-version-inline-constraint.test    |   3 +
t/cli/exact-version-inline-overrides.test     |   3 +
t/cli/exact-version-pass.test                 |   4 +
t/cli/fragment-filter.test                    |   4 +
t/cli/internal-cflags.test                    |   4 +
t/cli/keep-system-cflags-flag.test            |   6 +
t/cli/keep-system-libs-flag.test              |   6 +
t/cli/list-package-names.test                 |   5 +
t/cli/log-file.test                           |   8 +
t/cli/max-version-fail.test                   |   4 +
t/cli/max-version-inline-constraint.test      |   3 +
t/cli/max-version-inline-overrides.test       |   3 +
t/cli/max-version-pass.test                   |   4 +
t/cli/maximum-traverse-depth.test             |   5 +
t/cli/no-cache.test                           |   4 +
t/cli/no-provides.test                        |   3 +
t/cli/no-uninstalled.test                     |   3 +
t/cli/path.test                               |   6 +
t/cli/personality.test                        |   5 +
t/cli/prefix-variable.test                    |   4 +
t/cli/print-provides.test                     |   6 +
t/cli/print-requires-private.test             |   4 +
t/cli/print-requires.test                     |   4 +
t/cli/print-variables.test                    |   6 +
t/cli/shared.test                             |   4 +
t/cli/short-errors.test                       |   4 +
t/cli/silence-errors.test                     |   5 +
t/cli/simulate.test                           |   8 +
t/cli/solution.test                           |   8 +
t/cli/validate-warning.test                   |   6 +
t/cli/validate.test                           |   6 +
t/cli/variable.test                           |   4 +
t/cli/verbose.test                            |   4 +
t/cli/with-path.test                          |   4 +
t/spdxtool/private-dependency.test            |   5 +
.../sysroot-differs-from-destdir-injects.test |   6 +
.../sysroot-equals-destdir-fdo-rules.test     |   6 +
tests/api/oom.h                               |  59 +++++
tests/api/test-oom-spdxtool.c                 | 160 +++++++++++
tests/api/test-path-utils.c                   | 152 +++++++++++
tests/api/test-personality.c                  | 187 +++++++++++++
tests/api/test-queue.c                        | 250 ++++++++++++++++++
tests/api/test-version.c                      | 133 ++++++++++
tests/lib-sbom-files/agent_name.json          |  10 +
tests/lib-sbom-files/agent_name_space.json    |  10 +
tests/lib-sbom-files/basic-spdx-base-id.json  |  10 +
tests/lib-sbom-files/basic-use-uri.json       |  10 +
tests/lib-sbom-files/basic.json               |  10 +
tests/lib-sbom-files/bomtool-basic.txt        |   1 +
.../bomtool-define_variable.txt               |   1 +
...omtool-define_variable_with_dependency.txt |   2 +
tests/lib-sbom-files/bomtool-meta_package.txt |   7 +
.../bomtool-multiple_packages.txt             |   2 +
tests/lib-sbom-files/bomtool-nolicense.txt    |   1 +
.../bomtool-private_dependency.txt            |  45 ++++
tests/lib-sbom-files/bomtool-special.txt      |   1 +
.../bomtool-with_dependency.txt               |   2 +
tests/lib-sbom-files/creation_id.json         |  10 +
tests/lib-sbom-files/define_variable.json     |  10 +
.../define_variable_with_dependency.json      |  20 ++
.../meta_package-use-uri-spdx-base-id.json    |  70 +++++
tests/lib-sbom-files/meta_package.json        |  70 +++++
tests/lib-sbom-files/multi_copyright.json     |  10 +
tests/lib-sbom-files/multiple_packages.json   |  20 ++
tests/lib-sbom-files/nolicense.json           |  10 +
tests/lib-sbom-files/private_dependency.json  | 176 ++++++++++++
tests/lib-sbom-files/special.json             |  10 +
tests/lib-sbom-files/with_dependency.json     |  20 ++
tests/lib-sbom/meta_package.pc                |   1 +
tests/lib-sbom/multi-copyright.pc             |   1 +
tests/lib-sbom/nolicense.pc                   |   1 +
tests/lib-sbom/priv-child.pc                  |   6 +
tests/lib-sbom/priv-parent.pc                 |   7 +
tests/lib-sbom/special.pc                     |   1 +
tests/lib-sbom/test1.pc                       |   1 +
tests/lib-sbom/test2.pc                       |   1 +
tests/lib-sbom/test3.pc                       |   1 +
tests/lib-sbom/test4.pc                       |   1 +
tests/lib-sbom/test5.pc                       |   1 +
tests/lib-sbom/test6.pc                       |   1 +
tests/lib-sbom/variable-test1.pc              |   1 +
tests/lib-sbom/variable-test2.pc              |   1 +
tests/lib1/top-builddir.pc                    |   4 +
tests/personality-data/sysrooted.personality  |   7 +
tests/win-shim.h                              |  10 +
126 files changed, 2388 insertions(+), 64 deletions(-)
Test Plan

Import into the base system and test there:

  • Building software with pkg-config(1)
  • Generating SBOMs with bomtool(1) and spdxtool(1)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped