summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip
parentInitial commit. (diff)
downloadlintian-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/documentation/manual/manpage-not-compressed-with-gzip')
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/install1
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/manpages1
-rwxr-xr-xt/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/debian/rules10
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/bin/pretend-compress3
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/build-spec/orig/pretend-compress.111
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/desc2
-rw-r--r--t/recipes/checks/documentation/manual/manpage-not-compressed-with-gzip/eval/hints1
8 files changed, 32 insertions, 0 deletions
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]