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/copyright-file-license-symlink | |
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/copyright-file-license-symlink')
6 files changed, 76 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..c41fc78 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %]-bad +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-pedantic +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] -- pedantic edition :) + Checks the pedantic version of the versionless copyright file check. + . + This is a test package designed to exercise some check of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright new file mode 100644 index 0000000..b59cb92 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright @@ -0,0 +1,20 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld <djpig@debian.org> + +This program is free software; you may redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation in its version 3. + +This 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. + +A copy of the GNU General Public License version 3 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-3.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright new file mode 100644 index 0000000..2591c9b --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright @@ -0,0 +1,21 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld <djpig@debian.org> + +This program is free software; you may redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This 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. + +A copy of the GNU General Public License version 2 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values new file mode 100644 index 0000000..1a3cd35 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-license-symlink +Description: Test the versionless license files checks diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc new file mode 100644 index 0000000..17cc2f4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-license-symlink +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints new file mode 100644 index 0000000..39f1b25 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints @@ -0,0 +1,2 @@ +copyright-file-license-symlink-pedantic (binary): copyright-refers-to-symlink-license usr/share/common-licenses/GPL +copyright-file-license-symlink-bad (binary): copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL |