summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright')
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright38
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING1
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc2
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints2
-rw-r--r--t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test1
6 files changed, 47 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright
new file mode 100644
index 0000000..7c7783e
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wolfssl
+Upstream-Contact: David Garske <david@wolfssl.com>
+Source: https://github.com/wolfssl/wolfssl/releases
+
+Files:
+ COPYING
+Copyright:
+ 1989, 1991 Free Software Foundation, Inc.
+License: No-Modify
+
+Files:
+ debian/*
+Copyright:
+ 2014-2019 Felix Lechner <felix.lechner@lease-up.com>
+License: GPL-2+
+
+
+License: No-Modify
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+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; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ 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 program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values
new file mode 100644
index 0000000..5874162
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: license-file-listed-in-debian-copyright
+Description: License files do not need entries in d/copyright.
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING
new file mode 100644
index 0000000..c1e7ac7
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING
@@ -0,0 +1 @@
+TERMS OF SOFTWARE LICENSE
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc
new file mode 100644
index 0000000..6cb134b
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc
@@ -0,0 +1,2 @@
+Testname: license-file-listed-in-debian-copyright
+Check: debian/copyright/dep5
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints
new file mode 100644
index 0000000..fc2d25f
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints
@@ -0,0 +1,2 @@
+license-file-listed-in-debian-copyright (source): update-debian-copyright 2019 vs CHANGELOG-YEAR [debian/copyright:14]
+license-file-listed-in-debian-copyright (source): license-file-listed-in-debian-copyright COPYING [debian/copyright]
diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test
new file mode 100644
index 0000000..feeacfc
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test
@@ -0,0 +1 @@
+s/vs [0-9]+/vs CHANGELOG-YEAR/