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 --- .../manual/acute-accent/build-spec/debian/manpages | 1 + .../manual/acute-accent/build-spec/fill-values | 3 + .../build-spec/orig/man/hosts_access.5 | 405 +++++++++++++++++++++ .../documentation/manual/acute-accent/eval/desc | 3 + .../documentation/manual/acute-accent/eval/hints | 34 ++ .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/sbin-binary | 3 + .../build-spec/orig/undocumented.7 | 11 + .../bad-link-to-undocumented-manpage/eval/desc | 3 + .../bad-link-to-undocumented-manpage/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../bad-so-link-in-manpage/build-spec/fill-values | 3 + .../build-spec/orig/bad-so.1 | 1 + .../build-spec/orig/bin/bad-so | 3 + .../manual/bad-so-link-in-manpage/eval/desc | 3 + .../manual/bad-so-link-in-manpage/eval/hints | 1 + .../combined-manpage/build-spec/debian/install | 1 + .../combined-manpage/build-spec/debian/manpages | 1 + .../manual/combined-manpage/build-spec/fill-values | 3 + .../build-spec/orig/bin/mount.cifs | 3 + .../build-spec/orig/man/mount.cifs.8 | 59 +++ .../manual/combined-manpage/eval/desc | 6 + .../manual/combined-manpage/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/sbin-binary | 3 + .../build-spec/orig/sbin-binary.1 | 11 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/from-abroad | 3 + .../build-spec/orig/from-abroad.1 | 10 + .../executable-without-english-manpage/eval/desc | 3 + .../executable-without-english-manpage/eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/telekinetic | 3 + .../build-spec/orig/telepathic | 3 + .../manual/executable-without-manpage/eval/desc | 3 + .../manual/executable-without-manpage/eval/hints | 1 + .../manual/files-general/build-spec/debian/clean | 1 + .../manual/files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../manual/files-general/build-spec/debian/install | 18 + .../manual/files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../manual/files-general/build-spec/debian/rules | 67 ++++ .../manual/files-general/build-spec/fill-values | 4 + .../manual/files-general/build-spec/orig/--lzma | 2 + .../manual/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../manual/files-general/build-spec/orig/foo.5 | 5 + .../files-general/build-spec/orig/foo.vcproj | 1 + .../build-spec/orig/lintian-16x16.png | Bin 0 -> 355 bytes .../build-spec/orig/lintian-22x22.png | Bin 0 -> 1505 bytes .../files-general/build-spec/orig/lintian-lib.conf | 1 + .../files-general/build-spec/orig/lintian.conf | 1 + .../files-general/build-spec/orig/mimeinfo.cache | 2 + .../files-general/build-spec/orig/php-foo.ini | 1 + .../manual/files-general/build-spec/orig/sudotest | 0 .../manual/files-general/build-spec/orig/tnu.1 | 5 + .../manual/files-general/build-spec/orig/types | 0 .../documentation/manual/files-general/eval/desc | 3 + .../documentation/manual/files-general/eval/hints | 2 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/mentions-other-standard | 3 + .../build-spec/orig/mentions-other-standard.1p | 17 + .../manual/fsstnd-dir-in-manual-page/eval/desc | 3 + .../manual/fsstnd-dir-in-manual-page/eval/hints | 1 + .../legacy-binary/build-spec/debian/NEWS.Debian | 12 + .../legacy-binary/build-spec/debian/README.Debian | 5 + .../legacy-binary/build-spec/debian/changelog.in | 47 +++ .../legacy-binary/build-spec/debian/conffiles | 1 + .../manual/legacy-binary/build-spec/debian/control | 42 +++ .../legacy-binary/build-spec/debian/copyright | 15 + .../legacy-binary/build-spec/debian/doc-base | 41 +++ .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../manual/legacy-binary/build-spec/debian/install | 1 + .../manual/legacy-binary/build-spec/debian/menu | 26 ++ .../legacy-binary/build-spec/debian/menu-method | 22 ++ .../legacy-binary/build-spec/debian/postinst | 6 + .../manual/legacy-binary/build-spec/debian/rules | 92 +++++ .../legacy-binary/build-spec/debian/templates | 16 + .../manual/legacy-binary/build-spec/fill-values | 5 + .../manual/legacy-binary/build-spec/orig/INSTALL | 176 +++++++++ .../manual/legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/bin/bad-so | 3 + .../manual/legacy-binary/build-spec/orig/hello.c | 8 + .../documentation/manual/legacy-binary/eval/desc | 2 + .../documentation/manual/legacy-binary/eval/hints | 5 + .../manual/legacy-binary/eval/post-test | 3 + .../build-spec/debian/changelog.in | 78 ++++ .../legacy-filenames/build-spec/debian/control | 42 +++ .../legacy-filenames/build-spec/debian/doc-base | 11 + .../legacy-filenames/build-spec/debian/rules | 231 ++++++++++++ .../manual/legacy-filenames/build-spec/fill-values | 5 + .../legacy-filenames/build-spec/orig/data/ .tif | 2 + .../legacy-filenames/build-spec/orig/data/\".tif" | 1 + .../build-spec/orig/data/Maelstrom Sound | 1 + .../manual/legacy-filenames/eval/desc | 2 + .../manual/legacy-filenames/eval/hints | 5 + .../manual/legacy-filenames/eval/post-test | 3 + .../legacy-scripts/build-spec/debian/changelog.in | 41 +++ .../legacy-scripts/build-spec/debian/control.in | 16 + .../legacy-scripts/build-spec/debian/copyright | 5 + .../build-spec/debian/patches/00list | 11 + .../build-spec/debian/patches/00list.sparc | 1 + .../build-spec/debian/patches/00options | 1 + .../patches/02_i_dont_have_a_description.patch | 7 + .../patches/03_specified_without_dpatch.dpatch | 5 + .../04_i_dont_have_a_description_either.patch | 7 + .../legacy-scripts/build-spec/debian/postinst | 14 + .../manual/legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../manual/legacy-scripts/build-spec/debian/rules | 105 ++++++ .../build-spec/debian/scripts.conffiles | 6 + .../manual/legacy-scripts/build-spec/debian/watch | 8 + .../manual/legacy-scripts/build-spec/fill-values | 6 + .../manual/legacy-scripts/build-spec/orig/csh-foo | 2 + .../manual/legacy-scripts/build-spec/orig/envfoo | 4 + .../manual/legacy-scripts/build-spec/orig/fish-foo | 2 + .../legacy-scripts/build-spec/orig/gccbug.dpatch | 39 ++ .../legacy-scripts/build-spec/orig/guile-bizarre | 6 + .../legacy-scripts/build-spec/orig/init-lsb-broken | 34 ++ .../legacy-scripts/build-spec/orig/init-lsb-other | 22 ++ .../legacy-scripts/build-spec/orig/init-no-lsb | 17 + .../legacy-scripts/build-spec/orig/init-skeleton | 150 ++++++++ .../legacy-scripts/build-spec/orig/jruby-broken | 2 + .../legacy-scripts/build-spec/orig/lefty-foo | 2 + .../manual/legacy-scripts/build-spec/orig/make-foo | 3 + .../legacy-scripts/build-spec/orig/perl-bizarre-1 | 11 + .../legacy-scripts/build-spec/orig/perl-bizarre-2 | 7 + .../legacy-scripts/build-spec/orig/perl-bizarre-3 | 6 + .../manual/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../manual/legacy-scripts/build-spec/orig/phpfoo | 7 + .../manual/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../manual/legacy-scripts/build-spec/orig/tkfoo | 31 ++ .../manual/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../manual/legacy-scripts/build-spec/pre-build | 5 + .../documentation/manual/legacy-scripts/eval/desc | 2 + .../documentation/manual/legacy-scripts/eval/hints | 16 + .../manual/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/links | 1 + .../build-spec/fill-values | 3 + .../manual/link-to-undocumented-manpage/eval/desc | 3 + .../manual/link-to-undocumented-manpage/eval/hints | 1 + .../manpage-bad-whatis/build-spec/debian/install | 1 + .../manpage-bad-whatis/build-spec/debian/manpages | 1 + .../manpage-bad-whatis/build-spec/fill-values | 3 + .../build-spec/orig/bad-whatis.1 | 3 + .../build-spec/orig/bin/bad-whatis | 3 + .../manual/manpage-bad-whatis/eval/desc | 3 + .../manual/manpage-bad-whatis/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/program | 3 + .../build-spec/orig/program.1 | 62 ++++ .../manual/manpage-dh-make-template/eval/desc | 3 + .../manual/manpage-dh-make-template/eval/hints | 1 + .../manual/manpage-empty/build-spec/debian/install | 1 + .../manpage-empty/build-spec/debian/manpages | 1 + .../manual/manpage-empty/build-spec/fill-values | 3 + .../build-spec/orig/bin/empty-manpage | 3 + .../manpage-empty/build-spec/orig/empty-manpage.1 | 0 .../documentation/manual/manpage-empty/eval/desc | 2 + .../documentation/manual/manpage-empty/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../manpage-errors-from-man/build-spec/fill-values | 3 + .../build-spec/orig/bin/errors-from-man | 3 + .../build-spec/orig/errors-from-man.1p | 18 + .../manual/manpage-errors-from-man/eval/desc | 3 + .../manual/manpage-errors-from-man/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/errors-from-pod2man | 3 + .../build-spec/orig/errors-from-pod2man.1p | 24 ++ .../manual/manpage-errors-from-pod2man/eval/desc | 3 + .../manual/manpage-errors-from-pod2man/eval/hints | 1 + .../manpage-generic-name/build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../manpage-generic-name/build-spec/fill-values | 3 + .../manpage-generic-name/build-spec/orig/README.1 | 3 + .../build-spec/orig/bin/README | 3 + .../manual/manpage-generic-name/eval/desc | 3 + .../manual/manpage-generic-name/eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/test-utf8-chars | 3 + .../build-spec/orig/man/test-utf8-chars.1p | 9 + .../build-spec/orig/test-utf8-chars.1p | 10 + .../manpage-locale-dir-country-specific/eval/desc | 3 + .../manpage-locale-dir-country-specific/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + ...angex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1 | 11 + ...changex_1.0-3-i386-mbKpOA_openchange-1.0_simple | 3 + .../manpage-named-after-build-path/eval/desc | 3 + .../manpage-named-after-build-path/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/pretend-compress | 3 + .../build-spec/orig/pretend-compress.1 | 11 + .../manpage-not-compressed-with-gzip/eval/desc | 2 + .../manpage-not-compressed-with-gzip/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../manpage-not-compressed/build-spec/debian/rules | 7 + .../manpage-not-compressed/build-spec/fill-values | 3 + .../build-spec/orig/bin/not-compressed | 3 + .../build-spec/orig/not-compressed.1 | 11 + .../manual/manpage-not-compressed/eval/desc | 2 + .../manual/manpage-not-compressed/eval/hints | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 3 + .../build-spec/orig/not-max-compress.6 | 11 + .../manual/manpage-not-max-compression/eval/desc | 3 + .../manual/manpage-not-max-compression/eval/hints | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/python-traceback.5 | 42 +++ .../manual/manpage-python-traceback/eval/desc | 3 + .../manual/manpage-python-traceback/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/section.3 | 11 + .../manual/manpage-section-mismatch/eval/desc | 3 + .../manual/manpage-section-mismatch/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../manpage-useless-whatis/build-spec/fill-values | 3 + .../build-spec/orig/bin/useless-whatis | 3 + .../build-spec/orig/useless-whatis.1 | 44 +++ .../manual/manpage-useless-whatis/eval/desc | 3 + .../manual/manpage-useless-whatis/eval/hints | 1 + .../build-spec/debian/install | 1 + .../manpage-wrong-extension/build-spec/fill-values | 3 + .../build-spec/orig/example.man | 11 + .../manual/manpage-wrong-extension/eval/desc | 3 + .../manual/manpage-wrong-extension/eval/hints | 1 + .../build-spec/debian/control.in | 27 ++ .../build-spec/debian/pecho-data.manpages | 1 + .../build-spec/debian/pecho.install | 1 + .../manpages-dependencies/build-spec/fill-values | 3 + .../manpages-dependencies/build-spec/orig/Makefile | 7 + .../manpages-dependencies/build-spec/orig/pecho | 25 ++ .../manual/manpages-dependencies/eval/desc | 3 + .../manual/manpages-dependencies/eval/hints | 1 + .../manpages-general/build-spec/debian/install | 7 + .../manpages-general/build-spec/debian/links | 12 + .../manpages-general/build-spec/debian/manpages | 1 + .../manpages-general/build-spec/debian/rules | 37 ++ .../manual/manpages-general/build-spec/fill-values | 3 + .../manpages-general/build-spec/orig/bin-x/rstartd | 3 + .../orig/bin/binary-without-english-manpage | 3 + .../build-spec/orig/bin/usr-bin-binary | 3 + .../build-spec/orig/bin/usr-bin-binary-alt | 3 + .../orig/man-de/binary-without-english-manpage.1 | 0 .../build-spec/orig/man-x/rstartd.1x | 62 ++++ .../manpages-general/build-spec/orig/man/README.1 | 3 + .../manpages-general/build-spec/orig/man/bad-so.1 | 1 + .../manpages-general/build-spec/orig/man/include.3 | 30 ++ .../build-spec/orig/man/included.3 | 10 + .../manpages-general/build-spec/orig/man/program.1 | 62 ++++ .../build-spec/orig/man/test-latin1-chars.1p | 10 + .../build-spec/orig/man/test-utf8-chars.1p | 10 + .../manpages-general/build-spec/orig/man/test.1p | 24 ++ .../manpages-general/build-spec/orig/man/test.3p | 16 + .../manpages-general/build-spec/orig/man/true.1 | 44 +++ .../build-spec/orig/man/usr-bin-binary.1 | 3 + .../build-spec/orig/man/usr-games-binary.6 | 0 .../build-spec/orig/pod/simple.pod | 18 + .../build-spec/orig/sbin/usr-sbin-binary | 3 + .../manual/manpages-general/eval/desc | 3 + .../manual/manpages-general/eval/hints | 32 ++ .../manual/manpages-general/eval/post-test | 3 + .../manpages-wrong-dir/build-spec/debian/install | 2 + .../manpages-wrong-dir/build-spec/fill-values | 3 + .../manpages-wrong-dir/build-spec/orig/Makefile | 14 + .../manpages-wrong-dir/build-spec/orig/pecho | 25 ++ .../manual/manpages-wrong-dir/eval/desc | 2 + .../manual/manpages-wrong-dir/eval/hints | 2 + .../scripts-ocamlrun/build-spec/debian/control.in | 15 + .../manual/scripts-ocamlrun/build-spec/fill-values | 3 + .../scripts-ocamlrun/build-spec/orig/Makefile | 8 + .../scripts-ocamlrun/build-spec/orig/script1 | 1 + .../manual/scripts-ocamlrun/eval/desc | 3 + .../manual/scripts-ocamlrun/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bad-spelling.1 | 16 + .../build-spec/orig/bin/bad-spelling | 3 + .../manual/spelling-error-in-manpage/eval/desc | 3 + .../manual/spelling-error-in-manpage/eval/hints | 1 + .../surplus-manpage/build-spec/debian/install | 3 + .../surplus-manpage/build-spec/debian/manpages | 1 + .../manual/surplus-manpage/build-spec/fill-values | 3 + .../manual/surplus-manpage/build-spec/orig/bin/pwd | 3 + .../build-spec/orig/libexec/private-executable | 3 + .../surplus-manpage/build-spec/orig/man/addpart.8 | 40 ++ .../surplus-manpage/build-spec/orig/man/lsmod.8 | 59 +++ .../build-spec/orig/man/private-executable.8 | 10 + .../surplus-manpage/build-spec/orig/man/pwd.1 | 48 +++ .../surplus-manpage/build-spec/orig/man/statfs.1 | 28 ++ .../surplus-manpage/build-spec/orig/sbin/addpart | 3 + .../documentation/manual/surplus-manpage/eval/desc | 2 + .../manual/surplus-manpage/eval/hints | 2 + 328 files changed, 3672 insertions(+) create mode 100644 t/recipes/checks/documentation/manual/acute-accent/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/acute-accent/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/acute-accent/build-spec/orig/man/hosts_access.5 create mode 100644 t/recipes/checks/documentation/manual/acute-accent/eval/desc create mode 100644 t/recipes/checks/documentation/manual/acute-accent/eval/hints create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bad-so.1 create mode 100755 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bin/bad-so create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/bin/mount.cifs create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/man/mount.cifs.8 create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/combined-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary.1 create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/desc create mode 100644 t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/hints create mode 100644 t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad create mode 100644 t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad.1 create mode 100644 t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telekinetic create mode 100755 t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telepathic create mode 100644 t/recipes/checks/documentation/manual/executable-without-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/executable-without-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/documentation/manual/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/documentation/manual/files-general/eval/desc create mode 100644 t/recipes/checks/documentation/manual/files-general/eval/hints create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/bin/mentions-other-standard create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/mentions-other-standard.1p create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/desc create mode 100644 t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/hints create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/Makefile create mode 100755 t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/bin/bad-so create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/eval/desc create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/eval/hints create mode 100644 t/recipes/checks/documentation/manual/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/documentation/manual/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/documentation/manual/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/documentation/manual/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/debian/links create mode 100644 t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bad-whatis.1 create mode 100755 t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bin/bad-whatis create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/bin/program create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/program.1 create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/bin/empty-manpage create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/empty-manpage.1 create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-empty/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/bin/errors-from-man create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/errors-from-man.1p create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/bin/errors-from-pod2man create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/errors-from-pod2man.1p create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/README.1 create mode 100755 t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/bin/README create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-generic-name/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/bin/test-utf8-chars create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/man/test-utf8-chars.1p create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/test-utf8-chars.1p create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1 create mode 100755 t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/bin/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/hints 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 create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/bin/not-compressed create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/not-compressed.1 create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-not-compressed/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/orig/not-max-compress.6 create mode 100644 t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/orig/python-traceback.5 create mode 100644 t/recipes/checks/documentation/manual/manpage-python-traceback/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-python-traceback/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3 create mode 100644 t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/bin/useless-whatis create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/useless-whatis.1 create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/orig/example.man create mode 100644 t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho-data.manpages create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho.install create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/pecho create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpages-dependencies/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6 create mode 100644 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod create mode 100755 t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary create mode 100644 t/recipes/checks/documentation/manual/manpages-general/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpages-general/eval/hints create mode 100644 t/recipes/checks/documentation/manual/manpages-general/eval/post-test create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc create mode 100644 t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/script1 create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/desc create mode 100644 t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/hints create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bad-spelling.1 create mode 100755 t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bin/bad-spelling create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/hints create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/manpages create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/bin/pwd create mode 100755 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/libexec/private-executable create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/addpart.8 create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/lsmod.8 create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/private-executable.8 create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/pwd.1 create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/statfs.1 create mode 100755 t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/sbin/addpart create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/eval/desc create mode 100644 t/recipes/checks/documentation/manual/surplus-manpage/eval/hints (limited to 't/recipes/checks/documentation/manual') diff --git a/t/recipes/checks/documentation/manual/acute-accent/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/acute-accent/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/acute-accent/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/checks/documentation/manual/acute-accent/build-spec/fill-values b/t/recipes/checks/documentation/manual/acute-accent/build-spec/fill-values new file mode 100644 index 0000000..63bead0 --- /dev/null +++ b/t/recipes/checks/documentation/manual/acute-accent/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: acute-accent +Skeleton: upload-native +Description: Generates an acute accent instead of an apostrophe or single closing quote diff --git a/t/recipes/checks/documentation/manual/acute-accent/build-spec/orig/man/hosts_access.5 b/t/recipes/checks/documentation/manual/acute-accent/build-spec/orig/man/hosts_access.5 new file mode 100644 index 0000000..044d0e0 --- /dev/null +++ b/t/recipes/checks/documentation/manual/acute-accent/build-spec/orig/man/hosts_access.5 @@ -0,0 +1,405 @@ +.TH HOSTS_ACCESS 5 +.SH NAME +hosts_access \- format of host access control files +.SH DESCRIPTION +This manual page describes a simple access control language that is +based on client (host name/address, user name), and server (process +name, host name/address) patterns. Examples are given at the end. The +impatient reader is encouraged to skip to the EXAMPLES section for a +quick introduction. +.PP +The extended version of the access control language is described in the +\fIhosts_options\fR(5) document. \fBNote that this language supersedes +the meaning of \fIshell_command\fB as documented below.\fR +.PP +In the following text, \fIdaemon\fR is the process name of a +network daemon process, and \fIclient\fR is the name and/or address of +a host requesting service. Network daemon process names are specified +in the inetd configuration file. +.SH ACCESS CONTROL FILES +The access control software consults two files. The search stops +at the first match: +.IP \(bu +Access will be granted when a (daemon,client) pair matches an entry in +the \fI/etc/hosts.allow\fR file. +.IP \(bu +Otherwise, access will be denied when a (daemon,client) pair matches an +entry in the \fI/etc/hosts.deny\fR file. +.IP \(bu +Otherwise, access will be granted. +.PP +A non-existing access control file is treated as if it were an empty +file. Thus, access control can be turned off by providing no access +control files. +.SH ACCESS CONTROL RULES +Each access control file consists of zero or more lines of text. These +lines are processed in order of appearance. The search terminates when a +match is found. +.IP \(bu +A newline character is ignored when it is preceded by a backslash +character. This permits you to break up long lines so that they are +easier to edit. +.IP \(bu +Blank lines or lines that begin with a `#\' character are ignored. +This permits you to insert comments and whitespace so that the tables +are easier to read. +.IP \(bu +All other lines should satisfy the following format, things between [] +being optional: +.sp +.ti +3 +daemon_list : client_list [ : shell_command ] +.PP +\fIdaemon_list\fR is a list of one or more daemon process names +(argv[0] values) or server port numbers or wildcards (see below). +.PP +\fIclient_list\fR is a list +of one or more host names, host addresses, patterns or wildcards (see +below) that will be matched against the client host name or address. +.PP +The more complex forms \fIdaemon@host\fR and \fIuser@host\fR are +explained in the sections on server endpoint patterns and on client +username lookups, respectively. +.PP +List elements should be separated by blanks and/or commas. +.PP +With the exception of NIS (YP) netgroup lookups, all access control +checks are case insensitive. +.ne 4 +.SH PATTERNS +The access control language implements the following patterns: +.IP \(bu +A string that begins with a `.\' character. A host name is matched if +the last components of its name match the specified pattern. For +example, the pattern `.tue.nl\' matches the host name +`wzv.win.tue.nl\'. +.IP \(bu +A string that ends with a `.\' character. A host address is matched if +its first numeric fields match the given string. For example, the +pattern `131.155.\' matches the address of (almost) every host on the +Eind\%hoven University network (131.155.x.x). +.IP \(bu +A string that begins with an `@\' character is treated as an NIS +(formerly YP) netgroup name. A host name is matched if it is a host +member of the specified netgroup. Netgroup matches are not supported +for daemon process names or for client user names. +.IP \(bu +An expression of the form `n.n.n.n/m.m.m.m\' is interpreted as a +`net/mask\' pair. An IPv4 host address is matched if `net\' is equal to the +bitwise AND of the address and the `mask\'. For example, the net/mask +pattern `131.155.72.0/255.255.254.0\' matches every address in the +range `131.155.72.0\' through `131.155.73.255\'. +`255.255.255.255\' is not a valid mask value, so a single host can be +matched just by its IP. +.IP \(bu +An expression of the form `n.n.n.n/mm' is interpreted as a +`net/masklength' pair, where `mm' is the number of consecutive `1' +bits in the netmask applied to the `n.n.n.n' address. +.IP \(bu +An expression of the form `[n:n:n:n:n:n:n:n]/m\' is interpreted as a +`[net]/prefixlen\' pair. An IPv6 host address is matched if +`prefixlen\' bits of `net\' is equal to the `prefixlen\' bits of the +address. For example, the [net]/prefixlen pattern +`[3ffe:505:2:1::]/64\' matches every address in the range +`3ffe:505:2:1::\' through `3ffe:505:2:1:ffff:ffff:ffff:ffff\'. +.IP \(bu +A string that begins with a `/\' character is treated as a file +name. A host name or address is matched if it matches any host name +or address pattern listed in the named file. The file format is +zero or more lines with zero or more host name or address patterns +separated by whitespace. A file name pattern can be used anywhere +a host name or address pattern can be used. +.IP \(bu +Wildcards `*\' and `?\' can be used to match hostnames or IP addresses. This +method of matching cannot be used in conjunction with `net/mask\' matching, +hostname matching beginning with `.\' or IP address matching ending with `.\'. +.SH WILDCARDS +The access control language supports explicit wildcards: +.IP ALL +The universal wildcard, always matches. +.IP LOCAL +Matches any host whose name does not contain a dot character. +.IP UNKNOWN +Matches any user whose name is unknown, and matches any host whose name +\fIor\fR address are unknown. This pattern should be used with care: +host names may be unavailable due to temporary name server problems. A +network address will be unavailable when the software cannot figure out +what type of network it is talking to. +.IP KNOWN +Matches any user whose name is known, and matches any host whose name +\fIand\fR address are known. This pattern should be used with care: +host names may be unavailable due to temporary name server problems. A +network address will be unavailable when the software cannot figure out +what type of network it is talking to. +.IP PARANOID +Matches any host whose name does not match its address. When tcpd is +built with -DPARANOID (default mode), it drops requests from such +clients even before looking at the access control tables. Build +without -DPARANOID when you want more control over such requests. +.ne 6 +.SH OPERATORS +.IP EXCEPT +Intended use is of the form: `list_1 EXCEPT list_2\'; this construct +matches anything that matches \fIlist_1\fR unless it matches +\fIlist_2\fR. The EXCEPT operator can be used in daemon_lists and in +client_lists. The EXCEPT operator can be nested: if the control +language would permit the use of parentheses, `a EXCEPT b EXCEPT c\' +would parse as `(a EXCEPT (b EXCEPT c))\'. +.br +.ne 6 +.SH SHELL COMMANDS +If the first-matched access control rule contains a shell command, that +command is subjected to % substitutions (see next section). +The result is executed by a \fI/bin/sh\fR child process with standard +input, output and error connected to \fI/dev/null\fR. Specify an `&\' +at the end of the command if you do not want to wait until it has +completed. +.PP +Shell commands should not rely on the PATH setting of the inetd. +Instead, they should use absolute path names, or they should begin with +an explicit PATH=whatever statement. +.PP +The \fIhosts_options\fR(5) document describes an alternative language +that uses the shell command field in a different and incompatible way. +.SH % EXPANSIONS +The following expansions are available within shell commands: +.IP "%a (%A)" +The client (server) host address. +.IP %c +Client information: user@host, user@address, a host name, or just an +address, depending on how much information is available. +.IP %d +The daemon process name (argv[0] value). +.IP "%h (%H)" +The client (server) host name or address, if the host name is +unavailable. +.IP "%n (%N)" +The client (server) host name (or "unknown" or "paranoid"). +.IP "%r (%R)" +The clients (servers) port number (or "0"). +.IP %p +The daemon process id. +.IP %s +Server information: daemon@host, daemon@address, or just a daemon name, +depending on how much information is available. +.IP %u +The client user name (or "unknown"). +.IP %% +Expands to a single `%\' character. +.PP +Characters in % expansions that may confuse the shell are replaced by +underscores. +.SH SERVER ENDPOINT PATTERNS +In order to distinguish clients by the network address that they +connect to, use patterns of the form: +.sp +.ti +3 +process_name@host_pattern : client_list ... +.sp +Patterns like these can be used when the machine has different internet +addresses with different internet hostnames. Service providers can use +this facility to offer FTP, GOPHER or WWW archives with internet names +that may even belong to different organizations. See also the `twist\' +option in the hosts_options(5) document. Some systems (Solaris, +FreeBSD) can have more than one internet address on one physical +interface; with other systems you may have to resort to SLIP or PPP +pseudo interfaces that live in a dedicated network address space. +.sp +The host_pattern obeys the same syntax rules as host names and +addresses in client_list context. Usually, server endpoint information +is available only with connection-oriented services. +.SH CLIENT USERNAME LOOKUP +When the client host supports the RFC 931 protocol or one of its +descendants (TAP, IDENT, RFC 1413) the wrapper programs can retrieve +additional information about the owner of a connection. Client username +information, when available, is logged together with the client host +name, and can be used to match patterns like: +.PP +.ti +3 +daemon_list : ... user_pattern@host_pattern ... +.PP +The daemon wrappers can be configured at compile time to perform +rule-driven username lookups (default) or to always interrogate the +client host. In the case of rule-driven username lookups, the above +rule would cause username lookup only when both the \fIdaemon_list\fR +and the \fIhost_pattern\fR match. +.PP +A user pattern has the same syntax as a daemon process pattern, so the +same wildcards apply (netgroup membership is not supported). One +should not get carried away with username lookups, though. +.IP \(bu +The client username information cannot be trusted when it is needed +most, i.e. when the client system has been compromised. In general, +ALL and (UN)KNOWN are the only user name patterns that make sense. +.IP \(bu +Username lookups are possible only with TCP-based services, and only +when the client host runs a suitable daemon; in all other cases the +result is "unknown". +.IP \(bu +A well-known UNIX kernel bug may cause loss of service when username +lookups are blocked by a firewall. The wrapper README document +describes a procedure to find out if your kernel has this bug. +.IP \(bu +Username lookups may cause noticeable delays for non-UNIX users. The +default timeout for username lookups is 10 seconds: too short to cope +with slow networks, but long enough to irritate PC users. +.PP +Selective username lookups can alleviate the last problem. For example, +a rule like: +.PP +.ti +3 +daemon_list : @pcnetgroup ALL@ALL +.PP +would match members of the pc netgroup without doing username lookups, +but would perform username lookups with all other systems. +.SH DETECTING ADDRESS SPOOFING ATTACKS +A flaw in the sequence number generator of many TCP/IP implementations +allows intruders to easily impersonate trusted hosts and to break in +via, for example, the remote shell service. The IDENT (RFC931 etc.) +service can be used to detect such and other host address spoofing +attacks. +.PP +Before accepting a client request, the wrappers can use the IDENT +service to find out that the client did not send the request at all. +When the client host provides IDENT service, a negative IDENT lookup +result (the client matches `UNKNOWN@host\') is strong evidence of a host +spoofing attack. +.PP +A positive IDENT lookup result (the client matches `KNOWN@host\') is +less trustworthy. It is possible for an intruder to spoof both the +client connection and the IDENT lookup, although doing so is much +harder than spoofing just a client connection. It may also be that +the client\'s IDENT server is lying. +.PP +Note: IDENT lookups don\'t work with UDP services. +.SH EXAMPLES +The language is flexible enough that different types of access control +policy can be expressed with a minimum of fuss. Although the language +uses two access control tables, the most common policies can be +implemented with one of the tables being trivial or even empty. +.PP +When reading the examples below it is important to realize that the +allow table is scanned before the deny table, that the search +terminates when a match is found, and that access is granted when no +match is found at all. +.PP +The examples use host and domain names. They can be improved by +including address and/or network/netmask information, to reduce the +impact of temporary name server lookup failures. +.SH MOSTLY CLOSED +In this case, access is denied by default. Only explicitly authorized +hosts are permitted access. +.PP +The default policy (no access) is implemented with a trivial deny +file: +.PP +.ne 2 +/etc/hosts.deny: +.in +3 +ALL: ALL +.PP +This denies all service to all hosts, unless they are permitted access +by entries in the allow file. +.PP +The explicitly authorized hosts are listed in the allow file. +For example: +.PP +.ne 2 +/etc/hosts.allow: +.in +3 +ALL: LOCAL @some_netgroup +.br +ALL: .foobar.edu EXCEPT terminalserver.foobar.edu +.PP +The first rule permits access from hosts in the local domain (no `.\' +in the host name) and from members of the \fIsome_netgroup\fP +netgroup. The second rule permits access from all hosts in the +\fIfoobar.edu\fP domain (notice the leading dot), with the exception of +\fIterminalserver.foobar.edu\fP. +.SH MOSTLY OPEN +Here, access is granted by default; only explicitly specified hosts are +refused service. +.PP +The default policy (access granted) makes the allow file redundant so +that it can be omitted. The explicitly non-authorized hosts are listed +in the deny file. For example: +.PP +/etc/hosts.deny: +.in +3 +ALL: some.host.name, .some.domain +.br +ALL EXCEPT in.fingerd: other.host.name, .other.domain +.PP +The first rule denies some hosts and domains all services; the second +rule still permits finger requests from other hosts and domains. +.SH BOOBY TRAPS +The next example permits tftp requests from hosts in the local domain +(notice the leading dot). Requests from any other hosts are denied. +Instead of the requested file, a finger probe is sent to the offending +host. The result is mailed to the superuser. +.PP +.ne 2 +/etc/hosts.allow: +.in +3 +.nf +in.tftpd: LOCAL, .my.domain +.PP +.ne 2 +/etc/hosts.deny: +.in +3 +.nf +in.tftpd: ALL: (/usr/sbin/safe_finger -l @%h | \\ + /usr/bin/mail -s %d-%h root) & +.fi +.PP +The safe_finger command comes with the tcpd wrapper and should be +installed in a suitable place. It limits possible damage from data sent +by the remote finger server. It gives better protection than the +standard finger command. +.PP +The expansion of the %h (client host) and %d (service name) sequences +is described in the section on shell commands. +.PP +Warning: do not booby-trap your finger daemon, unless you are prepared +for infinite finger loops. +.PP +On network firewall systems this trick can be carried even further. +The typical network firewall only provides a limited set of services to +the outer world. All other services can be "bugged" just like the above +tftp example. The result is an excellent early-warning system. +.br +.ne 4 +.SH DIAGNOSTICS +An error is reported when a syntax error is found in a host access +control rule; when the length of an access control rule exceeds the +capacity of an internal buffer; when an access control rule is not +terminated by a newline character; when the result of % +expansion would overflow an internal buffer; when a system call fails +that shouldn\'t. All problems are reported via the syslog daemon. +.SH FILES +.na +.nf +/etc/hosts.allow, (daemon,client) pairs that are granted access. +/etc/hosts.deny, (daemon,client) pairs that are denied access. +.ad +.fi +.SH SEE ALSO +.nf +hosts_options(5) extended syntax. +tcpd(8) tcp/ip daemon wrapper program. +tcpdchk(8), tcpdmatch(8), test programs. +.SH BUGS +If a name server lookup times out, the host name will not be available +to the access control software, even though the host is registered. +.PP +Domain name server lookups are case insensitive; NIS (formerly YP) +netgroup lookups are case sensitive. +.SH AUTHOR +.na +.nf +Wietse Venema (wietse@wzv.win.tue.nl) +Department of Mathematics and Computing Science +Eindhoven University of Technology +Den Dolech 2, P.O. Box 513, +5600 MB Eindhoven, The Netherlands +\" @(#) hosts_access.5 1.20 95/01/30 19:51:46 diff --git a/t/recipes/checks/documentation/manual/acute-accent/eval/desc b/t/recipes/checks/documentation/manual/acute-accent/eval/desc new file mode 100644 index 0000000..411b27a --- /dev/null +++ b/t/recipes/checks/documentation/manual/acute-accent/eval/desc @@ -0,0 +1,3 @@ +Testname: acute-accent +Check: documentation/manual +See-Also: Bug#554897, Bug#507673 diff --git a/t/recipes/checks/documentation/manual/acute-accent/eval/hints b/t/recipes/checks/documentation/manual/acute-accent/eval/hints new file mode 100644 index 0000000..c292d15 --- /dev/null +++ b/t/recipes/checks/documentation/manual/acute-accent/eval/hints @@ -0,0 +1,34 @@ +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:99] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:92] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:91] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:90] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:89] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:88] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:87] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:82] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:79] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:77] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:75] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:74] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:72] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:43] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:378] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:314] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:274] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:272] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:268] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:265] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:202] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:188] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:154] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:147] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:146] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:142] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:115] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:114] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:113] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:106] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:104] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:103] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:101] +acute-accent (binary): acute-accent-in-manual-page [usr/share/man/man5/hosts_access.5.gz:100] diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..67a8262 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +undocumented.7 diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules new file mode 100755 index 0000000..e0581b1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_link: + dh_link + + install -d $(tmp)/usr/share/man/man1 + ln -s undocumented.7.gz $(tmp)/usr/share/man/man1/sbin-binary.1.gz diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values new file mode 100644 index 0000000..0348cd4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: bad-link-to-undocumented-manpage +Description: Manual page that is a bad link to an undocumented man page diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 new file mode 100644 index 0000000..a72dfb9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 @@ -0,0 +1,11 @@ +.TH fixcr 7 +.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/bad-link-to-undocumented-manpage/eval/desc b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/desc new file mode 100644 index 0000000..c6f22fb --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: bad-link-to-undocumented-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints new file mode 100644 index 0000000..c28379f --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints @@ -0,0 +1 @@ +bad-link-to-undocumented-manpage (binary): broken-link-to-undocumented [usr/share/man/man1/sbin-binary.1.gz] diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..4250dab --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +bad-so.1 diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/fill-values new file mode 100644 index 0000000..d30dcca --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: bad-so-link-in-manpage +Description: Manual page with a bad .so link diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bad-so.1 b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bad-so.1 new file mode 100644 index 0000000..8e50cfc --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bad-so.1 @@ -0,0 +1 @@ +.so ../somewhere/invalid/manpage.1 diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bin/bad-so b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bin/bad-so new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/build-spec/orig/bin/bad-so @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/desc b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/desc new file mode 100644 index 0000000..6a93bf5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: bad-so-link-in-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/hints b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/hints new file mode 100644 index 0000000..dadff55 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-so-link-in-manpage/eval/hints @@ -0,0 +1 @@ +bad-so-link-in-manpage (binary): bad-so-link-within-manual-page [usr/share/man/man1/bad-so.1.gz] diff --git a/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/checks/documentation/manual/combined-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/fill-values new file mode 100644 index 0000000..9abb58a --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: combined-manpage +Skeleton: upload-native +Description: Ships a combined manpage covering multiple executables diff --git a/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/bin/mount.cifs b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/bin/mount.cifs new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/bin/mount.cifs @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/man/mount.cifs.8 b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/man/mount.cifs.8 new file mode 100644 index 0000000..211f883 --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/build-spec/orig/man/mount.cifs.8 @@ -0,0 +1,59 @@ +.\" Man page generated from reStructuredText. +. +.TH MOUNT.CIFS, MOUNT.SMB3 8 "" "" "" +.SH NAME +mount.cifs, mount.smb3 \- mount using the Common Internet File System (CIFS) +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +This man page was abbreviated for the Lintian test suite. +.sp +\fBmount.cifs\fP mounts a CIFS or SMB3 filesystem from Linux. It is +usually invoked indirectly by the mount(8) command when using the "\-t cifs" +option. This command only works in Linux, and the kernel must support +the cifs filesystem. The SMB3 protocol is the successor to the CIFS (SMB) +protocol and is supported by most Windows servers, Azure (cloud storage), +Macs and many other commercial servers and Network Attached Storage +appliances as well as by the popular Open Source server Samba. +.SH SEE ALSO +.sp +cifs.upcall(8), getcifsacl(1), setcifsacl(1) +.sp +\fIDocumentation/filesystems/cifs.txt\fP and \fIfs/cifs/README\fP in the +Linux kernel source tree may contain additional options and +information. +.SH AUTHOR +.sp +Steve French +.sp +The maintainer of the Linux cifs vfs is Steve French. The maintainer of the +cifs\-utils suite of user space tools is Pavel Shilovsky. The Linux CIFS Mailing +list is the preferred place to ask questions regarding these programs. +.\" Generated by docutils manpage writer. +. diff --git a/t/recipes/checks/documentation/manual/combined-manpage/eval/desc b/t/recipes/checks/documentation/manual/combined-manpage/eval/desc new file mode 100644 index 0000000..94abd52 --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/eval/desc @@ -0,0 +1,6 @@ +Testname: combined-manpage +Check: documentation/manual +Test-Against: + wrong-manual-section +See-Also: + Bug#962601 diff --git a/t/recipes/checks/documentation/manual/combined-manpage/eval/hints b/t/recipes/checks/documentation/manual/combined-manpage/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/documentation/manual/combined-manpage/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/install b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/install new file mode 100644 index 0000000..0531024 --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/install @@ -0,0 +1 @@ +sbin-binary /usr/sbin diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/manpages new file mode 100644 index 0000000..8c22c13 --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/debian/manpages @@ -0,0 +1 @@ +sbin-binary.1 diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/fill-values b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/fill-values new file mode 100644 index 0000000..37d076a --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: command-in-sbin-has-manpage-in-incorrect-section +Description: Binary in /sbin with manpage in section 1 diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary new file mode 100755 index 0000000..839c9a9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary @@ -0,0 +1,3 @@ +#!/bin/sh + +: diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary.1 b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary.1 new file mode 100644 index 0000000..ebb8b53 --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/build-spec/orig/sbin-binary.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/command-in-sbin-has-manpage-in-incorrect-section/eval/desc b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/desc new file mode 100644 index 0000000..81a8fdc --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/desc @@ -0,0 +1,2 @@ +Testname: command-in-sbin-has-manpage-in-incorrect-section +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/hints b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/hints new file mode 100644 index 0000000..fd38216 --- /dev/null +++ b/t/recipes/checks/documentation/manual/command-in-sbin-has-manpage-in-incorrect-section/eval/hints @@ -0,0 +1 @@ +command-in-sbin-has-manpage-in-incorrect-section (binary): manual-page-for-system-command [usr/sbin/sbin-binary] diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/debian/install new file mode 100644 index 0000000..f93fe52 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/debian/install @@ -0,0 +1,2 @@ +from-abroad /usr/bin +from-abroad.1 /usr/share/man/de/man1 diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/fill-values new file mode 100644 index 0000000..d58af69 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: executable-without-english-manpage +Description: Manpage without an English language manpage diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad.1 b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad.1 new file mode 100644 index 0000000..6c03d31 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/build-spec/orig/from-abroad.1 @@ -0,0 +1,10 @@ +.IX Title "TEST 1" +.TH TEST 1 "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch" +.SH "NAME" +\&\fBTEST\fR \- Eine Test-Manpage mit .1 Erweiterung. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Diese Seite dient hauptschlich dem Testen von latin1-Buchstaben, wie +in Manpages. diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/desc b/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/desc new file mode 100644 index 0000000..25636b3 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: executable-without-english-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/hints b/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/hints new file mode 100644 index 0000000..07c2bce --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-english-manpage/eval/hints @@ -0,0 +1 @@ +executable-without-english-manpage (binary): no-english-manual-page [usr/bin/from-abroad] diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/debian/install new file mode 100644 index 0000000..8a96cea --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/debian/install @@ -0,0 +1,2 @@ +telepathic /usr/bin +telekinetic /usr/libexec diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/fill-values new file mode 100644 index 0000000..eeabd4b --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: executable-without-manpage +Description: Executable file without manpage diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telekinetic b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telekinetic new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telekinetic @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telepathic b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telepathic new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/build-spec/orig/telepathic @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/eval/desc b/t/recipes/checks/documentation/manual/executable-without-manpage/eval/desc new file mode 100644 index 0000000..d5783c9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: executable-without-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/executable-without-manpage/eval/hints b/t/recipes/checks/documentation/manual/executable-without-manpage/eval/hints new file mode 100644 index 0000000..561b600 --- /dev/null +++ b/t/recipes/checks/documentation/manual/executable-without-manpage/eval/hints @@ -0,0 +1 @@ +executable-without-manpage (binary): no-manual-page [usr/bin/telepathic] diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/clean b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/clean new file mode 100644 index 0000000..222b726 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/clean @@ -0,0 +1 @@ +鳥の詩.1 diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/dirs b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/dirs new file mode 100644 index 0000000..b76fb64 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/dirs @@ -0,0 +1,13 @@ +etc +etc/skel +usr/bin +usr/doc +usr/lib/python3/dist-packages/foo +usr/share/foo +usr/share/fonts/X11/misc +usr/share/glib-2.0/schemas +usr/share/hal +usr/share/man/man1/random +var/catman +var/lock/lintian +var/run/lintian diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/examples b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/examples new file mode 100644 index 0000000..18fb10f --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/examples @@ -0,0 +1 @@ +foo.vcproj diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/install b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/install new file mode 100644 index 0000000..dccb61e --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/install @@ -0,0 +1,18 @@ +lintian-16x16.png usr/share/apps/lintian/icons/hicolor/22x22 +lintian-16x16.png usr/share/icons/hicolor/22x22/apps +lintian-22x22.png usr/share/apps/lintian/icons/hicolor/22x22 +lintian-22x22.png usr/share/apps/lintian/icons/hicolor/20x20 +lintian-16x16.png usr/share/doc/lintian/ +lintian-22x22.png usr/share/games/icons/hicolor/22x22 +lintian-16x16.png usr/share/icons/hicolor/scalable/apps +lintian-22x22.png usr/share/icons/16x16/animations/ +--lzma etc/modprobe.d +lintian.conf etc/modprobe.d +dir usr/share/info +foo.vcproj usr/lib/foo +lintian-lib.conf etc/ld.so.conf.d +php-foo.ini etc/php/7.0/mods-available +types usr/share/mime +mimeinfo.cache usr/share/applications +file-in-new-top-level-dir new-top-level-dir/ +sudotest etc/sudoers.d/ diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/links b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/links new file mode 100644 index 0000000..f3e425d --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/links @@ -0,0 +1 @@ +usr/share/apps/lintian/icons/hicolor/22x22/lintian-22x22.png usr/share/apps/lintian/icons/hicolor/64x64/lintian-64x64.png diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/manpages new file mode 100644 index 0000000..e8af11b --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/manpages @@ -0,0 +1,2 @@ +foo.5 +鳥の詩.1 diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/debian/rules b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/rules new file mode 100755 index 0000000..798f01e --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_install: + dh_install + echo "#fake conf file" > $(tmp)/etc/pam.conf + # true positives + touch $(tmp)/etc/skel/.lintianrc + # false positives + touch $(tmp)/etc/skel/.bashrc + touch $(tmp)/etc/skel/.bash_logout + touch $(tmp)/etc/skel/.profile + touch $(tmp)/etc/skel/.kshrc + touch $(tmp)/etc/skel/.mkshrc + echo "Back-up file" > $(tmp)/usr/share/foo/file~ + # The name of the "binary" is "Tori no Uta" + # If it is ever messed up, it can be restored by + # using something like: + # perl -pe 's/\@FILE\@/\xe9\xb3\xa5\xe3\x81\xae\xe8\xa9\xa9\x0a/' + echo "#!/bin/sh" > $(tmp)/usr/bin/鳥の詩 + chmod +x $(tmp)/usr/bin/鳥の詩 + # Copy the manpage to its correct name so dh_installman can + # find it. + # - d/clean will remove it again + cp -a tnu.1 鳥の詩.1 + touch $(tmp)/usr/doc/FSSTND + touch $(tmp)/usr/share/foo/'*' + touch $(tmp)/usr/share/foo/'ws ' + touch $(tmp)/usr/share/fonts/X11/misc/fonts.dir + touch $(tmp)/usr/share/fonts/X11/misc/fonts.scale + touch $(tmp)/usr/share/fonts/X11/misc/fonts.alias + touch $(tmp)/usr/share/fonts/X11/misc/encodings.dir + touch $(tmp)/usr/share/fonts/X11/misc/false-positive + touch $(tmp)/usr/share/foo/.nfs-fake-tmpfile + touch $(tmp)/usr/share/foo/foo.doctree + touch $(tmp)/usr/share/foo/gschemas.compiled + touch $(tmp)/usr/share/glib-2.0/schemas/gschemas.compiled + touch $(tmp)/usr/share/hal/foo.fdi + touch $(tmp)/usr/lib/python3/dist-packages/test_foo.py + touch $(tmp)/usr/lib/python3/dist-packages/foo/test_falsepositive.py + # If the following line gets messed up, it can be + # restored with something like: + # sed -i 's/@FILE@/bokm\xe5l/' + touch $(tmp)/usr/share/foo/bokml + touch $(tmp)/var/catman/do + +override_dh_fixperms: + dh_fixperms + chmod 755 $(tmp)/usr/share/man/man5/foo.5.gz + chmod 644 $(tmp)/etc/sudoers.d/* + +override_dh_compress: + dh_compress + # create a .png and .png.gz + gzip -n -1 $(tmp)/usr/share/doc/lintian/lintian-16x16.png + zcat $(tmp)/usr/share/doc/lintian/lintian-16x16.png.gz > \ + $(tmp)/usr/share/doc/lintian/lintian-16x16.png + +override_dh_link: + dh_link + mkdir -p $(tmp)/usr/share/doc/bar + echo "Hallo World" > $(tmp)/usr/share/doc/bar/foo + ln -s ../bar/foo $(tmp)/usr/share/doc/bar/star diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/fill-values b/t/recipes/checks/documentation/manual/files-general/build-spec/fill-values new file mode 100644 index 0000000..45de709 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: files-general +Description: Test tags for file paths, names, and modes +# tar -t is buggy and does not list \\\ filename diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/--lzma b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/--lzma new file mode 100644 index 0000000..5241aaa --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/--lzma @@ -0,0 +1,2 @@ +Test file to check that various parts of Lintian correctly handle files with names that look +like options diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/dir b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/dir new file mode 100644 index 0000000..e465d26 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/dir @@ -0,0 +1,18 @@ +This is the file .../info/dir, which contains the +topmost node of the Info hierarchy, called (dir)Top. +The first time you invoke Info you start off looking at this node. + +File: dir, Node: Top This is the top of the INFO tree + + This (the Directory node) gives a menu of major topics. + Typing "q" exits, "?" lists all Info commands, "d" returns here, + "h" gives a primer for first-timers, + "mEmacs" visits the Emacs manual, etc. + + In Emacs, you can click mouse button 2 on a menu item or cross reference + to select it. + +* Menu: + +Archiving +* Cpio: (cpio). Copy-in-copy-out archiver to tape or disk. diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/file-in-new-top-level-dir b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/file-in-new-top-level-dir new file mode 100644 index 0000000..ae82d42 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/file-in-new-top-level-dir @@ -0,0 +1,2 @@ +Since an empty file triggers "empty-dir" tags; we might as well +test file-in-unusual-dir together with non-standard-toplevel-dir. diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.5 b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.5 new file mode 100644 index 0000000..718eae1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.5 @@ -0,0 +1,5 @@ +.TH FOO "5" +.SH NAME +foo \- file format for foo +.SH DESCRIPTION +This file can store anything. diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.vcproj b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.vcproj new file mode 100644 index 0000000..6ec1ca6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/foo.vcproj @@ -0,0 +1 @@ +Not actually a VC project file. diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-16x16.png b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-16x16.png new file mode 100644 index 0000000..cd7355d Binary files /dev/null and b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-16x16.png differ diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-22x22.png b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-22x22.png new file mode 100644 index 0000000..efc9af0 Binary files /dev/null and b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-22x22.png differ diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-lib.conf b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-lib.conf new file mode 100644 index 0000000..e2b41a8 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian-lib.conf @@ -0,0 +1 @@ +/usr/lib/lintian diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian.conf b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian.conf new file mode 100644 index 0000000..7f6693c --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/lintian.conf @@ -0,0 +1 @@ +Test file which should not be flagged by the modprobe.d checks diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/mimeinfo.cache b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/mimeinfo.cache new file mode 100644 index 0000000..f3067c5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/mimeinfo.cache @@ -0,0 +1,2 @@ +[MIME Cache] +text/plain=foo-editor.desktop diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/php-foo.ini b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/php-foo.ini new file mode 100644 index 0000000..6a33666 --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/php-foo.ini @@ -0,0 +1 @@ +# this style of comments are obsolete diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/sudotest b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/sudotest new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/tnu.1 b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/tnu.1 new file mode 100644 index 0000000..147dc1a --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/tnu.1 @@ -0,0 +1,5 @@ +.TH 鳥の詩 "1" +.SH NAME +鳥の詩 \- command in PATH written in UTF-8 +.SH DESCRIPTION +鳥の詩 (Tori no uta) is not really a useful command. diff --git a/t/recipes/checks/documentation/manual/files-general/build-spec/orig/types b/t/recipes/checks/documentation/manual/files-general/build-spec/orig/types new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/documentation/manual/files-general/eval/desc b/t/recipes/checks/documentation/manual/files-general/eval/desc new file mode 100644 index 0000000..f5160dc --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/eval/desc @@ -0,0 +1,3 @@ +Testname: files-general +Check: documentation/manual +# tar -t is buggy and does not list \\\ filename diff --git a/t/recipes/checks/documentation/manual/files-general/eval/hints b/t/recipes/checks/documentation/manual/files-general/eval/hints new file mode 100644 index 0000000..8c0379f --- /dev/null +++ b/t/recipes/checks/documentation/manual/files-general/eval/hints @@ -0,0 +1,2 @@ +files-general (binary): stray-folder-in-manual [usr/share/man/man1/random/] +files-general (binary): executable-manual-page [usr/share/man/man5/foo.5.gz] diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/install b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/manpages new file mode 100644 index 0000000..fa89b0d --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/debian/manpages @@ -0,0 +1 @@ +mentions-other-standard.1p diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/fill-values b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/fill-values new file mode 100644 index 0000000..aa55411 --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fsstnd-dir-in-manual-page +Description: Manual page references a directory specified in the FSSTND diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/bin/mentions-other-standard b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/bin/mentions-other-standard new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/bin/mentions-other-standard @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/mentions-other-standard.1p b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/mentions-other-standard.1p new file mode 100644 index 0000000..e0563f5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/build-spec/orig/mentions-other-standard.1p @@ -0,0 +1,17 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux manual" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with a .1P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Use more up-level tools like human brains to understand lintian. +Here's a bad undefined macro. +Here's a serious syntax error. +.SH "FILES" +This program does not use /var/catman/do or any other FSSTND location. +.PP +.nh +http://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man +.\" Copied from caff(1) diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/desc b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/desc new file mode 100644 index 0000000..4e8169a --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/desc @@ -0,0 +1,3 @@ +Testname: fsstnd-dir-in-manual-page +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/hints b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/hints new file mode 100644 index 0000000..4835078 --- /dev/null +++ b/t/recipes/checks/documentation/manual/fsstnd-dir-in-manual-page/eval/hints @@ -0,0 +1 @@ +fsstnd-dir-in-manual-page (binary): FSSTND-dir-in-manual-page /var/catman/ [usr/share/man/man1/mentions-other-standard.1P.gz:13] diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: . + It also has a usefull speling error. + + -- Russ Allbery Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery , Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/control b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Uploaders: Co-maintainer one , Jeroen van Wolffelaar , Co-maintainer three +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated ntionl ncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello! +Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/install b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/rules b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '' > $(tmp)/usr/share/doc/binary/html/index.html + echo '' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/templates b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/fill-values b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/bin/bad-so b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/bin/bad-so new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/bin/bad-so @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/hello.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/documentation/manual/legacy-binary/eval/desc b/t/recipes/checks/documentation/manual/legacy-binary/eval/desc new file mode 100644 index 0000000..631d4ea --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/legacy-binary/eval/hints b/t/recipes/checks/documentation/manual/legacy-binary/eval/hints new file mode 100644 index 0000000..5e77703 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/eval/hints @@ -0,0 +1,5 @@ +binary (binary): no-manual-page [usr/bin/static-hello] +binary (binary): no-manual-page [usr/bin/iminusrbin] +binary (binary): no-manual-page [usr/bin/hello] +binary (binary): no-manual-page [usr/bin/hello.static] +binary (binary): no-manual-page [usr/bin/hello-static] diff --git a/t/recipes/checks/documentation/manual/legacy-binary/eval/post-test b/t/recipes/checks/documentation/manual/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/changelog.in @@ -0,0 +1,78 @@ +filenames ([% $version %]) [% $distribution %]; urgency=low + + * /me is doing a correct NMU of this package, bumping the epoch too. + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:04:39 +0200 + +filenames (11) unstable; urgency=low + + * Add a README.macos. + + -- Marc 'HE' Brockschmidt Mon, 12 Apr 2004 23:35:24 +0200 + +filenames (10) unstable; urgency=low + + * Some new files to check the checks for the use of /usr/*/X11 and + /usr/X11R6/*. + + -- Marc 'HE' Brockschmidt Sun, 11 Apr 2004 17:35:20 +0200 + +filenames (9) unstable; urgency=low + + * Add a two *.ali files, one with the right permission, one with + the more common, but false one. + + -- Marc 'HE' Brockschmidt Sun, 11 Apr 2004 00:18:16 +0200 + +filenames (8) unstable; urgency=low + + * Add a real ancient file + + -- Frank Lichtenheld Thu, 8 Apr 2004 22:22:40 +0200 + +filenames (7) unstable; urgency=low + + * Add a dozen symlinks, some correct, some not + + -- Jeroen van Wolffelaar Fri, 27 Feb 2004 01:28:42 +0100 + +filenames (6) unstable; urgency=low + + * Add perl files to check if + package-installs-nonbinary-perl-in-usr-lib-perl5 is correctly + issued even after attempting to suppress it in some cases + + -- Frank Lichtenheld Fri, 27 Feb 2004 00:49:44 +0100 + +filenames (5) unstable; urgency=low + + * Added check for too long symlink + + -- Sean 'Shaleh' Perry Wed, 3 Jan 2001 13:20:31 -0800 + +filenames (4) unstable; urgency=low + + * Add /usr/lib/menu/menu file to test the bad-menu-file-name tag. + * Add /usr/lib/menu/README to test the new execption for it. + + -- Richard Braakman Thu, 22 Oct 1998 15:42:52 +0200 + +filenames (3) unstable; urgency=low + + * Don't rely on the installer's umask. + + -- Richard Braakman Thu, 20 Aug 1998 12:45:47 +0200 + +filenames (2) unstable; urgency=low + + * Noted more limitations on what filenames lintian handles. + * Added Changes.gz in /usr/doc/filenames and made a symlink from changelog.gz + to Changes.gz. + + -- Richard Braakman Sat, 4 Jul 1998 15:46:11 +0200 + +filenames (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Sat, 4 Jul 1998 15:25:01 +0200 diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/control b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: filenames +Maintainer: Lintian Maintainer +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets + +Package: filenames +Architecture: any +Description: see how lintian reacts to weird filenames + This package contains files with the most evil names I could find, + except for ones that lintian is explicitly not designed to handle. + . + Lintian does not handle filenames containing newlines, or filenames + that contain the strings " link to ", " -> ", or ": ". The last one + is used as a separator by the file command, the others are used as + separators by tar. + . + Lintian also does not handle filenames that contain backslashes, or + other characters that are mangled by tar's -tv output. + +Package: filename-games +Architecture: all +Depends: filenames +Section: games +Description: Test game filename/location checks + This package contains files with slightly less evil names than + filenames. + . + 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. + +Package: more-filename-games +Architecture: all +Depends: filenames, filename-games +Section: games +Priority: optional +Description: More test for game filename/location checks + This package contains no evil names, only evil locations. + . + 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/documentation/manual/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/doc-base @@ -0,0 +1,11 @@ +Document: testing +Title: Working doc-base control file +Author: Russ Allbery +Abstract: This control file ensures that we don't get false positives for + correct doc-base files. + . + There isn't anything wrong with this one. +Section: Education + +Format: Text +Files: /usr/share/doc/filenames/README.macosx diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/debian/rules @@ -0,0 +1,231 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +clean: + mkdir -p .svn CVS "{arch}" .arch-ids .bzr + touch data/.cvsignore data/svn-commit.tmp data/svk-commitsEr9P.tmp + touch data/.arch-inventory + touch 'data/.#Maelstrom Sound.1.1.1' 'data/Maelstrom Sounce.r121' + touch 'data/Maelstrom Sound.mine' + touch "data/'\\ " + touch filenames.c~ + +build-arch: + +build-indep: + +build: build-arch build-indep + + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + cp -a data debian/tmp/files + chmod -R go=rX debian/tmp/files + + install -d debian/tmp/usr/lib/filenames + install -m 555 -d debian/tmp/usr/lib/filenames/readonly + touch debian/tmp/usr/lib/filenames/readonly/test + + install -d debian/tmp/usr/lib/menu + install -d debian/tmp/usr/share/menu + touch debian/tmp/usr/lib/menu/README + touch debian/tmp/usr/share/menu/README + touch debian/tmp/usr/lib/menu/menu + touch debian/tmp/usr/share/menu/menu + chmod 644 debian/tmp/usr/lib/menu/* + + install -d debian/tmp/$(VENDORARCH)/foo + mkdir debian/tmp/$(VENDORARCH)/.svn + mkdir debian/tmp/$(VENDORARCH)/CVS + mkdir "debian/tmp/$(VENDORARCH)/{arch}" + mkdir debian/tmp/$(VENDORARCH)/.arch-ids + mkdir debian/tmp/$(VENDORARCH)/.bzr + mkdir debian/tmp/$(VENDORARCH)/.be + mkdir debian/tmp/$(VENDORARCH)/.ditrack + install -d debian/tmp/usr/share/perl5 + echo foo > debian/tmp/$(VENDORARCH)/foo/.gitignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgtags + echo foo > debian/tmp/$(VENDORARCH)/foo/.hg_archival.txt + + touch debian/tmp/$(VENDORARCH)/foo/.packlist + chmod 644 debian/tmp/$(VENDORARCH)/foo/.packlist + touch debian/tmp/$(VENDORARCH)/foo/bar.pm + TZ=UTC touch -t 197501010101 debian/tmp/$(VENDORARCH)/foo/ancient.pm + chmod 644 debian/tmp/$(VENDORARCH)/foo/bar.pm + + install -d debian/tmp/usr/share/pixmaps + install -d debian/tmp/usr/share/pixmaps/foo + touch debian/tmp/usr/share/pixmaps/license.jpeg + touch debian/tmp/usr/share/pixmaps/licence.jpg + touch debian/tmp/usr/share/pixmaps/copying.xpm + touch debian/tmp/usr/share/pixmaps/foo/COPYING.svg + touch debian/tmp/usr/share/pixmaps/foo/copying.png + touch debian/tmp/usr/share/pixmaps/license.txt + touch debian/tmp/usr/share/pixmaps/license.foo + touch debian/tmp/usr/share/pixmaps/COPYING + + install -d debian/tmp/usr/share/linda/overrides + echo 'foo' > debian/tmp/usr/share/linda/overrides/filenames + + install -d debian/tmp/usr/share/doc/filenames + touch debian/tmp/usr/share/doc/filenames/README.macosx + + echo foo > debian/tmp/usr/share/doc/filenames/bokmål + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\ål + echo foo > debian/tmp/usr/share/doc/filenames/bokml + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\l + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/fill-values b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-filenames +Source: filenames +Version: 1:12-0.1 +Description: Legacy test "filenames" diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/ .tif @@ -0,0 +1,2 @@ +This filename was inspired by the ".tif used by fnlib. The real package +uses space.tif. diff --git "a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/eval/desc b/t/recipes/checks/documentation/manual/legacy-filenames/eval/desc new file mode 100644 index 0000000..60db428 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/eval/hints b/t/recipes/checks/documentation/manual/legacy-filenames/eval/hints new file mode 100644 index 0000000..00742ee --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/eval/hints @@ -0,0 +1,5 @@ +more-filename-games (binary): no-manual-page [usr/games/yet-another-test-game] +more-filename-games (binary): no-manual-page [usr/bin/another-test-game] +filenames (binary): no-manual-page [usr/bin/mh/read] +filenames (binary): no-manual-page [usr/bin/X11/testxbin] +filename-games (binary): no-manual-page [usr/bin/test-game] diff --git a/t/recipes/checks/documentation/manual/legacy-filenames/eval/post-test b/t/recipes/checks/documentation/manual/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-filenames/eval/post-test @@ -0,0 +1,3 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/package-installs-packlist/ d diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/changelog.in @@ -0,0 +1,41 @@ +scripts ([% $version %]) [% $distribution %]; urgency=low + + * I'm also not able to write my name. + * Added a script in /etc/Xsession.d + * Bizarre version number courtesy of + https://wiki.ubuntu.com/SecurityUpdateProcedures#Prepare + + -- Mark 'HE' Brokschmitt Thu, 23 Jun 2005 14:32:39 +0200 + +scripts (5-1) unstable; urgency=low + + * I'm making a typo in my own name... And I want lintian to warn me about + it. + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:26:34 +0200 + +scripts (4-1) unstable; urgency=low + + * Add new example to check that not executable files with a shebang line + called *in don't trigger the script-not-executable warning. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2004 19:44:04 +0200 + +scripts (3-3) unstable; urgency=low + + * Add suidperlfoo and some code in debian/rules to + check the new suidperl checks + + -- Frank Lichtenheld Wed, 31 Mar 2004 21:06:20 +0000 + +scripts (2-1) unstable; urgency=low + + * Add tkfoo script for tk checkings + + -- Lintian Maintainers Sat, 21 Feb 2004 17:13:36 +0100 + +scripts (1-0) unstable; urgency=low + + * Initial version + + -- Lintian Maintainers Sat, 10 Feb 2001 15:37:31 -0800 diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: scripts +Section: interpreters +Priority: optional +Maintainer: Lintian Maintainers +Uploaders: Jeroen van Wolfelaar , Marc 'HE' Brockschmidt +Build-Depends-Indep: dpatch +Standards-Version: 3.2.1 + +Package: scripts +Architecture: [% $package_architecture %] +Depends: test, ruby1.8, build-essential, libssl0.9.7, php7.0-cli +Recommends: tk8.4 | wish +Description: test lintian's script file checks + 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/documentation/manual/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/copyright @@ -0,0 +1,5 @@ +This file contains the phrase "under the same terms as Perl itself" to +trigger warnings about not having common-licenses references. + +This file contains the phrase "public domain" which should suppress +warnings about no copyright date. diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list @@ -0,0 +1,11 @@ +01_not_here_right_now.dpatch + +# some comment +/* some more + elaborate comment + which needs DPATCH_OPTION_CPP=1 + */02_i_dont_have_a_description.patch 03_specified_without_dpatch + +// and again a comment + +04_i_dont_have_a_description_either.patch diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00list.sparc @@ -0,0 +1 @@ +01_some_other_patch_thats_not_in_the_package.dpatch diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_i_dont_have_a_description.patch.dpatch by Marc 'HE' Brockschmidt > +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch @@ -0,0 +1,5 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## All lines beginning with `## DP:' are a description of the patch. +## DP: Listed in 00list without .dpatch suffix. + +@DPATCH@ diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch new file mode 100644 index 0000000..b603f16 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_i_dont_have_a_description_either.patch by Adam D. Barratt +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: + +@DPATCH@ diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -x "/etc/init.d/lsb-broken" ] ; then + update-rc.d lsb-broken defaults >/dev/null +fi +if [ -x "/etc/init.d/no-lsb" ] ; then + update-rc.d no-lsb defaults >/dev/null +fi +if [ -x "/etc/init.d/skeleton" ] ; then + update-rc.d skeleton defaults >/dev/null +fi +if [ -x "/etc/init.d/lsb-other" ] ; then + update-rc.d lsb-other defaults >/dev/null +fi diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = purge ] ; then + update-rc.d lsb-broken remove >/dev/null + update-rc.d no-lsb remove >/dev/null + update-rc.d skeleton remove >/dev/null + update-rc.d lsb-other remove >/dev/null + update-rc.d lsb-other remove >/dev/null +fi diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +set -x + +# +# Some comments here +# + +# This serves as an example of an "empty" script, so +# please do not add any real code here, thank you :) + +#DEBHELPER# + +exit 0 diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + echo "Hi, in an arch: all package, I am a bug!" + +build-indep: + +build: build-arch build-indep + +binary-arch: + echo "Hi, in an arch: all package, I am a bug!" + +binary-indep: + install -d $(tmp)/usr/bin/ + install -d $(tmp)/etc/X11/Xsession.d/ + install -d $(tmp)/etc/init.d/ + install -d $(tmp)/etc/csh/login.d/ + install -d $(tmp)/etc/fish.d/ + install -d $(tmp)/usr/share/scripts/ + install -d $(tmp)/usr/share/doc/scripts/ + install -d $(tmp)/usr/lib/cgi-bin + install -d $(tmp)/usr/src/scripts + install -d $(tmp)/DEBIAN + + install -m 755 csh-foo $(tmp)/etc/csh/login.d/ + install -m 755 envfoo $(tmp)/usr/bin/ + install -m 755 fish-foo $(tmp)/etc/fish.d/ + install -m 755 jruby-broken $(tmp)/usr/bin/ + install -m 755 perlfoo $(tmp)/usr/bin/ + install -m 755 rubyfoo $(tmp)/usr/bin/ +# This doesn't use "env" but should also trigger script-in-usr-share-doc + install -m 755 rubyfoo $(tmp)/usr/share/doc/scripts/ + install -m 755 make-foo $(tmp)/usr/bin/ + install -m 755 lefty-foo $(tmp)/usr/bin/ + install -m 4751 perlfoo $(tmp)/usr/bin/suidperlfoo2 + install -m 755 sh-broken $(tmp)/usr/bin/ + install -m 4555 suidperlfoo $(tmp)/usr/bin/ + install -m 755 tkfoo $(tmp)/usr/bin/ + install -m 755 wishfoo $(tmp)/usr/bin/ + install -m 644 xsession-test $(tmp)/etc/X11/Xsession.d/ + +# Permissions here aren't part of what's being tested, but let us exercise +# some other errors. + install -m 755 perl-bizarre-1 $(tmp)/usr/bin/ + install -m 750 perl-bizarre-2 $(tmp)/usr/bin/ + install -m 754 perl-bizarre-3 $(tmp)/usr/bin/ + install -m 705 guile-bizarre $(tmp)/usr/bin/ + +# First one should produce a warning; second one shouldn't. + install -m 755 gccbug.dpatch $(tmp)/usr/share/scripts/ + install -m 755 gccbug.dpatch $(tmp)/usr/src/scripts/ + + install -m 644 init-skeleton $(tmp)/etc/init.d/skeleton + install -m 755 init-no-lsb $(tmp)/etc/init.d/no-lsb + install -m 755 init-lsb-broken $(tmp)/etc/init.d/lsb-broken + install -m 755 init-lsb-other $(tmp)/etc/init.d/lsb-other + + install -m 755 phpfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpfoo > $(tmp)/usr/share/scripts/php7.0foo + chmod 755 $(tmp)/usr/share/scripts/php7.0foo + + install -m 755 phpenvfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpenvfoo > $(tmp)/usr/share/scripts/php7.0envfoo + chmod 755 $(tmp)/usr/share/scripts/php7.0envfoo + + echo "#!/usr/bin/perl" >> $(tmp)/usr/share/scripts/foobar.in + chmod 644 $(tmp)/usr/share/scripts/foobar.in + + touch $(tmp)/usr/share/scripts/mono.exe + chmod 755 $(tmp)/usr/share/scripts/mono.exe + + echo "#!/bin/sh" > $(tmp)/usr/share/scripts/foo\$$bar + chmod 755 $(tmp)/usr/share/scripts/foo\$$bar + + echo "#!/bin/sh" > $(tmp)/usr/lib/cgi-bin/cgi-script + chmod 755 $(tmp)/usr/lib/cgi-bin/cgi-script + + echo "#!/bin/sh" > $(tmp)/usr/bin/test.sh + chmod 755 $(tmp)/usr/bin/test.sh + + + dh_testroot # dummy to test missing debhelper dependency + + + install -m 644 debian/changelog $(tmp)/usr/share/doc/scripts/changelog.Debian + gzip -n -9 $(tmp)/usr/share/doc/scripts/changelog.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/scripts/copyright + + install -m 644 debian/scripts.conffiles $(tmp)/DEBIAN/conffiles + install -m 755 debian/preinst $(tmp)/DEBIAN/preinst + install -m 755 debian/postinst $(tmp)/DEBIAN/postinst + install -m 755 debian/postrm $(tmp)/DEBIAN/postrm + touch $(tmp)/DEBIAN/prerm + chmod 755 $(tmp)/DEBIAN/prerm + dpkg-gencontrol -isp + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/scripts.conffiles @@ -0,0 +1,6 @@ +/etc/init.d/lsb-broken +/etc/init.d/lsb-other +/etc/init.d/no-lsb +/etc/X11/Xsession.d/xsession-test +/etc/csh/login.d/csh-foo +/etc/fish.d/fish-foo diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/debian/watch @@ -0,0 +1,8 @@ +# watch file with upstream version mangling + +version=2 +opts="uversionmangle=s/$/ds/" \ +http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate + +version=3 +http://ftp.sf.net/foo/foo_bar(.+)\.Z 5 uupdate \ No newline at end of file diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/fill-values b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: legacy-scripts +Source: scripts +Version: 6ds-1ubuntu0.5.10.1 +Package-Architecture: all +Skeleton: upload-non-native +Description: Legacy test "scripts" diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/envfoo @@ -0,0 +1,4 @@ +#! /bin/env python + +if __name__ == '__main__': + print 'Hi there' diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/gccbug.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh -e + +# DP: Use sensible-editor instead of vi as fallback editor + +# Taken from gcc-4.1-source. Chokes bash -n (due to the patch) despite being +# a valid dpatch, so don't warn about it if it's in /usr/src. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- gcc/gccbug.in~ 2003-03-01 00:51:42.000000000 +0100 ++++ gcc/gccbug.in 2003-03-02 12:08:36.000000000 +0100 +@@ -134,7 +134,7 @@ + # If they don't have a preferred editor set, then use + if [ -z "$VISUAL" ]; then + if [ -z "$EDITOR" ]; then +- EDIT=vi ++ EDIT=/usr/bin/sensible-editor + else + EDIT="$EDITOR" + fi diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/guile-bizarre @@ -0,0 +1,6 @@ +#! /bin/sh +# -*- scheme -*- +exec guile -s $0 $* +# Seen in the wild as build-guile-gtk in libguilegtk-1.2-dev (0.31-5.1) +# Tests script_is_evil_and_wrong +!# diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-broken @@ -0,0 +1,34 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bad-lsb +# Required-Start: $local_fs $remote_fs +# Required-Stop: +# Default-Start: 1 2 3 4 5 +# Default-Stop: S 0 1 6 X +# Short-Description: Example Lintian initscript +# but this can't be continued +# Description: An example of a bad LSB section in an init script. +# This continuation is allowed (with spaces). +# This one is too (with tabs). +# X-Debian-Foo: Some unknown but valid keyword. +# Foo: Some invalid keyword. + +# Whoops, no terminating line. + +# And then we have this duplicate section. +### BEGIN INIT INFO +# Required-Start: This one doesn't count. +### END INIT INFO + +# Hey, look at all of those missing actions! But stop isn't missing. +case "$1" in + start|stop) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-lsb-other @@ -0,0 +1,22 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: lsb-other +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: This is another LSB script test, which has a missing +# Short-Description. +### END INIT INFO + +case "$1" in + start|stop|restart|reload|force-reload) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-no-lsb @@ -0,0 +1,17 @@ +#! /bin/sh +# No LSB section, but otherwise okay. (Well, the messages are bad, but we +# don't check that yet.) + +case "$1" in + start) + echo "Blah starting" + ;; + stop) + echo "Blah stopping" + ;; + restart|force-reload) + echo "Blah restarting" + ;; +esac + +: diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/init-skeleton @@ -0,0 +1,150 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: skeleton +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Example Lintian initscript +# Description: This file should be used to construct scripts to be +# placed in /etc/init.d. +### END INIT INFO + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/usr/sbin:/usr/bin:/sbin:/bin +DESC="Description of the service" +NAME=daemonexecutablename +DAEMON=/usr/sbin/$NAME +DAEMON_ARGS="--options args" +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +[ -f /etc/default/rcS ] && . /etc/default/rcS + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + $DAEMON_ARGS \ + || return 2 + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + # If the above conditions are not satisfied then add some other code + # that waits for the process to drop all resources that could be + # needed by services started subsequently. A last resort is to + # sleep for some time. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + #reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + #log_daemon_msg "Reloading $DESC" "$NAME" + #do_reload + #log_end_msg $? + #;; + restart|force-reload) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/jruby-broken @@ -0,0 +1,2 @@ +#!/usr/bin/jruby +# There's no non-versioned jruby, so this should be an error. diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-1 @@ -0,0 +1,11 @@ +#! /bin/sh +eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \ +;exec perl -x -S -- "$0" ${1+"$@"};#'if 0; +eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+ +#!perl -w +package Htex::a2ping; $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1; +# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003. +# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib + +# The above was actually seen in the wild and stresses the +# script_is_evil_and_wrong test. diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-2 @@ -0,0 +1,7 @@ +#!/bin/sh +eval 'exec /usr/bin/perl -wS $0 ${1+"$@"}' + if $running_under_some_shell; + +# I'm someone following perlrun except without using the Perl #! line. +# Now something to choke bash. +while (<>) { if (/%#/) { print } } diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perl-bizarre-3 @@ -0,0 +1,6 @@ +eval '(exit $?0)' && eval 'exec perl -wS $0 ${1+"$@"}' +& eval 'exec /usr/bin/perl -wS $0 $argv:q' + if $running_under_some_shell; + +# More utterly bizarreness from perlrun. This one even doesn't work if +# there's a valid #! line on the first line. I don't understand why.... diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/rubyfoo @@ -0,0 +1,4 @@ +#!/bin/ruby1.8 + +# Ok, that example is really pathetic, but until we have +# some better code in checks/scripts, it will do diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/tkfoo @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Insane amount of empty lines and comments + +# +# +# +# + +# +# + +# +# +# + +# +# + +# +# This line makes the next one a comment in Tcl \ +exec wish "$0" -- ${1+"$@"} + +# lintian should not check the following for syntax +# if it detects the line above correctly +# Code snippet taken from eTkTab + +if { [array names prefs keybindings] != "" } { + # Read in the file + array set unparsed_bindings [ read_settings_file $prefs(keybindings)] +} diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/wishfoo @@ -0,0 +1,4 @@ +#!/usr/bin/wish +# +# This is not actually a wish script, here to force a test of wish +# dependencies. diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/pre-build b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +DIR="$1" + +rm -f "$DIR/debian/compat" diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/eval/desc b/t/recipes/checks/documentation/manual/legacy-scripts/eval/desc new file mode 100644 index 0000000..e82184c --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/eval/hints b/t/recipes/checks/documentation/manual/legacy-scripts/eval/hints new file mode 100644 index 0000000..72af48c --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/eval/hints @@ -0,0 +1,16 @@ +scripts (binary): no-manual-page [usr/bin/wishfoo] +scripts (binary): no-manual-page [usr/bin/tkfoo] +scripts (binary): no-manual-page [usr/bin/test.sh] +scripts (binary): no-manual-page [usr/bin/suidperlfoo] +scripts (binary): no-manual-page [usr/bin/suidperlfoo2] +scripts (binary): no-manual-page [usr/bin/sh-broken] +scripts (binary): no-manual-page [usr/bin/rubyfoo] +scripts (binary): no-manual-page [usr/bin/perlfoo] +scripts (binary): no-manual-page [usr/bin/perl-bizarre-3] +scripts (binary): no-manual-page [usr/bin/perl-bizarre-2] +scripts (binary): no-manual-page [usr/bin/perl-bizarre-1] +scripts (binary): no-manual-page [usr/bin/make-foo] +scripts (binary): no-manual-page [usr/bin/lefty-foo] +scripts (binary): no-manual-page [usr/bin/jruby-broken] +scripts (binary): no-manual-page [usr/bin/guile-bizarre] +scripts (binary): no-manual-page [usr/bin/envfoo] diff --git a/t/recipes/checks/documentation/manual/legacy-scripts/eval/post-test b/t/recipes/checks/documentation/manual/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/documentation/manual/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/debian/links b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/debian/links new file mode 100644 index 0000000..8c5865f --- /dev/null +++ b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/debian/links @@ -0,0 +1 @@ +usr/share/man/man3/undocumented.3.gz /usr/share/man/man3/function.3.gz diff --git a/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/fill-values new file mode 100644 index 0000000..52b8587 --- /dev/null +++ b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: link-to-undocumented-manpage +Description: Manual page is a link to the undocumented man page diff --git a/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/desc b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/desc new file mode 100644 index 0000000..db79e60 --- /dev/null +++ b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: link-to-undocumented-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/hints b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/hints new file mode 100644 index 0000000..d03536d --- /dev/null +++ b/t/recipes/checks/documentation/manual/link-to-undocumented-manpage/eval/hints @@ -0,0 +1 @@ +link-to-undocumented-manpage (binary): undocumented-manual-page [usr/share/man/man3/function.3.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/manpages new file mode 100644 index 0000000..fca1fb7 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/debian/manpages @@ -0,0 +1 @@ +bad-whatis.1 diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/fill-values new file mode 100644 index 0000000..08c8b69 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-bad-whatis +Skeleton: upload-native +Description: Man page with bad whatis entry diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bad-whatis.1 b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bad-whatis.1 new file mode 100644 index 0000000..c024876 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bad-whatis.1 @@ -0,0 +1,3 @@ +.TH PROGRAM 1 "2013-07-22" +.SH NAME +bad-whatis diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bin/bad-whatis b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bin/bad-whatis new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/build-spec/orig/bin/bad-whatis @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/desc b/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/desc new file mode 100644 index 0000000..90de93e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-bad-whatis +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/hints b/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/hints new file mode 100644 index 0000000..ba8b084 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-bad-whatis/eval/hints @@ -0,0 +1 @@ +manpage-bad-whatis (binary): bad-whatis-entry [usr/share/man/man1/bad-whatis.1.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/manpages new file mode 100644 index 0000000..2a22ffc --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/debian/manpages @@ -0,0 +1 @@ +program.1 diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/fill-values new file mode 100644 index 0000000..06481d2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-dh-make-template +Description: Manpage that is an unadapted dh_make template diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/bin/program b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/bin/program new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/bin/program @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/program.1 b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/program.1 new file mode 100644 index 0000000..3f06c04 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/build-spec/orig/program.1 @@ -0,0 +1,62 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PROGRAM 1 "2007-06-18" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +program \- program to do something +.SH SYNOPSIS +.B program +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B program +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBprogram\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +This is not a spelling mistake. +This is the false-positive spelling mistake for the proper noun German. +This is the false-positive spelling mistake for the quasi-plural directory(S). +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +program was written by . +.PP +This manual page was written by #USERNAME# <#EMAIL#>, +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/desc b/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/desc new file mode 100644 index 0000000..e5af412 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-dh-make-template +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/hints b/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/hints new file mode 100644 index 0000000..de23424 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-dh-make-template/eval/hints @@ -0,0 +1 @@ +manpage-dh-make-template (binary): manual-page-from-template [usr/share/man/man1/program.1.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/manpages new file mode 100644 index 0000000..7b480d1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/debian/manpages @@ -0,0 +1 @@ +empty-manpage.1 diff --git a/t/recipes/checks/documentation/manual/manpage-empty/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/fill-values new file mode 100644 index 0000000..5a7f44b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-empty +Skeleton: upload-native +Description: Detect empty man page diff --git a/t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/bin/empty-manpage b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/bin/empty-manpage new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/bin/empty-manpage @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/empty-manpage.1 b/t/recipes/checks/documentation/manual/manpage-empty/build-spec/orig/empty-manpage.1 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/documentation/manual/manpage-empty/eval/desc b/t/recipes/checks/documentation/manual/manpage-empty/eval/desc new file mode 100644 index 0000000..02cdb7d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: manpage-empty +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-empty/eval/hints b/t/recipes/checks/documentation/manual/manpage-empty/eval/hints new file mode 100644 index 0000000..68bb74f --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-empty/eval/hints @@ -0,0 +1 @@ +manpage-empty (binary): empty-manual-page [usr/share/man/man1/empty-manpage.1.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/manpages new file mode 100644 index 0000000..f2bdea2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/debian/manpages @@ -0,0 +1 @@ +errors-from-man.1p diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/fill-values new file mode 100644 index 0000000..8063cd1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-errors-from-man +Description: Manual page that has errors from man diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/bin/errors-from-man b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/bin/errors-from-man new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/bin/errors-from-man @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/errors-from-man.1p b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/errors-from-man.1p new file mode 100644 index 0000000..00ec282 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/build-spec/orig/errors-from-man.1p @@ -0,0 +1,18 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux manual" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with a .1P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Use more up-level tools like human brains to understand lintian. +Here's a bad undefined macro. +Here's a serious syntax error. +.SH "FILES" +This program does not use any FSSTND location. +.dep +.PP +.nh +http://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man +.\" Copied from caff(1) diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/desc b/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/desc new file mode 100644 index 0000000..c642a03 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-errors-from-man +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/hints b/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/hints new file mode 100644 index 0000000..e7fb5e4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-man/eval/hints @@ -0,0 +1 @@ +manpage-errors-from-man (binary): groff-message troff::14: warning: macro 'dep' not defined (possibly missing space after 'de') [usr/share/man/man1/errors-from-man.1P.gz:2] diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/manpages new file mode 100644 index 0000000..4645ec2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/debian/manpages @@ -0,0 +1 @@ +errors-from-pod2man.1p diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/fill-values new file mode 100644 index 0000000..99bee2e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-errors-from-pod2man +Description: Manual page that has errors from pod2man diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/bin/errors-from-pod2man b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/bin/errors-from-pod2man new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/bin/errors-from-pod2man @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/errors-from-pod2man.1p b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/errors-from-pod2man.1p new file mode 100644 index 0000000..8f39a90 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/build-spec/orig/errors-from-pod2man.1p @@ -0,0 +1,24 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux manual" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with a .1P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Use more up-level tools like human brains to understand lintian. +Here's a bad undefined macro. +Here's a serious syntax error. +.SH "FILES" +This program does not use any FSSTND location. + +.PP +.nh +http://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man +.\" Copied from caff(1) +.SH "POD ERRORS" +.IX Header "POD ERRORS" +Hey! \fBThe above document had some coding errors, which are explained below:\fR +.IP "Around line 138:" 4 +.IX Item "Around line 138:" +You forgot a '=back' before '=head2' diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/desc b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/desc new file mode 100644 index 0000000..849a33d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-errors-from-pod2man +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/hints b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/hints new file mode 100644 index 0000000..ff7f0ec --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-errors-from-pod2man/eval/hints @@ -0,0 +1 @@ +manpage-errors-from-pod2man (binary): pod-conversion-message [usr/share/man/man1/errors-from-pod2man.1P.gz:19] diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/manpages new file mode 100644 index 0000000..2198bc4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/debian/manpages @@ -0,0 +1 @@ +README.1 diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/fill-values new file mode 100644 index 0000000..f89d594 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-generic-name +Description: Manpage with an overly generic name diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/README.1 b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/README.1 new file mode 100644 index 0000000..d884f62 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/README.1 @@ -0,0 +1,3 @@ +.TH PROGRAM 1 "2013-07-22" +.SH NAME +README \- dummy manual page diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/bin/README b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/bin/README new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/build-spec/orig/bin/README @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/eval/desc b/t/recipes/checks/documentation/manual/manpage-generic-name/eval/desc new file mode 100644 index 0000000..2824e7d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-generic-name +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-generic-name/eval/hints b/t/recipes/checks/documentation/manual/manpage-generic-name/eval/hints new file mode 100644 index 0000000..184429d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-generic-name/eval/hints @@ -0,0 +1 @@ +manpage-generic-name (binary): manual-page-with-generic-name [usr/share/man/man1/README.1.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/install new file mode 100644 index 0000000..40faada --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/install @@ -0,0 +1,2 @@ +test-utf8-chars.1p /usr/share/man/de_DE/man1 +bin/* usr/bin diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/fill-values new file mode 100644 index 0000000..4d9843a --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-locale-dir-country-specific +Description: Manual page in a locale directory that includes the country name diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/bin/test-utf8-chars b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/bin/test-utf8-chars new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/bin/test-utf8-chars @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/man/test-utf8-chars.1p b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/man/test-utf8-chars.1p new file mode 100644 index 0000000..2479d3e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/man/test-utf8-chars.1p @@ -0,0 +1,9 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbook" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with .1P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +This is a dummy manpage for a Lintian test. diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/test-utf8-chars.1p b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/test-utf8-chars.1p new file mode 100644 index 0000000..1b409c7 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/build-spec/orig/test-utf8-chars.1p @@ -0,0 +1,10 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch" +.SH "NAME" +\&\fBTEST\fR \- Eine Test-Manpage mit .1P Erweiterung. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Diese Seite dient hauptsächlich dem Testen von latin1-Buchstaben, wie äöüß +in Manpages. diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/desc b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/desc new file mode 100644 index 0000000..b12dd47 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-locale-dir-country-specific +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/hints b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/hints new file mode 100644 index 0000000..7048e4a --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-locale-dir-country-specific/eval/hints @@ -0,0 +1 @@ +manpage-locale-dir-country-specific (binary): country-in-manual [usr/share/man/de_DE/man1/test-utf8-chars.1p.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/manpages new file mode 100644 index 0000000..6ea61ff --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/debian/manpages @@ -0,0 +1 @@ +_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1 diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/fill-values new file mode 100644 index 0000000..2d2f133 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-named-after-build-path +Description: Manual page that is named after a build path diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1 b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1 new file mode 100644 index 0000000..ebb8b53 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.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-named-after-build-path/build-spec/orig/bin/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/bin/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/build-spec/orig/bin/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/desc b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/desc new file mode 100644 index 0000000..c040eb2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-named-after-build-path +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/hints b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/hints new file mode 100644 index 0000000..2ea31c9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-named-after-build-path/eval/hints @@ -0,0 +1 @@ +manpage-named-after-build-path (binary): build-path-in-manual [usr/share/man/man1/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.1.gz] 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] diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/manpages new file mode 100644 index 0000000..ed17bd3 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/manpages @@ -0,0 +1 @@ +not-compressed.1 diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/rules b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/rules new file mode 100755 index 0000000..6573377 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_compress: + dh_compress --exclude=not-compressed.1 diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/fill-values new file mode 100644 index 0000000..d0c3f00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-not-compressed +Skeleton: upload-native +Description: Man page is not compressed diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/bin/not-compressed b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/bin/not-compressed new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/bin/not-compressed @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/not-compressed.1 b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/not-compressed.1 new file mode 100644 index 0000000..ebb8b53 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/build-spec/orig/not-compressed.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/eval/desc b/t/recipes/checks/documentation/manual/manpage-not-compressed/eval/desc new file mode 100644 index 0000000..8df7c1a --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/eval/desc @@ -0,0 +1,2 @@ +Testname: manpage-not-compressed +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-not-compressed/eval/hints b/t/recipes/checks/documentation/manual/manpage-not-compressed/eval/hints new file mode 100644 index 0000000..8b43079 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-compressed/eval/hints @@ -0,0 +1 @@ +manpage-not-compressed (binary): uncompressed-manual-page [usr/share/man/man1/not-compressed.1] diff --git a/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/manpages new file mode 100644 index 0000000..b7a9b4f --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/manpages @@ -0,0 +1 @@ +not-max-compress.6 diff --git a/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/rules b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/rules new file mode 100755 index 0000000..99d294d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_compress: + dh_compress \ + --exclude=not-max-compress.6 + + gzip -n -1 $(tmp)/usr/share/man/man6/not-max-compress.6 diff --git a/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/fill-values new file mode 100644 index 0000000..967686d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-not-max-compression +Skeleton: upload-native +Description: Manpage not compressed with maximum gzip level diff --git a/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/orig/not-max-compress.6 b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/orig/not-max-compress.6 new file mode 100644 index 0000000..2c32259 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/build-spec/orig/not-max-compress.6 @@ -0,0 +1,11 @@ +.TH fixcr 6 +.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-max-compression/eval/desc b/t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/desc new file mode 100644 index 0000000..2b10662 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-not-max-compression +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/hints b/t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/hints new file mode 100644 index 0000000..d137ad4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-not-max-compression/eval/hints @@ -0,0 +1 @@ +manpage-not-max-compression (binary): poor-compression-in-manual-page [usr/share/man/man6/not-max-compress.6.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/debian/manpages new file mode 100644 index 0000000..1fa1ffd --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/debian/manpages @@ -0,0 +1 @@ +python-traceback.5 diff --git a/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/fill-values new file mode 100644 index 0000000..c762af5 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-python-traceback +Description: Manual page has a Python traceback diff --git a/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/orig/python-traceback.5 b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/orig/python-traceback.5 new file mode 100644 index 0000000..f337caf --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-python-traceback/build-spec/orig/python-traceback.5 @@ -0,0 +1,42 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. +.TH TRACEBACK "5" "February 2021" "Traceback (most recent call last):" "User Commands" +.SH NAME +Traceback \- DICOM converter for organizing brain imaging data into structured directory layouts +.SH DESCRIPTION +.SS "Traceback (most recent call last):" +.IP +File "/build/heudiconv\-19IoDl/heudiconv\-0.9.0/./debian/heudiconv/usr/bin/heudiconv", line 33, in +.IP +sys.exit(load_entry_point('heudiconv==0.9.0', 'console_scripts', 'heudiconv')()) +.IP +File "/build/heudiconv\-19IoDl/heudiconv\-0.9.0/./debian/heudiconv/usr/bin/heudiconv", line 22, in importlib_load_entry_point +.IP +for entry_point in distribution(dist_name).entry_points +.IP +File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution +.IP +return Distribution.from_name(distribution_name) +.IP +File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name +.IP +raise PackageNotFoundError(name) +.PP +importlib.metadata.PackageNotFoundError: heudiconv +.IP +File "/build/heudiconv\-19IoDl/heudiconv\-0.9.0/./debian/heudiconv/usr/bin/heudiconv", line 33, in +.IP +sys.exit(load_entry_point('heudiconv==0.9.0', 'console_scripts', 'heudiconv')()) +.IP +File "/build/heudiconv\-19IoDl/heudiconv\-0.9.0/./debian/heudiconv/usr/bin/heudiconv", line 22, in importlib_load_entry_point +.IP +for entry_point in distribution(dist_name).entry_points +.IP +File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution +.IP +return Distribution.from_name(distribution_name) +.IP +File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name +.IP +raise PackageNotFoundError(name) +.PP +importlib.metadata.PackageNotFoundError: heudiconv diff --git a/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/desc b/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/desc new file mode 100644 index 0000000..1b355b9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-python-traceback +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/hints b/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/hints new file mode 100644 index 0000000..48dbebb --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-python-traceback/eval/hints @@ -0,0 +1 @@ +manpage-python-traceback (binary): python-traceback-in-manpage [usr/share/man/man5/python-traceback.5.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install new file mode 100644 index 0000000..30a1a5f --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install @@ -0,0 +1 @@ +section.3 /usr/share/man/man3/ diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values new file mode 100644 index 0000000..58051f4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-section-mismatch +Description: Manual page for which the file extension does not match the section diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3 b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3 new file mode 100644 index 0000000..a72dfb9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3 @@ -0,0 +1,11 @@ +.TH fixcr 7 +.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-section-mismatch/eval/desc b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc new file mode 100644 index 0000000..4f2b5bd --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-section-mismatch +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints new file mode 100644 index 0000000..7f0d9e1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints @@ -0,0 +1 @@ +manpage-section-mismatch (binary): wrong-manual-section 3 != 7 [usr/share/man/man3/section.3.gz:1] diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/manpages new file mode 100644 index 0000000..2badb00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/debian/manpages @@ -0,0 +1 @@ +useless-whatis.1 diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/fill-values new file mode 100644 index 0000000..80a02ff --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-useless-whatis +Skeleton: upload-native +Description: Manpage with useless whatis entry diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/bin/useless-whatis b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/bin/useless-whatis new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/bin/useless-whatis @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/useless-whatis.1 b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/useless-whatis.1 new file mode 100644 index 0000000..bcb13cd --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/build-spec/orig/useless-whatis.1 @@ -0,0 +1,44 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TRUE "1" "July 2006" "true 5.96" "User Commands" +.SH NAME +true \- manual page for true 5.96 +.SH SYNOPSIS +.B true +[\fIignored command line arguments\fR] +.br +.B true +\fIOPTION\fR +.SH DESCRIPTION +Exit with a status code indicating success. +.TP +\fB\-\-help\fR +display this help and exit +.TP +\fB\-\-version\fR +output version information and exit +.PP +NOTE: your shell may have its own version of true, which usually supersedes +the version described here. Please refer to your shell's documentation +for details about the options it supports. +.SH AUTHOR +Written by Jim Meyering. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2006 Free Software Foundation, Inc. +.br +This is free software. You may redistribute copies of it under the terms of +the GNU General Public License . +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +The full documentation for +.B true +is maintained as a Texinfo manual. If the +.B info +and +.B true +programs are properly installed at your site, the command +.IP +.B info true +.PP +should give you access to the complete manual. diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/desc b/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/desc new file mode 100644 index 0000000..5ef3e38 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-useless-whatis +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/hints b/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/hints new file mode 100644 index 0000000..445db1f --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-useless-whatis/eval/hints @@ -0,0 +1 @@ +manpage-useless-whatis (binary): useless-whatis-entry [usr/share/man/man1/useless-whatis.1.gz] diff --git a/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/debian/install new file mode 100644 index 0000000..eefd4b2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/debian/install @@ -0,0 +1 @@ +example.man /usr/share/man/man1/ diff --git a/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/fill-values new file mode 100644 index 0000000..d1a916c --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpage-wrong-extension +Description: Manual page that has an incorrect extension diff --git a/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/orig/example.man b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/orig/example.man new file mode 100644 index 0000000..a5ff3cc --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-wrong-extension/build-spec/orig/example.man @@ -0,0 +1,11 @@ +.TH fixcr man +.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-wrong-extension/eval/desc b/t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/desc new file mode 100644 index 0000000..ad429e6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-wrong-extension +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/hints b/t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/hints new file mode 100644 index 0000000..b7c2659 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpage-wrong-extension/eval/hints @@ -0,0 +1 @@ +manpage-wrong-extension (binary): wrong-name-for-manual-page [usr/share/man/man1/example.man.gz] diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/control.in b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/control.in new file mode 100644 index 0000000..41498d2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: pecho +Architecture: all +Depends: ${misc:Depends}, pecho-data +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. It may + be an empty package. + +Package: pecho-data +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] - data + 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. It may + be an empty package. + . + Data package. diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho-data.manpages b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho-data.manpages new file mode 100644 index 0000000..129103b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho-data.manpages @@ -0,0 +1 @@ +pecho.1 diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho.install b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho.install new file mode 100644 index 0000000..93025b8 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/debian/pecho.install @@ -0,0 +1 @@ +pecho usr/bin diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/fill-values new file mode 100644 index 0000000..02174a9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpages-dependencies +Description: Test for manpages in dependencies diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/Makefile b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/Makefile new file mode 100644 index 0000000..9b54f07 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/Makefile @@ -0,0 +1,7 @@ +all: pecho.1 + +pecho.1: pecho + pod2man --section 1 $< $@ + +clean: + rm -f pecho.1 diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/pecho b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/pecho new file mode 100644 index 0000000..d982088 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/build-spec/orig/pecho @@ -0,0 +1,25 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +print join(' ', @ARGV), "\n"; + +=head1 NAME + +pecho - POSIX compliant Perl implementation of echo + +=head1 SYNOPSIS + +pecho [args ...] + +=head1 DESCRIPTION + +Prints arguments to stdout. + +=head1 AUTHORS + +Niels Thykier + +=cut + diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/eval/desc b/t/recipes/checks/documentation/manual/manpages-dependencies/eval/desc new file mode 100644 index 0000000..46ebdad --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/eval/desc @@ -0,0 +1,3 @@ +Testname: manpages-dependencies +Test-Against: no-manual-page +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpages-dependencies/eval/hints b/t/recipes/checks/documentation/manual/manpages-dependencies/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-dependencies/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install new file mode 100644 index 0000000..b9b899b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install @@ -0,0 +1,7 @@ +bin/* /usr/bin +sbin/* /usr/sbin +bin-x/* /usr/X11R6/bin +man-x/* /usr/X11R6/man/man1 +man-de/* /usr/share/man/de/man1 +man/test-latin1-chars.1p /usr/share/man/de/man1 +man/test-utf8-chars.1p /usr/share/man/de_DE/man1 diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links new file mode 100644 index 0000000..a0fa20a --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links @@ -0,0 +1,12 @@ +usr/X11R6/bin/rstartd /usr/bin/rstartd +usr/share/man/man7/undocumented.7.gz /usr/share/man/man1/bin-binary.1.gz +usr/share/man/man3/undocumented.3.gz /usr/share/man/man3/function.3.gz +usr/bin/usr-bin-binary usr/bin/sbin-binary +usr/bin/usr-bin-binary usr/bin/test +usr/bin/usr-bin-binary usr/bin/true +usr/bin/usr-bin-binary usr/bin/program +usr/bin/usr-bin-binary usr/bin/bin-binary +usr/bin/usr-bin-binary usr/bin/bad-so +usr/bin/usr-bin-binary usr/bin/README +usr/bin/usr-bin-binary usr/bin/test-utf8-chars +usr/bin/usr-bin-binary usr/bin/test-latin1-chars diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules new file mode 100755 index 0000000..648f144 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_installman: + dh_installman + + install -d $(tmp)/usr/share/man/man1 \ + $(tmp)/usr/share/man/man6 + + touch $(tmp)/usr/share/man/man1/usr-sbin-binary.1.gz + + pod2man --section 6 pod/simple.pod > \ + $(tmp)/usr/share/man/man6/simple.pod + + pod2man --section 6 pod/simple.pod > \ + $(tmp)/usr/share/man/man6/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.6 + +override_dh_link: + dh_link + + ln -s undocumented.7.gz $(tmp)/usr/share/man/man1/sbin-binary.1.gz + + cd $(tmp)/usr/share/man/man1 \ + && ln usr-sbin-binary.1.gz usr-bin-binary-alt.1.gz + +override_dh_compress: + dh_compress \ + --exclude=usr-bin-binary.1 \ + --exclude=binary-without-english-manpage.1 \ + --exclude=usr-games-binary.6 \ + --exclude=usr-sbin-binary.1.gz + + gzip -n -1 $(tmp)/usr/share/man/man6/usr-games-binary.6 diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values new file mode 100644 index 0000000..156ec44 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpages-general +Description: General tests for manpage checks diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x new file mode 100644 index 0000000..8d8da5d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x @@ -0,0 +1,62 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PROGRAM 1 "2007-06-18" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +program \- program to do something +.SH SYNOPSIS +.B program +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B program +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBprogram\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +This is a speling mistake. +This is the false-positive spelling mistake for the proper noun German. +This is the false-positive spelling mistake for the quasi-plural directory(S). +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +program was written by . +.PP +This manual page was written by #USERNAME# <#EMAIL#>, +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1 new file mode 100644 index 0000000..d884f62 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1 @@ -0,0 +1,3 @@ +.TH PROGRAM 1 "2013-07-22" +.SH NAME +README \- dummy manual page diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1 new file mode 100644 index 0000000..8e50cfc --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1 @@ -0,0 +1 @@ +.so ../somewhere/invalid/manpage.1 diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3 new file mode 100644 index 0000000..9cc411e --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3 @@ -0,0 +1,30 @@ +.TH INCLUDE 3 +.SH NAME +include \- include another chunk of a man page +.SH INCLUDED BIT +.nr zY 1 +.so man3/included.3 +.SH HYPHENS +This isn't a hyphen\*(--just a long dash\*(--and \h'-1' also isn't, nor +should we warn about `\-' or \-a, but -a +and `-' (nope, that's fine) are bad news. So is +--foo and +(--bar) +"--baz" +and '--foo'. +So is \f[C]--foo\f[P]. +.\" Draft Mode example from sinfo man page from slurm-llnl. Draft mode +.\" disables the normal operation of the backslash character, so we can't +.\" tell users to use \- inside draft mode. These hyphens should +.\" therefore not warn. +.eo +.nf +> sinfo +PARTITION AVAIL TIMELIMIT NODES STATE NODELIST +batch up infinite 2 alloc adev[8-9] +batch up infinite 6 idle adev[10-15] +debug* up 30:00 8 idle adev[0-7] +.fi +.ec +.SH SEE ALSO +included(3) diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3 new file mode 100644 index 0000000..c0379db --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3 @@ -0,0 +1,10 @@ +.if \n(zY=1 .ig zY +.TH INCLUDED 3 +.SH NAME +included \- both a man page and a dessert topping +.SH INCLUDED BIT +.zY +This stuff ends up in both man pages. Isn't it neat? +.if \n(zY=1 .ig zY +.SH SEE ALSO +include(3) diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1 new file mode 100644 index 0000000..8d8da5d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1 @@ -0,0 +1,62 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PROGRAM 1 "2007-06-18" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +program \- program to do something +.SH SYNOPSIS +.B program +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B program +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBprogram\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +This is a speling mistake. +This is the false-positive spelling mistake for the proper noun German. +This is the false-positive spelling mistake for the quasi-plural directory(S). +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +program was written by . +.PP +This manual page was written by #USERNAME# <#EMAIL#>, +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p new file mode 100644 index 0000000..8891e8c --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p @@ -0,0 +1,10 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch" +.SH "NAME" +\&\fBTEST\fR \- Eine Test-Manpage mit .1P Erweiterung. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Diese Seite dient hauptschlich dem Testen von latin1-Buchstaben, wie +in Manpages. diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p new file mode 100644 index 0000000..1b409c7 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p @@ -0,0 +1,10 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch" +.SH "NAME" +\&\fBTEST\fR \- Eine Test-Manpage mit .1P Erweiterung. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Diese Seite dient hauptsächlich dem Testen von latin1-Buchstaben, wie äöüß +in Manpages. diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p new file mode 100644 index 0000000..3e02c04 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p @@ -0,0 +1,24 @@ +.IX Title "TEST 1" +.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux manual" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with a .1P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBTEST\fR tests lintian. +.PP +Use more up-level tools like human brains to understand lintian. +Here's a bad undefined macro. +Here's a serious syntax error. +.SH "FILES" +This program does not use /var/catman/do or any other FSSTND location. +.dep +.PP +.nh +http://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man +.\" Copied from caff(1) +.SH "POD ERRORS" +.IX Header "POD ERRORS" +Hey! \fBThe above document had some coding errors, which are explained below:\fR +.IP "Around line 138:" 4 +.IX Item "Around line 138:" +You forgot a '=back' before '=head2' diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p new file mode 100644 index 0000000..c8a8680 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p @@ -0,0 +1,16 @@ +.IX Title "TEST 3" +.TH TEST 3P "2009-08-26" "Debian Project" "Debian GNU/Linux manual" +.SH "NAME" +\&\fBTEST\fR \- A test manpage with a .3P extension. +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +.PP +Use more up-level tools like human brains to understand lintian. +.PP +.nh +https://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man +.\" URL extension, copied from wmweather+. Should not be tagged as too +.\" long of a line. +.UR http://weather.noaa.gov/pub/data/observations/metar/stations/ +http://weather.noaa.gov/pub/data/observations/metar/stations/ +.UE diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1 new file mode 100644 index 0000000..bcb13cd --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1 @@ -0,0 +1,44 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TRUE "1" "July 2006" "true 5.96" "User Commands" +.SH NAME +true \- manual page for true 5.96 +.SH SYNOPSIS +.B true +[\fIignored command line arguments\fR] +.br +.B true +\fIOPTION\fR +.SH DESCRIPTION +Exit with a status code indicating success. +.TP +\fB\-\-help\fR +display this help and exit +.TP +\fB\-\-version\fR +output version information and exit +.PP +NOTE: your shell may have its own version of true, which usually supersedes +the version described here. Please refer to your shell's documentation +for details about the options it supports. +.SH AUTHOR +Written by Jim Meyering. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2006 Free Software Foundation, Inc. +.br +This is free software. You may redistribute copies of it under the terms of +the GNU General Public License . +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +The full documentation for +.B true +is maintained as a Texinfo manual. If the +.B info +and +.B true +programs are properly installed at your site, the command +.IP +.B info true +.PP +should give you access to the complete manual. diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1 new file mode 100644 index 0000000..dc553f4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1 @@ -0,0 +1,3 @@ +.TH PROGRAM 1 "2013-07-22" +.SH NAME +usr-bin-binary diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod new file mode 100644 index 0000000..822815b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod @@ -0,0 +1,18 @@ +=head1 NAME + +simple - some interesting manpage + +=head1 SYNOPSIS + +Explains something interesting + +=head1 DESCRIPTION + +A very long description of something very interesting. Really! + +=head1 AUTHORS + +Niels Thykier + +=cut + diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/desc b/t/recipes/checks/documentation/manual/manpages-general/eval/desc new file mode 100644 index 0000000..64846c0 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/eval/desc @@ -0,0 +1,3 @@ +Testname: manpages-general +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/hints b/t/recipes/checks/documentation/manual/manpages-general/eval/hints new file mode 100644 index 0000000..7aa0713 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/eval/hints @@ -0,0 +1,32 @@ +manpages-general (binary): wrong-name-for-manual-page [usr/share/man/man6/simple.pod.gz] +manpages-general (binary): wrong-manual-section pod != 6 [usr/share/man/man6/simple.pod.gz:LINE] +manpages-general (binary): wrong-compression-in-manual-page [usr/share/man/man1/usr-sbin-binary.1.gz] +manpages-general (binary): wrong-compression-in-manual-page [usr/share/man/man1/usr-bin-binary-alt.1.gz] +manpages-general (binary): useless-whatis-entry [usr/share/man/man1/true.1.gz] +manpages-general (binary): undocumented-manual-page [usr/share/man/man3/function.3.gz] +manpages-general (binary): undocumented-manual-page [usr/share/man/man1/bin-binary.1.gz] +manpages-general (binary): uncompressed-manual-page [usr/share/man/man1/usr-bin-binary.1] +manpages-general (binary): uncompressed-manual-page [usr/share/man/de/man1/binary-without-english-manpage.1] +manpages-general (binary): typo-in-manual-page speling spelling [usr/share/man/man1/program.1.gz:42] +manpages-general (binary): poor-compression-in-manual-page [usr/share/man/man6/usr-games-binary.6.gz] +manpages-general (binary): pod-conversion-message [usr/share/man/man1/test.1P.gz:19] +manpages-general (binary): no-manual-page [usr/bin/rstartd] +manpages-general (binary): no-english-manual-page [usr/bin/binary-without-english-manpage] +manpages-general (binary): manual-page-with-generic-name [usr/share/man/man1/README.1.gz] +manpages-general (binary): manual-page-from-template [usr/share/man/man1/program.1.gz] +manpages-general (binary): manual-page-for-system-command [usr/sbin/usr-sbin-binary] +manpages-general (binary): groff-message troff:man3/included.3:8: error: end of file while ignoring input lines [usr/share/man/man3/include.3.gz:3] +manpages-general (binary): groff-message troff:man3/included.3:6: warning: macro 'zY' not defined [usr/share/man/man3/include.3.gz:1] +manpages-general (binary): groff-message troff:man3/included.3:13: warning: macro '--' not defined [usr/share/man/man3/include.3.gz:2] +manpages-general (binary): groff-message troff::6: warning: macro 'zY' not defined [usr/share/man/man3/included.3.gz:1] +manpages-general (binary): groff-message troff::14: warning: macro 'dep' not defined (possibly missing space after 'de') [usr/share/man/man1/test.1P.gz:2] +manpages-general (binary): empty-manual-page [usr/share/man/man6/usr-games-binary.6.gz] +manpages-general (binary): empty-manual-page [usr/share/man/man1/usr-sbin-binary.1.gz] +manpages-general (binary): empty-manual-page [usr/share/man/man1/usr-bin-binary-alt.1.gz] +manpages-general (binary): empty-manual-page [usr/share/man/de/man1/binary-without-english-manpage.1] +manpages-general (binary): country-in-manual [usr/share/man/de_DE/man1/test-utf8-chars.1p.gz] +manpages-general (binary): build-path-in-manual [usr/share/man/man6/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.6.gz] +manpages-general (binary): broken-link-to-undocumented [usr/share/man/man1/sbin-binary.1.gz] +manpages-general (binary): bad-whatis-entry [usr/share/man/man1/usr-bin-binary.1] +manpages-general (binary): bad-so-link-within-manual-page [usr/share/man/man1/bad-so.1.gz] +manpages-general (binary): FSSTND-dir-in-manual-page /var/catman/ [usr/share/man/man1/test.1P.gz:13] diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/post-test b/t/recipes/checks/documentation/manual/manpages-general/eval/post-test new file mode 100644 index 0000000..982bf36 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-general/eval/post-test @@ -0,0 +1,3 @@ +# pod2man from perl 5.14 and 5.18 add different amounts of "groff +# boilerplate", so the line number differs. +s/simple\.pod\.gz:[0-9][0-9]*/simple.pod.gz:LINE/ diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install new file mode 100644 index 0000000..ad89b63 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install @@ -0,0 +1,2 @@ +zecho.1.gz usr/share/man +zecho.1.gz usr/share/man/man-lintian diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values new file mode 100644 index 0000000..35e0a12 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpages-wrong-dir +Description: Test for manpages in wrong dirs diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile new file mode 100644 index 0000000..cff6c32 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile @@ -0,0 +1,14 @@ +all: pecho.1.gz zecho.1.gz + +%.gz: % + gzip --best $< + +%.1: % + pod2man --section 1 $< > $@ + +zecho: pecho + sed s/$ $@ + chmod 0755 $@ + +clean: + rm -f pecho.1.gz zecho* diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho new file mode 100644 index 0000000..d982088 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho @@ -0,0 +1,25 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +print join(' ', @ARGV), "\n"; + +=head1 NAME + +pecho - POSIX compliant Perl implementation of echo + +=head1 SYNOPSIS + +pecho [args ...] + +=head1 DESCRIPTION + +Prints arguments to stdout. + +=head1 AUTHORS + +Niels Thykier + +=cut + diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc new file mode 100644 index 0000000..0ca852b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc @@ -0,0 +1,2 @@ +Testname: manpages-wrong-dir +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints new file mode 100644 index 0000000..869084d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints @@ -0,0 +1,2 @@ +manpages-wrong-dir (binary): odd-place-for-manual-page [usr/share/man/zecho.1.gz] +manpages-wrong-dir (binary): odd-place-for-manual-page [usr/share/man/man-lintian/zecho.1.gz] diff --git a/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/debian/control.in b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/debian/control.in new file mode 100644 index 0000000..d2ec26d --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ocaml-nox-3.10.2, ${shlib: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/documentation/manual/scripts-ocamlrun/build-spec/fill-values b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/fill-values new file mode 100644 index 0000000..5e05c96 --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-ocamlrun +Description: Test correct handling of ocamlrun scripts diff --git a/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/Makefile b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/Makefile new file mode 100644 index 0000000..54fa3ef --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/Makefile @@ -0,0 +1,8 @@ +default: + : + +install: + install -d $(DESTDIR)/usr/bin + install -m755 script1 $(DESTDIR)/usr/bin/ + +.PHONY: distclean realclean clean install test check diff --git a/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/script1 b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/script1 new file mode 100644 index 0000000..49c50f2 --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/build-spec/orig/script1 @@ -0,0 +1 @@ +#!/usr/bin/ocamlrun diff --git a/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/desc b/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/desc new file mode 100644 index 0000000..c905c12 --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/desc @@ -0,0 +1,3 @@ +Testname: scripts-ocamlrun +See-Also: Debian Bug#495431 +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/hints b/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/hints new file mode 100644 index 0000000..1e26850 --- /dev/null +++ b/t/recipes/checks/documentation/manual/scripts-ocamlrun/eval/hints @@ -0,0 +1 @@ +scripts-ocamlrun (binary): no-manual-page [usr/bin/script1] diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..9a545cc --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +bad-spelling.1 diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/fill-values new file mode 100644 index 0000000..c0ab786 --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: spelling-error-in-manpage +Description: Manpage with spelling error diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bad-spelling.1 b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bad-spelling.1 new file mode 100644 index 0000000..98154fc --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bad-spelling.1 @@ -0,0 +1,16 @@ +.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. + +This is a speling mistake. +This is the false-positive spelling mistake for the proper noun German. +This is the false-positive spelling mistake for the quasi-plural directory(S). + +.SH "SEE ALSO" +addcr(1) diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bin/bad-spelling b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bin/bad-spelling new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/build-spec/orig/bin/bad-spelling @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/desc b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/desc new file mode 100644 index 0000000..3e0a42c --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: spelling-error-in-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/hints b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/hints new file mode 100644 index 0000000..76a2084 --- /dev/null +++ b/t/recipes/checks/documentation/manual/spelling-error-in-manpage/eval/hints @@ -0,0 +1 @@ +spelling-error-in-manpage (binary): typo-in-manual-page speling spelling [usr/share/man/man1/bad-spelling.1.gz:11] diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/install new file mode 100644 index 0000000..ab00658 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/install @@ -0,0 +1,3 @@ +bin/* usr/bin/ +libexec/* usr/libexec/ +sbin/* usr/sbin/ diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/fill-values new file mode 100644 index 0000000..b9a50a8 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: surplus-manpage +Description: Manual page without executable diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/bin/pwd b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/bin/pwd new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/bin/pwd @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/libexec/private-executable b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/libexec/private-executable new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/libexec/private-executable @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/addpart.8 b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/addpart.8 new file mode 100644 index 0000000..97d11ad --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/addpart.8 @@ -0,0 +1,40 @@ +.\" addpart.8 -- man page for addpart +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH ADDPART 8 "January 2015" "util-linux" "System Administration" +.SH NAME +addpart \- tell the kernel about the existence of a partition +.SH SYNOPSIS +.B addpart +.I device partition start length +.SH DESCRIPTION +.B addpart +tells the Linux kernel about the existence of the specified partition. +The command is a simple wrapper around the "add partition" ioctl. + +This command doesn't manipulate partitions on a block device. + +.SH PARAMETERS +.TP +.I device +The disk device. +.TP +.I partition +The partition number. +.TP +.I start +The beginning of the partition (in 512-byte sectors). +.TP +.I length +The length of the partition (in 512-byte sectors). + +.SH SEE ALSO +.BR delpart (8), +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8) +.SH AVAILABILITY +The addpart command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/lsmod.8 b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/lsmod.8 new file mode 100644 index 0000000..e323bd6 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/lsmod.8 @@ -0,0 +1,59 @@ +'\" t +.\" Title: lsmod +.\" Author: Jon Masters +.\" Generator: DocBook XSL Stylesheets v1.79.1 +.\" Date: 02/09/2019 +.\" Manual: lsmod +.\" Source: kmod +.\" Language: English +.\" +.TH "LSMOD" "8" "02/09/2019" "kmod" "lsmod" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +lsmod \- Show the status of modules in the Linux Kernel +.SH "SYNOPSIS" +.HP \w'\fBlsmod\fR\ 'u +\fBlsmod\fR +.SH "DESCRIPTION" +.PP +\fBlsmod\fR +is a trivial program which nicely formats the contents of the +/proc/modules, showing what kernel modules are currently loaded\&. +.SH "COPYRIGHT" +.PP +This manual page originally Copyright 2002, Rusty Russell, IBM Corporation\&. Maintained by Jon Masters and others\&. +.SH "SEE ALSO" +.PP +\fBinsmod\fR(8), +\fBmodprobe\fR(8), +\fBmodinfo\fR(8) +\fBdepmod\fR(8) +.SH "AUTHORS" +.PP +\fBJon Masters\fR <\&jcm@jonmasters\&.org\&> +.RS 4 +Developer +.RE +.PP +\fBLucas De Marchi\fR <\&lucas\&.de\&.marchi@gmail\&.com\&> +.RS 4 +Developer +.RE diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/private-executable.8 b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/private-executable.8 new file mode 100644 index 0000000..3045c50 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/private-executable.8 @@ -0,0 +1,10 @@ +.\" Based on addpart.8 -- man page for addpart +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH PRIVATE-EXECUTABLE 8 "January 2015" "util-linux" "System Administration" +.SH NAME +private-executable \- part of the Lintian test suite +.SH DESCRIPTION +.B private-executable +is used internally and should not be invoked directly. diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/pwd.1 b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/pwd.1 new file mode 100644 index 0000000..8312339 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/pwd.1 @@ -0,0 +1,48 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. +.TH PWD "1" "February 2019" "GNU coreutils 8.30" "User Commands" +.SH NAME +pwd \- print name of current/working directory +.SH SYNOPSIS +.B pwd +[\fI\,OPTION\/\fR]... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Print the full filename of the current working directory. +.TP +\fB\-L\fR, \fB\-\-logical\fR +use PWD from environment, even if it contains symlinks +.TP +\fB\-P\fR, \fB\-\-physical\fR +avoid all symlinks +.TP +\fB\-\-help\fR +display this help and exit +.TP +\fB\-\-version\fR +output version information and exit +.PP +If no option is specified, \fB\-P\fR is assumed. +.PP +NOTE: your shell may have its own version of pwd, which usually supersedes +the version described here. Please refer to your shell's documentation +for details about the options it supports. +.SH AUTHOR +Written by Jim Meyering. +.SH "REPORTING BUGS" +GNU coreutils online help: +.br +Report pwd translation bugs to +.SH COPYRIGHT +Copyright \(co 2018 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later . +.br +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +getcwd(3) +.PP +.br +Full documentation at: +.br +or available locally via: info \(aq(coreutils) pwd invocation\(aq diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/statfs.1 b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/statfs.1 new file mode 100644 index 0000000..cbf3d0d --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/man/statfs.1 @@ -0,0 +1,28 @@ +.\" Automatically generated by Pandoc 2.5 +.\" +.TH "STATFS" "1" "Sep 2019" "" "" +.hy +.SH NAME +.PP +statfs \- dump the statfs information for PATH to console in JSON format +.SH SYNOPSIS +.SS Examine encrypted file/directory +.PP +statfs PATH +.SH DESCRIPTION +.PP +There are no options to this command. +.SH EXAMPLES +.PP +Examine a directory entry: +.IP +.nf +\f[R] +statfs myfs/mCXnISiv7nEmyc0glGuhTQ +\f[R] +.fi +.SH SEE ALSO +.PP +gocryptfs(1) gocryptfs\-xray(1) +.SH AUTHORS +github.com/rfjakob. diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/sbin/addpart b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/sbin/addpart new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/build-spec/orig/sbin/addpart @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/eval/desc b/t/recipes/checks/documentation/manual/surplus-manpage/eval/desc new file mode 100644 index 0000000..ae69245 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/eval/desc @@ -0,0 +1,2 @@ +Testname: surplus-manpage +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/surplus-manpage/eval/hints b/t/recipes/checks/documentation/manual/surplus-manpage/eval/hints new file mode 100644 index 0000000..3608237 --- /dev/null +++ b/t/recipes/checks/documentation/manual/surplus-manpage/eval/hints @@ -0,0 +1,2 @@ +surplus-manpage (binary): spare-manual-page [usr/share/man/man8/lsmod.8.gz] +surplus-manpage (binary): spare-manual-page [usr/share/man/man1/statfs.1.gz] -- cgit v1.2.3