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/debian/copyright/dep5/source-copyright-dep5-general | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.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/debian/copyright/dep5/source-copyright-dep5-general')
5 files changed, 135 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright new file mode 100644 index 0000000..eadfebd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright @@ -0,0 +1,113 @@ +Format: https://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 +Upstream-Name: Doohickey +Upstream-Maintainer: J. Random Hacker <j.r.hacker@example.com> +Source: http://examples.com/doohickey/source/ + +Comment: I'm a bogus paragraph. + +Files: a/*, b/* +Copyright: 2011 J. Random Hacker <j.r.hacker@example.com> +License: GPL-2 + +Files: c +Copyright: 2010 J. Random Hacker <j.r.hacker@example.com> + +Files: d +License: GPL-3 + +Files: 5 +License: MIT +Copyright: 2010 J. Random Hacker <j.r.hacker@example.com> + +Comment: Oops, missing a Files for this paragraph. +License: BSD-3 +Copyright: 2010 J. Random Hacker <j.r.hacker@example.com> + +Files: debian/* +License: GPL-2 or GPL-3 with Font +Copyright: 2010 J. Random Hacker <j.r.hacker@example.com> + +Files: debian/copyright +License: GPL-2 or GPL-3 with Font exception +Copyright: 2012 J. Random Hacker <j.r.hacker@example.com> + +Files: debian/control +License: GPL-2 and custom +Copyright: 2010 J. Random Hacker <j.r.hacker@example.com> + +License: custom + Custom test license + + +License: GPL-2 + This package is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; version 2 dated June, 1991. + . + This package is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: GPL-3 with Font + This package is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; version 2 dated June, 1991. + . + This package is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + . + A fake font exception. + +License: GPL-3 with Font exception + This package is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; version 2 dated June, 1991. + . + This package is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + . + Fake font exception. + +License: GPL-3 + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the “Software”), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values new file mode 100644 index 0000000..e433ff8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-dep5-general +Description: Test for various errors in DEP 5 copyright files diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc new file mode 100644 index 0000000..677c43f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-dep5-general +Test-Against: + incomplete-creative-commons-license +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints new file mode 100644 index 0000000..341af85 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints @@ -0,0 +1,14 @@ +source-copyright-dep5-general (source): update-debian-copyright 2012 vs CHANGELOG-YEAR [debian/copyright:32] +source-copyright-dep5-general (source): unused-license-paragraph-in-dep5-copyright expat [debian/copyright:96] +source-copyright-dep5-general (source): unknown-paragraph-in-dep5-copyright [debian/copyright:6] +source-copyright-dep5-general (source): obsolete-field-in-dep5-copyright Upstream-Maintainer Upstream-Contact [debian/copyright:3] +source-copyright-dep5-general (source): missing-license-text-in-dep5-copyright GPL-3 [debian/copyright:94] +source-copyright-dep5-general (source): missing-license-text-in-dep5-copyright BSD-3 [debian/copyright:23] +source-copyright-dep5-general (source): missing-license-paragraph-in-dep5-copyright mit [debian/copyright:19] +source-copyright-dep5-general (source): missing-license-paragraph-in-dep5-copyright gpl-3 [debian/copyright:16] +source-copyright-dep5-general (source): missing-field-in-dep5-copyright License [debian/copyright:12] +source-copyright-dep5-general (source): missing-field-in-dep5-copyright Copyright [debian/copyright:15] +source-copyright-dep5-general (source): comma-separated-files-in-dep5-copyright [debian/copyright:8] +source-copyright-dep5-general (source): bad-exception-format-in-dep5-copyright gpl-3 with font [debian/copyright:58] +source-copyright-dep5-general (source): bad-exception-format-in-dep5-copyright gpl-3 with font [debian/copyright:27] +source-copyright-dep5-general (source): ambiguous-paragraph-in-dep5-copyright [debian/copyright:22] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ |