diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/cruft/cruft-evil-json | |
parent | Initial commit. (diff) | |
download | lintian-upstream.tar.xz lintian-upstream.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/cruft/cruft-evil-json')
4 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values b/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values new file mode 100644 index 0000000..215f18d --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-evil-json +Description: Check for the "Evil JSON" license diff --git a/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c b/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c new file mode 100644 index 0000000..e95dfd2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c @@ -0,0 +1,10 @@ +/** + * The non-free pet-phase in the JSON license that triggers + * the Lintian tag. + * + * "The software shall be used for good, not evil" + */ + +int main() { + return 0; +} diff --git a/t/recipes/checks/cruft/cruft-evil-json/eval/desc b/t/recipes/checks/cruft/cruft-evil-json/eval/desc new file mode 100644 index 0000000..deb7d73 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-evil-json +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-evil-json/eval/hints b/t/recipes/checks/cruft/cruft-evil-json/eval/hints new file mode 100644 index 0000000..a62e789 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/eval/hints @@ -0,0 +1 @@ +cruft-evil-json (source): license-problem-json-evil [src/evil.c] |