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/build-spec | |
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/build-spec')
15 files changed, 77 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. |