From ebcc78644e0cbc4141807c0887ef8d902cb91bb4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 24 Jun 2026 21:47:19 +0200 Subject: Vendor import of pkgconf 2.9.90 Obtained from https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.9.90.tar.gz SHA1: ebfb0525c019eda14190d463680cb1625f3177f9 - SHA256: f5c10610be8ea7278fc31ad63b943525b5b2a2f6e5038d3c11947f5bd6fd214d - SHA512: f93e6d15d25d02869a03ba339e18582f01a9b7241be89a87183c0f373a3df78d1be005dee376ea464f7942735700f51dab57b8688bc802ec152ff343af721f46 - One test folder in tests/lib1 had to be removed to avoid UTF-8 filenames in the tree. (Breaks `make create-source-packages`) Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57837 --- tests/lib-sbom-files/basic-use-uri.json | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 tests/lib-sbom-files/basic-use-uri.json (limited to 'tests/lib-sbom-files/basic-use-uri.json') diff --git a/tests/lib-sbom-files/basic-use-uri.json b/tests/lib-sbom-files/basic-use-uri.json new file mode 100644 index 000000000000..e9913a92a764 --- /dev/null +++ b/tests/lib-sbom-files/basic-use-uri.json @@ -0,0 +1,90 @@ +{ + "@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld", + "@graph": [ + { + "type": "Agent", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Agent:default", + "name": "Default" + }, + { + "type": "CreationInfo", + "@id": "_:creationinfo_1", + "created": "test", + "createdBy": [ + "github.com:pkgconf:pkgconf:Agent:default" + ], + "specVersion": "3.0.1" + }, + { + "type": "simplelicensing_LicenseExpression", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause", + "simplelicensing_licenseExpression": "BSD-4-Clause" + }, + { + "type": "software_Sbom", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:software_Sbom:test3", + "software_sbomType": [ + "build" + ], + "rootElement": [ + "github.com:pkgconf:pkgconf:Package:test3" + ], + "element": [ + "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense" + ] + }, + { + "type": "software_Package", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Package:test3", + "name": "test3", + "originatedBy": [ + "github.com:pkgconf:pkgconf:Agent:default" + ], + "software_copyrightText": "Test3 copyright text", + "software_homePage": "https://github.com/pkgconf/pkgconf/", + "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz", + "software_packageVersion": "3.0.0" + }, + { + "type": "Relationship", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "from": "github.com:pkgconf:pkgconf:Package:test3", + "to": [ + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause" + ], + "relationshipType": "hasDeclaredLicense" + }, + { + "type": "Relationship", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense", + "from": "github.com:pkgconf:pkgconf:Package:test3", + "to": [ + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause" + ], + "relationshipType": "hasConcludedLicense" + }, + { + "type": "SpdxDocument", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:spdxDocument:1", + "rootElement": [ + "github.com:pkgconf:pkgconf:software_Sbom:test3" + ], + "element": [ + "github.com:pkgconf:pkgconf:Agent:default", + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause", + "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense", + "github.com:pkgconf:pkgconf:software_Sbom:test3", + "github.com:pkgconf:pkgconf:Package:test3" + ] + } + ] +} -- cgit v1.3