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

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

{
    "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
    "source_name": "tp-link-com-fix-downloads",
    "copyright":  [
	// The text of the LicenseRef- GPL also gets included in the report.
	{"file": "report.spdx"},
	{"file": "LICENSES/CC0-1.0.txt"}
    ],
    "additional_files": [
	{"file": "LICENSES/LicenseRef-GPL-3.0-or-later-WITH-js-exceptions.txt"}
    ],
    "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/tp-link-com-fix-downloads",
    "definitions": [{
        "type":        "mapping_and_resource",
        "identifier":  "tp-link-com-fix-downloads",
        "long_name":   "TP-Link driver downloads fix",
        "uuid":        "e6f6f003-a192-4335-ae6b-ba03175e3908",
        "version":     [2022, 6, 28],
        "revision":    1,
        "description": "Enable downloads on TP-Link website without relying on site-served JavaScript.",
        "scripts":     [{"file": "tp-driver.js"}],
        "payloads": {
	    // * https://www.tp-link.com/en/support/gpl-code/
	    // * https://www.tp-link.com/us/support/download/tl-wn725n/
	    //
	    // Entries below generated by visiting:
	    //
	    //     https://www.tp-link.com/en/choose-your-location/
	    //
	    // and executing:
	    //
	    //     var country_links = [...document.querySelectorAll(".location-item a[lang]")];
	    //     function make_payload_specifier(a_link) {
	    //         return `"${a_link.href}**": {\n"identifier": "tp-link-com-fix-downloads"\n},`;
	    //     }
	    //     var payload_specifiers = country_links.map(make_payload_specifier);
	    //     console.log(payload_specifiers.join("\n"));
	    //
	    "https://www.tp-link.com/en/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ar/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/br/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ca/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fr-ca/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/cl/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/co/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ec/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/latam/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/mx/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/pe/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/us/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ve/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/au/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/bd/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "http://www.tp-link.com.cn/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/hk/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/in/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/id/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/jp/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/kz/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/kg/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/my/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/pk/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ph/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/kr/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/sg/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/lk/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/tw/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/th/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/uz/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/vn/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/at/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/baltic/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/by/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/nl-be/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fr-be/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/bg/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/cz/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/dk/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fi/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fr/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/de/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/gr/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/hu/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/it/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/nl/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/no/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/pl/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/pt/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ro/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ru/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/es/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/se/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ch/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fr-ch/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/tr/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/uk-ua/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/uk/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/eg/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/il/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/fr-ma/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/sa/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/za/**": {
		"identifier": "tp-link-com-fix-downloads"
	    },
	    "https://www.tp-link.com/ae/**": {
		"identifier": "tp-link-com-fix-downloads"
	    }
	}
    }],
    "reuse_generate_spdx_report": true
}