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

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

{
    "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
    "source_name": "hacktcha-2022.6.21",
    "copyright":  [
	// The text of the LicenseRef- GPL also gets included in the report.
	{"file": "report.spdx"},
	{"file": "LICENSES/CC0-1.0.txt"},
	{"file": "LICENSES/Apache-2.0.txt"}
    ],
    "upstream_url": "https://git.koszko.org/haketilo-packages/hacktcha/",
    "definitions": [{
	"type":                 "mapping_and_resource",
	"identifier":           "hacktcha-anchor",
	"long_name":            "Hacktcha (anchor frame)",
	"version":              [2022, 6, 21],
	"revision":             1,
	"description":          "Make Google reCAPTCHA solvable without nonfree JavaScript.",
	"dependencies":         [],
	"required_mappings":    [{"identifier": "hacktcha-bframe"}],
	"scripts":              [{"file": "captcha-child-anchor.js"}],
	"payloads": {
	    "https://google.com/recaptcha/api2/anchor": {
		"identifier": "hacktcha-anchor"
	    }
	}
    }, {
	"type":                 "mapping_and_resource",
	"identifier":           "hacktcha-bframe",
	"long_name":            "Hacktcha (bframe frame)",
	"version":              [2022, 6, 21],
	"revision":             1,
	"description":          "Make Google reCAPTCHA solvable without nonfree JavaScript.",
	"dependencies":         [],
	"scripts":              [{"file": "captcha-strings.js"},
				 {"file": "captcha-child-bframe.js"}],
	"min_haketilo_version": [2],
	"payloads": {
	    "https://google.com/recaptcha/api2/bframe": {
		"identifier": "hacktcha-bframe"
	    }
	}
    }, {
	"type":                 "resource",
	"identifier":           "hacktcha",
	"long_name":            "Hacktcha (main library)",
	"version":              [2022, 6, 21],
	"revision":             1,
	"description":          "Make Google reCAPTCHA solvable without nonfree JavaScript.",
	"dependencies":         [{"identifier": "cors-bypass"}],
	"required_mappings":    [{"identifier": "hacktcha-anchor"}],
	"scripts":              [{"file": "captcha-parent.js"}]
    }, {
	"type":                 "mapping_and_resource",
	"identifier":           "hacktcha-demo",
	"long_name":            "Hacktcha demo",
	"version":              [2022, 6, 21],
	"revision":             1,
	"description":          "Solve Google reCAPTCHA online demo using Hacktcha.",
	"dependencies":         [{"identifier": "hacktcha"}],
	"scripts":              [{"file": "captcha-demo.js"}],
	"payloads": {
	    "https://google.com/recaptcha/api2/demo": {
		"identifier": "hacktcha-demo"
	    }
	}
    }],
    "additional_files": [
	{"file": "README.txt"},
	{"file": "README.txt.license"},
	{"file": ".reuse/dep5"}
    ],
    "reuse_generate_spdx_report": true
}