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/languages/perl/perl4 | |
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 '')
15 files changed, 93 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/control.in b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/control.in new file mode 100644 index 0000000..34fc039 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, + libperl4-corelibs-perl | perl (<< 5.12.3-7) +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. diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/install b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/install new file mode 100644 index 0000000..1cd0e18 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/install @@ -0,0 +1 @@ +naughty-script usr/bin diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/manpages b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/manpages new file mode 100644 index 0000000..36ff204 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/manpages @@ -0,0 +1 @@ +naughty-script.1 diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/fill-values b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/fill-values new file mode 100644 index 0000000..11b5f91 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-uses-perl4-libs-with-dep +Description: Check that script-uses-perl4-libs-without-dep works (negative) diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/Makefile b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/Makefile new file mode 100644 index 0000000..a7ddd36 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/Makefile @@ -0,0 +1,7 @@ +all: naughty-script.1 + +%.1: % + pod2man --section 1 "$<" > "$@" + +clean: + rm -f naughty-script.1 diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/naughty-script b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/naughty-script new file mode 100644 index 0000000..50f342e --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/naughty-script @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +=head1 NAME + +naughty-script -- uses obsolete perl4 libs + +=head1 SYNOPSIS + + naught-script + +=head1 DESCRIPTION + +This manpage is present to avoid a "binary-without-manpage" warning. :) + +=cut + +use strict; +use warnings; + +do 'newgetopt.pl'; + +NGetOpt(); diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/desc b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/desc new file mode 100644 index 0000000..4c34f70 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/desc @@ -0,0 +1,4 @@ +Testname: scripts-uses-perl4-libs-with-dep +Check: languages/perl/perl4/prerequisites +Test-Against: + script-uses-perl4-libs-without-dep diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/hints b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/hints diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/install b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/install new file mode 100644 index 0000000..1cd0e18 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/install @@ -0,0 +1 @@ +naughty-script usr/bin diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/manpages b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/manpages new file mode 100644 index 0000000..36ff204 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/manpages @@ -0,0 +1 @@ +naughty-script.1 diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/fill-values b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/fill-values new file mode 100644 index 0000000..3174317 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: scripts-uses-perl4-libs-without-dep +Description: Check that script-uses-perl4-libs-without-dep works (positive) +Extra-Build-Depends: perl diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/Makefile b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/Makefile new file mode 100644 index 0000000..a7ddd36 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/Makefile @@ -0,0 +1,7 @@ +all: naughty-script.1 + +%.1: % + pod2man --section 1 "$<" > "$@" + +clean: + rm -f naughty-script.1 diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/naughty-script b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/naughty-script new file mode 100644 index 0000000..50f342e --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/naughty-script @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +=head1 NAME + +naughty-script -- uses obsolete perl4 libs + +=head1 SYNOPSIS + + naught-script + +=head1 DESCRIPTION + +This manpage is present to avoid a "binary-without-manpage" warning. :) + +=cut + +use strict; +use warnings; + +do 'newgetopt.pl'; + +NGetOpt(); diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/desc b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/desc new file mode 100644 index 0000000..524f84e --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/desc @@ -0,0 +1,2 @@ +Testname: scripts-uses-perl4-libs-without-dep +Check: languages/perl/perl4/prerequisites diff --git a/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/hints b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/hints new file mode 100644 index 0000000..5853f15 --- /dev/null +++ b/t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/hints @@ -0,0 +1 @@ +scripts-uses-perl4-libs-without-dep (binary): script-uses-perl4-libs-without-dep (does not satisfy libperl4-corelibs-perl:any | perl:any (<< 5.12.3-7)) newgetopt.pl [usr/bin/naughty-script:20] |