aboutsummaryrefslogtreecommitdiff
// SPDX-License-Identifier: CC0-1.0

// Copyright (C) 2021, 2022 Wojtek Kosior <koszko@koszko.org>
// Available under the terms of Creative Commons Zero v1.0 Universal.

// This index.json defines a Haketilo resource that contains texts of free
// software licenses included by default in APT-based GNU/Linux distributions
// (Debian, Trisquel, etc.). It is automatically depended on by all Haketilo
// resource packages that piggyback on APT.
{
    "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
    "source_name": "apt-common-licenses",
    "copyright":  [
	{"file": ".apt-root/usr/share/common-licenses/Apache-2.0"},
	{"file": ".apt-root/usr/share/common-licenses/Artistic"},
	{"file": ".apt-root/usr/share/common-licenses/BSD"},
	{"file": ".apt-root/usr/share/common-licenses/CC0-1.0"},
	{"file": ".apt-root/usr/share/common-licenses/GFDL-1.2"},
	{"file": ".apt-root/usr/share/common-licenses/GFDL-1.3"},
	{"file": ".apt-root/usr/share/common-licenses/GPL-1"},
	{"file": ".apt-root/usr/share/common-licenses/GPL-2"},
	{"file": ".apt-root/usr/share/common-licenses/GPL-3"},
	{"file": ".apt-root/usr/share/common-licenses/LGPL-2"},
	{"file": ".apt-root/usr/share/common-licenses/LGPL-2.1"},
	{"file": ".apt-root/usr/share/common-licenses/LGPL-3"},
	{"file": ".apt-root/usr/share/common-licenses/MPL-1.1"},
	{"file": ".apt-root/usr/share/common-licenses/MPL-2.0"},
	// Finally, the copyright/license files regarding this very index.json.
	// The CC0 text should actually be byte-to-byte identical with the copy
	// included above but let's list it here for completeness.
	{"file": "LICENSES/CC0-1.0.txt"},
	{"file": "report.spdx"}
    ],
    "upstream_url": "https://git.koszko.org/haketilo-packages/apt-common-licenses",
    "piggyback_on": {
	"system": "apt",
	"distribution": "nabia",
	"packages": ["base-files=1:11ubuntu5.4+10.0trisquel4"],
	"dependencies": false,
	// Here we prevent the apt-common-licenses resource package from
	// depending on itself.
	"depend_on_base_packages": false
    },
    "definitions": [
	{
	    "type": "resource",
	    "identifier": "apt-common-licenses",
	    "long_name": "Common licenses for APT",
	    "uuid": "5cff1c70-6800-4de9-a2fc-b58e175cb11d",
	    "version": [1],
	    "revision": 1,
	    "description": "contains some basic licenses that libraries packaged from APT repositories might be using"
	    // No dependencies and no script files this time :)
	}
    ],
    "additional_files": [
	{"file": "README.txt"},
	{"file": "README.txt.license"},
	{"file": ".reuse/dep5"}
    ],
    "reuse_generate_spdx_report": true
}