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/upstream/signing-key.asc | 1 + .../build-spec/fill-values | 6 ++++++ .../build-spec/pre-build | 18 ++++++++++++++++++ .../control-file-upstream-signature-missing/eval/desc | 3 +++ .../control-file-upstream-signature-missing/eval/hints | 2 ++ 5 files changed, 30 insertions(+) create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/fill-values create mode 100755 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/pre-build create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/desc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/hints (limited to 't/recipes/checks/upstream-signature/control-file-upstream-signature-missing') diff --git a/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/fill-values b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/fill-values new file mode 100644 index 0000000..05147bb --- /dev/null +++ b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: control-file-upstream-signature-missing +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: No upstream signature included but package contains a signing key +Extra-Build-Depends: dpkg (>= 1.18.5) +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/pre-build b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/pre-build new file mode 100755 index 0000000..93d6006 --- /dev/null +++ b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/pre-build @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +DIR="$1" +NAME="control-file-upstream-signature-missing" +VERSION="1.0" + +# Check all components +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-component.tar.gz + +# Don't emit if we have a signature +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz.asc + +# Don't emit if we have .tar.asc (NB. not a .tar.gz.asc) +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz.asc diff --git a/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/desc b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/desc new file mode 100644 index 0000000..33a476d --- /dev/null +++ b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/desc @@ -0,0 +1,3 @@ +Testname: control-file-upstream-signature-missing +Check: upstream-signature +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/hints b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/hints new file mode 100644 index 0000000..c73c5df --- /dev/null +++ b/t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/hints @@ -0,0 +1,2 @@ +control-file-upstream-signature-missing (source): orig-tarball-missing-upstream-signature control-file-upstream-signature-missing_1.0.orig.tar.gz +control-file-upstream-signature-missing (source): orig-tarball-missing-upstream-signature control-file-upstream-signature-missing_1.0.orig-component.tar.gz -- cgit v1.2.3