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 | 15 +++++++++++++++ .../cruft-source-is-missing-unrel/build-spec/fill-values | 5 +++++ .../cruft-source-is-missing-unrel/build-spec/orig/main.c | 8 ++++++++ .../cruft-source-is-missing-unrel/build-spec/pre-build | 11 +++++++++++ .../cruft-source-is-missing-unrel/build-spec/pre-upstream | 11 +++++++++++ .../architecture/cruft-source-is-missing-unrel/eval/desc | 2 ++ .../architecture/cruft-source-is-missing-unrel/eval/hints | 1 + 7 files changed, 53 insertions(+) create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c create mode 100755 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-build create mode 100755 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/desc create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/hints (limited to 't/recipes/checks/files/architecture/cruft-source-is-missing-unrel') diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/debian/control.in b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..f46d6ef --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: utils +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +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. diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/fill-values b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/fill-values new file mode 100644 index 0000000..1ce50ee --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: cruft-source-is-missing-unrel +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Package-Architecture: any +Description: Check for source-is-missing false positives diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c @@ -0,0 +1,8 @@ +#include +#include + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-build b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-build new file mode 100755 index 0000000..db309af --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-build @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +cd "$1" + +mkdir -p debian/missing-sources/bar +cp main.c debian/missing-sources/bar/main.c + +ln -s bar debian/missing-sources/foo +ln -s bar debian/missing-sources/quux diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-upstream b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-upstream new file mode 100755 index 0000000..fb28255 --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-upstream @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +cd "$1" + + +gcc -o foo main.c +gcc -o bar main.c +mkdir -p baz/ +gcc -o baz/quux main.c diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/desc b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/desc new file mode 100644 index 0000000..d9675d9 --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-source-is-missing-unrel +Check: files/architecture diff --git a/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/hints b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/hints new file mode 100644 index 0000000..0668955 --- /dev/null +++ b/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/hints @@ -0,0 +1 @@ +cruft-source-is-missing-unrel (binary): package-contains-no-arch-dependent-files -- cgit v1.2.3