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/scripts/scripts-missing-dep | |
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/scripts/scripts-missing-dep')
17 files changed, 93 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/clean b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/clean new file mode 100644 index 0000000..8f76e67 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/clean @@ -0,0 +1 @@ +man/ diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/install b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/install new file mode 100644 index 0000000..0486c9a --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/install @@ -0,0 +1 @@ +*-script usr/bin/ diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/manpages b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/manpages new file mode 100644 index 0000000..bf519d7 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/manpages @@ -0,0 +1 @@ +man/*.1 diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/postinst b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/postinst new file mode 100644 index 0000000..0c43c2e --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +if false ; then + adduser some user lalal + update-inetd some stuff + update-fonts-alias blah + update-fonts-dir blah + update-fonts-scale blah +fi + +#DEBHELPER# + diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/rules b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/rules new file mode 100755 index 0000000..7cbf8b1 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + mkdir man + for FILE in *-script ; do \ + sed s/@SCRIPT@/$$FILE/g script.pod | \ + pod2man --name="$$(echo "$$FILE" | tr a-z A-Z )" \ + --section=1 > man/$$FILE.1 ; \ + done diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/fill-values b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/fill-values new file mode 100644 index 0000000..6889e1b --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-missing-dep +Description: Check missing dep on various script interpreters diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/gawk-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/gawk-script new file mode 100755 index 0000000..b66729e --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/gawk-script @@ -0,0 +1,3 @@ +#!/usr/bin/gawk -f + +# do something. diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/mawk-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/mawk-script new file mode 100755 index 0000000..fbb3316 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/mawk-script @@ -0,0 +1,3 @@ +#!/usr/bin/mawk -f + +# do something. diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/php-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/php-script new file mode 100755 index 0000000..fc77cb9 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/php-script @@ -0,0 +1,4 @@ +#!/usr/bin/php +<?php + echo "Hallo\n"; +?> diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python2-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python2-script new file mode 100755 index 0000000..21fdd57 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python2-script @@ -0,0 +1,4 @@ +#!/usr/bin/python2 + +# whatever + diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python3-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python3-script new file mode 100755 index 0000000..607e68d --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python3-script @@ -0,0 +1,4 @@ +#!/usr/bin/python3 + +# whatever + diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/ruby-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/ruby-script new file mode 100755 index 0000000..4700685 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/ruby-script @@ -0,0 +1,3 @@ +#!/usr/bin/ruby + +# do something. diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/script.pod b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/script.pod new file mode 100644 index 0000000..8ffa2d0 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/script.pod @@ -0,0 +1,18 @@ +=head1 NAME + +@SCRIPT@ - Cool script to do stuff written in some script language. + +=head1 SYNOPSIS + +@SCRIPT@ --cool-argument + +=head1 DESCRIPTION + +This script is very awesome and does something you do not even know +you need. + +=head1 AUTHOR + +I made this + + diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/tclsh-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/tclsh-script new file mode 100755 index 0000000..2e6707a --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/tclsh-script @@ -0,0 +1,3 @@ +#!/usr/bin/tclsh + +# do something. diff --git a/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/wish-script b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/wish-script new file mode 100755 index 0000000..5a2cd12 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/wish-script @@ -0,0 +1,3 @@ +#!/usr/bin/wish + +# do something. diff --git a/t/recipes/checks/scripts/scripts-missing-dep/eval/desc b/t/recipes/checks/scripts/scripts-missing-dep/eval/desc new file mode 100644 index 0000000..9a46d04 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/eval/desc @@ -0,0 +1,2 @@ +Testname: scripts-missing-dep +Check: scripts diff --git a/t/recipes/checks/scripts/scripts-missing-dep/eval/hints b/t/recipes/checks/scripts/scripts-missing-dep/eval/hints new file mode 100644 index 0000000..f76dd5b --- /dev/null +++ b/t/recipes/checks/scripts/scripts-missing-dep/eval/hints @@ -0,0 +1,14 @@ +scripts-missing-dep (binary): wish-script-but-no-wish-dep /usr/bin/wish (does not satisfy wish:any | tk:any | tk8.3:any | tk8.4:any | tk8.5:any | tk8.6:any) [usr/bin/wish-script] +scripts-missing-dep (binary): tclsh-script-but-no-tclsh-dep /usr/bin/tclsh (does not satisfy tclsh:any | tcl:any | tcl8.3:any | tcl8.4:any | tcl8.5:any | tcl8.6:any) [usr/bin/tclsh-script] +scripts-missing-dep (binary): ruby-script-but-no-ruby-dep /usr/bin/ruby (does not satisfy ruby:any) [usr/bin/ruby-script] +scripts-missing-dep (binary): python3-script-but-no-python3-dep /usr/bin/python3 (does not satisfy python3:any | python3-minimal:any) [usr/bin/python3-script] +scripts-missing-dep (binary): python2-script-but-no-python2-dep /usr/bin/python2 (does not satisfy python2:any | python2-minimal:any) [usr/bin/python2-script] +scripts-missing-dep (binary): php-script-but-no-php-cli-dep /usr/bin/php (does not satisfy php-cli:any) [usr/bin/php-script] +scripts-missing-dep (binary): mawk-script-but-no-mawk-dep /usr/bin/mawk (does not satisfy mawk:any) [usr/bin/mawk-script] +scripts-missing-dep (binary): maintainer-script-needs-depends-on-xfonts-utils update-fonts-scale (does not satisfy xfonts-utils) [postinst:10] +scripts-missing-dep (binary): maintainer-script-needs-depends-on-xfonts-utils update-fonts-dir (does not satisfy xfonts-utils) [postinst:9] +scripts-missing-dep (binary): maintainer-script-needs-depends-on-xfonts-utils update-fonts-alias (does not satisfy xfonts-utils) [postinst:8] +scripts-missing-dep (binary): maintainer-script-needs-depends-on-update-inetd update-inetd (does not satisfy update-inetd | inet-superserver | openbsd-inetd | inetutils-inetd | rlinetd | xinetd) [postinst:7] +scripts-missing-dep (binary): maintainer-script-needs-depends-on-adduser adduser (does not satisfy adduser) [postinst:6] +scripts-missing-dep (binary): maintainer-script-interpreter /bin/sh [postinst] +scripts-missing-dep (binary): gawk-script-but-no-gawk-dep /usr/bin/gawk (does not satisfy gawk:any) [usr/bin/gawk-script] |