Page MenuHomeFreeBSD

Vendor import of pkgconf 2.9.91
Needs ReviewPublic

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

Details

Reviewers
emaste
markj
Summary

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

SHA1: 8ac84e584ff568dace16f9012efcec603b78ca34 -
SHA256: 68de1892189f085ab21e735561c67b5a077b85e0ce29f91ac774c3ad1afbfc94 -
SHA512: b069c7e9266059a126443392853b353845f0ebffd1591bdbc5582853016074d284d3b2f3a2b6588deb29a662bb712f05261c9bca81452d6de536018dbc9d4314 -

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                                   |  98 +++++++++
Makefile.lite                                 |   2 +-
NEWS                                          |  20 +-
cli/bomtool/main.c                            |  35 ++-
cli/main.c                                    |  21 +-
cli/spdxtool/util.c                           |  29 +--
cli/spdxtool/util.h                           |   3 -
codecov.yml                                   |  12 ++
configure.ac                                  |   2 +-
libpkgconf/client.c                           |   8 +-
libpkgconf/libpkgconf.h                       |   6 +-
libpkgconf/path.c                             |  13 +-
man/bomtool.1                                 |  27 ++-
man/pkgconf.1                                 |   5 -
man/spdxtool.1                                |   9 +
meson.build                                   |  22 +-
t/bomtool/about.test                          |   5 +
t/bomtool/bad-output.test                     |   4 +
t/bomtool/basic.test                          |   5 +
t/bomtool/default-time.test                   |   6 +
.../define-variable-with-dependency.test      |   5 +
t/bomtool/define-variable.test                |   5 +
t/bomtool/help.test                           |   5 +
t/bomtool/meta-package.test                   |   5 +
t/bomtool/multiple-packages.test              |   5 +
t/bomtool/no-license.test                     |   5 +
t/bomtool/output-file.test                    |   5 +
t/bomtool/package-whitespace.test             |   6 +
t/bomtool/source-date-epoch-precedence.test   |   6 +
t/bomtool/source-date-epoch.test              |   7 +
t/bomtool/special-chars.test                  |   5 +
t/bomtool/unknown-option.test                 |   3 +
t/bomtool/unknown-package.test                |   4 +
t/bomtool/version-operator.test               |   6 +
t/bomtool/version.test                        |   5 +
t/bomtool/with-dependency.test                |   5 +
t/cli/about.test                              |   5 +
t/cli/atleast-pkgconfig-version-fail.test     |   3 +
t/cli/atleast-pkgconfig-version-pass.test     |   3 +
t/cli/cflags-libs.test                        |   5 +
t/cli/dump-personality.test                   |   5 +
t/cli/exists-missing.test                     |   4 +
t/cli/exists-valid.test                       |   4 +
t/cli/help.test                               |   5 +
t/cli/missing-package-error.test              |   6 +
t/cli/missing-package.test                    |   4 +
t/cli/modversion.test                         |   5 +
t/cli/no-arguments.test                       |   2 +
t/cli/unknown-option.test                     |   3 +
t/cli/version.test                            |   3 +
t/spdxtool/about.test                         |   5 +
t/spdxtool/agent-name-space.test              |   6 +
t/spdxtool/agent-name.test                    |   5 +
t/spdxtool/bad-output.test                    |   4 +
t/spdxtool/creation-id.test                   |   5 +
t/spdxtool/default-time.test                  |   6 +
...t => define-variable-with-dependency.test} |   0
t/spdxtool/help.test                          |   5 +
t/spdxtool/multi-copyright.test               |   5 +
t/spdxtool/multiple-packages.test             |   5 +
t/spdxtool/no-license.test                    |   5 +
t/spdxtool/output-file.test                   |   5 +
t/spdxtool/package-whitespace.test            |   6 +
t/spdxtool/source-date-epoch-precedence.test  |   6 +
t/spdxtool/source-date-epoch.test             |   7 +
t/spdxtool/special-chars.test                 |   5 +
t/spdxtool/unknown-option.test                |   3 +
t/spdxtool/unknown-package.test               |   4 +
t/spdxtool/version-operator.test              |   6 +
t/spdxtool/version.test                       |   5 +
tests/api/test-fileio.c                       |   2 +-
tests/api/test-serialize.c                    | 203 ++++++++++++++++++
tests/lib-sbom-files/agent_name.json          |  90 ++++++++
tests/lib-sbom-files/agent_name_space.json    |  90 ++++++++
tests/lib-sbom-files/bomtool-basic.txt        |  24 +++
.../bomtool-define_variable.txt               |  24 +++
...omtool-define_variable_with_dependency.txt |  43 ++++
tests/lib-sbom-files/bomtool-meta_package.txt | 137 ++++++++++++
.../bomtool-multiple_packages.txt             |  39 ++++
tests/lib-sbom-files/bomtool-nolicense.txt    |  24 +++
tests/lib-sbom-files/bomtool-special.txt      |  24 +++
.../bomtool-with_dependency.txt               |  43 ++++
tests/lib-sbom-files/creation_id.json         |  90 ++++++++
tests/lib-sbom-files/multi_copyright.json     |  90 ++++++++
tests/lib-sbom-files/multiple_packages.json   | 150 +++++++++++++
tests/lib-sbom-files/nolicense.json           |  59 +++++
tests/lib-sbom-files/special.json             |  90 ++++++++
tests/lib-sbom/multi-copyright.pc             |   7 +
tests/lib-sbom/nolicense.pc                   |   6 +
tests/lib-sbom/special.pc                     |   6 +
tests/test-runner.c                           |   9 +
91 files changed, 1746 insertions(+), 73 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