From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../build-spec/debian/control.in | 254 +++++++++++++++++++++ .../fields-wrong-section/build-spec/debian/rules | 9 + .../fields-wrong-section/build-spec/fill-values | 3 + .../fields-wrong-section/build-spec/orig/some-file | 1 + .../fields/section/fields-wrong-section/eval/desc | 2 + .../fields/section/fields-wrong-section/eval/hints | 20 ++ 6 files changed, 289 insertions(+) create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/eval/hints (limited to 't/recipes/checks/fields/section/fields-wrong-section') diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in new file mode 100644 index 0000000..112d226 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in @@ -0,0 +1,254 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + Only here as valid dependency for [% $source %]-dbg. + . + 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 %]-doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (doc) + Test for doc section. + . + 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 %]-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %] (= ${binary:Version}) +Description: [% $description %] (debug) + Test for debug section. + . + 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: lib[% $source %]-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dev) + Test for libdevel section. + . + 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: lib[% $source %]-perl +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (perl) + Test for perl section. + . + 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: python-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Python) + Test for Python section. + . + 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: python3-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Python 3) + Test for Python section for Python 3. + . + 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: lib[% $source %]-ocaml-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (OCaml) + Test for OCaml section. + . + 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: libjs-[% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Javascript) + Test for web section. + . + 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: libghc-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Haskell) + Test for Haskell section. + . + 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: lib[% $source %]-cil +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (CLI/Mono) + Test for CLI/Mono section. + . + 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: libphp-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (PHP) + Test for PHP section. + . + 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: lib[% $source %]-ruby1.8 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Ruby) + Test for Ruby section. + . + 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: lib[% $source %]-java +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Java) + Test for Java section. + . + 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: r-cran-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (GNU R) + Test for GNU R section. + . + 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: lib[% $source %]-oldlibs-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: oldlibs +Description: [% $description %] (oldlibs) + Test for oldlibs section. + . + 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 %]-contrib-doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: contrib/[% $section %] +Description: [% $description %] (contrib docs) + Test for suggestion for packages not in main. + . + 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: gir1.2-[% $source %]-0.1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${gir:Depends} +Description: [% $description %] (gir1.2-pkg) + Test for gir1.2 packages. + . + 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: libnss-[% $source %] +Architecture: all +Section: web +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (NSS module) + Test for NSS modules. + . + 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: libpam-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (PAM module with number suffix) + Test for PAM modules. + . + 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: fonts-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] (fonts) + Test for font modules. + . + 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: xfonts-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] (xfonts) + Test for xfonts modules. + . + 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. diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules new file mode 100644 index 0000000..6dd864a --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + set -e ; for P in $$(dh_listpackages -a) ; do \ + dh_install -p$$P some-file usr/lib/$$P ; \ + done diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values new file mode 100644 index 0000000..640aa3f --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-wrong-section +Description: Packages placed in the wrong sections diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/section/fields-wrong-section/eval/desc b/t/recipes/checks/fields/section/fields-wrong-section/eval/desc new file mode 100644 index 0000000..e7b71e6 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-wrong-section +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-wrong-section/eval/hints b/t/recipes/checks/fields/section/fields-wrong-section/eval/hints new file mode 100644 index 0000000..8855a8e --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/eval/hints @@ -0,0 +1,20 @@ +xfonts-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => fonts +r-cran-fields-wrong-section (binary): wrong-section-according-to-package-name devel => gnu-r +python3-fields-wrong-section (binary): wrong-section-according-to-package-name devel => python +python-fields-wrong-section (binary): wrong-section-according-to-package-name devel => python +libphp-fields-wrong-section (binary): wrong-section-according-to-package-name devel => php +libpam-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => admin +libnss-fields-wrong-section (binary): wrong-section-according-to-package-name web => admin +libjs-fields-wrong-section (binary): wrong-section-according-to-package-name devel => javascript +libghc-fields-wrong-section (binary): wrong-section-according-to-package-name devel => haskell +libfields-wrong-section-ruby1.8 (binary): wrong-section-according-to-package-name devel => ruby +libfields-wrong-section-perl (binary): wrong-section-according-to-package-name devel => perl +libfields-wrong-section-ocaml-dev (binary): wrong-section-according-to-package-name devel => ocaml +libfields-wrong-section-java (binary): wrong-section-according-to-package-name devel => java +libfields-wrong-section-dev (binary): wrong-section-according-to-package-name devel => libdevel +libfields-wrong-section-cil (binary): wrong-section-according-to-package-name devel => cli-mono +gir1.2-fields-wrong-section-0.1 (binary): wrong-section-according-to-package-name devel => introspection +fonts-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => fonts +fields-wrong-section-doc (binary): wrong-section-according-to-package-name devel => doc +fields-wrong-section-dbg (binary): wrong-section-according-to-package-name devel => debug +fields-wrong-section-contrib-doc (binary): wrong-section-according-to-package-name contrib/devel => contrib/doc -- cgit v1.2.3