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/install | 1 + .../build-spec/debian/manpages | 1 + .../manpage-not-compressed-with-gzip/build-spec/debian/rules | 10 ++++++++++ .../manpage-not-compressed-with-gzip/build-spec/fill-values | 3 +++ .../build-spec/orig/bin/pretend-compress | 3 +++ .../build-spec/orig/pretend-compress.1 | 11 +++++++++++ .../manual/manpage-not-compressed-with-gzip/eval/desc | 2 ++ .../manual/manpage-not-compressed-with-gzip/eval/hints | 1 + 8 files changed, 32 insertions(+) create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/bin/pretend-compress create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/pretend-compress.1 create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/hints (limited to 't/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip') diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/manpages new file mode 100644 index 0000000..667475f --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/manpages @@ -0,0 +1 @@ +pretend-compress.1 diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/rules b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/rules new file mode 100755 index 0000000..cf58556 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_compress: + dh_compress --exclude=pretend-compress.1 + mv $(tmp)/usr/share/man/man1/pretend-compress.1 $(tmp)/usr/share/man/man1/pretend-compress.1.gz diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/fill-values new file mode 100644 index 0000000..a000b73 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-not-compressed-with-gzip +Skeleton: upload-native +Description: Man page compressed with algorithm other than gzip diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/bin/pretend-compress b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/bin/pretend-compress new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/bin/pretend-compress @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/pretend-compress.1 b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/pretend-compress.1 new file mode 100644 index 0000000..ebb8b53 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/pretend-compress.1 @@ -0,0 +1,11 @@ +.TH fixcr 1 +.SH NAME +fixcr \- make sure that there is a CR before each LF +.SH SYNOPSIS +.B fixcr +.SH DESCRIPTION +.B fixcr +inserts CR at the end of each line of input where a CR is not already present. +It does not insert CR at the end of a partial final line. +.SH "SEE ALSO" +addcr(1) diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/desc b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/desc new file mode 100644 index 0000000..f6630d0 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/desc @@ -0,0 +1,2 @@ +Testname: manpage-not-compressed-with-gzip +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/hints b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/hints new file mode 100644 index 0000000..8c59957 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/hints @@ -0,0 +1 @@ +manpage-not-compressed-with-gzip (binary): wrong-compression-in-manual-page [usr/share/man/man1/pretend-compress.1.gz] -- cgit v1.2.3