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 --- t/COVERAGE | 162 + t/defaults/desc | 9 + t/defaults/files | 6 + t/defaults/fill-values | 11 + t/recipes/README | 359 + .../build-spec/debian/control.in | 45 + .../build-spec/debian/libapache2-mod-foo.dirs | 2 + .../build-spec/debian/libapache2-mod-foo.install | 4 + .../build-spec/debian/libapache2-mod-foo2.dirs | 2 + .../build-spec/debian/libapache2-mod-foo2.install | 2 + .../build-spec/debian/libapache2-mod-foo2.postinst | 9 + .../build-spec/debian/libapache2-mod-foo2.postrm | 9 + .../build-spec/debian/libapache2-modbaz.dirs | 2 + .../build-spec/debian/libapache2-modbaz.install | 2 + .../apache2-modules-general/build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 5 + .../build-spec/orig/baz.load | 1 + .../apache2-modules-general/build-spec/orig/foo | 1 + .../build-spec/orig/foo.conf | 5 + .../build-spec/orig/foo.load | 5 + .../apache2/apache2-modules-general/eval/desc | 2 + .../apache2/apache2-modules-general/eval/hints | 9 + .../build-spec/debian/control.in | 48 + .../build-spec/debian/phpmyfoo.dirs | 1 + .../build-spec/debian/phpmyfoo.install | 1 + .../build-spec/debian/phpmyfoo.postinst | 11 + .../build-spec/debian/phpmyfoo.postrm | 12 + .../build-spec/debian/phpmyfoo2.dirs | 1 + .../build-spec/debian/phpmyfoo2.install | 3 + .../build-spec/debian/phpmyfoo3.dirs | 1 + .../build-spec/debian/phpmyfoo3.install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/false-positives.conf | 12 + .../build-spec/orig/local-phpmyfoo2.conf | 1 + .../build-spec/orig/phpmyfoo.conf | 14 + .../build-spec/orig/phpmyfoo2 | 1 + .../apache2-webapplications-general/eval/desc | 2 + .../apache2-webapplications-general/eval/hints | 22 + .../build-spec/debian/control.in | 87 + .../debian/libapp-something-perl.install | 1 + .../debian/libapp-something-perl.manpages | 1 + .../debian/libsomething-else-perl.install | 1 + .../debian/libsomething-else-perl.manpages | 1 + .../build-spec/debian/python-something.install | 1 + .../build-spec/debian/python-something.manpages | 1 + .../build-spec/debian/ruby-something.install | 1 + .../build-spec/debian/ruby-something.manpages | 1 + .../debian/unspecified-something-pl.install | 1 + .../debian/unspecified-something-pl.manpages | 1 + .../debian/unspecified-something-py.install | 1 + .../debian/unspecified-something-py.manpages | 1 + .../debian/unspecified-something-rb.install | 1 + .../debian/unspecified-something-rb.manpages | 1 + .../application-not-library/build-spec/fill-values | 3 + .../build-spec/orig/bin/libapp-something-perl | 3 + .../build-spec/orig/bin/libsomething-else-perl | 3 + .../build-spec/orig/bin/python-something | 3 + .../build-spec/orig/bin/ruby-something | 3 + .../build-spec/orig/bin/unspecified-something-pl | 3 + .../build-spec/orig/bin/unspecified-something-py | 3 + .../build-spec/orig/bin/unspecified-something-rb | 3 + .../build-spec/orig/man/libapp-something-perl.1 | 6 + .../build-spec/orig/man/libsomething-else-perl.1 | 6 + .../build-spec/orig/man/python-something.1 | 6 + .../build-spec/orig/man/ruby-something.1 | 6 + .../build-spec/orig/man/unspecified-something-pl.1 | 6 + .../build-spec/orig/man/unspecified-something-py.1 | 6 + .../build-spec/orig/man/unspecified-something-rb.1 | 6 + .../application-not-library/eval/desc | 2 + .../application-not-library/eval/hints | 11 + .../debian/appstream-metadata-invalid.metadata.xml | 1 + .../appstream-metadata-obsolete.metadata.xml | 2 + .../build-spec/debian/appstream-metadata.desktop | 8 + .../build-spec/debian/appstream-metadata.dirs | 2 + .../debian/appstream-metadata.metadata.xml | 22 + .../build-spec/debian/appstream-metadata.udev | 14 + .../appstream-metadata/build-spec/debian/rules | 15 + .../appstream-metadata/build-spec/fill-values | 3 + .../appstream-metadata/eval/desc | 2 + .../appstream-metadata/eval/hints | 5 + .../apt/files-foo-in-bar/build-spec/debian/clean | 5 + .../apt/files-foo-in-bar/build-spec/debian/dirs | 15 + .../apt/files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../apt/files-foo-in-bar/build-spec/debian/rules | 18 + .../apt/files-foo-in-bar/build-spec/fill-values | 3 + .../apt/files-foo-in-bar/build-spec/orig/bar | 1 + .../apt/files-foo-in-bar/build-spec/orig/bar.pod | 18 + t/recipes/checks/apt/files-foo-in-bar/eval/desc | 2 + t/recipes/checks/apt/files-foo-in-bar/eval/hints | 4 + .../checks/apt/files-foo-in-bar/eval/post-test | 2 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 6 + .../eval/post-test | 2 + .../build-spec/debian/control.in | 31 + .../fields-section-general/build-spec/fill-values | 3 + .../mismatch/fields-section-general/eval/desc | 2 + .../mismatch/fields-section-general/eval/hints | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../liberty/mismatch/legacy-relations/eval/desc | 2 + .../liberty/mismatch/legacy-relations/eval/hints | 1 + .../mismatch/legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/fill-values | 5 + .../eval/desc | 2 + .../eval/hints | 1 + .../binaries-misplaced/build-spec/debian/rules | 12 + .../binaries-misplaced/build-spec/fill-values | 3 + .../architecture/binaries-misplaced/eval/desc | 2 + .../architecture/binaries-misplaced/eval/hints | 1 + .../build-spec/debian/dumpobj | 22 + .../build-spec/debian/install | 2 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 6 + .../other/binaries-from-other-arch/eval/desc | 4 + .../other/binaries-from-other-arch/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 22 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 37 + .../build-spec/orig/hello.c | 8 + .../other/wrong-binary-architecture/eval/desc | 2 + .../other/wrong-binary-architecture/eval/hints | 1 + .../build-spec/debian/dumpobj | 22 + .../build-spec/debian/install | 2 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 6 + .../corrupted/binaries-from-other-arch/eval/desc | 4 + .../corrupted/binaries-from-other-arch/eval/hints | 4 + .../legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../corrupted/legacy-debug/build-spec/debian/rules | 99 + .../corrupted/legacy-debug/build-spec/fill-values | 8 + .../corrupted/legacy-debug/build-spec/orig/hello.c | 9 + .../legacy-debug/build-spec/orig/libhello.c | 7 + .../legacy-debug/build-spec/orig/libhello.h | 1 + .../binaries/corrupted/legacy-debug/eval/desc | 2 + .../binaries/corrupted/legacy-debug/eval/hints | 3 + .../binaries/corrupted/legacy-debug/eval/post-test | 2 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../debug-symbols/binaries-general/eval/desc | 2 + .../debug-symbols/binaries-general/eval/hints | 1 + .../debug-symbols/binaries-general/eval/post-test | 1 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../detached/binaries-general/eval/desc | 2 + .../detached/binaries-general/eval/hints | 4 + .../detached/binaries-general/eval/post-test | 1 + .../legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../detached/legacy-debug/build-spec/debian/rules | 99 + .../detached/legacy-debug/build-spec/fill-values | 6 + .../detached/legacy-debug/build-spec/orig/hello.c | 9 + .../legacy-debug/build-spec/orig/libhello.c | 7 + .../legacy-debug/build-spec/orig/libhello.h | 1 + .../debug-symbols/detached/legacy-debug/eval/desc | 2 + .../debug-symbols/detached/legacy-debug/eval/hints | 5 + .../detached/legacy-debug/eval/post-test | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../binaries/debug-symbols/legacy-binary/eval/desc | 2 + .../debug-symbols/legacy-binary/eval/hints | 1 + .../debug-symbols/legacy-binary/eval/post-test | 3 + .../legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../legacy-debug/build-spec/debian/rules | 99 + .../legacy-debug/build-spec/fill-values | 6 + .../legacy-debug/build-spec/orig/hello.c | 9 + .../legacy-debug/build-spec/orig/libhello.c | 7 + .../legacy-debug/build-spec/orig/libhello.h | 1 + .../binaries/debug-symbols/legacy-debug/eval/desc | 2 + .../binaries/debug-symbols/legacy-debug/eval/hints | 1 + .../debug-symbols/legacy-debug/eval/post-test | 2 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../binaries/debug-symbols/legacy-libbaz/eval/desc | 2 + .../debug-symbols/legacy-libbaz/eval/hints | 3 + .../debug-symbols/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 22 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 37 + .../build-spec/orig/hello.c | 8 + .../wrong-binary-architecture/eval/desc | 2 + .../wrong-binary-architecture/eval/hints | 1 + .../binaries-hardening/build-spec/fill-values | 4 + .../binaries-hardening/build-spec/orig/Makefile | 35 + .../binaries-hardening/build-spec/orig/base.pod | 12 + .../binaries-hardening/build-spec/orig/hello.c | 17 + .../hardening/binaries-hardening/eval/desc | 3 + .../hardening/binaries-hardening/eval/hints | 4 + .../binaries-hardening/eval/test-calibration | 53 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 22 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 37 + .../build-spec/orig/hello.c | 8 + .../hardening/wrong-binary-architecture/eval/desc | 2 + .../hardening/wrong-binary-architecture/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/libbasic2.symbols | 4 + .../binaries-missing-lfs/build-spec/fill-values | 6 + .../binaries-missing-lfs/build-spec/orig/Makefile | 12 + .../binaries-missing-lfs/build-spec/orig/basic.c | 27 + .../binaries-missing-lfs/build-spec/orig/lfs.c | 10 + .../binaries-missing-lfs/eval/desc | 3 + .../binaries-missing-lfs/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 + .../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 + .../binaries/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../binaries/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../binaries/legacy-binary/build-spec/fill-values | 5 + .../binaries/legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../binaries/legacy-binary/build-spec/orig/hello.c | 8 + t/recipes/checks/binaries/legacy-binary/eval/desc | 2 + t/recipes/checks/binaries/legacy-binary/eval/hints | 1 + .../checks/binaries/legacy-binary/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../binaries/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../binaries/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../binaries/legacy-libbaz/build-spec/orig/baz.c | 6 + .../binaries/legacy-libbaz/build-spec/orig/extra.c | 0 t/recipes/checks/binaries/legacy-libbaz/eval/desc | 2 + t/recipes/checks/binaries/legacy-libbaz/eval/hints | 2 + .../checks/binaries/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 53 + .../build-spec/debian/rules | 22 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 7 + .../build-spec/orig/script | 3 + .../build-spec/orig/true.c | 5 + .../eval/desc | 2 + .../eval/hints | 5 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../binaries/location/binaries-general/eval/desc | 2 + .../binaries/location/binaries-general/eval/hints | 2 + .../location/binaries-general/eval/post-test | 1 + .../binaries-misplaced/build-spec/debian/rules | 12 + .../binaries-misplaced/build-spec/fill-values | 3 + .../binaries/location/binaries-misplaced/eval/desc | 2 + .../location/binaries-misplaced/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 25 + .../build-spec/debian/libbasic2.symbols | 2 + .../binaries-multiarch-same/build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 19 + .../location/binaries-multiarch-same/eval/desc | 2 + .../location/binaries-multiarch-same/eval/hints | 1 + .../binaries-obsolete-des/build-spec/fill-values | 4 + .../binaries-obsolete-des/build-spec/orig/Makefile | 52 + .../build-spec/orig/dummy.pod | 11 + .../build-spec/orig/uses-encrypt.c | 30 + .../build-spec/orig/uses-encrypt_r.c | 33 + .../build-spec/orig/uses-fcrypt.c | 21 + .../build-spec/orig/uses-setkey.c | 45 + .../build-spec/orig/uses-setkey_r.c | 48 + .../obsolete/crypt/binaries-obsolete-des/eval/desc | 2 + .../crypt/binaries-obsolete-des/eval/hints | 5 + .../binaries-libc-link/build-spec/debian/rules | 9 + .../binaries-libc-link/build-spec/fill-values | 4 + .../binaries-libc-link/build-spec/orig/Makefile | 35 + .../binaries-libc-link/build-spec/orig/basic.c | 5 + .../binaries-libc-link/build-spec/orig/basic.pod | 14 + .../prerequisites/binaries-libc-link/eval/desc | 2 + .../prerequisites/binaries-libc-link/eval/hints | 3 + .../binaries-libc-link/eval/post-test | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/libbasic2.symbols | 4 + .../build-spec/debian/rules | 15 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 14 + .../build-spec/orig/basic.c | 19 + .../build-spec/orig/cpp.cxx | 14 + .../binaries-missing-depends-on-libc/eval/desc | 2 + .../binaries-missing-depends-on-libc/eval/hints | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/libbasic2.symbols | 2 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 19 + .../binaries-missing-depends/eval/desc | 2 + .../binaries-missing-depends/eval/hints | 1 + .../legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../legacy-debug/build-spec/debian/rules | 99 + .../legacy-debug/build-spec/fill-values | 6 + .../legacy-debug/build-spec/orig/hello.c | 9 + .../legacy-debug/build-spec/orig/libhello.c | 7 + .../legacy-debug/build-spec/orig/libhello.h | 1 + .../binaries/prerequisites/legacy-debug/eval/desc | 2 + .../binaries/prerequisites/legacy-debug/eval/hints | 2 + .../prerequisites/legacy-debug/eval/post-test | 2 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../binaries/prerequisites/legacy-libbaz/eval/desc | 2 + .../prerequisites/legacy-libbaz/eval/hints | 6 + .../prerequisites/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 5 + .../build-spec/orig/basic.c | 21 + .../build-spec/orig/setup.py | 9 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/rules | 17 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 16 + .../build-spec/orig/basic.c | 19 + .../binaries-missing-depends-on-xapi/eval/desc | 2 + .../binaries-missing-depends-on-xapi/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../perl/legacy-libbaz/build-spec/debian/compat.in | 1 + .../perl/legacy-libbaz/build-spec/debian/control | 58 + .../perl/legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../perl/legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../perl/legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../perl/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../perl/legacy-libbaz/build-spec/fill-values | 6 + .../perl/legacy-libbaz/build-spec/orig/Makefile | 55 + .../perl/legacy-libbaz/build-spec/orig/baz.c | 6 + .../perl/legacy-libbaz/build-spec/orig/extra.c | 0 .../prerequisites/perl/legacy-libbaz/eval/desc | 2 + .../prerequisites/perl/legacy-libbaz/eval/hints | 1 + .../perl/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/rules | 17 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 16 + .../build-spec/orig/basic.c | 19 + .../php/binaries-missing-depends-on-xapi/eval/desc | 2 + .../binaries-missing-depends-on-xapi/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 22 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 37 + .../build-spec/orig/hello.c | 8 + .../wrong-binary-architecture/eval/desc | 2 + .../wrong-binary-architecture/eval/hints | 1 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../binaries/profiling/binaries-general/eval/desc | 2 + .../binaries/profiling/binaries-general/eval/hints | 1 + .../profiling/binaries-general/eval/post-test | 1 + .../rpath/binaries-general/build-spec/debian/rules | 12 + .../rpath/binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../rpath/binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../rpath/binaries-general/build-spec/orig/ocaml.c | 11 + .../binaries/rpath/binaries-general/eval/desc | 2 + .../binaries/rpath/binaries-general/eval/hints | 3 + .../binaries/rpath/binaries-general/eval/post-test | 1 + .../binaries/rpath/quoted/build-spec/debian/rules | 12 + .../binaries/rpath/quoted/build-spec/fill-values | 4 + .../binaries/rpath/quoted/build-spec/orig/Makefile | 64 + .../binaries/rpath/quoted/build-spec/orig/basic.c | 12 + .../rpath/quoted/build-spec/orig/getbuildid | 30 + .../binaries/rpath/quoted/build-spec/orig/ocaml.c | 11 + t/recipes/checks/binaries/rpath/quoted/eval/desc | 2 + t/recipes/checks/binaries/rpath/quoted/eval/hints | 5 + .../checks/binaries/rpath/quoted/eval/post-test | 1 + .../rpath/relative/build-spec/debian/rules | 12 + .../binaries/rpath/relative/build-spec/fill-values | 4 + .../rpath/relative/build-spec/orig/Makefile | 64 + .../rpath/relative/build-spec/orig/basic.c | 12 + .../rpath/relative/build-spec/orig/getbuildid | 30 + .../rpath/relative/build-spec/orig/ocaml.c | 11 + t/recipes/checks/binaries/rpath/relative/eval/desc | 2 + .../checks/binaries/rpath/relative/eval/hints | 5 + .../checks/binaries/rpath/relative/eval/post-test | 1 + .../binaries-spelling/build-spec/fill-values | 4 + .../binaries-spelling/build-spec/orig/Makefile | 11 + .../binaries-spelling/build-spec/orig/basic.c | 23 + .../binaries/spelling/binaries-spelling/eval/desc | 2 + .../binaries/spelling/binaries-spelling/eval/hints | 3 + .../build-spec/debian/dumpobj | 22 + .../build-spec/debian/install | 2 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 6 + .../static/binaries-from-other-arch/eval/desc | 4 + .../static/binaries-from-other-arch/eval/hints | 2 + .../binaries-general/build-spec/debian/rules | 12 + .../static/binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../binaries/static/binaries-general/eval/desc | 2 + .../binaries/static/binaries-general/eval/hints | 1 + .../static/binaries-general/eval/post-test | 1 + .../static/binaries-golang/build-spec/fill-values | 5 + .../binaries-golang/build-spec/orig/Makefile | 16 + .../static/binaries-golang/build-spec/orig/basic.c | 12 + .../binaries/static/binaries-golang/eval/desc | 3 + .../binaries/static/binaries-golang/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 + .../static/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 + .../static/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../static/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../static/legacy-binary/build-spec/fill-values | 5 + .../static/legacy-binary/build-spec/orig/INSTALL | 176 + .../static/legacy-binary/build-spec/orig/Makefile | 12 + .../static/legacy-binary/build-spec/orig/hello.c | 8 + .../checks/binaries/static/legacy-binary/eval/desc | 2 + .../binaries/static/legacy-binary/eval/hints | 1 + .../binaries/static/legacy-binary/eval/post-test | 3 + .../static/legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../static/legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../static/legacy-debug/build-spec/debian/rules | 99 + .../static/legacy-debug/build-spec/fill-values | 6 + .../static/legacy-debug/build-spec/orig/hello.c | 9 + .../static/legacy-debug/build-spec/orig/libhello.c | 7 + .../static/legacy-debug/build-spec/orig/libhello.h | 1 + .../checks/binaries/static/legacy-debug/eval/desc | 2 + .../checks/binaries/static/legacy-debug/eval/hints | 1 + .../binaries/static/legacy-debug/eval/post-test | 2 + .../automake-general/build-spec/fill-values | 3 + .../automake-general/build-spec/orig/Makefile.am | 0 .../automake-general/build-spec/orig/configure.in | 1 + .../automake/automake-general/eval/desc | 2 + .../automake/automake-general/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/hello.c | 8 + .../build-spec/pre-upstream | 35 + .../autotools/cruft-general-test-suite/eval/desc | 4 + .../autotools/cruft-general-test-suite/eval/hints | 1 + .../cruft-ancient-libtool-2/build-spec/fill-values | 3 + .../build-spec/orig/ltmain.sh | 62 + .../libtool/cruft-ancient-libtool-2/eval/desc | 3 + .../libtool/cruft-ancient-libtool-2/eval/hints | 1 + .../cruft-ancient-libtool/build-spec/fill-values | 3 + .../cruft-ancient-libtool/build-spec/orig/ltconfig | 0 .../build-spec/orig/ltmain.sh | 59 + .../libtool/cruft-ancient-libtool/eval/desc | 3 + .../libtool/cruft-ancient-libtool/eval/hints | 2 + .../cruft-current-libtool/build-spec/fill-values | 3 + .../build-spec/orig/ltmain.sh | 48 + .../libtool/cruft-current-libtool/eval/desc | 4 + .../libtool/cruft-current-libtool/eval/hints | 0 .../cruft-updated-libtool/build-spec/fill-values | 4 + .../cruft-updated-libtool/build-spec/orig/ltconfig | 0 .../build-spec/orig/ltmain.sh | 59 + .../libtool/cruft-updated-libtool/eval/desc | 4 + .../libtool/cruft-updated-libtool/eval/hints | 0 .../build-spec/fill-values | 3 + .../build-spec/orig/configure.in | 5 + .../build-spec/orig/src/configure.in | 1 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/configure.ac | 5 + .../build-spec/orig/src/configure.ac | 1 + .../macro-not-cross-compilation-safe/eval/desc | 2 + .../macro-not-cross-compilation-safe/eval/hints | 2 + .../cruft-general-diff/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../cruft-general-diff/build-spec/debian/substvars | 1 + .../cruft-general-diff/build-spec/fill-values | 4 + .../cmake/cruft-general-diff/build-spec/pre-build | 34 + .../cmake/cruft-general-diff/eval/desc | 3 + .../cmake/cruft-general-diff/eval/hints | 1 + .../cruft-general-native/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-native/build-spec/fill-values | 3 + .../cruft-general-native/build-spec/pre-build | 32 + .../cmake/cruft-general-native/eval/desc | 2 + .../cmake/cruft-general-native/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../cruft-general-quilt/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../build-spec/debian/substvars | 1 + .../cruft-general-quilt/build-spec/fill-values | 4 + .../cmake/cruft-general-quilt/build-spec/pre-build | 34 + .../cmake/cruft-general-quilt/eval/desc | 3 + .../cmake/cruft-general-quilt/eval/hints | 1 + .../build-spec/debian/patches/wig-pen | 5 + .../cruft-general-wig-pen/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-wig-pen/build-spec/fill-values | 4 + .../cruft-general-wig-pen/build-spec/orig/README | 1 + .../cruft-general-wig-pen/build-spec/pre-build | 32 + .../cmake/cruft-general-wig-pen/eval/desc | 2 + .../cmake/cruft-general-wig-pen/eval/hints | 1 + .../build-spec/debian/rules | 71 + .../build-spec/fill-values | 3 + .../cmake/files-package-contains-foo/eval/desc | 2 + .../cmake/files-package-contains-foo/eval/hints | 2 + .../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 + .../token/legacy-scripts/build-spec/debian/postrm | 9 + .../token/legacy-scripts/build-spec/debian/preinst | 15 + .../token/legacy-scripts/build-spec/debian/rules | 111 + .../build-spec/debian/scripts.conffiles | 6 + .../token/legacy-scripts/build-spec/debian/watch | 8 + .../token/legacy-scripts/build-spec/fill-values | 6 + .../token/legacy-scripts/build-spec/orig/csh-foo | 2 + .../token/legacy-scripts/build-spec/orig/envfoo | 4 + .../token/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 + .../token/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../token/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 + .../token/legacy-scripts/build-spec/orig/perlfoo | 3 + .../token/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../token/legacy-scripts/build-spec/orig/phpfoo | 7 + .../token/legacy-scripts/build-spec/orig/py3.Xfoo | 4 + .../token/legacy-scripts/build-spec/orig/py3foo | 4 + .../token/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../token/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../token/legacy-scripts/build-spec/orig/tkfoo | 31 + .../token/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../token/legacy-scripts/build-spec/pre-build | 5 + .../token/legacy-scripts/eval/desc | 2 + .../token/legacy-scripts/eval/hints | 1 + .../token/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../token/scripts-maintainer-general/eval/desc | 5 + .../token/scripts-maintainer-general/eval/hints | 1 + .../shared-libs-la-files/build-spec/debian/install | 4 + .../shared-libs-la-files/build-spec/debian/links | 1 + .../shared-libs-la-files/build-spec/fill-values | 3 + .../shared-libs-la-files/build-spec/orig/Makefile | 9 + .../build-spec/orig/_python_module.txt | 12 + .../build-spec/orig/dependency_libs.txt | 15 + .../build-spec/orig/kio_locate.txt | 15 + .../build-spec/orig/trailing-slash.txt | 12 + .../libtool/la-file/shared-libs-la-files/eval/desc | 2 + .../la-file/shared-libs-la-files/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/waf | 15 + .../waf/cruft-contains-waf-stripped/eval/desc | 3 + .../waf/cruft-contains-waf-stripped/eval/hints | 1 + .../waf/cruft-contains-waf/build-spec/fill-values | 3 + .../build-spec/orig/some-source.c | 5 + .../waf/cruft-contains-waf/build-spec/orig/waf.in | 13 + .../waf/cruft-contains-waf/build-spec/pre-upstream | 18 + .../build-systems/waf/cruft-contains-waf/eval/desc | 2 + .../waf/cruft-contains-waf/eval/hints | 1 + .../changes-file/changed-by-localhost/eval/hints | 1 + .../changes-file/changed-by-malformed/eval/hints | 1 + .../changes-file/changed-by-no-name/eval/hints | 1 + .../changes-file/changed-by-root-email/eval/hints | 1 + .../checks/changes-file/changed-by-root/eval/hints | 1 + .../changes-bad-ubuntu-distribution/eval/hints | 1 + .../changes-distribution-mismatch/eval/hints | 1 + .../changes-experimental-mismatch/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/referenced-files/__some-file__ | 1 + .../build-spec/test.changes.in | 18 + .../changes-file-bad-section/eval/desc | 2 + .../changes-file-bad-section/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/referenced-files/__some-file__ | 1 + .../build-spec/test.changes.in | 18 + .../changes-file-size-checksum-mismatch/eval/desc | 2 + .../changes-file-size-checksum-mismatch/eval/hints | 4 + .../build-spec/debian/control.in | 36 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../changes-file/changes-missing-fields/eval/hints | 1 + .../changes-file/changes-missing-format/eval/hints | 1 + .../changes-file/changes-unreleased/eval/hints | 1 + .../eval/hints | 1 + .../checksum-count-mismatch/build-spec/fill-values | 3 + .../build-spec/post-build.in | 3 + .../changes-file/checksum-count-mismatch/eval/desc | 2 + .../checksum-count-mismatch/eval/hints | 1 + .../distribution-multiple-bad/eval/hints | 1 + .../checks/changes-file/generic-empty/eval/hints | 1 + .../checks/changes-file/legacy-foo++/eval/hints | 1 + .../build-spec/debian/conffiles | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 4 + .../build-spec/orig/etc/some.config | 1 + .../conffile-removed-but-present/eval/desc | 2 + .../conffile-removed-but-present/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../build-spec/orig/something.conf | 1 + .../conffiles/conffiles-etc-not-marked/eval/desc | 2 + .../conffiles/conffiles-etc-not-marked/eval/hints | 1 + .../conffiles-general/build-spec/debian/conffiles | 9 + .../conffiles-general/build-spec/debian/install | 3 + .../conffiles-general/build-spec/debian/links | 1 + .../conffiles-general/build-spec/debian/rules | 12 + .../conffiles-general/build-spec/fill-values | 4 + .../build-spec/orig/etc/rc2.d/file | 1 + .../build-spec/orig/usr/share/foo | 1 + .../build-spec/orig/var/cache/foo | 1 + .../checks/conffiles/conffiles-general/eval/desc | 2 + .../checks/conffiles/conffiles-general/eval/hints | 13 + .../build-spec/debian/conffiles | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 4 + .../build-spec/orig/etc/some.config | 1 + .../conffiles/instruction-chicken-soup/eval/desc | 2 + .../conffiles/instruction-chicken-soup/eval/hints | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../checks/conffiles/legacy-etcfiles/eval/desc | 2 + .../checks/conffiles/legacy-etcfiles/eval/hints | 3 + .../conffiles/legacy-etcfiles/eval/post-test | 1 + .../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 + .../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 + .../checks/conffiles/legacy-filenames/eval/desc | 2 + .../checks/conffiles/legacy-filenames/eval/hints | 1 + .../conffiles/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/gitlab-ci.yml | 5 + .../salsa/first-level-array/build-spec/fill-values | 3 + .../salsa/first-level-array/eval/desc | 2 + .../salsa/first-level-array/eval/hints | 3 + .../root-scalar/build-spec/debian/gitlab-ci.yml | 1 + .../salsa/root-scalar/build-spec/fill-values | 3 + .../salsa/root-scalar/eval/desc | 2 + .../salsa/root-scalar/eval/hints | 2 + .../build-spec/DEBIAN/control.in | 12 + .../build-spec/fill-values | 3 + .../control-field-traversal-4/build-spec/pre-data | 13 + .../control-field-traversal-4/eval/desc | 4 + .../control-field-traversal-4/eval/literal | 1 + .../control-files-bad/build-spec/fill-values | 3 + .../control-files-bad/build-spec/pre-control | 7 + .../control-files-bad/build-spec/tar-control | 8 + .../control-files/control-files-bad/eval/desc | 2 + .../control-files/control-files-bad/eval/hints | 3 + .../build-spec/debian/postinst | 9 + .../build-spec/debian/prerm | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/control-members | 3 + .../control-files-traversal/build-spec/fill-values | 3 + .../control-files-traversal/build-spec/pre-control | 8 + .../control-files-traversal/eval/desc | 2 + .../control-files-traversal/eval/hints | 2 + .../build-spec/DEBIAN/isinstallable | 1 + .../build-spec/DEBIAN/special-file | 1 + .../build-spec/DEBIAN/triggers | 0 .../build-spec/control-members | 5 + .../build-spec/fill-values | 3 + .../control-files-weird-files/eval/desc | 2 + .../control-files-weird-files/eval/hints | 4 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/control-files/legacy-binary/eval/desc | 3 + .../checks/control-files/legacy-binary/eval/hints | 2 + .../control-files/legacy-binary/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/control-files/legacy-libbaz/eval/desc | 2 + .../checks/control-files/legacy-libbaz/eval/hints | 11 + .../control-files/legacy-libbaz/eval/post-test | 4 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../legacy-scripts/build-spec/pre-build | 5 + .../checks/control-files/legacy-scripts/eval/desc | 2 + .../checks/control-files/legacy-scripts/eval/hints | 5 + .../control-files/legacy-scripts/eval/post-test | 1 + .../md5sums-empty/build-spec/debian/rules | 10 + .../md5sums-empty/build-spec/fill-values | 3 + .../checks/control-files/md5sums-empty/eval/desc | 4 + .../checks/control-files/md5sums-empty/eval/hints | 1 + .../md5sums-traversal/build-spec/fill-values | 3 + .../md5sums-traversal/build-spec/pre-control | 8 + .../control-files/md5sums-traversal/eval/desc | 2 + .../control-files/md5sums-traversal/eval/hints | 2 + .../unpack-numerical-owner/build-spec/fill-values | 3 + .../unpack-numerical-owner/build-spec/tar-control | 8 + .../unpack-numerical-owner/build-spec/tar-data | 7 + .../control-files/unpack-numerical-owner/eval/desc | 3 + .../unpack-numerical-owner/eval/hints | 1 + .../build-spec/debian/binary.docs | 3 + .../build-spec/debian/binary.init | 21 + .../build-spec/debian/binary.install | 9 + .../build-spec/debian/binary.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 30 + .../build-spec/debian/game.install | 1 + .../build-spec/debian/game.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/rules | 31 + .../files-bad-perm-owner/build-spec/fill-values | 3 + .../files-bad-perm-owner/build-spec/orig/README | 1 + .../files-bad-perm-owner/build-spec/orig/read-only | 1 + .../build-spec/orig/sample.ali | 1 + .../files-bad-perm-owner/build-spec/orig/script | 20 + .../files-bad-perm-owner/build-spec/orig/some-file | 2 + .../checks/cron/files-bad-perm-owner/eval/desc | 2 + .../checks/cron/files-bad-perm-owner/eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/_bad-pkcs11.module | 0 .../build-spec/orig/cron-script.hourly | 3 + .../files-foo-violates-expected-naming/eval/desc | 2 + .../files-foo-violates-expected-naming/eval/hints | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../cron/legacy-etcfiles/build-spec/debian/control | 20 + .../cron/legacy-etcfiles/build-spec/debian/rules | 64 + .../cron/legacy-etcfiles/build-spec/fill-values | 5 + .../cron/legacy-etcfiles/build-spec/orig/improper | 2 + .../cron/legacy-etcfiles/build-spec/orig/proper | 2 + t/recipes/checks/cron/legacy-etcfiles/eval/desc | 2 + t/recipes/checks/cron/legacy-etcfiles/eval/hints | 1 + .../checks/cron/legacy-etcfiles/eval/post-test | 1 + .../cruft-autogenerated/build-spec/fill-values | 3 + .../build-spec/orig/src/gperf/gperf.c | 1 + .../build-spec/orig/src/gperf/gperf.cpp | 1 + .../build-spec/orig/src/oui.db/oui.db | 20 + .../build-spec/orig/src/visualc++/negative.py | 5 + .../build-spec/orig/src/visualc++/positive.cpp | 4 + .../checks/cruft/cruft-autogenerated/eval/desc | 2 + .../checks/cruft/cruft-autogenerated/eval/hints | 4 + .../build-spec/debian/copyright | 20 + .../cruft-bad-php-unrel/build-spec/fill-values | 3 + .../build-spec/orig/src/2_01.txt | 70 + .../build-spec/orig/src/2_02.txt | 75 + .../build-spec/orig/src/3_01.txt | 55 + .../checks/cruft/cruft-bad-php-unrel/eval/desc | 5 + .../checks/cruft/cruft-bad-php-unrel/eval/hints | 0 .../cruft/cruft-bad-php/build-spec/fill-values | 3 + .../cruft-bad-php/build-spec/orig/src/2_01.txt | 70 + .../cruft-bad-php/build-spec/orig/src/2_02.txt | 75 + .../cruft-bad-php/build-spec/orig/src/3_01.txt | 55 + t/recipes/checks/cruft/cruft-bad-php/eval/desc | 2 + t/recipes/checks/cruft/cruft-bad-php/eval/hints | 3 + .../cruft/cruft-cc-by-nc-sa/build-spec/fill-values | 3 + .../build-spec/orig/src/ISI_export_format.html | 8 + .../build-spec/orig/src/copyright-header.html | 9 + .../cruft-cc-by-nc-sa/build-spec/orig/src/test.svg | 53 + .../cruft-cc-by-nc-sa/build-spec/orig/src/test.xml | 9 + t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/desc | 2 + .../checks/cruft/cruft-cc-by-nc-sa/eval/hints | 4 + .../cruft/cruft-evil-json/build-spec/fill-values | 3 + .../cruft-evil-json/build-spec/orig/src/evil.c | 10 + t/recipes/checks/cruft/cruft-evil-json/eval/desc | 2 + t/recipes/checks/cruft/cruft-evil-json/eval/hints | 1 + .../cruft-general-upstream/build-spec/fill-values | 4 + .../cruft-general-upstream/build-spec/pre-upstream | 61 + .../checks/cruft/cruft-general-upstream/eval/desc | 5 + .../checks/cruft/cruft-general-upstream/eval/hints | 26 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/normal.texi | 6 + .../cruft-gfdl-fp-sliding-win/build-spec/pre-build | 45 + .../cruft/cruft-gfdl-fp-sliding-win/eval/desc | 3 + .../cruft/cruft-gfdl-fp-sliding-win/eval/hints | 1 + .../cruft-gfdl-invariants/build-spec/fill-values | 3 + .../build-spec/orig/src/autoconf.texi | 12 + .../build-spec/orig/src/dvipdfmx.tex | 6 + .../build-spec/orig/src/empty.texi | 5 + .../build-spec/orig/src/emptybis.texi | 7 + .../build-spec/orig/src/false-positive.rtf | 125 + .../build-spec/orig/src/frontback.html | 56 + .../build-spec/orig/src/frontback.texi | 7 + .../build-spec/orig/src/invariant.txt | 7 + .../orig/src/oldfalsepositive/appendix.txt | 25 + .../orig/src/oldfalsepositive/badpunctuation.txt | 8 + .../orig/src/oldfalsepositive/cflow.texi | 12 + .../orig/src/oldfalsepositive/citetitle.po | 16 + .../build-spec/orig/src/oldfalsepositive/clisp.txt | 9 + .../build-spec/orig/src/oldfalsepositive/clisp.xml | 6 + .../orig/src/oldfalsepositive/comments.po | 9 + .../src/oldfalsepositive/diveintopythonok.html | 12 + .../oldfalsepositive/findsutilsokinlinenewline.c | 15 + .../orig/src/oldfalsepositive/findutilsok.c | 15 + .../orig/src/oldfalsepositive/fonts.html | 9 + .../orig/src/oldfalsepositive/fontsMX.html | 1 + .../src/oldfalsepositive/gfdllicenseexample.html | 13 + .../src/oldfalsepositive/gfdllicenseexample.texi | 13 + .../oldfalsepositive/gfdllicenseexamplesbr.html | 13 + .../orig/src/oldfalsepositive/gfdltexcomments.tex | 7 + .../src/oldfalsepositive/gnashfalsepositive.html | 15 + .../src/oldfalsepositive/gnashfalsepositive.info | 14 + .../src/oldfalsepositive/gnashfalsepositive.xml | 15 + .../orig/src/oldfalsepositive/gtk-doc.po | 42 + .../hyphen-used-as-minus-sign.diff | 102 + .../customization/ru/entities/fdl-notice.docbook | 6 + .../build-spec/orig/src/oldfalsepositive/krusader | 20 + .../orig/src/oldfalsepositive/latexhref.tex | 7 + .../orig/src/oldfalsepositive/latexhyperlink.tex | 7 + .../orig/src/oldfalsepositive/latexhyphenslash.tex | 2 + .../orig/src/oldfalsepositive/latexurl.tex | 7 + .../orig/src/oldfalsepositive/libnss-pgsql.xml | 7 + .../orig/src/oldfalsepositive/lilypond.texi | 6 + .../orig/src/oldfalsepositive/lilypond2.txt | 19 + .../orig/src/oldfalsepositive/mailutils.texi | 6 + .../orig/src/oldfalsepositive/maintain.html | 28 + .../orig/src/oldfalsepositive/maintain.texi | 13 + .../orig/src/oldfalsepositive/make-stds.texi | 7 + .../build-spec/orig/src/oldfalsepositive/normal.c | 13 + .../orig/src/oldfalsepositive/normal.texi | 6 + .../orig/src/oldfalsepositive/normalbkchem.texi | 6 + .../src/oldfalsepositive/normalhtmlcomment.html | 9 + .../orig/src/oldfalsepositive/normalmancomment.txt | 7 + .../oldfalsepositive/normalwithbreakathyphen.texi | 8 + .../build-spec/orig/src/oldfalsepositive/oidentd.8 | 9 + .../orig/src/oldfalsepositive/opentoken.txt | 5 + .../orig/src/oldfalsepositive/parsewiki.txt | 4 + .../orig/src/oldfalsepositive/partedvariant.txt | 8 + .../src/oldfalsepositive/partialtranslation.po | 15 + .../orig/src/oldfalsepositive/patch-R.diff | 7 + .../orig/src/oldfalsepositive/patch-c0.diff | 18 + .../orig/src/oldfalsepositive/patch-u.diff | 9 + .../orig/src/oldfalsepositive/patch-uR.diff | 9 + .../orig/src/oldfalsepositive/patch.diff | 7 + .../orig/src/oldfalsepositive/php-elisp.texi | 19 + .../orig/src/oldfalsepositive/pipeindent.txt | 7 + .../orig/src/oldfalsepositive/quotes.xml | 8 + .../src/oldfalsepositive/quoteswithasdefined.xml | 9 + .../orig/src/oldfalsepositive/sdlbasic.html | 11 + .../build-spec/orig/src/oldfalsepositive/smbc.texi | 9 + .../orig/src/oldfalsepositive/soundjuicer.po | 8 + .../orig/src/oldfalsepositive/texignu.texi | 6 + .../orig/src/oldfalsepositive/texlive.tex | 8 + .../orig/src/oldfalsepositive/texlivefont.tex | 6 + .../build-spec/orig/src/oldfalsepositive/tla.txt | 21 + .../build-spec/orig/src/oldfalsepositive/ulink.xml | 7 + .../orig/src/oldfalsepositive/variantdictfold.txt | 7 + .../orig/src/oldfalsepositive/zeroisnotplural.texi | 6 + .../build-spec/orig/src/oldmanpagesgfdlproblem.1 | 12 + .../checks/cruft/cruft-gfdl-invariants/eval/desc | 2 + .../checks/cruft/cruft-gfdl-invariants/eval/hints | 37 + .../cruft-minified-js/build-spec/debian/install | 1 + .../build-spec/debian/missing-sources/json.js | 529 ++ .../debian/missing-sources/subdir.js/source.js | 0 .../cruft/cruft-minified-js/build-spec/fill-values | 4 + .../build-spec/orig/deployJava/README | 1 + .../orig/deployJava/deployJava.browser.js | 19 + .../build-spec/orig/deployJava/deployJava.js | 3 + .../oldfalsepositives/-debug.js/src/test-debug.js | 1 + .../oldfalsepositives/-debug.js/src/test-min.js | 4 + .../orig/oldfalsepositives/-nc.js/test-nc.js | 1 + .../orig/oldfalsepositives/-nc.js/test-yc.js | 4 + .../build-spec/orig/oldfalsepositives/admin.js | 1 + .../orig/oldfalsepositives/css_browser_selector.js | 8 + .../oldfalsepositives/debug.js/testdebug.debug.js | 1 + .../orig/oldfalsepositives/debug.js/testdebug.js | 4 + .../oldfalsepositives/deployJava/deployJava.js | 3 + .../oldfalsepositives/deployJava/deployJava.txt | 1 + .../orig/oldfalsepositives/endoflinecomments.js | 104 + .../build-spec/orig/oldfalsepositives/jslint.js | 2 + .../orig/oldfalsepositives/longlicensetext.js | 30 + .../orig/oldfalsepositives/nested-dir/README | 1 + .../oldfalsepositives/nested-dir/dist/fake.min.js | 2 + .../orig/oldfalsepositives/nested-dir/src/fake.js | 2 + .../orig/oldfalsepositives/pandoc/search_index.js | 4 + .../scriptinhtml/falsecopyright.html | 7 + .../orig/oldfalsepositives/singlecolon.js | 3 + .../build-spec/orig/oldfalsepositives/sqlite.js | 1 + .../orig/oldfalsepositives/src.js/test.min.js | 3 + .../orig/oldfalsepositives/src.js/test.src.js | 1 + .../orig/oldfalsepositives/suffix/test-compiled.js | 2 + .../oldfalsepositives/suffix/test-compressed.js | 2 + .../orig/oldfalsepositives/suffix/test-lite.js | 2 + .../orig/oldfalsepositives/suffix/test-min.js | 2 + .../orig/oldfalsepositives/suffix/test-pack.js | 2 + .../orig/oldfalsepositives/suffix/test-packed.js | 2 + .../orig/oldfalsepositives/suffix/test-yc.js | 2 + .../oldfalsepositives/suffix/test.compressed.js | 2 + .../orig/oldfalsepositives/suffix/test.js | 1 + .../orig/oldfalsepositives/suffix/test.min.js | 2 + .../orig/oldfalsepositives/suffix/test_min.js | 2 + .../cruft/cruft-minified-js/build-spec/pre-build | 52 + t/recipes/checks/cruft/cruft-minified-js/eval/desc | 2 + .../checks/cruft/cruft-minified-js/eval/hints | 3 + .../checks/cruft/cruft-minified-js/eval/post-test | 4 + .../cruft-non-free-rfc/build-spec/debian/copyright | 25 + .../cruft-non-free-rfc/build-spec/fill-values | 3 + .../build-spec/orig/src/bcp78.txt | 3 + .../build-spec/orig/src/rfc-3492.txt | 23 + .../cruft-non-free-rfc/build-spec/orig/src/rfc.txt | 23 + .../checks/cruft/cruft-non-free-rfc/eval/desc | 2 + .../checks/cruft/cruft-non-free-rfc/eval/hints | 2 + .../cruft-non-free-utf/build-spec/fill-values | 3 + .../cruft-non-free-utf/build-spec/orig/src/bad.c | 18 + .../checks/cruft/cruft-non-free-utf/eval/desc | 2 + .../checks/cruft/cruft-non-free-utf/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/badcv.c | 12 + .../build-spec/orig/src/badcv2.c | 10 + .../build-spec/orig/src/falsepositive/allmankind.c | 12 + .../cruft/cruft-nvidia-intellectual/eval/desc | 2 + .../cruft/cruft-nvidia-intellectual/eval/hints | 2 + .../build-spec/debian/missing-sources/fake.py | 1 + .../cruft/cruft-python/build-spec/debian/pycompat | 0 .../cruft-python/build-spec/debian/pyversions | 1 + .../cruft/cruft-python/build-spec/fill-values | 4 + .../checks/cruft/cruft-python/build-spec/pre-build | 31 + t/recipes/checks/cruft/cruft-python/eval/desc | 2 + t/recipes/checks/cruft/cruft-python/eval/hints | 6 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/hello.c | 10 + .../build-spec/orig/src/sphinx-1.22/Makefile | 177 + .../sphinx-1.22/_build/doctrees/environment.pickle | Bin 0 -> 4812 bytes .../src/sphinx-1.22/_build/doctrees/index.doctree | Bin 0 -> 6751 bytes .../orig/src/sphinx-1.22/_build/html/.buildinfo | 4 + .../src/sphinx-1.22/_build/html/_sources/index.txt | 22 + .../_build/html/_static/ajax-loader.gif | Bin 0 -> 673 bytes .../src/sphinx-1.22/_build/html/_static/basic.css | 537 ++ .../_build/html/_static/comment-bright.png | Bin 0 -> 3500 bytes .../_build/html/_static/comment-close.png | Bin 0 -> 3578 bytes .../sphinx-1.22/_build/html/_static/comment.png | Bin 0 -> 3445 bytes .../sphinx-1.22/_build/html/_static/default.css | 256 + .../sphinx-1.22/_build/html/_static/doctools.js | 238 + .../_build/html/_static/down-pressed.png | Bin 0 -> 368 bytes .../src/sphinx-1.22/_build/html/_static/down.png | Bin 0 -> 363 bytes .../src/sphinx-1.22/_build/html/_static/file.png | Bin 0 -> 392 bytes .../src/sphinx-1.22/_build/html/_static/jquery.js | 9404 ++++++++++++++++++++ .../src/sphinx-1.22/_build/html/_static/minus.png | Bin 0 -> 199 bytes .../src/sphinx-1.22/_build/html/_static/plus.png | Bin 0 -> 199 bytes .../sphinx-1.22/_build/html/_static/pygments.css | 62 + .../sphinx-1.22/_build/html/_static/searchtools.js | 622 ++ .../src/sphinx-1.22/_build/html/_static/sidebar.js | 159 + .../sphinx-1.22/_build/html/_static/underscore.js | 1226 +++ .../sphinx-1.22/_build/html/_static/up-pressed.png | Bin 0 -> 372 bytes .../src/sphinx-1.22/_build/html/_static/up.png | Bin 0 -> 363 bytes .../sphinx-1.22/_build/html/_static/websupport.js | 808 ++ .../orig/src/sphinx-1.22/_build/html/genindex.html | 92 + .../orig/src/sphinx-1.22/_build/html/index.html | 109 + .../orig/src/sphinx-1.22/_build/html/objects.inv | Bin 0 -> 197 bytes .../orig/src/sphinx-1.22/_build/html/search.html | 99 + .../src/sphinx-1.22/_build/html/searchindex.js | 1 + .../build-spec/orig/src/sphinx-1.22/conf.py | 259 + .../build-spec/orig/src/sphinx-1.22/index.rst | 22 + .../build-spec/orig/src/sphinx-1.22/make.bat | 242 + .../cruft/cruft-sphinx-documentation/eval/desc | 2 + .../cruft/cruft-sphinx-documentation/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../control-file-rules-requires-root-no/eval/desc | 2 + .../control-file-rules-requires-root-no/eval/hints | 2 + .../deb-format-extra-member/build-spec/fill-values | 3 + .../build-spec/members/extra-stuff | 1 + .../deb-format-extra-member/build-spec/post-build | 5 + .../deb-format/deb-format-extra-member/eval/desc | 2 + .../deb-format/deb-format-extra-member/eval/hints | 3 + .../build-spec/deb-members | 4 + .../build-spec/fill-values | 3 + .../build-spec/members/_extra-stuff | 1 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/deb-members | 4 + .../build-spec/fill-values | 3 + .../build-spec/members/_extra-stuff | 1 + .../eval/desc | 2 + .../eval/hints | 3 + .../deb-format-lzma/build-spec/deb-members | 3 + .../deb-format-lzma/build-spec/fill-values | 3 + .../deb-format/deb-format-lzma/build-spec/tar-data | 7 + .../checks/deb-format/deb-format-lzma/eval/desc | 2 + .../checks/deb-format/deb-format-lzma/eval/hints | 4 + .../deb-format-no-compress/build-spec/deb-members | 3 + .../deb-format-no-compress/build-spec/fill-values | 4 + .../deb-format-no-compress/build-spec/tar-control | 8 + .../deb-format-no-compress/build-spec/tar-data | 7 + .../deb-format/deb-format-no-compress/eval/desc | 2 + .../deb-format/deb-format-no-compress/eval/hints | 4 + .../deb-format-record-size/build-spec/fill-values | 3 + .../deb-format-record-size/build-spec/tar-control | 8 + .../deb-format-record-size/build-spec/tar-data | 7 + .../deb-format/deb-format-record-size/eval/desc | 2 + .../deb-format/deb-format-record-size/eval/hints | 2 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 6 + .../deb-format-udeb-compression/eval/desc | 3 + .../deb-format-udeb-compression/eval/hints | 1 + .../deb-format-wrong-order/build-spec/deb-members | 3 + .../deb-format-wrong-order/build-spec/fill-values | 6 + .../deb-format/deb-format-wrong-order/eval/desc | 4 + .../deb-format/deb-format-wrong-order/eval/hints | 2 + .../debhelper-compat-old/build-spec/debian/rules | 7 + .../debhelper-compat-old/build-spec/fill-values | 3 + .../deb-format/debhelper-compat-old/eval/desc | 4 + .../deb-format/debhelper-compat-old/eval/hints | 2 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../debhelper-arch-depends/build-spec/debian/rules | 8 + .../debhelper-arch-depends/build-spec/fill-values | 5 + .../debhelper/debhelper-arch-depends/eval/desc | 3 + .../debhelper/debhelper-arch-depends/eval/hints | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 5 + .../eval/desc | 5 + .../eval/hints | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 5 + .../debhelper-autoreconf-build-depends/eval/desc | 2 + .../debhelper-autoreconf-build-depends/eval/hints | 5 + .../build-spec/debian/control.in | 80 + .../debian/debhelper-brace-problem-1.install | 1 + .../debian/debhelper-brace-problem-2.install | 1 + .../debian/debhelper-brace-problem-3.install | 1 + .../debian/debhelper-brace-problem-4.install | 1 + .../debian/debhelper-brace-problem-5.install | 1 + .../debian/debhelper-brace-problem-good.install | 5 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../debhelper/debhelper-brace-expansion/eval/desc | 3 + .../debhelper/debhelper-brace-expansion/eval/hints | 8 + .../build-spec/debian/compat | 1 + .../debhelper-compat-empty/build-spec/fill-values | 4 + .../debhelper/debhelper-compat-empty/eval/desc | 2 + .../debhelper/debhelper-compat-empty/eval/hints | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/fill-values | 6 + .../debhelper-compat-experimental/eval/desc | 5 + .../debhelper-compat-experimental/eval/hints | 4 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/source/options | 2 + .../build-spec/fill-values | 4 + .../debhelper/debhelper-compat-missing/eval/desc | 2 + .../debhelper/debhelper-compat-missing/eval/hints | 3 + .../build-spec/debian/compat | 3 + .../build-spec/fill-values | 4 + .../debhelper-compat-multiple-unrel/eval/desc | 4 + .../debhelper-compat-multiple-unrel/eval/hints | 4 + .../build-spec/debian/compat | 3 + .../build-spec/fill-values | 4 + .../debhelper/debhelper-compat-multiple/eval/desc | 2 + .../debhelper/debhelper-compat-multiple/eval/hints | 5 + .../build-spec/debian/compat.in | 1 + .../debhelper-compat-old/build-spec/debian/rules | 7 + .../debhelper-compat-old/build-spec/fill-values | 5 + .../debhelper/debhelper-compat-old/eval/desc | 4 + .../debhelper/debhelper-compat-old/eval/hints | 3 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 3 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 5 + .../build-spec/pre-build | 5 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 5 + .../build-spec/pre-build | 5 + .../debhelper-compat-virtual-relation/eval/desc | 5 + .../debhelper-compat-virtual-relation/eval/hints | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/fill-values | 4 + .../debhelper-compat-whitespace/eval/desc | 3 + .../debhelper-compat-whitespace/eval/hints | 3 + .../debhelper-compat/build-spec/fill-values | 5 + .../checks/debhelper/debhelper-compat/eval/desc | 2 + .../checks/debhelper/debhelper-compat/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../debhelper-deprecated/build-spec/debian/rules | 48 + .../debhelper-deprecated/build-spec/fill-values | 5 + .../debhelper/debhelper-deprecated/eval/desc | 2 + .../debhelper/debhelper-deprecated/eval/hints | 6 + .../build-spec/debian/rules | 37 + .../build-spec/fill-values | 4 + .../debhelper-dh-clean-k-deprecated/eval/desc | 2 + .../debhelper-dh-clean-k-deprecated/eval/hints | 5 + .../build-spec/debian/compat.in | 1 + .../debhelper-dh-compat/build-spec/debian/rules | 8 + .../debhelper-dh-compat/build-spec/fill-values | 4 + .../checks/debhelper/debhelper-dh-compat/eval/desc | 4 + .../debhelper/debhelper-dh-compat/eval/hints | 5 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 3 + .../debhelper-dh-exec/build-spec/debian/dirs | 3 + .../debhelper-dh-exec/build-spec/debian/install | 6 + .../debhelper-dh-exec/build-spec/debian/links | 2 + .../debhelper-dh-exec/build-spec/debian/manpages | 5 + .../debhelper-dh-exec/build-spec/debian/mime | 2 + .../debhelper-dh-exec/build-spec/debian/rules | 16 + .../debhelper-dh-exec/build-spec/fill-values | 4 + .../checks/debhelper/debhelper-dh-exec/eval/desc | 4 + .../checks/debhelper/debhelper-dh-exec/eval/hints | 12 + .../build-spec/debian/control.in | 31 + .../build-spec/fill-values | 4 + .../debhelper-dh-python-helpers/eval/desc | 2 + .../debhelper-dh-python-helpers/eval/hints | 5 + .../build-spec/debian/README.source | 0 .../build-spec/debian/patches/series | 0 .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 5 + .../eval/desc | 4 + .../eval/hints | 3 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 5 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/control.in | 42 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 4 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 4 + .../debhelper-dh-unnecessary-arguments/eval/desc | 2 + .../debhelper-dh-unnecessary-arguments/eval/hints | 6 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 4 + .../debhelper-dh-with-python3-unrel/eval/desc | 4 + .../debhelper-dh-with-python3-unrel/eval/hints | 3 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 5 + .../debhelper-dh-with-python3-unrel2/eval/desc | 4 + .../debhelper-dh-with-python3-unrel2/eval/hints | 3 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 3 + .../debhelper/debhelper-dh-with-python3/eval/desc | 3 + .../debhelper/debhelper-dh-with-python3/eval/hints | 4 + .../build-spec/debian/rules | 3 + .../debhelper-dh-with-quilt/build-spec/fill-values | 3 + .../debhelper/debhelper-dh-with-quilt/eval/desc | 3 + .../debhelper/debhelper-dh-with-quilt/eval/hints | 4 + .../build-spec/debian/rules | 14 + .../build-spec/fill-values | 3 + .../debhelper-excessive-overrides/eval/desc | 2 + .../debhelper-excessive-overrides/eval/hints | 5 + .../build-spec/debian/docs | 2 + .../build-spec/debian/manpages | 2 + .../build-spec/debian/rules | 6 + .../build-spec/fill-values | 3 + .../debhelper-executable-files-compat-9/eval/desc | 4 + .../debhelper-executable-files-compat-9/eval/hints | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 5 + .../build-spec/pre-build | 8 + .../debhelper/debhelper-executable-files/eval/desc | 2 + .../debhelper-executable-files/eval/hints | 7 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 4 + .../debhelper-lacks-versioned-deps/eval/desc | 2 + .../debhelper-lacks-versioned-deps/eval/hints | 4 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../debhelper/debhelper-misc-depends-fp/eval/desc | 3 + .../debhelper/debhelper-misc-depends-fp/eval/hints | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 33 + .../debhelper-no-depends/build-spec/debian/rules | 24 + .../debhelper-no-depends/build-spec/fill-values | 5 + .../debhelper/debhelper-no-depends/eval/desc | 5 + .../debhelper/debhelper-no-depends/eval/hints | 12 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 2 + .../build-spec/debian/rules | 43 + .../build-spec/fill-values | 3 + .../debhelper/debhelper-override-typos/eval/desc | 2 + .../debhelper/debhelper-override-typos/eval/hints | 19 + .../build-spec/debian/control.in | 14 + .../build-spec/debian/rules | 23 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 3 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 3 + .../build-spec/debian/postinst | 6 + .../build-spec/debian/rules | 38 + .../build-spec/fill-values | 3 + .../debhelper-script-token-unneeded/eval/desc | 3 + .../debhelper-script-token-unneeded/eval/hints | 3 + .../build-spec/debian/postinst | 6 + .../debhelper-script-token/build-spec/fill-values | 3 + .../debhelper/debhelper-script-token/eval/desc | 2 + .../debhelper/debhelper-script-token/eval/hints | 4 + .../debhelper-unused-cdbs/build-spec/fill-values | 4 + .../debhelper/debhelper-unused-cdbs/eval/desc | 2 + .../debhelper/debhelper-unused-cdbs/eval/hints | 4 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../checks/debhelper/legacy-debconf/eval/desc | 2 + .../checks/debhelper/legacy-debconf/eval/hints | 5 + .../checks/debhelper/legacy-debconf/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/compat.in | 1 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../debhelper/legacy-fields/build-spec/fill-values | 5 + t/recipes/checks/debhelper/legacy-fields/eval/desc | 2 + .../checks/debhelper/legacy-fields/eval/hints | 8 + .../checks/debhelper/legacy-fields/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../debhelper/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../debhelper/legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 t/recipes/checks/debhelper/legacy-libbaz/eval/desc | 2 + .../checks/debhelper/legacy-libbaz/eval/hints | 13 + .../checks/debhelper/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../debhelper/legacy-maintainer-scripts/eval/desc | 2 + .../debhelper/legacy-maintainer-scripts/eval/hints | 4 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../debhelper/legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../debhelper/legacy-scripts/build-spec/pre-build | 5 + .../checks/debhelper/legacy-scripts/eval/desc | 2 + .../checks/debhelper/legacy-scripts/eval/hints | 7 + .../checks/debhelper/legacy-scripts/eval/post-test | 1 + .../oeverride-typo/build-spec/debian/rules | 7 + .../oeverride-typo/build-spec/fill-values | 3 + .../checks/debhelper/oeverride-typo/eval/desc | 3 + .../checks/debhelper/oeverride-typo/eval/hints | 4 + .../build-spec/debian/rules | 13 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 6 + .../build-spec/debian/package.debhelper.log | 1 + .../build-spec/debian/package.postinst.debhelper | 1 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../temporary/debhelper-internal-files/eval/desc | 2 + .../temporary/debhelper-internal-files/eval/hints | 2 + .../build-spec/fill-values | 4 + .../build-spec/post-build.in | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../changelog-file-become-native/eval/desc | 3 + .../changelog-file-become-native/eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 3 + .../eval/hints | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../changelog-file-dch-wrong-name-native/eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../build-spec/orig/ChangeLog | 5 + .../changelog-file-dch-wrong-name/eval/desc | 2 + .../changelog-file-dch-wrong-name/eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../changelog-file-empty-entry-unrel/eval/desc | 3 + .../changelog-file-empty-entry-unrel/eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../changelog/changelog-file-empty-entry/eval/desc | 2 + .../changelog-file-empty-entry/eval/hints | 4 + .../build-spec/debian/changelog.in | 11 + .../build-spec/fill-values | 3 + .../eval/desc | 5 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 11 + .../build-spec/fill-values | 3 + .../eval/desc | 5 + .../eval/hints | 0 .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 6 + .../eval/hints | 0 .../build-spec/debian/changelog.in | 11 + .../build-spec/fill-values | 3 + .../eval/desc | 5 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 6 + .../eval/hints | 0 .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 4 + .../eval/desc | 5 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 11 + .../build-spec/fill-values | 4 + .../eval/desc | 5 + .../eval/hints | 2 + .../build-spec/debian/changelog.in | 7 + .../changelog-file-etch-nmu/build-spec/fill-values | 4 + .../changelog/changelog-file-etch-nmu/eval/desc | 5 + .../changelog/changelog-file-etch-nmu/eval/hints | 0 .../changelog-file-etch/build-spec/fill-values | 4 + .../debian/changelog/changelog-file-etch/eval/desc | 4 + .../changelog/changelog-file-etch/eval/hints | 1 + .../build-spec/debian/changelog.in | 13 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 4 + .../changelog-file-experimental/eval/desc | 2 + .../changelog-file-experimental/eval/hints | 2 + .../build-spec/debian/docs | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/changelog | 1 + .../changelog-file-extra-upstream/eval/desc | 3 + .../changelog-file-extra-upstream/eval/hints | 0 .../build-spec/debian/changelog.in | 42 + .../changelog-file-general/build-spec/debian/rules | 10 + .../changelog-file-general/build-spec/fill-values | 3 + .../changelog/changelog-file-general/eval/desc | 4 + .../changelog/changelog-file-general/eval/hints | 14 + .../changelog-file-general/eval/post-test | 1 + .../build-spec/debian/changelog.in | 8 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../changelog-file-invalid-date/eval/desc | 4 + .../changelog-file-invalid-date/eval/hints | 2 + .../build-spec/debian/changelog.in | 17 + .../build-spec/fill-values | 3 + .../changelog-file-line-too-short/eval/desc | 2 + .../changelog-file-line-too-short/eval/hints | 3 + .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../changelog-file-missing/build-spec/debian/rules | 9 + .../changelog-file-missing/build-spec/fill-values | 3 + .../changelog/changelog-file-missing/eval/desc | 2 + .../changelog/changelog-file-missing/eval/hints | 1 + .../build-spec/debian/changelog.in | 14 + .../build-spec/fill-values | 4 + .../changelog-file-new-upstream/eval/desc | 2 + .../changelog-file-new-upstream/eval/hints | 1 + .../build-spec/debian/NEWS | 7 + .../build-spec/debian/rules | 14 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/NEWS | 11 + .../build-spec/fill-values | 3 + .../changelog-file-news-general/eval/desc | 2 + .../changelog-file-news-general/eval/hints | 7 + .../build-spec/debian/NEWS | 6 + .../build-spec/fill-values | 3 + .../changelog-file-news-version/eval/desc | 2 + .../changelog-file-news-version/eval/hints | 1 + .../build-spec/debian/package-news | 6 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../changelog-file-news-wrong-name/eval/desc | 2 + .../changelog-file-news-wrong-name/eval/hints | 1 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../changelog-file-no-dch-native/eval/desc | 2 + .../changelog-file-no-dch-native/eval/hints | 1 + .../changelog-file-no-dch/build-spec/debian/rules | 13 + .../changelog-file-no-dch/build-spec/fill-values | 3 + .../build-spec/orig/ChangeLog | 5 + .../changelog/changelog-file-no-dch/eval/desc | 3 + .../changelog/changelog-file-no-dch/eval/hints | 2 + .../build-spec/debian/changelog.in | 45 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 6 + .../changelog-file-stable/build-spec/fill-values | 4 + .../changelog/changelog-file-stable/eval/desc | 5 + .../changelog/changelog-file-stable/eval/hints | 0 .../build-spec/debian/changelog.in | 12 + .../build-spec/fill-values | 5 + .../changelog-file-strange-date/eval/desc | 3 + .../changelog-file-strange-date/eval/hints | 1 + .../changelog-file-symlink/build-spec/debian/rules | 12 + .../changelog-file-symlink/build-spec/fill-values | 3 + .../changelog/changelog-file-symlink/eval/desc | 2 + .../changelog/changelog-file-symlink/eval/hints | 1 + .../build-spec/doc/changelog.in | 22 + .../changelog-file-syntax/build-spec/fill-values | 3 + .../changelog/changelog-file-syntax/eval/desc | 2 + .../changelog/changelog-file-syntax/eval/hints | 2 + .../build-spec/fill-values | 4 + .../build-spec/post-build.in | 24 + .../build-spec/private.key | 81 + .../build-spec/public.key | 41 + .../eval/desc | 3 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 13 + .../build-spec/fill-values | 5 + .../changelog/changelog-file-unreleased/eval/desc | 6 + .../changelog/changelog-file-unreleased/eval/hints | 0 .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-changelog.html | 8 + .../changelog-file-upstream-html-only/eval/desc | 2 + .../changelog-file-upstream-html-only/eval/hints | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-changelog | 1 + .../changelog-file-wrong-name-upstream/eval/desc | 2 + .../changelog-file-wrong-name-upstream/eval/hints | 1 + .../build-spec/debian/changelog.in | 10 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../changelog-file-wrong-weekday/eval/desc | 4 + .../changelog-file-wrong-weekday/eval/hints | 1 + .../profiles/lintian-test/main.profile | 2 + .../main/data/standards-version/ancient-date | 7 + .../changelog-version-bzr/build-spec/fill-values | 4 + .../changelog/changelog-version-bzr/eval/desc | 4 + .../changelog/changelog-version-bzr/eval/hints | 0 .../build-spec/fill-values | 4 + .../changelog-version-non-native-simple/eval/desc | 4 + .../changelog-version-non-native-simple/eval/hints | 0 .../build-spec/fill-values | 4 + .../changelog-version-special-chars/eval/desc | 4 + .../changelog-version-special-chars/eval/hints | 3 + .../build-spec/fill-values | 5 + .../changelog/cruft-native-dash-version/eval/desc | 4 + .../changelog/cruft-native-dash-version/eval/hints | 1 + .../build-spec/debian/changelog.in | 8 + .../date-based-version/build-spec/fill-values | 4 + .../debian/changelog/date-based-version/eval/desc | 4 + .../debian/changelog/date-based-version/eval/hints | 1 + .../fields-version-bad-rc/build-spec/fill-values | 4 + .../changelog/fields-version-bad-rc/eval/desc | 3 + .../changelog/fields-version-bad-rc/eval/hints | 1 + .../build-spec/debian/changelog.in | 7 + .../fields-version-bad/build-spec/debian/rules | 7 + .../fields-version-bad/build-spec/fill-values | 4 + .../debian/changelog/fields-version-bad/eval/desc | 3 + .../debian/changelog/fields-version-bad/eval/hints | 1 + .../build-spec/fill-values | 4 + .../changelog/fields-version-dfsg-native/eval/desc | 3 + .../fields-version-dfsg-native/eval/hints | 1 + .../fields-version-dot-dfsg/build-spec/fill-values | 4 + .../changelog/fields-version-dot-dfsg/eval/desc | 3 + .../changelog/fields-version-dot-dfsg/eval/hints | 1 + .../fields-version-dsfg/build-spec/fill-values | 4 + .../debian/changelog/fields-version-dsfg/eval/desc | 3 + .../changelog/fields-version-dsfg/eval/hints | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../changelog/generic-dh-make-2008/eval/desc | 4 + .../changelog/generic-dh-make-2008/eval/hints | 3 + .../changelog/generic-dh-make-2008/eval/post-test | 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 + .../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 + .../changelog/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../changelog/legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../debian/changelog/legacy-binary/eval/desc | 2 + .../debian/changelog/legacy-binary/eval/hints | 9 + .../debian/changelog/legacy-binary/eval/post-test | 3 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../debian/changelog/legacy-etcfiles/eval/desc | 2 + .../debian/changelog/legacy-etcfiles/eval/hints | 1 + .../changelog/legacy-etcfiles/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../changelog/legacy-fields/build-spec/fill-values | 5 + .../debian/changelog/legacy-fields/eval/desc | 2 + .../debian/changelog/legacy-fields/eval/hints | 2 + .../debian/changelog/legacy-fields/eval/post-test | 1 + .../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 + .../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 + .../debian/changelog/legacy-filenames/eval/desc | 3 + .../debian/changelog/legacy-filenames/eval/hints | 4 + .../changelog/legacy-filenames/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../changelog/legacy-foo++/build-spec/debian/rules | 36 + .../changelog/legacy-foo++/build-spec/debian/watch | 6 + .../changelog/legacy-foo++/build-spec/fill-values | 5 + .../checks/debian/changelog/legacy-foo++/eval/desc | 2 + .../debian/changelog/legacy-foo++/eval/hints | 4 + .../debian/changelog/legacy-foo++/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../changelog/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../changelog/legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../debian/changelog/legacy-libbaz/eval/desc | 2 + .../debian/changelog/legacy-libbaz/eval/hints | 9 + .../debian/changelog/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../changelog/legacy-maintainer-scripts/eval/desc | 2 + .../changelog/legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../debian/changelog/legacy-relations/eval/desc | 2 + .../debian/changelog/legacy-relations/eval/hints | 1 + .../changelog/legacy-relations/eval/post-test | 1 + .../build-spec/fill-values | 5 + .../missing-explicit-entry-fp-unrel/eval/desc | 5 + .../missing-explicit-entry-fp-unrel/eval/hints | 0 .../build-spec/fill-values | 5 + .../changelog/missing-explicit-entry-fp/eval/desc | 4 + .../changelog/missing-explicit-entry-fp/eval/hints | 1 + .../build-spec/debian/changelog.in | 9 + .../nmu-local-changelog/build-spec/fill-values | 3 + .../debian/changelog/nmu-local-changelog/eval/desc | 4 + .../changelog/nmu-local-changelog/eval/hints | 0 .../build-spec/debian/changelog.in | 8 + .../nmu-local-version/build-spec/fill-values | 4 + .../debian/changelog/nmu-local-version/eval/desc | 4 + .../debian/changelog/nmu-local-version/eval/hints | 0 .../build-spec/debian/changelog.in | 7 + .../build-spec/fill-values | 4 + .../changelog/nmu-new-upstream-version/eval/desc | 4 + .../changelog/nmu-new-upstream-version/eval/hints | 1 + .../nmu-team-upload/build-spec/debian/changelog.in | 9 + .../nmu-team-upload/build-spec/fill-values | 4 + .../debian/changelog/nmu-team-upload/eval/desc | 3 + .../debian/changelog/nmu-team-upload/eval/hints | 1 + .../package-version-0/build-spec/fill-values | 4 + .../debian/changelog/package-version-0/eval/desc | 4 + .../debian/changelog/package-version-0/eval/hints | 1 + .../build-spec/fill-values | 4 + .../build-spec/post-build.in | 5 + .../sid-and-unstable-match-in-changes/eval/desc | 4 + .../sid-and-unstable-match-in-changes/eval/hints | 0 .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/series | 3 + .../build-spec/debian/patches/spelling | 6 + .../spelling-general/build-spec/fill-values | 4 + .../debian/changelog/spelling-general/eval/desc | 2 + .../debian/changelog/spelling-general/eval/hints | 1 + .../build-spec/fill-values | 4 + .../two-dashes-in-non-native-version/eval/desc | 3 + .../two-dashes-in-non-native-version/eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../field/adopted/control-file-general/eval/desc | 11 + .../field/adopted/control-file-general/eval/hints | 1 + .../control-file-golang-xs-go-import-path.install | 1 + .../build-spec/debian/control.in | 42 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 12 + .../eval/desc | 3 + .../eval/hint | 0 .../eval/hints | 0 .../build-spec/debian/control.in | 19 + .../control-file-pedantic/build-spec/fill-values | 3 + .../field/adopted/control-file-pedantic/eval/desc | 2 + .../field/adopted/control-file-pedantic/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../eval/desc | 3 + .../eval/hints | 0 .../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 + .../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 + .../adopted/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../adopted/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../adopted/legacy-binary/build-spec/fill-values | 5 + .../adopted/legacy-binary/build-spec/orig/INSTALL | 176 + .../adopted/legacy-binary/build-spec/orig/Makefile | 12 + .../adopted/legacy-binary/build-spec/orig/hello.c | 8 + .../control/field/adopted/legacy-binary/eval/desc | 2 + .../control/field/adopted/legacy-binary/eval/hints | 2 + .../field/adopted/legacy-binary/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../adopted/legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../adopted/legacy-foo++/build-spec/debian/rules | 36 + .../adopted/legacy-foo++/build-spec/debian/watch | 6 + .../adopted/legacy-foo++/build-spec/fill-values | 5 + .../control/field/adopted/legacy-foo++/eval/desc | 2 + .../control/field/adopted/legacy-foo++/eval/hints | 1 + .../field/adopted/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/tests/control | 1 + .../build-spec/debian/tests/test-1 | 2 + .../testsuite-unknown-suite/build-spec/fill-values | 3 + .../adopted/testsuite-unknown-suite/eval/desc | 2 + .../adopted/testsuite-unknown-suite/eval/hints | 1 + .../build-spec/debian/control.in | 43 + .../build-spec/fill-values | 3 + .../control-file-important-space/eval/desc | 2 + .../control-file-important-space/eval/hints | 1 + .../build-spec/debian/control.in | 33 + .../build-spec/fill-values | 3 + .../fields-build-profiles-general/eval/desc | 5 + .../fields-build-profiles-general/eval/hints | 2 + .../debian/control-file-golang-built-using.install | 1 + .../build-spec/debian/control.in | 41 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 12 + .../control-file-golang-built-using/eval/desc | 2 + .../control-file-golang-built-using/eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../duplicate/control-file-general/eval/desc | 11 + .../duplicate/control-file-general/eval/hints | 2 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../doubled-up/control-file-general/eval/desc | 11 + .../doubled-up/control-file-general/eval/hints | 3 + .../build-spec/debian/control.in | 26 + .../control-has-empty-field/build-spec/fill-values | 3 + .../field/empty/control-has-empty-field/eval/desc | 2 + .../field/empty/control-has-empty-field/eval/hints | 4 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../field/misplaced/control-file-general/eval/desc | 11 + .../misplaced/control-file-general/eval/hints | 1 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../misplaced/legacy-foo++/build-spec/debian/rules | 36 + .../misplaced/legacy-foo++/build-spec/debian/watch | 6 + .../misplaced/legacy-foo++/build-spec/fill-values | 5 + .../control/field/misplaced/legacy-foo++/eval/desc | 2 + .../field/misplaced/legacy-foo++/eval/hints | 1 + .../field/misplaced/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../field/redundant/control-file-general/eval/desc | 11 + .../redundant/control-file-general/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 + .../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 + .../redundant/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../redundant/legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../field/redundant/legacy-binary/eval/desc | 2 + .../field/redundant/legacy-binary/eval/hints | 1 + .../field/redundant/legacy-binary/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../redundant/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../redundant/legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../field/redundant/legacy-libbaz/eval/desc | 2 + .../field/redundant/legacy-libbaz/eval/hints | 1 + .../field/redundant/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 22 + .../control-file-duplicate/build-spec/fill-values | 5 + .../relation/control-file-duplicate/eval/desc | 2 + .../relation/control-file-duplicate/eval/hints | 5 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../field/relation/control-file-general/eval/desc | 11 + .../field/relation/control-file-general/eval/hints | 3 + .../build-spec/debian/control.in | 30 + .../build-spec/fill-values | 4 + .../control-file-missing-separator/eval/desc | 2 + .../control-file-missing-separator/eval/hints | 2 + .../build-spec/debian/control.in | 30 + .../build-spec/fill-values | 4 + .../control-file-missing-separator/eval/desc | 2 + .../control-file-missing-separator/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../control-file-rules-requires-root-no/eval/desc | 2 + .../control-file-rules-requires-root-no/eval/hints | 1 + .../control-file-symlink/build-spec/fill-values | 3 + .../control-file-symlink/build-spec/pre-build | 6 + .../control-file-symlink/eval/desc | 2 + .../control-file-symlink/eval/hints | 1 + .../build-spec/debian/control.in | 19 + .../fields-unknown-fields/build-spec/fill-values | 3 + .../fields-unknown-fields/eval/desc | 2 + .../fields-unknown-fields/eval/hints | 2 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../rules-requires-root/legacy-relations/eval/desc | 2 + .../legacy-relations/eval/hints | 1 + .../legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../rules-requires-root-missing/eval/desc | 2 + .../rules-requires-root-missing/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 4 + .../section/no-section-in-source-stanza/eval/desc | 2 + .../section/no-section-in-source-stanza/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../spacing/control-file-pedantic-space/eval/desc | 2 + .../spacing/control-file-pedantic-space/eval/hints | 3 + .../control-file-symlink/build-spec/fill-values | 3 + .../link/control-file-symlink/build-spec/pre-build | 6 + .../control/link/control-file-symlink/eval/desc | 2 + .../control/link/control-file-symlink/eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../circular/control-file-general/eval/desc | 11 + .../circular/control-file-general/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../control-file-suggests-itself/eval/desc | 2 + .../control-file-suggests-itself/eval/hints | 1 + .../build-spec/debian/control.in | 81 + .../build-spec/debian/install | 1 + .../fields-depends-general/build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../circular/fields-depends-general/eval/desc | 2 + .../circular/fields-depends-general/eval/hints | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../circular/legacy-relations/eval/desc | 2 + .../circular/legacy-relations/eval/hints | 2 + .../circular/legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 115 + .../build-spec/fill-values | 3 + .../development/control-file-library-dev/eval/desc | 2 + .../control-file-library-dev/eval/hints | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../development/legacy-libbaz/eval/desc | 2 + .../development/legacy-libbaz/eval/hints | 2 + .../development/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../redundant/control-file-general/eval/desc | 11 + .../redundant/control-file-general/eval/hints | 4 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../redundant/legacy-relations/eval/desc | 2 + .../redundant/legacy-relations/eval/hints | 5 + .../redundant/legacy-relations/eval/post-test | 1 + .../build-spec/debian/copyright | 23 + ...ng-notice-file-for-apache-license-unrel.install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/NOTICE | 1 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/copyright | 23 + .../build-spec/fill-values | 3 + .../build-spec/orig/NOTICE | 1 + .../build-spec/orig/NOTICE.txt | 1 + .../build-spec/orig/subdir/NOTICE | 1 + .../build-spec/orig/unrel/NOTICE | 1 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/control.in | 39 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 3 + .../copyright/copyright-file-doc-symlink/eval/desc | 3 + .../copyright-file-doc-symlink/eval/hints | 0 .../build-spec/DEBIAN/control.in | 12 + .../build-spec/control-members | 1 + .../build-spec/fill-values | 3 + .../build-spec/pre-control | 7 + .../build-spec/pre-data | 13 + .../copyright-file-foreign-package/eval/desc | 2 + .../copyright-file-foreign-package/eval/hints | 1 + .../build-spec/debian/control.in | 243 + .../build-spec/debian/copyright-crln.copyright | 36 + .../debian/copyright-full-agpl-3.copyright | 661 ++ .../debian/copyright-full-apache-2.copyright | 202 + .../debian/copyright-full-gfdl.copyright | 397 + .../debian/copyright-full-gpl-1.copyright | 206 + .../debian/copyright-full-gpl-2.copyright | 344 + .../build-spec/debian/copyright-full-gpl.copyright | 674 ++ .../debian/copyright-full-lgpl.copyright | 171 + .../debian/copyright-iso-8859-1.copyright | 3 + .../debian/copyright-misc-errors.copyright | 22 + ...right-missing-apache2-license-pointer.copyright | 25 + ...opyright-missing-perl-license-pointer.copyright | 5 + .../debian/copyright-no-errors.copyright | 36 + .../build-spec/debian/copyright-old-fsf.copyright | 19 + .../build-spec/debian/copyright-php.copyright | 151 + .../copyright-poor-common-licenses.copyright | 24 + .../debian/copyright-versionless.copyright | 2 + .../build-spec/debian/copyright-w3c.copyright | 95 + .../copyright-file-general/build-spec/debian/rules | 14 + .../copyright-file-general/build-spec/fill-values | 3 + .../copyright/copyright-file-general/eval/desc | 2 + .../copyright/copyright-file-general/eval/hints | 28 + .../build-spec/debian/control.in | 28 + .../copyright-file-license-symlink-bad.copyright | 20 + ...pyright-file-license-symlink-pedantic.copyright | 21 + .../build-spec/fill-values | 3 + .../copyright-file-license-symlink/eval/desc | 2 + .../copyright-file-license-symlink/eval/hints | 2 + .../build-spec/debian/control.in | 95 + .../debian/copyright-mentions-apache.copyright | 13 + .../debian/copyright-mentions-apache2.copyright | 13 + .../debian/copyright-mentions-apache3.copyright | 13 + .../debian/copyright-mentions-gfdl.copyright | 13 + .../debian/copyright-mentions-gpl.copyright | 14 + .../debian/copyright-mentions-lgpl.copyright | 13 + .../debian/copyright-mentions-lgpl2.copyright | 13 + .../debian/copyright-mentions-perl.copyright | 13 + .../build-spec/fill-values | 3 + .../copyright-file-non-common-license/eval/desc | 8 + .../copyright-file-non-common-license/eval/hints | 0 .../build-spec/debian/control.in | 40 + .../copyright-file-symlink/build-spec/debian/rules | 22 + .../copyright-file-symlink/build-spec/fill-values | 3 + .../copyright/copyright-file-symlink/eval/desc | 2 + .../copyright/copyright-file-symlink/eval/hints | 3 + .../debian/appstream-metadata-invalid.metadata.xml | 1 + .../appstream-metadata-obsolete.metadata.xml | 2 + .../build-spec/debian/appstream-metadata.desktop | 8 + .../build-spec/debian/appstream-metadata.dirs | 2 + .../debian/appstream-metadata.metadata.xml | 22 + .../build-spec/debian/appstream-metadata.udev | 14 + .../appstream-metadata/build-spec/debian/rules | 15 + .../dep5/appstream-metadata/build-spec/fill-values | 3 + .../copyright/dep5/appstream-metadata/eval/desc | 2 + .../copyright/dep5/appstream-metadata/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/fill-values | 6 + .../build-spec/pre-build | 18 + .../eval/desc | 3 + .../eval/hints | 3 + .../build-spec/debian/copyright | 21 + .../conjunction-vs-alone/build-spec/fill-values | 3 + .../copyright/dep5/conjunction-vs-alone/eval/desc | 5 + .../copyright/dep5/conjunction-vs-alone/eval/hints | 1 + .../build-spec/debian/control.in | 243 + .../build-spec/debian/copyright-crln.copyright | 36 + .../debian/copyright-full-agpl-3.copyright | 661 ++ .../debian/copyright-full-apache-2.copyright | 202 + .../debian/copyright-full-gfdl.copyright | 397 + .../debian/copyright-full-gpl-1.copyright | 206 + .../debian/copyright-full-gpl-2.copyright | 344 + .../build-spec/debian/copyright-full-gpl.copyright | 674 ++ .../debian/copyright-full-lgpl.copyright | 171 + .../debian/copyright-iso-8859-1.copyright | 3 + .../debian/copyright-misc-errors.copyright | 22 + ...right-missing-apache2-license-pointer.copyright | 25 + ...opyright-missing-perl-license-pointer.copyright | 5 + .../debian/copyright-no-errors.copyright | 36 + .../build-spec/debian/copyright-old-fsf.copyright | 19 + .../build-spec/debian/copyright-php.copyright | 151 + .../copyright-poor-common-licenses.copyright | 24 + .../debian/copyright-versionless.copyright | 2 + .../build-spec/debian/copyright-w3c.copyright | 95 + .../copyright-file-general/build-spec/debian/rules | 14 + .../copyright-file-general/build-spec/fill-values | 3 + .../dep5/copyright-file-general/eval/desc | 2 + .../dep5/copyright-file-general/eval/hints | 16 + .../build-spec/debian/control.in | 28 + .../copyright-file-license-symlink-bad.copyright | 20 + ...pyright-file-license-symlink-pedantic.copyright | 21 + .../build-spec/fill-values | 3 + .../dep5/copyright-file-license-symlink/eval/desc | 2 + .../dep5/copyright-file-license-symlink/eval/hints | 2 + .../cruft-gfdl-invariants/build-spec/fill-values | 3 + .../build-spec/orig/src/autoconf.texi | 12 + .../build-spec/orig/src/dvipdfmx.tex | 6 + .../build-spec/orig/src/empty.texi | 5 + .../build-spec/orig/src/emptybis.texi | 7 + .../build-spec/orig/src/false-positive.rtf | 125 + .../build-spec/orig/src/frontback.html | 56 + .../build-spec/orig/src/frontback.texi | 7 + .../build-spec/orig/src/invariant.txt | 7 + .../orig/src/oldfalsepositive/appendix.txt | 25 + .../orig/src/oldfalsepositive/badpunctuation.txt | 8 + .../orig/src/oldfalsepositive/cflow.texi | 12 + .../orig/src/oldfalsepositive/citetitle.po | 16 + .../build-spec/orig/src/oldfalsepositive/clisp.txt | 9 + .../build-spec/orig/src/oldfalsepositive/clisp.xml | 6 + .../orig/src/oldfalsepositive/comments.po | 9 + .../src/oldfalsepositive/diveintopythonok.html | 12 + .../oldfalsepositive/findsutilsokinlinenewline.c | 15 + .../orig/src/oldfalsepositive/findutilsok.c | 15 + .../orig/src/oldfalsepositive/fonts.html | 9 + .../orig/src/oldfalsepositive/fontsMX.html | 1 + .../src/oldfalsepositive/gfdllicenseexample.html | 13 + .../src/oldfalsepositive/gfdllicenseexample.texi | 13 + .../oldfalsepositive/gfdllicenseexamplesbr.html | 13 + .../orig/src/oldfalsepositive/gfdltexcomments.tex | 7 + .../src/oldfalsepositive/gnashfalsepositive.html | 15 + .../src/oldfalsepositive/gnashfalsepositive.info | 14 + .../src/oldfalsepositive/gnashfalsepositive.xml | 15 + .../orig/src/oldfalsepositive/gtk-doc.po | 42 + .../hyphen-used-as-minus-sign.diff | 102 + .../customization/ru/entities/fdl-notice.docbook | 6 + .../build-spec/orig/src/oldfalsepositive/krusader | 20 + .../orig/src/oldfalsepositive/latexhref.tex | 7 + .../orig/src/oldfalsepositive/latexhyperlink.tex | 7 + .../orig/src/oldfalsepositive/latexhyphenslash.tex | 2 + .../orig/src/oldfalsepositive/latexurl.tex | 7 + .../orig/src/oldfalsepositive/libnss-pgsql.xml | 7 + .../orig/src/oldfalsepositive/lilypond.texi | 6 + .../orig/src/oldfalsepositive/lilypond2.txt | 19 + .../orig/src/oldfalsepositive/mailutils.texi | 6 + .../orig/src/oldfalsepositive/maintain.html | 28 + .../orig/src/oldfalsepositive/maintain.texi | 13 + .../orig/src/oldfalsepositive/make-stds.texi | 7 + .../build-spec/orig/src/oldfalsepositive/normal.c | 13 + .../orig/src/oldfalsepositive/normal.texi | 6 + .../orig/src/oldfalsepositive/normalbkchem.texi | 6 + .../src/oldfalsepositive/normalhtmlcomment.html | 9 + .../orig/src/oldfalsepositive/normalmancomment.txt | 7 + .../oldfalsepositive/normalwithbreakathyphen.texi | 8 + .../build-spec/orig/src/oldfalsepositive/oidentd.8 | 9 + .../orig/src/oldfalsepositive/opentoken.txt | 5 + .../orig/src/oldfalsepositive/parsewiki.txt | 4 + .../orig/src/oldfalsepositive/partedvariant.txt | 8 + .../src/oldfalsepositive/partialtranslation.po | 15 + .../orig/src/oldfalsepositive/patch-R.diff | 7 + .../orig/src/oldfalsepositive/patch-c0.diff | 18 + .../orig/src/oldfalsepositive/patch-u.diff | 9 + .../orig/src/oldfalsepositive/patch-uR.diff | 9 + .../orig/src/oldfalsepositive/patch.diff | 7 + .../orig/src/oldfalsepositive/php-elisp.texi | 19 + .../orig/src/oldfalsepositive/pipeindent.txt | 7 + .../orig/src/oldfalsepositive/quotes.xml | 8 + .../src/oldfalsepositive/quoteswithasdefined.xml | 9 + .../orig/src/oldfalsepositive/sdlbasic.html | 11 + .../build-spec/orig/src/oldfalsepositive/smbc.texi | 9 + .../orig/src/oldfalsepositive/soundjuicer.po | 8 + .../orig/src/oldfalsepositive/texignu.texi | 6 + .../orig/src/oldfalsepositive/texlive.tex | 8 + .../orig/src/oldfalsepositive/texlivefont.tex | 6 + .../build-spec/orig/src/oldfalsepositive/tla.txt | 21 + .../build-spec/orig/src/oldfalsepositive/ulink.xml | 7 + .../orig/src/oldfalsepositive/variantdictfold.txt | 7 + .../orig/src/oldfalsepositive/zeroisnotplural.texi | 6 + .../build-spec/orig/src/oldmanpagesgfdlproblem.1 | 12 + .../copyright/dep5/cruft-gfdl-invariants/eval/desc | 3 + .../dep5/cruft-gfdl-invariants/eval/hints | 1 + .../build-spec/debian/copyright | 30 + .../build-spec/fill-values | 4 + .../build-spec/orig/some-file | 1 + .../dep5/excluded-files-in-native/eval/desc | 2 + .../dep5/excluded-files-in-native/eval/hints | 1 + .../build-spec/debian/copyright | 13 + .../file-does-not-exist/build-spec/fill-values | 3 + .../copyright/dep5/file-does-not-exist/eval/desc | 3 + .../copyright/dep5/file-does-not-exist/eval/hints | 1 + .../build-spec/debian/copyright | 21 + .../build-spec/fill-values | 3 + .../dep5/files-included-covers-none/eval/desc | 2 + .../dep5/files-included-covers-none/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 + .../dep5/legacy-binary/build-spec/debian/conffiles | 1 + .../dep5/legacy-binary/build-spec/debian/control | 42 + .../dep5/legacy-binary/build-spec/debian/copyright | 15 + .../dep5/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../dep5/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../dep5/legacy-binary/build-spec/debian/postinst | 6 + .../dep5/legacy-binary/build-spec/debian/rules | 92 + .../dep5/legacy-binary/build-spec/debian/templates | 16 + .../dep5/legacy-binary/build-spec/fill-values | 5 + .../dep5/legacy-binary/build-spec/orig/INSTALL | 176 + .../dep5/legacy-binary/build-spec/orig/Makefile | 12 + .../dep5/legacy-binary/build-spec/orig/hello.c | 8 + .../debian/copyright/dep5/legacy-binary/eval/desc | 2 + .../debian/copyright/dep5/legacy-binary/eval/hints | 1 + .../copyright/dep5/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../dep5/legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../dep5/legacy-debconf/build-spec/debian/po/de.po | 66 + .../dep5/legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../dep5/legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../dep5/legacy-debconf/build-spec/debian/rules | 64 + .../dep5/legacy-debconf/build-spec/fill-values | 6 + .../debian/copyright/dep5/legacy-debconf/eval/desc | 2 + .../copyright/dep5/legacy-debconf/eval/hints | 1 + .../copyright/dep5/legacy-debconf/eval/post-test | 1 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../dep5/legacy-foo++/build-spec/debian/control | 30 + .../dep5/legacy-foo++/build-spec/debian/copyright | 7 + .../dep5/legacy-foo++/build-spec/debian/rules | 36 + .../dep5/legacy-foo++/build-spec/debian/watch | 6 + .../dep5/legacy-foo++/build-spec/fill-values | 5 + .../debian/copyright/dep5/legacy-foo++/eval/desc | 2 + .../debian/copyright/dep5/legacy-foo++/eval/hints | 1 + .../copyright/dep5/legacy-foo++/eval/post-test | 1 + .../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 + .../dep5/legacy-scripts/build-spec/debian/postinst | 14 + .../dep5/legacy-scripts/build-spec/debian/postrm | 9 + .../dep5/legacy-scripts/build-spec/debian/preinst | 15 + .../dep5/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../dep5/legacy-scripts/build-spec/debian/watch | 8 + .../dep5/legacy-scripts/build-spec/fill-values | 6 + .../dep5/legacy-scripts/build-spec/orig/csh-foo | 2 + .../dep5/legacy-scripts/build-spec/orig/envfoo | 4 + .../dep5/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 + .../dep5/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../dep5/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 + .../dep5/legacy-scripts/build-spec/orig/perlfoo | 3 + .../dep5/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../dep5/legacy-scripts/build-spec/orig/phpfoo | 7 + .../dep5/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../dep5/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../dep5/legacy-scripts/build-spec/orig/tkfoo | 31 + .../dep5/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../dep5/legacy-scripts/build-spec/pre-build | 5 + .../debian/copyright/dep5/legacy-scripts/eval/desc | 2 + .../copyright/dep5/legacy-scripts/eval/hints | 1 + .../copyright/dep5/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/copyright | 38 + .../build-spec/fill-values | 3 + .../build-spec/orig/COPYING | 1 + .../eval/desc | 2 + .../eval/hints | 2 + .../eval/post-test | 1 + .../build-spec/debian/copyright | 21 + .../lone-files-included/build-spec/fill-values | 3 + .../lone-files-included/build-spec/orig/.matches | 0 .../build-spec/orig/include-this | 0 .../copyright/dep5/lone-files-included/eval/desc | 2 + .../copyright/dep5/lone-files-included/eval/hints | 1 + .../build-spec/debian/copyright | 34 + .../build-spec/debian/patches/remove-file.patch | 10 + .../build-spec/debian/patches/series | 1 + .../patch-empties-directory/build-spec/fill-values | 3 + .../build-spec/orig/will-be-empty/removed-by-patch | 1 + .../dep5/patch-empties-directory/eval/desc | 5 + .../dep5/patch-empties-directory/eval/hints | 1 + .../redundant-wildcard/build-spec/debian/copyright | 11 + .../build-spec/debian/patches/a.patch | 1 + .../dep5/redundant-wildcard/build-spec/fill-values | 3 + .../dep5/redundant-wildcard/build-spec/orig/a-file | 1 + .../copyright/dep5/redundant-wildcard/eval/desc | 3 + .../copyright/dep5/redundant-wildcard/eval/hints | 2 + .../dep5/redundant-wildcard/eval/post-test | 1 + .../build-spec/debian/copyright | 23 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/copyright | 47 + .../build-spec/fill-values | 3 + .../build-spec/orig/figtoipe/a-file | 1 + .../build-spec/orig/ipe5toxml/a-file | 1 + .../build-spec/orig/pdftoipe/a-file | 1 + .../build-spec/orig/svgtoipe/a-file | 1 + .../dep5/reuse-identifier-in-files/eval/desc | 5 + .../dep5/reuse-identifier-in-files/eval/hints | 1 + .../dep5/reuse-identifier-in-files/eval/post-test | 1 + .../reused-wildcard/build-spec/debian/copyright | 19 + .../dep5/reused-wildcard/build-spec/fill-values | 3 + .../dep5/reused-wildcard/build-spec/orig/a-file | 1 + .../copyright/dep5/reused-wildcard/eval/desc | 3 + .../copyright/dep5/reused-wildcard/eval/hints | 2 + .../copyright/dep5/reused-wildcard/eval/post-test | 1 + .../build-spec/debian/copyright | 20 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../build-spec/orig/space | 1 + .../dep5/source-copyright-bad-short-name/eval/desc | 2 + .../source-copyright-bad-short-name/eval/hints | 4 + .../source-copyright-bad-short-name/eval/post-test | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../source-copyright-boilerplate-uri/eval/desc | 2 + .../source-copyright-boilerplate-uri/eval/hints | 1 + .../build-spec/debian/copyright | 113 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-dep5-general/eval/desc | 4 + .../dep5/source-copyright-dep5-general/eval/hints | 14 + .../source-copyright-dep5-general/eval/post-test | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../source-copyright-dep5-syntax-error/eval/desc | 2 + .../source-copyright-dep5-syntax-error/eval/hints | 1 + .../build-spec/debian/copyright | 97 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-empty-field/eval/desc | 2 + .../dep5/source-copyright-empty-field/eval/hints | 12 + .../source-copyright-empty-field/eval/post-test | 1 + .../build-spec/debian/copyright | 19 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/copyright | 28 + .../build-spec/fill-values | 3 + .../build-spec/orig/filea | 0 .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/copyright | 81 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 11 + .../eval/post-test | 4 + .../build-spec/debian/copyright | 379 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 5 + .../eval/post-test | 3 + .../build-spec/debian/copyright | 79 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 11 + .../eval/post-test | 4 + .../build-spec/debian/copyright | 16 + .../build-spec/fill-values | 2 + .../build-spec/orig/bad.xml | 18 + .../build-spec/orig/good.xml | 18 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/copyright | 23 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-insecure-uri/eval/desc | 2 + .../dep5/source-copyright-insecure-uri/eval/hints | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/copyright | 23 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/copyright | 24 + .../build-spec/fill-values | 4 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/copyright | 23 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/copyright | 21 + .../source-copyright-nodep5/build-spec/fill-values | 3 + .../dep5/source-copyright-nodep5/eval/desc | 2 + .../dep5/source-copyright-nodep5/eval/hints | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-ood-uri/eval/desc | 2 + .../dep5/source-copyright-ood-uri/eval/hints | 1 + .../build-spec/debian/copyright | 16 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../dep5/source-copyright-pipe-as-or/eval/desc | 2 + .../dep5/source-copyright-pipe-as-or/eval/hints | 5 + .../source-copyright-pipe-as-or/eval/post-test | 1 + .../build-spec/debian/copyright | 29 + .../debian/patches/0001-recreate-file.diff | 6 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/.matches | 0 .../build-spec/orig/exclude-dir-2/filename | 0 .../build-spec/orig/exclude-dir/filename | 0 .../build-spec/orig/exclude-dir/filename-2 | 0 .../build-spec/orig/exclude-this | 0 .../build-spec/orig/foolib/false-positive | 0 .../eval/desc | 4 + .../eval/hints | 5 + .../build-spec/debian/copyright | 56 + .../build-spec/debian/plus+file | 0 .../build-spec/fill-values | 3 + .../dep5/source-copyright-undefined/eval/desc | 2 + .../dep5/source-copyright-undefined/eval/hints | 19 + .../dep5/source-copyright-undefined/eval/post-test | 1 + .../build-spec/debian/copyright | 36 + .../source-copyright-unique/build-spec/fill-values | 3 + .../source-copyright-unique/build-spec/orig/NEWS | 1 + .../source-copyright-unique/build-spec/orig/README | 1 + .../source-copyright-unique/build-spec/orig/code | 1 + .../source-copyright-unique/build-spec/orig/code2 | 1 + .../dep5/source-copyright-unique/eval/desc | 2 + .../dep5/source-copyright-unique/eval/hints | 6 + .../dep5/source-copyright-unique/eval/post-test | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-unknown-uri/eval/desc | 2 + .../dep5/source-copyright-unknown-uri/eval/hints | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../source-copyright-unversioned-uri/eval/desc | 2 + .../source-copyright-unversioned-uri/eval/hints | 1 + .../build-spec/debian/copyright | 22 + .../build-spec/fill-values | 3 + .../dep5/source-copyright-wiki-uri/eval/desc | 2 + .../dep5/source-copyright-wiki-uri/eval/hints | 1 + .../build-spec/debian/copyright | 43 + .../build-spec/fill-values | 3 + .../build-spec/orig/COPYING | 1 + .../build-spec/orig/COPYING.CC-BY-SA-3.0 | 1 + .../build-spec/orig/LICENSE | 1 + .../build-spec/orig/file,with,commas | 0 .../orig/i-have-no-copyright-information | 0 .../01-file-with-(something-in-parenthesis).png | 0 ...s-only-one-{-which-causes-a-compile-failure.png | 0 .../orig/rare-filenames/03-even-]-is-not-safe.png | 0 .../04-Perhaps-even-|-will-cause-problems.png | 0 .../05-Lets-not-forget-^-and-$-for-added-fun.png | 0 .../source-copyright-wildcard-matching/eval/desc | 2 + .../source-copyright-wildcard-matching/eval/hints | 7 + .../eval/post-test | 1 + .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/series | 3 + .../build-spec/debian/patches/spelling | 6 + .../dep5/spelling-general/build-spec/fill-values | 4 + .../copyright/dep5/spelling-general/eval/desc | 2 + .../copyright/dep5/spelling-general/eval/hints | 1 + .../build-spec/debian/copyright | 35 + .../tab-in-license-text/build-spec/fill-values | 3 + .../copyright/dep5/tab-in-license-text/eval/desc | 2 + .../copyright/dep5/tab-in-license-text/eval/hints | 1 + .../dep5/udev-rules/build-spec/debian/rules | 13 + .../udev-rules/build-spec/debian/udev-rules.dirs | 2 + .../build-spec/debian/udev-rules.metadata.xml | 22 + .../udev-rules/build-spec/debian/udev-rules.udev | 25 + .../dep5/udev-rules/build-spec/fill-values | 3 + .../debian/copyright/dep5/udev-rules/eval/desc | 2 + .../debian/copyright/dep5/udev-rules/eval/hints | 1 + .../build-spec/debian/copyright | 21 + .../build-spec/debian/patches/a.patch | 1 + .../wildcard-out-of-order/build-spec/fill-values | 3 + .../wildcard-out-of-order/build-spec/orig/a-file | 1 + .../copyright/dep5/wildcard-out-of-order/eval/desc | 3 + .../dep5/wildcard-out-of-order/eval/hints | 3 + .../dep5/wildcard-out-of-order/eval/post-test | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../copyright/generic-dh-make-2008/eval/desc | 4 + .../copyright/generic-dh-make-2008/eval/hints | 5 + .../copyright/generic-dh-make-2008/eval/post-test | 1 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../generic-empty/build-spec/debian/rules | 9 + .../copyright/generic-empty/build-spec/fill-values | 4 + .../copyright/generic-empty/build-spec/orig/README | 4 + .../copyright/generic-empty/build-spec/pre-build | 6 + .../debian/copyright/generic-empty/eval/desc | 2 + .../debian/copyright/generic-empty/eval/hints | 2 + .../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 + .../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 + .../copyright/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../copyright/legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../debian/copyright/legacy-binary/eval/desc | 2 + .../debian/copyright/legacy-binary/eval/hints | 2 + .../debian/copyright/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../debian/copyright/legacy-debconf/eval/desc | 2 + .../debian/copyright/legacy-debconf/eval/hints | 8 + .../debian/copyright/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../debian/copyright/legacy-etcfiles/eval/desc | 2 + .../debian/copyright/legacy-etcfiles/eval/hints | 1 + .../copyright/legacy-etcfiles/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../copyright/legacy-fields/build-spec/fill-values | 5 + .../debian/copyright/legacy-fields/eval/desc | 2 + .../debian/copyright/legacy-fields/eval/hints | 2 + .../debian/copyright/legacy-fields/eval/post-test | 1 + .../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 + .../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 + .../debian/copyright/legacy-filenames/eval/desc | 2 + .../debian/copyright/legacy-filenames/eval/hints | 3 + .../copyright/legacy-filenames/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../copyright/legacy-foo++/build-spec/debian/rules | 36 + .../copyright/legacy-foo++/build-spec/debian/watch | 6 + .../copyright/legacy-foo++/build-spec/fill-values | 5 + .../checks/debian/copyright/legacy-foo++/eval/desc | 2 + .../debian/copyright/legacy-foo++/eval/hints | 1 + .../debian/copyright/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../copyright/legacy-maintainer-scripts/eval/desc | 2 + .../copyright/legacy-maintainer-scripts/eval/hints | 1 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../debian/copyright/legacy-relations/eval/desc | 2 + .../debian/copyright/legacy-relations/eval/hints | 2 + .../copyright/legacy-relations/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../copyright/legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../copyright/legacy-scripts/build-spec/pre-build | 5 + .../debian/copyright/legacy-scripts/eval/desc | 2 + .../debian/copyright/legacy-scripts/eval/hints | 1 + .../debian/copyright/legacy-scripts/eval/post-test | 1 + .../build-spec/fill-values | 3 + .../named-copyright-in-source/build-spec/pre-build | 4 + .../copyright/named-copyright-in-source/eval/desc | 2 + .../copyright/named-copyright-in-source/eval/hints | 1 + .../build-spec/fill-values | 3 + .../source-copyright-missing/build-spec/pre-build | 2 + .../copyright/source-copyright-missing/eval/desc | 2 + .../copyright/source-copyright-missing/eval/hints | 2 + .../build-spec/fill-values | 3 + .../source-copyright-symlink/build-spec/pre-build | 4 + .../copyright/source-copyright-symlink/eval/desc | 2 + .../copyright/source-copyright-symlink/eval/hints | 1 + .../build-spec/debian/copyright | 56 + .../build-spec/debian/plus+file | 0 .../build-spec/fill-values | 3 + .../copyright/source-copyright-undefined/eval/desc | 2 + .../source-copyright-undefined/eval/hints | 1 + .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/series | 3 + .../build-spec/debian/patches/spelling | 6 + .../spelling-general/build-spec/fill-values | 4 + .../debian/copyright/spelling-general/eval/desc | 2 + .../debian/copyright/spelling-general/eval/hints | 1 + .../build-spec/debian/config | 22 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/da.po | 42 + .../build-spec/debian/po/templates.pot | 42 + .../build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 15 + .../debconf-config-general/build-spec/fill-values | 3 + .../debconf/debconf-config-general/eval/desc | 2 + .../debconf/debconf-config-general/eval/hints | 4 + .../build-spec/debian/config | 5 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 5 + .../debconf-config-not-executable/eval/desc | 3 + .../debconf-config-not-executable/eval/hints | 4 + .../build-spec/debian/install | 1 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/da.po | 25 + .../build-spec/debian/po/templates.pot | 25 + .../build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 4 + .../debconf-is-not-registry/build-spec/fill-values | 3 + .../build-spec/orig/config-gen.pl | 31 + .../build-spec/orig/gen-source.mk | 8 + .../debconf-is-not-registry/build-spec/orig/script | 6 + .../debconf-is-not-registry/build-spec/pre-build | 4 + .../debconf/debconf-is-not-registry/eval/desc | 2 + .../debconf/debconf-is-not-registry/eval/hints | 1 + .../build-spec/debian/config | 9 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/da.po | 24 + .../build-spec/debian/po/templates.pot | 24 + .../build-spec/debian/postinst | 10 + .../build-spec/debian/postrm | 10 + .../build-spec/debian/preinst | 11 + .../build-spec/debian/rules | 16 + .../build-spec/debian/templates | 4 + .../build-spec/fill-values | 3 + .../debconf/debconf-maintscripts-deps/eval/desc | 2 + .../debconf/debconf-maintscripts-deps/eval/hints | 5 + .../build-spec/debian/po/POTFILES.in | 1 + .../debconf-missing-dep/build-spec/debian/po/da.po | 25 + .../build-spec/debian/po/templates.pot | 25 + .../debconf-missing-dep/build-spec/debian/postinst | 8 + .../debconf-missing-dep/build-spec/debian/rules | 8 + .../build-spec/debian/templates | 4 + .../debconf-missing-dep/build-spec/fill-values | 3 + .../build-spec/orig/config-gen.pl | 31 + .../build-spec/orig/gen-source.mk | 8 + .../debconf-missing-dep/build-spec/pre-build | 4 + .../debian/debconf/debconf-missing-dep/eval/desc | 2 + .../debian/debconf/debconf-missing-dep/eval/hints | 1 + .../debconf-no-templates/build-spec/debian/config | 6 + .../build-spec/debian/postinst | 7 + .../debconf-no-templates/build-spec/fill-values | 3 + .../debian/debconf/debconf-no-templates/eval/desc | 2 + .../debian/debconf/debconf-no-templates/eval/hints | 1 + .../debconf-syntax-error/build-spec/debian/config | 6 + .../build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 3 + .../debconf-syntax-error/build-spec/fill-values | 3 + .../debian/debconf/debconf-syntax-error/eval/desc | 2 + .../debian/debconf/debconf-syntax-error/eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/en.po | 241 + .../build-spec/debian/po/en_US.po | 223 + .../build-spec/debian/po/templates.pot | 223 + .../build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 124 + .../build-spec/fill-values | 3 + .../build-spec/orig/config-gen.pl | 31 + .../build-spec/orig/gen-source.mk | 8 + .../debconf-templates-general/build-spec/pre-build | 4 + .../debconf/debconf-templates-general/eval/desc | 2 + .../debconf/debconf-templates-general/eval/hints | 22 + .../debconf-traversal/build-spec/dpkg-overrides | 1 + .../debconf-traversal/build-spec/fill-values | 4 + .../debconf-traversal/build-spec/post-build | 7 + .../debian/debconf/debconf-traversal/eval/desc | 3 + .../debian/debconf/debconf-traversal/eval/hints | 0 .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../debconf/legacy-debconf/build-spec/debian/rules | 64 + .../debconf/legacy-debconf/build-spec/fill-values | 6 + .../checks/debian/debconf/legacy-debconf/eval/desc | 2 + .../debian/debconf/legacy-debconf/eval/hints | 49 + .../debian/debconf/legacy-debconf/eval/post-test | 1 + .../national-encoding/build-spec/debian/templates | 3 + .../national-encoding/build-spec/fill-values | 3 + .../debian/debconf/national-encoding/eval/desc | 2 + .../debian/debconf/national-encoding/eval/hints | 1 + .../build-spec/debian/po/English.po | 1 + .../build-spec/debian/po/POTFILES.in | 3 + .../po-debconf-general/build-spec/debian/po/de.po | 2 + .../build-spec/debian/po/templates.pot | 30 + .../po-debconf-general/build-spec/debian/templates | 10 + .../build-spec/debian/templates.en_US | 5 + .../po-debconf-general/build-spec/fill-values | 3 + .../debian/debconf/po-debconf-general/eval/desc | 2 + .../debian/debconf/po-debconf-general/eval/hints | 3 + .../build-spec/debian/not-forwarded.desktop | 1 + .../desktop-file/build-spec/fill-values | 3 + .../debian/desktop-entries/desktop-file/eval/desc | 3 + .../debian/desktop-entries/desktop-file/eval/hints | 1 + .../duplicate-news-files/build-spec/debian/NEWS | 62 + .../build-spec/debian/NEWS.Debian | 62 + .../duplicate-news-files/build-spec/fill-values | 3 + .../filenames/duplicate-news-files/eval/desc | 3 + .../filenames/duplicate-news-files/eval/hints | 1 + .../build-spec/debian/NEWS.Debian | 62 + .../build-spec/fill-values | 3 + .../filenames/news-has-debian-extension/eval/desc | 3 + .../filenames/news-has-debian-extension/eval/hints | 1 + .../cruft-crlf-eols/build-spec/debian/changelog.in | 8 + .../cruft-crlf-eols/build-spec/debian/control.in | 15 + .../cruft-crlf-eols/build-spec/debian/install | 1 + .../cruft-crlf-eols/build-spec/fill-values | 4 + .../cruft-crlf-eols/build-spec/orig/dummy | 1 + .../line-separators/cruft-crlf-eols/eval/desc | 2 + .../line-separators/cruft-crlf-eols/eval/hints | 2 + .../build-spec/debian/lintian-overrides | 6 + .../absolutely-misspelled/build-spec/fill-values | 3 + .../comments/absolutely-misspelled/eval/desc | 2 + .../comments/absolutely-misspelled/eval/hints | 1 + .../build-spec/debian/lintian-overrides | 6 + .../comments/lowercase-sql/build-spec/fill-values | 3 + .../comments/lowercase-sql/eval/desc | 2 + .../comments/lowercase-sql/eval/hints | 1 + .../build-spec/debian/source/lintian-overrides | 2 + .../build-spec/fill-values | 3 + .../build-spec/post-build | 7 + .../duplicate-context-cute-field/eval/desc | 2 + .../duplicate-context-cute-field/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 18 + .../files-override-misplaced/eval/desc | 2 + .../files-override-misplaced/eval/hints | 4 + .../build-spec/debian/source/lintian-overrides | 1 + .../malformed/missing-colon/build-spec/fill-values | 3 + .../malformed/missing-colon/eval/desc | 2 + .../malformed/missing-colon/eval/hints | 1 + .../build-spec/debian/control.in | 28 + ...ecific-overrides-nonrel.lintian-overrides.amd64 | 1 + ...arch-specific-overrides.lintian-overrides.amd64 | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 2 + .../lintian-overrides/build-spec/debian/overrides | 2 + .../lintian-overrides/build-spec/debian/rules | 12 + .../lintian-overrides/build-spec/fill-values | 3 + .../mystery/lintian-overrides/eval/desc | 2 + .../mystery/lintian-overrides/eval/hints | 1 + .../mixed-overrides/build-spec/debian/install | 1 + .../build-spec/debian/lintian-overrides | 20 + .../mixed-overrides/build-spec/debian/manpages | 1 + .../mystery/mixed-overrides/build-spec/fill-values | 4 + .../mystery/mixed-overrides/build-spec/orig/foo.1 | 32 + .../mystery/mixed-overrides/eval/desc | 4 + .../mystery/mixed-overrides/eval/hints | 2 + .../overrides-shown/build-spec/debian/install | 1 + .../overrides-shown/build-spec/debian/manpages | 1 + .../debian/overrides-shown.lintian-overrides | 21 + .../mystery/overrides-shown/build-spec/fill-values | 4 + .../mystery/overrides-shown/build-spec/orig/foo.1 | 32 + .../mystery/overrides-shown/eval/desc | 5 + .../mystery/overrides-shown/eval/hints | 2 + .../build-spec/debian/lintian-overrides | 1 + .../amd64-on-arch-all/build-spec/fill-values | 3 + .../restricted/amd64-on-arch-all/eval/desc | 2 + .../restricted/amd64-on-arch-all/eval/hints | 1 + .../arch-bingo/build-spec/debian/lintian-overrides | 1 + .../restricted/arch-bingo/build-spec/fill-values | 4 + .../restricted/arch-bingo/eval/desc | 2 + .../restricted/arch-bingo/eval/hints | 1 + .../build-spec/debian/control.in | 28 + ...ecific-overrides-nonrel.lintian-overrides.amd64 | 1 + ...arch-specific-overrides.lintian-overrides.amd64 | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 5 + .../eval/hints | 1 + .../build-spec/debian/maintscript | 4 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 3 + .../debian/bin/not-suitable-for-upstream | 3 + .../build-spec/debian/not-suitable-for-upstream.1 | 1 + .../build-spec/fill-values | 3 + .../maintainer-provided-executable/eval/desc | 9 + .../maintainer-provided-executable/eval/hints | 1 + .../manpage-in-1/build-spec/debian/not-forwarded.1 | 1 + .../manpage-in-1/build-spec/fill-values | 3 + .../debian/manual-pages/manpage-in-1/eval/desc | 3 + .../debian/manual-pages/manpage-in-1/eval/hints | 1 + .../build-spec/debian/not-installed | 1 + .../triplet-in-library-path/build-spec/fill-values | 3 + .../triplet-in-library-path/eval/desc | 3 + .../triplet-in-library-path/eval/hints | 1 + .../two-patches/build-spec/debian/patches/patch1 | 0 .../two-patches/build-spec/debian/patches/patch2 | 0 .../two-patches/build-spec/debian/patches/series | 5 + .../count/two-patches/build-spec/fill-values | 3 + .../debian/patches/count/two-patches/eval/desc | 2 + .../debian/patches/count/two-patches/eval/hints | 1 + .../debian/patches/applied-upstream.patch | 15 + .../dep3/applied-upstream/build-spec/fill-values | 3 + .../debian/patches/dep3/applied-upstream/eval/desc | 5 + .../patches/dep3/applied-upstream/eval/hints | 1 + .../build-spec/debian/patches/silent.patch | 14 + .../empty-forwarded-no-bug/build-spec/fill-values | 3 + .../patches/dep3/empty-forwarded-no-bug/eval/desc | 3 + .../patches/dep3/empty-forwarded-no-bug/eval/hints | 1 + .../build-spec/debian/patches/not-forwarded.patch | 15 + .../dep3/forwarded-no/build-spec/fill-values | 3 + .../debian/patches/dep3/forwarded-no/eval/desc | 3 + .../debian/patches/dep3/forwarded-no/eval/hints | 1 + .../debian/patches/no-forwarding-needed.patch | 15 + .../forwarded-not-needed/build-spec/fill-values | 3 + .../patches/dep3/forwarded-not-needed/eval/desc | 5 + .../patches/dep3/forwarded-not-needed/eval/hints | 1 + .../debian/patches/13_document_modifiers.diff | 41 + .../dep3/origin-upstream/build-spec/fill-values | 3 + .../debian/patches/dep3/origin-upstream/eval/desc | 5 + .../debian/patches/dep3/origin-upstream/eval/hints | 1 + .../debian/patches/no-forwarding-needed.patch | 17 + .../dep3/pseudo-header/build-spec/fill-values | 3 + .../debian/patches/dep3/pseudo-header/eval/desc | 5 + .../debian/patches/dep3/pseudo-header/eval/hints | 1 + .../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 + .../dpatch/legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../dpatch/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../dpatch/legacy-scripts/build-spec/debian/watch | 8 + .../dpatch/legacy-scripts/build-spec/fill-values | 6 + .../dpatch/legacy-scripts/build-spec/orig/csh-foo | 2 + .../dpatch/legacy-scripts/build-spec/orig/envfoo | 4 + .../dpatch/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 + .../dpatch/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 + .../dpatch/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../dpatch/legacy-scripts/build-spec/orig/phpfoo | 7 + .../dpatch/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../dpatch/legacy-scripts/build-spec/orig/tkfoo | 31 + .../dpatch/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../dpatch/legacy-scripts/build-spec/pre-build | 5 + .../debian/patches/dpatch/legacy-scripts/eval/desc | 2 + .../patches/dpatch/legacy-scripts/eval/hints | 5 + .../patches/dpatch/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/00list | 12 + .../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 + .../build-spec/debian/patches/05_dep3.diff | 7 + .../build-spec/fill-values | 4 + .../patch-systems-dpatch-description/eval/desc | 2 + .../patch-systems-dpatch-description/eval/hints | 5 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/README | 1 + .../build-spec/debian/patches/README.patches | 1 + .../build-spec/debian/patches/file-commented-out | 1 + .../debian/patches/file-mentioned-in-vendor-series | 1 + .../debian/patches/file-not-referenced-in-series | 1 + .../build-spec/debian/patches/series | 6 + .../build-spec/debian/patches/some-file | 11 + .../build-spec/debian/patches/some-other-file | 12 + .../build-spec/debian/patches/subdir/README | 1 + .../patches/subdir/file-not-referenced-in-series-2 | 1 + .../build-spec/debian/patches/vendorname.series | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 4 + .../dpatch/patch-systems-quilt-general/eval/desc | 2 + .../dpatch/patch-systems-quilt-general/eval/hints | 2 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../patches/legacy-debconf/build-spec/debian/rules | 64 + .../patches/legacy-debconf/build-spec/fill-values | 6 + .../checks/debian/patches/legacy-debconf/eval/desc | 2 + .../debian/patches/legacy-debconf/eval/hints | 2 + .../debian/patches/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../debian/patches/legacy-relations/eval/desc | 2 + .../debian/patches/legacy-relations/eval/hints | 2 + .../debian/patches/legacy-relations/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../patches/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../patches/legacy-scripts/build-spec/debian/watch | 8 + .../patches/legacy-scripts/build-spec/fill-values | 6 + .../patches/legacy-scripts/build-spec/orig/csh-foo | 2 + .../patches/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../patches/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../patches/legacy-scripts/build-spec/orig/phpfoo | 7 + .../patches/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../patches/legacy-scripts/build-spec/orig/tkfoo | 31 + .../patches/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../patches/legacy-scripts/build-spec/pre-build | 5 + .../checks/debian/patches/legacy-scripts/eval/desc | 2 + .../debian/patches/legacy-scripts/eval/hints | 3 + .../debian/patches/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/00list | 12 + .../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 + .../build-spec/debian/patches/05_dep3.diff | 7 + .../build-spec/fill-values | 4 + .../patch-systems-dpatch-description/eval/desc | 2 + .../patch-systems-dpatch-description/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/series | 0 .../build-spec/fill-values | 4 + .../patches/patch-systems-empty-series/eval/desc | 3 + .../patches/patch-systems-empty-series/eval/hints | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 4 + .../patch-systems-no-patch-system/eval/desc | 2 + .../patch-systems-no-patch-system/eval/hints | 1 + .../build-spec/debian/patches/01_this_patch_is_ok | 7 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../patch-systems-no-readme-source/eval/desc | 3 + .../patch-systems-no-readme-source/eval/hints | 2 + .../build-spec/debian/patches/debian-changes-1.0-1 | 7 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/a | 1 + .../patch-systems-quilt-debian-changes/eval/desc | 2 + .../patch-systems-quilt-debian-changes/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/01_this_patch_is_ok | 7 + .../debian/patches/02_this_one_has_no_description | 5 + .../build-spec/debian/patches/03_a_git_patch | 8 + .../debian/patches/04_template_description | 17 + .../build-spec/debian/patches/series | 4 + .../build-spec/fill-values | 4 + .../patch-systems-quilt-description/eval/desc | 3 + .../patch-systems-quilt-description/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/README | 1 + .../build-spec/debian/patches/README.patches | 1 + .../build-spec/debian/patches/file-commented-out | 1 + .../debian/patches/file-mentioned-in-vendor-series | 1 + .../debian/patches/file-not-referenced-in-series | 1 + .../build-spec/debian/patches/series | 6 + .../build-spec/debian/patches/some-file | 11 + .../build-spec/debian/patches/some-other-file | 12 + .../build-spec/debian/patches/subdir/README | 1 + .../patches/subdir/file-not-referenced-in-series-2 | 1 + .../build-spec/debian/patches/vendorname.series | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 4 + .../patches/patch-systems-quilt-general/eval/desc | 2 + .../patches/patch-systems-quilt-general/eval/hints | 3 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/01_this_patch_is_ok | 7 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../patch-systems-quilt-no-newline/eval/desc | 2 + .../patch-systems-quilt-no-newline/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/fill-values | 5 + .../build-spec/orig/README | 1 + .../patch-systems-quilt-no-series/eval/desc | 2 + .../patch-systems-quilt-no-series/eval/hints | 1 + .../build-spec/debian/patches/wig-pen | 5 + .../cruft-general-wig-pen/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-wig-pen/build-spec/fill-values | 4 + .../cruft-general-wig-pen/build-spec/orig/README | 1 + .../cruft-general-wig-pen/build-spec/pre-build | 32 + .../patches/quilt/cruft-general-wig-pen/eval/desc | 3 + .../patches/quilt/cruft-general-wig-pen/eval/hints | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../quilt/legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../quilt/legacy-relations/build-spec/fill-values | 5 + .../patches/quilt/legacy-relations/eval/desc | 2 + .../patches/quilt/legacy-relations/eval/hints | 1 + .../patches/quilt/legacy-relations/eval/post-test | 1 + .../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 + .../quilt/legacy-scripts/build-spec/debian/postrm | 9 + .../quilt/legacy-scripts/build-spec/debian/preinst | 15 + .../quilt/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../quilt/legacy-scripts/build-spec/debian/watch | 8 + .../quilt/legacy-scripts/build-spec/fill-values | 6 + .../quilt/legacy-scripts/build-spec/orig/csh-foo | 2 + .../quilt/legacy-scripts/build-spec/orig/envfoo | 4 + .../quilt/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 + .../quilt/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../quilt/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 + .../quilt/legacy-scripts/build-spec/orig/perlfoo | 3 + .../quilt/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../quilt/legacy-scripts/build-spec/orig/phpfoo | 7 + .../quilt/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../quilt/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../quilt/legacy-scripts/build-spec/orig/tkfoo | 31 + .../quilt/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../quilt/legacy-scripts/build-spec/pre-build | 5 + .../debian/patches/quilt/legacy-scripts/eval/desc | 2 + .../debian/patches/quilt/legacy-scripts/eval/hints | 6 + .../patches/quilt/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/series | 0 .../build-spec/fill-values | 4 + .../quilt/patch-systems-empty-series/eval/desc | 4 + .../quilt/patch-systems-empty-series/eval/hints | 1 + .../build-spec/debian/patches/debian-changes-1.0-1 | 7 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/a | 1 + .../patch-systems-quilt-debian-changes/eval/desc | 2 + .../patch-systems-quilt-debian-changes/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/01_this_patch_is_ok | 7 + .../debian/patches/02_this_one_has_no_description | 5 + .../build-spec/debian/patches/03_a_git_patch | 8 + .../debian/patches/04_template_description | 17 + .../build-spec/debian/patches/series | 4 + .../build-spec/fill-values | 4 + .../patch-systems-quilt-description/eval/desc | 3 + .../patch-systems-quilt-description/eval/hints | 3 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/README | 1 + .../build-spec/debian/patches/README.patches | 1 + .../build-spec/debian/patches/file-commented-out | 1 + .../debian/patches/file-mentioned-in-vendor-series | 1 + .../debian/patches/file-not-referenced-in-series | 1 + .../build-spec/debian/patches/series | 6 + .../build-spec/debian/patches/some-file | 11 + .../build-spec/debian/patches/some-other-file | 12 + .../build-spec/debian/patches/subdir/README | 1 + .../patches/subdir/file-not-referenced-in-series-2 | 1 + .../build-spec/debian/patches/vendorname.series | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 4 + .../quilt/patch-systems-quilt-general/eval/desc | 2 + .../quilt/patch-systems-quilt-general/eval/hints | 6 + .../build-spec/debian/patches/series | 1 + .../build-spec/debian/patches/some-change.patch | 6 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../quilt/patch-systems-quilt-no-depends/eval/desc | 4 + .../patch-systems-quilt-no-depends/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/01_this_patch_is_ok | 7 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../quilt/patch-systems-quilt-no-newline/eval/desc | 2 + .../patch-systems-quilt-no-newline/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/fill-values | 5 + .../build-spec/orig/README | 1 + .../quilt/patch-systems-quilt-no-series/eval/desc | 2 + .../quilt/patch-systems-quilt-no-series/eval/hints | 1 + .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/nonrel2 | 8 + .../build-spec/debian/patches/series | 4 + .../build-spec/debian/patches/spelling | 6 + .../quilt/spelling-general/build-spec/fill-values | 4 + .../patches/quilt/spelling-general/eval/desc | 2 + .../patches/quilt/spelling-general/eval/hints | 1 + .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/nonrel2 | 8 + .../build-spec/debian/patches/series | 4 + .../build-spec/debian/patches/spelling | 6 + .../spelling-general/build-spec/fill-values | 4 + .../debian/patches/spelling-general/eval/desc | 2 + .../debian/patches/spelling-general/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/en.po | 241 + .../build-spec/debian/po/en_US.po | 223 + .../build-spec/debian/po/templates.pot | 223 + .../build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 124 + .../build-spec/fill-values | 3 + .../build-spec/orig/config-gen.pl | 31 + .../build-spec/orig/gen-source.mk | 8 + .../debconf-templates-general/build-spec/pre-build | 4 + .../po-debconf/debconf-templates-general/eval/desc | 2 + .../debconf-templates-general/eval/hints | 1 + .../invalid-potfiles-in/build-spec/debian/config | 8 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/po/POTFILES.in | 2 + .../build-spec/debian/po/templates.pot | 37 + .../build-spec/debian/po/zh_CN.po | 64 + .../invalid-potfiles-in/build-spec/debian/postinst | 8 + .../build-spec/debian/templates | 22 + .../invalid-potfiles-in/build-spec/fill-values | 3 + .../po-debconf/invalid-potfiles-in/eval/desc | 2 + .../po-debconf/invalid-potfiles-in/eval/hints | 1 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../debian/po-debconf/legacy-debconf/eval/desc | 2 + .../debian/po-debconf/legacy-debconf/eval/hints | 12 + .../po-debconf/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/po/English.po | 1 + .../build-spec/debian/po/POTFILES.in | 3 + .../po-debconf-general/build-spec/debian/po/de.po | 2 + .../build-spec/debian/po/templates.pot | 30 + .../po-debconf-general/build-spec/debian/templates | 10 + .../build-spec/debian/templates.en_US | 5 + .../po-debconf-general/build-spec/fill-values | 3 + .../debian/po-debconf/po-debconf-general/eval/desc | 2 + .../po-debconf/po-debconf-general/eval/hints | 8 + .../po-debconf-missing/build-spec/debian/config | 9 + .../po-debconf-missing/build-spec/debian/po/en.po | 17 + .../po-debconf-missing/build-spec/debian/postinst | 7 + .../po-debconf-missing/build-spec/debian/templates | 10 + .../po-debconf-missing/build-spec/fill-values | 3 + .../debian/po-debconf/po-debconf-missing/eval/desc | 2 + .../po-debconf/po-debconf-missing/eval/hints | 2 + .../build-spec/debian/config | 9 + .../build-spec/debian/postinst | 7 + .../build-spec/debian/templates | 10 + .../build-spec/fill-values | 3 + .../po-debconf/po-debconf-no-po-debconf/eval/desc | 2 + .../po-debconf/po-debconf-no-po-debconf/eval/hints | 3 + .../build-spec/debian/README.Debian | 7 + .../readme/bad-email-format/build-spec/fill-values | 3 + .../debian/readme/bad-email-format/eval/desc | 2 + .../debian/readme/bad-email-format/eval/hints | 1 + .../debian/readme/bad-email-format/eval/post-test | 1 + .../build-spec/debian/README.Debian | 11 + .../debian-readme-general/build-spec/fill-values | 3 + .../debian/readme/debian-readme-general/eval/desc | 3 + .../debian/readme/debian-readme-general/eval/hints | 4 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../debian/readme/generic-dh-make-2008/eval/desc | 4 + .../debian/readme/generic-dh-make-2008/eval/hints | 1 + .../readme/generic-dh-make-2008/eval/post-test | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../readme/legacy-etcfiles/build-spec/debian/rules | 64 + .../readme/legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../readme/legacy-etcfiles/build-spec/orig/proper | 2 + .../checks/debian/readme/legacy-etcfiles/eval/desc | 2 + .../debian/readme/legacy-etcfiles/eval/hints | 1 + .../debian/readme/legacy-etcfiles/eval/post-test | 1 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../readme/legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../readme/legacy-foo++/build-spec/debian/rules | 36 + .../readme/legacy-foo++/build-spec/debian/watch | 6 + .../readme/legacy-foo++/build-spec/fill-values | 5 + .../checks/debian/readme/legacy-foo++/eval/desc | 2 + .../checks/debian/readme/legacy-foo++/eval/hints | 1 + .../debian/readme/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../control-file-rules-requires-root-no/eval/desc | 2 + .../control-file-rules-requires-root-no/eval/hints | 1 + .../debhelper-compat-old/build-spec/debian/rules | 7 + .../debhelper-compat-old/build-spec/fill-values | 3 + .../debian/rules/debhelper-compat-old/eval/desc | 4 + .../debian/rules/debhelper-compat-old/eval/hints | 1 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 3 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../rules/debhelper-deb-build-options/eval/desc | 2 + .../rules/debhelper-deb-build-options/eval/hints | 1 + .../debhelper-dh-compat/build-spec/debian/rules | 8 + .../debhelper-dh-compat/build-spec/fill-values | 3 + .../debian/rules/debhelper-dh-compat/eval/desc | 4 + .../debian/rules/debhelper-dh-compat/eval/hints | 1 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 33 + .../debhelper-no-depends/build-spec/debian/rules | 24 + .../debhelper-no-depends/build-spec/fill-values | 5 + .../debian/rules/debhelper-no-depends/eval/desc | 5 + .../debian/rules/debhelper-no-depends/eval/hints | 1 + .../profiles/lintian-test/main.profile | 2 + .../lintian-test/main/data/debhelper/compat-level | 2 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/rules | 17 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 7 + .../build-spec/debian/rules | 14 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../curly-braces/build-spec/debian/rules | 4 + .../curly-braces/build-spec/fill-values | 3 + .../rules/dh-sequencer/curly-braces/eval/desc | 5 + .../rules/dh-sequencer/curly-braces/eval/hints | 1 + .../dependency/build-spec/debian/rules | 10 + .../dh-sequencer/dependency/build-spec/fill-values | 3 + .../debian/rules/dh-sequencer/dependency/eval/desc | 5 + .../rules/dh-sequencer/dependency/eval/hints | 0 .../double-quotes/build-spec/debian/rules | 4 + .../double-quotes/build-spec/fill-values | 3 + .../rules/dh-sequencer/double-quotes/eval/desc | 5 + .../rules/dh-sequencer/double-quotes/eval/hints | 1 + .../environment-prefix/build-spec/debian/rules | 4 + .../environment-prefix/build-spec/fill-values | 3 + .../dh-sequencer/environment-prefix/eval/desc | 6 + .../dh-sequencer/environment-prefix/eval/hints | 1 + .../explicit-targets/build-spec/debian/rules | 11 + .../explicit-targets/build-spec/fill-values | 3 + .../rules/dh-sequencer/explicit-targets/eval/desc | 5 + .../rules/dh-sequencer/explicit-targets/eval/hints | 1 + .../no-dh-sequencer/build-spec/debian/compat.in | 1 + .../no-dh-sequencer/build-spec/debian/rules | 76 + .../no-dh-sequencer/build-spec/fill-values | 6 + .../no-dh-sequencer/build-spec/pre-build.in | 5 + .../rules/dh-sequencer/no-dh-sequencer/eval/desc | 3 + .../rules/dh-sequencer/no-dh-sequencer/eval/hints | 1 + .../parentheses/build-spec/debian/rules | 4 + .../parentheses/build-spec/fill-values | 3 + .../rules/dh-sequencer/parentheses/eval/desc | 5 + .../rules/dh-sequencer/parentheses/eval/hints | 1 + .../single-quotes/build-spec/debian/rules | 4 + .../single-quotes/build-spec/fill-values | 3 + .../rules/dh-sequencer/single-quotes/eval/desc | 5 + .../rules/dh-sequencer/single-quotes/eval/hints | 1 + .../with-comments/build-spec/debian/rules | 6 + .../with-comments/build-spec/fill-values | 3 + .../rules/dh-sequencer/with-comments/eval/desc | 5 + .../rules/dh-sequencer/with-comments/eval/hints | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 6 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 12 + .../build-spec/debian/copyright | 10 + .../generic-dh-make-2005/build-spec/debian/rules | 100 + .../generic-dh-make-2005/build-spec/fill-values | 8 + .../generic-dh-make-2005/build-spec/orig/README | 9 + .../generic-dh-make-2005/build-spec/pre-build.in | 5 + .../debian/rules/generic-dh-make-2005/eval/desc | 2 + .../debian/rules/generic-dh-make-2005/eval/hints | 4 + .../rules/generic-dh-make-2005/eval/post-test | 1 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../rules/generic-empty/build-spec/debian/rules | 9 + .../rules/generic-empty/build-spec/fill-values | 4 + .../rules/generic-empty/build-spec/orig/README | 4 + .../rules/generic-empty/build-spec/pre-build | 6 + .../checks/debian/rules/generic-empty/eval/desc | 2 + .../checks/debian/rules/generic-empty/eval/hints | 4 + .../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 + .../rules/legacy-binary/build-spec/debian/control | 42 + .../legacy-binary/build-spec/debian/copyright | 15 + .../rules/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../rules/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../rules/legacy-binary/build-spec/debian/postinst | 6 + .../rules/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../rules/legacy-binary/build-spec/fill-values | 5 + .../rules/legacy-binary/build-spec/orig/INSTALL | 176 + .../rules/legacy-binary/build-spec/orig/Makefile | 12 + .../rules/legacy-binary/build-spec/orig/hello.c | 8 + .../checks/debian/rules/legacy-binary/eval/desc | 2 + .../checks/debian/rules/legacy-binary/eval/hints | 4 + .../debian/rules/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../rules/legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../rules/legacy-debconf/build-spec/debian/rules | 64 + .../rules/legacy-debconf/build-spec/fill-values | 6 + .../checks/debian/rules/legacy-debconf/eval/desc | 2 + .../checks/debian/rules/legacy-debconf/eval/hints | 2 + .../debian/rules/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../rules/legacy-etcfiles/build-spec/debian/rules | 64 + .../rules/legacy-etcfiles/build-spec/fill-values | 5 + .../rules/legacy-etcfiles/build-spec/orig/improper | 2 + .../rules/legacy-etcfiles/build-spec/orig/proper | 2 + .../checks/debian/rules/legacy-etcfiles/eval/desc | 2 + .../checks/debian/rules/legacy-etcfiles/eval/hints | 1 + .../debian/rules/legacy-etcfiles/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../rules/legacy-fields/build-spec/debian/control | 28 + .../rules/legacy-fields/build-spec/debian/rules | 33 + .../rules/legacy-fields/build-spec/fill-values | 5 + .../checks/debian/rules/legacy-fields/eval/desc | 2 + .../checks/debian/rules/legacy-fields/eval/hints | 1 + .../debian/rules/legacy-fields/eval/post-test | 1 + .../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 + .../rules/legacy-scripts/build-spec/debian/postrm | 9 + .../rules/legacy-scripts/build-spec/debian/preinst | 15 + .../rules/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../rules/legacy-scripts/build-spec/debian/watch | 8 + .../rules/legacy-scripts/build-spec/fill-values | 6 + .../rules/legacy-scripts/build-spec/orig/csh-foo | 2 + .../rules/legacy-scripts/build-spec/orig/envfoo | 4 + .../rules/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 + .../rules/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../rules/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 + .../rules/legacy-scripts/build-spec/orig/perlfoo | 3 + .../rules/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../rules/legacy-scripts/build-spec/orig/phpfoo | 7 + .../rules/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../rules/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../rules/legacy-scripts/build-spec/orig/tkfoo | 31 + .../rules/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../rules/legacy-scripts/build-spec/pre-build | 5 + .../checks/debian/rules/legacy-scripts/eval/desc | 2 + .../checks/debian/rules/legacy-scripts/eval/hints | 2 + .../debian/rules/legacy-scripts/eval/post-test | 1 + .../rules/permissions-775/build-spec/fill-values | 4 + .../rules/permissions-775/build-spec/pre-build | 5 + .../checks/debian/rules/permissions-775/eval/desc | 4 + .../checks/debian/rules/permissions-775/eval/hints | 0 .../build-spec/debian/rules | 37 + .../rules-build-dep-pattern/build-spec/fill-values | 3 + .../debian/rules/rules-build-dep-pattern/eval/desc | 3 + .../rules/rules-build-dep-pattern/eval/hints | 1 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/rules | 29 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../rules/rules-dh-order/build-spec/debian/rules | 34 + .../rules/rules-dh-order/build-spec/fill-values | 3 + .../checks/debian/rules/rules-dh-order/eval/desc | 2 + .../checks/debian/rules/rules-dh-order/eval/hints | 5 + .../build-spec/debian/rules | 29 + .../build-spec/fill-values | 3 + .../rules-dh-unused-target-nonempty/eval/desc | 3 + .../rules-dh-unused-target-nonempty/eval/hints | 1 + .../rules-dh-unused-target/build-spec/debian/rules | 29 + .../rules-dh-unused-target/build-spec/fill-values | 3 + .../debian/rules/rules-dh-unused-target/eval/desc | 4 + .../debian/rules/rules-dh-unused-target/eval/hints | 0 .../rules-general/build-spec/debian/compat.in | 1 + .../rules-general/build-spec/debian/control.in | 16 + .../rules/rules-general/build-spec/debian/rules | 23 + .../rules/rules-general/build-spec/fill-values | 5 + .../checks/debian/rules/rules-general/eval/desc | 2 + .../checks/debian/rules/rules-general/eval/hints | 8 + .../rules-ignore-define/build-spec/debian/rules | 10 + .../rules-ignore-define/build-spec/fill-values | 3 + .../debian/rules/rules-ignore-define/eval/desc | 4 + .../debian/rules/rules-ignore-define/eval/hints | 0 .../build-spec/debian/Makefile | 3 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../rules/rules-ignores-error-clean-fp/eval/desc | 3 + .../rules/rules-ignores-error-clean-fp/eval/hints | 0 .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 3 + .../rules/rules-ignores-error-clean/eval/desc | 2 + .../rules/rules-ignores-error-clean/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/rules | 5 + .../build-spec/fill-values | 6 + .../rules-including-deprecated-makefiles/eval/desc | 3 + .../eval/hints | 1 + .../build-spec/debian/rules | 3 + .../build-spec/debian/rules.mk | 2 + .../build-spec/fill-values | 3 + .../rules-missing-targets-with-includes/eval/desc | 4 + .../rules-missing-targets-with-includes/eval/hints | 0 .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/control.in | 27 + .../rules-missing-targets/build-spec/debian/rules | 5 + .../rules-missing-targets/build-spec/fill-values | 4 + .../debian/rules/rules-missing-targets/eval/desc | 2 + .../debian/rules/rules-missing-targets/eval/hints | 2 + .../rules-not-makefile/build-spec/debian/rules | 13 + .../rules-not-makefile/build-spec/fill-values | 3 + .../debian/rules/rules-not-makefile/eval/desc | 2 + .../debian/rules/rules-not-makefile/eval/hints | 1 + .../build-spec/debian/rules | 18 + .../build-spec/fill-values | 3 + .../eval/desc | 5 + .../eval/hints | 0 .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../rules-parses-dpkg-parsechangelog/eval/desc | 2 + .../rules-parses-dpkg-parsechangelog/eval/hints | 6 + .../build-spec/debian/rules | 6 + .../build-spec/fill-values | 3 + .../rules/rules-sanitize-all-buildflag/eval/desc | 2 + .../rules/rules-sanitize-all-buildflag/eval/hints | 1 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/rules | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 6 + .../build-spec/debian/rules | 7 + .../rules-special-variables/build-spec/fill-values | 3 + .../debian/rules/rules-special-variables/eval/desc | 2 + .../rules/rules-special-variables/eval/hints | 2 + .../rules-symlink/build-spec/debian/rules.real | 4 + .../rules/rules-symlink/build-spec/fill-values | 3 + .../rules/rules-symlink/build-spec/pre-build | 6 + .../checks/debian/rules/rules-symlink/eval/desc | 2 + .../checks/debian/rules/rules-symlink/eval/hints | 1 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../rules-unnecessary-get-orig-source/eval/desc | 2 + .../rules-unnecessary-get-orig-source/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../rules-unnecessary-source-date-epoch/eval/desc | 2 + .../rules-unnecessary-source-date-epoch/eval/hints | 3 + .../rules-variable-targets/build-spec/debian/rules | 9 + .../rules-variable-targets/build-spec/fill-values | 3 + .../debian/rules/rules-variable-targets/eval/desc | 3 + .../debian/rules/rules-variable-targets/eval/hints | 0 .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 48 + .../build-spec/debian/libany5gcc1v5.install | 1 + .../build-spec/debian/libany5gcc1v5.symbols | 2 + .../build-spec/debian/libany6gcc1v6.install | 1 + .../build-spec/debian/libany6gcc1v6.symbols | 2 + .../build-spec/debian/libanyq16-6.install | 1 + .../build-spec/debian/libanyq16-6.symbols | 2 + .../build-spec/debian/mylibany.install | 1 + .../build-spec/debian/mylibany.symbols | 2 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 23 + .../build-spec/orig/code.c | 9 + .../shlibs/binaries-doesnt-match-sonames/eval/desc | 2 + .../binaries-doesnt-match-sonames/eval/hints | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/libbasic2.symbols | 4 + .../build-spec/debian/rules | 15 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 14 + .../build-spec/orig/basic.c | 19 + .../build-spec/orig/cpp.cxx | 14 + .../binaries-missing-depends-on-libc/eval/desc | 2 + .../binaries-missing-depends-on-libc/eval/hints | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/libbasic2.symbols | 2 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 19 + .../shlibs/binaries-missing-depends/eval/desc | 2 + .../shlibs/binaries-missing-depends/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 25 + .../build-spec/debian/libbasic2.symbols | 2 + .../binaries-multiarch-same/build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 19 + .../shlibs/binaries-multiarch-same/eval/desc | 2 + .../shlibs/binaries-multiarch-same/eval/hints | 1 + .../binaries-multiarch/build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 21 + .../build-spec/debian/libbasic2.symbols | 2 + .../binaries-multiarch/build-spec/debian/rules | 23 + .../binaries-multiarch/build-spec/fill-values | 6 + .../binaries-multiarch/build-spec/orig/Makefile | 26 + .../binaries-multiarch/build-spec/orig/basic.c | 19 + .../debian/shlibs/binaries-multiarch/eval/desc | 3 + .../debian/shlibs/binaries-multiarch/eval/hints | 1 + .../shlibs/binaries-multiarch/eval/post-test | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 33 + .../build-spec/debian/libpublic-dev.install | 1 + .../build-spec/debian/libpublic1.install | 1 + .../build-spec/debian/libpublic1.symbols | 3 + .../files-wrong-ma-foreign/build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 24 + .../files-wrong-ma-foreign/build-spec/orig/code.c | 15 + .../debian/shlibs/files-wrong-ma-foreign/eval/desc | 2 + .../shlibs/files-wrong-ma-foreign/eval/hints | 1 + .../shlibs/legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../shlibs/legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../shlibs/legacy-debug/build-spec/debian/rules | 99 + .../shlibs/legacy-debug/build-spec/fill-values | 6 + .../shlibs/legacy-debug/build-spec/orig/hello.c | 9 + .../shlibs/legacy-debug/build-spec/orig/libhello.c | 7 + .../shlibs/legacy-debug/build-spec/orig/libhello.h | 1 + .../checks/debian/shlibs/legacy-debug/eval/desc | 3 + .../checks/debian/shlibs/legacy-debug/eval/hints | 48 + .../debian/shlibs/legacy-debug/eval/post-test | 2 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../shlibs/legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../shlibs/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../shlibs/legacy-libbaz/build-spec/fill-values | 6 + .../shlibs/legacy-libbaz/build-spec/orig/Makefile | 55 + .../shlibs/legacy-libbaz/build-spec/orig/baz.c | 6 + .../shlibs/legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/debian/shlibs/legacy-libbaz/eval/desc | 2 + .../checks/debian/shlibs/legacy-libbaz/eval/hints | 20 + .../debian/shlibs/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 57 + .../build-spec/debian/libdupshf1.install | 1 + .../build-spec/debian/libdupshf1.symbols | 3 + .../build-spec/debian/libeshf1.install | 1 + .../build-spec/debian/libeshf1.symbols | 3 + .../build-spec/debian/libfdshf1.install | 1 + .../build-spec/debian/libfdshf1.symbols | 3 + .../build-spec/debian/libnoshf1.install | 1 + .../build-spec/debian/libnoshf1.symbols | 3 + .../build-spec/debian/libunshf1.install | 1 + .../build-spec/debian/libunshf1.symbols | 3 + .../build-spec/debian/rules | 19 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 23 + .../build-spec/orig/code.c | 15 + .../shlibs/shared-libs-control-file/eval/desc | 2 + .../shlibs/shared-libs-control-file/eval/hints | 11 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 27 + .../build-spec/debian/libfoo-1.install | 2 + .../build-spec/debian/libfoo-1.symbols | 7 + .../build-spec/debian/libfoo-dev.install | 3 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 27 + .../build-spec/orig/code.c | 16 + .../build-spec/orig/code.h | 8 + .../shlibs/shared-libs-dev-symlink-fp/eval/desc | 2 + .../shlibs/shared-libs-dev-symlink-fp/eval/hints | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 27 + .../build-spec/debian/libfoo-dev.install | 1 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.symbols | 3 + .../shared-libs-dev-symlink/build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 24 + .../shared-libs-dev-symlink/build-spec/orig/code.c | 16 + .../shared-libs-dev-symlink/build-spec/orig/code.h | 8 + .../shlibs/shared-libs-dev-symlink/eval/desc | 2 + .../shlibs/shared-libs-dev-symlink/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 3 + .../shared-libs-exec-bit/build-spec/debian/rules | 9 + .../shared-libs-exec-bit/build-spec/fill-values | 6 + .../shared-libs-exec-bit/build-spec/orig/Makefile | 23 + .../shared-libs-exec-bit/build-spec/orig/code.c | 15 + .../debian/shlibs/shared-libs-exec-bit/eval/desc | 2 + .../debian/shlibs/shared-libs-exec-bit/eval/hints | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecstack1.symbols | 3 + .../shared-libs-exec-stack/build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../shared-libs-exec-stack/build-spec/orig/foo.c | 9 + .../shared-libs-exec-stack/build-spec/orig/get.c | 6 + .../debian/shlibs/shared-libs-exec-stack/eval/desc | 2 + .../shlibs/shared-libs-exec-stack/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../shared-libs-exit-fork/build-spec/fill-values | 6 + .../shared-libs-exit-fork/build-spec/orig/Makefile | 22 + .../shared-libs-exit-fork/build-spec/orig/code.c | 12 + .../debian/shlibs/shared-libs-exit-fork/eval/desc | 2 + .../debian/shlibs/shared-libs-exit-fork/eval/hints | 1 + .../shared-libs-exit/build-spec/debian/compat.in | 1 + .../shared-libs-exit/build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../shlibs/shared-libs-exit/build-spec/fill-values | 6 + .../shared-libs-exit/build-spec/orig/Makefile | 22 + .../shlibs/shared-libs-exit/build-spec/orig/code.c | 13 + .../debian/shlibs/shared-libs-exit/eval/desc | 2 + .../debian/shlibs/shared-libs-exit/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 20 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-not-symlink/eval/desc | 2 + .../shared-libs-ldconfig-not-symlink/eval/hints | 1 + .../build-spec/debian/app.install | 2 + .../build-spec/debian/app.postinst | 6 + .../build-spec/debian/app.postrm | 6 + .../build-spec/debian/app.triggers | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 47 + .../build-spec/debian/libfish1.install | 1 + .../build-spec/debian/libfish1.preinst | 6 + .../build-spec/debian/libfish1.prerm | 6 + .../build-spec/debian/libfish1.symbols | 3 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.postinst | 8 + .../build-spec/debian/libfoo1.postrm | 8 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/debian/libuns1.install | 1 + .../build-spec/debian/libuns1.postrm | 8 + .../build-spec/debian/libuns1.symbols | 3 + .../build-spec/debian/rules | 21 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/app | 2 + .../build-spec/orig/code.c | 15 + .../shlibs/shared-libs-ldconfig-scripts/eval/desc | 2 + .../shlibs/shared-libs-ldconfig-scripts/eval/hints | 3 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-wrong-file/eval/desc | 2 + .../shared-libs-ldconfig-wrong-file/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 19 + .../build-spec/orig/code.c | 10 + .../shared-libs-missing-ldconfig-symlink/eval/desc | 3 + .../eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/libhallo1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/code.c | 10 + .../shared-libs-multi-arch-foreign/eval/desc | 2 + .../shared-libs-multi-arch-foreign/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libhallo1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 23 + .../build-spec/orig/code.c | 10 + .../build-spec/orig/erase-pt-gnu-stack | 9 + .../shlibs/shared-libs-no-gnu-stack/eval/desc | 2 + .../shlibs/shared-libs-no-gnu-stack/eval/hints | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.shlibs | 1 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 4 + .../build-spec/orig/some-lib | 1 + .../shlibs/shared-libs-no-shared-lib/eval/desc | 2 + .../shlibs/shared-libs-no-shared-lib/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 21 + .../build-spec/orig/code.c | 15 + .../shlibs/shared-libs-non-dev-symlink/eval/desc | 2 + .../shlibs/shared-libs-non-dev-symlink/eval/hints | 1 + .../build-spec/Makefile.in | 110 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 26 + .../build-spec/orig/non-pic.c | 11 + .../shlibs/shared-libs-non-pic-i386/eval/desc | 3 + .../shlibs/shared-libs-non-pic-i386/eval/hints | 1 + .../shlibs/shared-libs-non-pic-i386/eval/post-test | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 48 + .../build-spec/debian/libesym1.install | 1 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.symbols | 10 + .../build-spec/debian/libsym1.install | 1 + .../build-spec/debian/nolibrary.install | 1 + .../build-spec/debian/rules | 17 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/code.c | 15 + .../build-spec/orig/someconf.conf | 2 + .../shlibs/shared-libs-symbols-file/eval/desc | 2 + .../shlibs/shared-libs-symbols-file/eval/hints | 9 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/rules | 13 + .../build-spec/debian/symbols | 2 + .../build-spec/debian/triggers | 1 + .../shared-libs-unversioned/build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 15 + .../shared-libs-unversioned/build-spec/orig/foo.c | 24 + .../shlibs/shared-libs-unversioned/eval/desc | 5 + .../shlibs/shared-libs-unversioned/eval/hints | 2 + .../build-spec/fill-values | 3 + .../debian-source-dir-classifications/eval/desc | 2 + .../debian-source-dir-classifications/eval/hints | 1 + .../build-spec/debian/source/options | 2 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/source/formt | 1 + .../build-spec/fill-values | 3 + .../debian-source-dir-general/build-spec/pre-build | 2 + .../source-dir/debian-source-dir-general/eval/desc | 2 + .../debian-source-dir-general/eval/hints | 4 + .../build-spec/debian/patches/series | 11 + .../build-spec/debian/source/git-patches | 11 + .../build-spec/fill-values | 4 + .../build-spec/orig/an_empty_file | 0 .../debian-source-dir-gitpkg-series/eval/desc | 2 + .../debian-source-dir-gitpkg-series/eval/hints | 2 + .../build-spec/debian/source/git-patches | 11 + .../build-spec/fill-values | 4 + .../source-dir/debian-source-dir-gitpkg/eval/desc | 4 + .../source-dir/debian-source-dir-gitpkg/eval/hints | 1 + .../source-format-1.0/build-spec/fill-values | 4 + .../debian/source-dir/source-format-1.0/eval/desc | 2 + .../debian/source-dir/source-format-1.0/eval/hints | 2 + .../build-spec/debian/source/include-binaries | 3 + .../non-existing-file/build-spec/fill-values | 4 + .../include-binaries/non-existing-file/eval/desc | 2 + .../include-binaries/non-existing-file/eval/hints | 1 + .../cruft-general-diff/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../cruft-general-diff/build-spec/debian/substvars | 1 + .../cruft-general-diff/build-spec/fill-values | 4 + .../cruft-general-diff/build-spec/pre-build | 34 + .../debian/substvars/cruft-general-diff/eval/desc | 3 + .../debian/substvars/cruft-general-diff/eval/hints | 2 + .../cruft-general-native/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-native/build-spec/fill-values | 3 + .../cruft-general-native/build-spec/pre-build | 32 + .../substvars/cruft-general-native/eval/desc | 2 + .../substvars/cruft-general-native/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../cruft-general-quilt/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../build-spec/debian/substvars | 1 + .../cruft-general-quilt/build-spec/fill-values | 4 + .../cruft-general-quilt/build-spec/pre-build | 34 + .../debian/substvars/cruft-general-quilt/eval/desc | 3 + .../substvars/cruft-general-quilt/eval/hints | 2 + .../build-spec/debian/patches/wig-pen | 5 + .../cruft-general-wig-pen/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-wig-pen/build-spec/fill-values | 4 + .../cruft-general-wig-pen/build-spec/orig/README | 1 + .../cruft-general-wig-pen/build-spec/pre-build | 32 + .../substvars/cruft-general-wig-pen/eval/desc | 2 + .../substvars/cruft-general-wig-pen/eval/hints | 1 + .../build-spec/debian/package-placeholder.symbols | 66 + .../package-placeholder/build-spec/fill-values | 3 + .../debian/symbols/package-placeholder/eval/desc | 2 + .../debian/symbols/package-placeholder/eval/hints | 1 + .../cruft-crlf-eols/build-spec/debian/changelog.in | 8 + .../cruft-crlf-eols/build-spec/debian/control.in | 15 + .../cruft-crlf-eols/build-spec/debian/install | 1 + .../cruft-crlf-eols/build-spec/fill-values | 4 + .../cruft-crlf-eols/build-spec/orig/dummy | 1 + .../trailing-whitespace/cruft-crlf-eols/eval/desc | 2 + .../trailing-whitespace/cruft-crlf-eols/eval/hints | 22 + .../build-spec/debian/README.source | 6 + .../build-spec/debian/changelog.in | 9 + .../build-spec/debian/rules | 7 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/rules | 13 + .../build-spec/fill-values | 3 + .../rules-without-newline-at-end/eval/desc | 2 + .../rules-without-newline-at-end/eval/hints | 1 + .../build-spec/debian/upstream/metadata | 4 + .../metadata/bogus-field/build-spec/fill-values | 4 + .../debian/upstream/metadata/bogus-field/eval/desc | 4 + .../upstream/metadata/bogus-field/eval/hints | 5 + .../build-spec/debian/upstream | 1 + .../build-spec/fill-values | 3 + .../cruft-obsolete-upstream-metadata/eval/desc | 2 + .../cruft-obsolete-upstream-metadata/eval/hints | 1 + .../build-spec/debian/upstream/metadata | 7 + .../metadata/fields-present/build-spec/fill-values | 4 + .../upstream/metadata/fields-present/eval/desc | 2 + .../upstream/metadata/fields-present/eval/hints | 7 + .../build-spec/debian/upstream/metadata | 2 + .../in-native-source/build-spec/fill-values | 4 + .../upstream/metadata/in-native-source/eval/desc | 2 + .../upstream/metadata/in-native-source/eval/hints | 1 + .../build-spec/debian/upstream/metadata | 2 + .../build-spec/fill-values | 4 + .../upstream-metadata-invalid-yml/eval/desc | 2 + .../upstream-metadata-invalid-yml/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/pre-build | 2 + .../upstream-metadata-is-missing/eval/desc | 2 + .../upstream-metadata-is-missing/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/pre-build | 11 + .../upstream-metadata-is-not-a-file/eval/desc | 2 + .../upstream-metadata-is-not-a-file/eval/hints | 2 + .../build-spec/debian/upstream/metadata | 5 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 7 + .../build-spec/debian/upstream/metadata | 6 + .../build-spec/fill-values | 4 + .../upstream-metadata-missing-repository/eval/desc | 2 + .../eval/hints | 7 + .../build-spec/debian/upstream/metadata | 5 + .../metadata/yaml-sequence/build-spec/fill-values | 4 + .../upstream/metadata/yaml-sequence/eval/desc | 2 + .../upstream/metadata/yaml-sequence/eval/hints | 2 + .../build-spec/debian/upstream/signing-key.asc | 160 + .../upstream-key-bloated/build-spec/fill-values | 3 + .../signing-key/upstream-key-bloated/eval/desc | 5 + .../signing-key/upstream-key-bloated/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 0 .../upstream-key-empty/build-spec/fill-values | 4 + .../signing-key/upstream-key-empty/eval/desc | 2 + .../signing-key/upstream-key-empty/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 101 + .../upstream-key-minimal/build-spec/fill-values | 3 + .../signing-key/upstream-key-minimal/eval/desc | 4 + .../signing-key/upstream-key-minimal/eval/hints | 1 + .../build-spec/debian/upstream-signing-key.pgp | 52 + .../build-spec/debian/upstream/signing-key.asc | 52 + .../build-spec/debian/watch | 5 + .../build-spec/fill-values | 3 + .../upstream-key-multiple-locations/eval/desc | 2 + .../upstream-key-multiple-locations/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 160 + .../upstream-key-native/build-spec/fill-values | 3 + .../signing-key/upstream-key-native/eval/desc | 2 + .../signing-key/upstream-key-native/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../upstream-key-nonsense/build-spec/fill-values | 3 + .../signing-key/upstream-key-nonsense/eval/desc | 2 + .../signing-key/upstream-key-nonsense/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 153 + .../upstream-keyring/build-spec/fill-values | 3 + .../signing-key/upstream-keyring/eval/desc | 4 + .../signing-key/upstream-keyring/eval/hints | 1 + .../build-spec/debian/a-file | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../variables/build-multiarch-in-install/eval/desc | 4 + .../build-multiarch-in-install/eval/hints | 1 + .../build-spec/debian/a-file | 1 + .../build-spec/debian/links | 1 + .../build-spec/fill-values | 3 + .../variables/build-multiarch-in-links/eval/desc | 4 + .../variables/build-multiarch-in-links/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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../version-substvars/legacy-binary/eval/desc | 2 + .../version-substvars/legacy-binary/eval/hints | 2 + .../version-substvars/legacy-binary/eval/post-test | 3 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../version-substvars/legacy-etcfiles/eval/desc | 2 + .../version-substvars/legacy-etcfiles/eval/hints | 1 + .../legacy-etcfiles/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../version-substvars/legacy-libbaz/eval/desc | 2 + .../version-substvars/legacy-libbaz/eval/hints | 2 + .../version-substvars/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/control.in | 62 + .../build-spec/fill-values | 3 + .../version-substvars-general/eval/desc | 2 + .../version-substvars-general/eval/hints | 7 + .../build-spec/debian/control.in | 57 + .../build-spec/fill-values | 5 + .../version-substvars-obsolete/eval/desc | 3 + .../version-substvars-obsolete/eval/hints | 8 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/fill-values | 6 + .../build-spec/pre-build | 18 + .../changes-upstream-signature-missing/eval/desc | 3 + .../changes-upstream-signature-missing/eval/hints | 2 + .../watch/filenamemangle/build-spec/debian/watch | 5 + .../watch/filenamemangle/build-spec/fill-values | 3 + .../checks/debian/watch/filenamemangle/eval/desc | 2 + .../checks/debian/watch/filenamemangle/eval/hints | 2 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../debian/watch/generic-dh-make-2008/eval/desc | 4 + .../debian/watch/generic-dh-make-2008/eval/hints | 1 + .../watch/generic-dh-make-2008/eval/post-test | 1 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../watch/legacy-foo++/build-spec/debian/control | 30 + .../watch/legacy-foo++/build-spec/debian/copyright | 7 + .../watch/legacy-foo++/build-spec/debian/rules | 36 + .../watch/legacy-foo++/build-spec/debian/watch | 6 + .../watch/legacy-foo++/build-spec/fill-values | 5 + .../checks/debian/watch/legacy-foo++/eval/desc | 2 + .../checks/debian/watch/legacy-foo++/eval/hints | 1 + .../debian/watch/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../watch/legacy-maintainer-scripts/eval/desc | 2 + .../watch/legacy-maintainer-scripts/eval/hints | 4 + .../watch/legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../watch/legacy-scripts/build-spec/debian/postrm | 9 + .../watch/legacy-scripts/build-spec/debian/preinst | 15 + .../watch/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../watch/legacy-scripts/build-spec/debian/watch | 8 + .../watch/legacy-scripts/build-spec/fill-values | 6 + .../watch/legacy-scripts/build-spec/orig/csh-foo | 2 + .../watch/legacy-scripts/build-spec/orig/envfoo | 4 + .../watch/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 + .../watch/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../watch/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 + .../watch/legacy-scripts/build-spec/orig/perlfoo | 3 + .../watch/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../watch/legacy-scripts/build-spec/orig/phpfoo | 7 + .../watch/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../watch/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../watch/legacy-scripts/build-spec/orig/tkfoo | 31 + .../watch/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../watch/legacy-scripts/build-spec/pre-build | 5 + .../checks/debian/watch/legacy-scripts/eval/desc | 2 + .../checks/debian/watch/legacy-scripts/eval/hints | 7 + .../debian/watch/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 4 + .../repack-indicator-in-debian-revision/eval/desc | 2 + .../repack-indicator-in-debian-revision/eval/hints | 1 + .../standard/comments-only/build-spec/debian/watch | 2 + .../standard/comments-only/build-spec/fill-values | 3 + .../debian/watch/standard/comments-only/eval/desc | 7 + .../debian/watch/standard/comments-only/eval/hints | 1 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../standard/legacy-foo++/build-spec/debian/rules | 36 + .../standard/legacy-foo++/build-spec/debian/watch | 6 + .../standard/legacy-foo++/build-spec/fill-values | 5 + .../debian/watch/standard/legacy-foo++/eval/desc | 2 + .../debian/watch/standard/legacy-foo++/eval/hints | 1 + .../watch/standard/legacy-foo++/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../standard/legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../standard/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../standard/legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../standard/legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../standard/legacy-scripts/build-spec/pre-build | 5 + .../debian/watch/standard/legacy-scripts/eval/desc | 2 + .../watch/standard/legacy-scripts/eval/hints | 3 + .../watch/standard/legacy-scripts/eval/post-test | 1 + .../standard/no-version/build-spec/debian/watch | 1 + .../standard/no-version/build-spec/fill-values | 3 + .../debian/watch/standard/no-version/eval/desc | 2 + .../debian/watch/standard/no-version/eval/hints | 1 + .../standard/version-1/build-spec/debian/watch | 2 + .../standard/version-1/build-spec/fill-values | 3 + .../debian/watch/standard/version-1/eval/desc | 2 + .../debian/watch/standard/version-1/eval/hints | 1 + .../standard/version-2/build-spec/debian/watch | 2 + .../standard/version-2/build-spec/fill-values | 3 + .../debian/watch/standard/version-2/eval/desc | 2 + .../debian/watch/standard/version-2/eval/hints | 2 + .../standard/version-3/build-spec/debian/watch | 2 + .../standard/version-3/build-spec/fill-values | 3 + .../debian/watch/standard/version-3/eval/desc | 2 + .../debian/watch/standard/version-3/eval/hints | 2 + .../standard/version-4/build-spec/debian/watch | 2 + .../standard/version-4/build-spec/fill-values | 3 + .../debian/watch/standard/version-4/eval/desc | 2 + .../debian/watch/standard/version-4/eval/hints | 1 + .../standard/version-5/build-spec/debian/watch | 2 + .../standard/version-5/build-spec/fill-values | 3 + .../debian/watch/standard/version-5/eval/desc | 2 + .../debian/watch/standard/version-5/eval/hints | 1 + .../build-spec/debian/changelog.in | 14 + .../build-spec/debian/upstream/signing-key.asc | 52 + .../watch-file-general/build-spec/debian/watch | 32 + .../watch-file-general/build-spec/fill-values | 4 + .../watch/standard/watch-file-general/eval/desc | 3 + .../watch/standard/watch-file-general/eval/hints | 4 + .../build-spec/debian/watch | 6 + .../two-upstream-components/build-spec/fill-values | 3 + .../debian/watch/two-upstream-components/eval/desc | 2 + .../watch/two-upstream-components/eval/hints | 3 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../watch-file-bug-765995/build-spec/debian/watch | 4 + .../watch-file-bug-765995/build-spec/fill-values | 4 + .../debian/watch/watch-file-bug-765995/eval/desc | 2 + .../debian/watch/watch-file-bug-765995/eval/hints | 3 + .../build-spec/debian/changelog.in | 14 + .../build-spec/debian/upstream/signing-key.asc | 52 + .../watch-file-general/build-spec/debian/watch | 32 + .../watch-file-general/build-spec/fill-values | 4 + .../debian/watch/watch-file-general/eval/desc | 3 + .../debian/watch/watch-file-general/eval/hints | 24 + .../watch-file-native/build-spec/debian/watch | 5 + .../watch/watch-file-native/build-spec/fill-values | 3 + .../debian/watch/watch-file-native/eval/desc | 2 + .../debian/watch/watch-file-native/eval/hints | 2 + .../build-spec/debian/changelog.in | 14 + .../build-spec/debian/watch | 3 + .../build-spec/fill-values | 4 + .../watch-file-old-upstream-version/eval/desc | 2 + .../watch-file-old-upstream-version/eval/hints | 2 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/debian/watch | 5 + .../watch-file-pgpmode-next/build-spec/fill-values | 4 + .../debian/watch/watch-file-pgpmode-next/eval/desc | 4 + .../watch/watch-file-pgpmode-next/eval/hints | 1 + .../build-spec/debian/watch | 3 + .../watch-file-pgpmode-none/build-spec/fill-values | 4 + .../debian/watch/watch-file-pgpmode-none/eval/desc | 4 + .../watch/watch-file-pgpmode-none/eval/hints | 1 + .../watch-file-prerelease/build-spec/debian/watch | 3 + .../watch-file-prerelease/build-spec/fill-values | 4 + .../debian/watch/watch-file-prerelease/eval/desc | 2 + .../debian/watch/watch-file-prerelease/eval/hints | 2 + .../build-spec/debian/watch | 3 + .../build-spec/fill-values | 4 + .../watch/watch-file-pubkey-missing/eval/desc | 2 + .../watch/watch-file-pubkey-missing/eval/hints | 2 + .../build-spec/debian/watch | 4 + .../build-spec/fill-values | 4 + .../watch/watch-file-should-mangle-unrel/eval/desc | 4 + .../watch-file-should-mangle-unrel/eval/hints | 1 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 4 + .../watch/watch-file-should-mangle/eval/desc | 2 + .../watch/watch-file-should-mangle/eval/hints | 3 + .../watch-file-template/build-spec/debian/watch | 3 + .../watch-file-template/build-spec/fill-values | 3 + .../debian/watch/watch-file-template/eval/desc | 2 + .../debian/watch/watch-file-template/eval/hints | 3 + .../build-spec/debian/control.in | 36 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../debug/automatic/control-file-general/eval/desc | 11 + .../automatic/control-file-general/eval/hints | 1 + .../build-spec/debian/control.in | 36 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../debug/obsolete/control-file-general/eval/desc | 11 + .../debug/obsolete/control-file-general/eval/hints | 1 + .../fields-general/build-spec/debian/control.in | 46 + .../obsolete/fields-general/build-spec/fill-values | 3 + .../checks/debug/obsolete/fields-general/eval/desc | 2 + .../debug/obsolete/fields-general/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../obsolete/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../obsolete/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../obsolete/legacy-libbaz/build-spec/orig/baz.c | 6 + .../obsolete/legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/debug/obsolete/legacy-libbaz/eval/desc | 2 + .../checks/debug/obsolete/legacy-libbaz/eval/hints | 1 + .../debug/obsolete/legacy-libbaz/eval/post-test | 4 + .../dbus/dbus-policy/build-spec/debian/install | 2 + .../dbus/dbus-policy/build-spec/fill-values | 3 + .../orig/etc/dbus-1/system.d/send-destination.conf | 14 + .../orig/usr/share/dbus-1/system.d/at-console.conf | 15 + .../checks/desktop/dbus/dbus-policy/eval/desc | 2 + .../checks/desktop/dbus/dbus-policy/eval/hints | 9 + .../dbus/dbus-services/build-spec/debian/install | 1 + .../dbus/dbus-services/build-spec/fill-values | 3 + .../usr/share/dbus-1/services/gvfs-daemon.service | 3 + .../services/org.mpris.MediaPlayer2.mpd.service | 3 + .../org.freedesktop.PolicyKit1.service | 5 + .../system-services/this-name-cannot-work.service | 4 + .../checks/desktop/dbus/dbus-services/eval/desc | 2 + .../checks/desktop/dbus/dbus-services/eval/hints | 2 + .../gnome/files-foo-in-bar/build-spec/debian/clean | 5 + .../gnome/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../gnome/files-foo-in-bar/build-spec/debian/rules | 18 + .../gnome/files-foo-in-bar/build-spec/fill-values | 3 + .../gnome/files-foo-in-bar/build-spec/orig/bar | 1 + .../gnome/files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../desktop/gnome/files-foo-in-bar/eval/desc | 2 + .../desktop/gnome/files-foo-in-bar/eval/hints | 1 + .../desktop/gnome/files-foo-in-bar/eval/post-test | 2 + .../gnome/gir/gir/build-spec/debian/control.in | 87 + .../gir/gir/build-spec/debian/gir1.2-bad.install | 2 + .../gir/build-spec/debian/gir1.2-good-42.install | 2 + .../build-spec/debian/gir1.2-perfect-42.install | 1 + .../gir/gir/build-spec/debian/libgood-42-0.install | 1 + .../gir/build-spec/debian/libgood-42-dev.install | 3 + .../gir/build-spec/debian/libperfect-42-0.install | 1 + .../build-spec/debian/libperfect-42-dev.install | 2 + .../desktop/gnome/gir/gir/build-spec/fill-values | 3 + .../desktop/gnome/gir/gir/build-spec/orig/Makefile | 7 + .../orig/usr/lib/girepository-1.0/Bad-23.typelib | 1 + .../orig/usr/lib/girepository-1.0/Good-42.typelib | 1 + .../usr/lib/girepository-1.0/GoodExtras-42.typelib | 1 + .../gir/build-spec/orig/usr/lib/libgood-42-0-dummy | 0 .../build-spec/orig/usr/lib/libgood-42-dev-dummy | 0 .../build-spec/orig/usr/share/gir-1.0/Bad-23.gir | 1 + .../build-spec/orig/usr/share/gir-1.0/Good-42.gir | 1 + .../orig/usr/share/gir-1.0/GoodExtras-42.gir | 1 + .../orig/usr/share/gir-1.0/Perfect-42.gir | 1 + t/recipes/checks/desktop/gnome/gir/gir/eval/desc | 3 + t/recipes/checks/desktop/gnome/gir/gir/eval/hints | 10 + .../checks/desktop/gnome/gir/gir/eval/post-test | 1 + .../build-spec/debian/control.in | 29 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../gnome/legacy-filenames/build-spec/debian/rules | 231 + .../gnome/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 + .../desktop/gnome/legacy-filenames/eval/desc | 2 + .../desktop/gnome/legacy-filenames/eval/hints | 1 + .../desktop/gnome/legacy-filenames/eval/post-test | 3 + .../icons/files-general/build-spec/debian/clean | 1 + .../icons/files-general/build-spec/debian/dirs | 13 + .../icons/files-general/build-spec/debian/examples | 1 + .../icons/files-general/build-spec/debian/install | 18 + .../icons/files-general/build-spec/debian/links | 1 + .../icons/files-general/build-spec/debian/manpages | 2 + .../icons/files-general/build-spec/debian/rules | 67 + .../icons/files-general/build-spec/fill-values | 4 + .../icons/files-general/build-spec/orig/--lzma | 2 + .../icons/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../icons/files-general/build-spec/orig/foo.5 | 5 + .../icons/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 + .../icons/files-general/build-spec/orig/sudotest | 0 .../icons/files-general/build-spec/orig/tnu.1 | 5 + .../icons/files-general/build-spec/orig/types | 0 .../checks/desktop/icons/files-general/eval/desc | 3 + .../checks/desktop/icons/files-general/eval/hints | 4 + .../x11/files-fonts/build-spec/debian/control.in | 31 + .../build-spec/debian/files-fonts.install | 14 + .../build-spec/debian/ttf-files-fonts.install | 4 + .../build-spec/debian/ttf-files-fonts.links | 1 + .../desktop/x11/files-fonts/build-spec/fill-values | 3 + .../x11/files-fonts/build-spec/orig/4shadow.ttf | 2 + .../x11/files-fonts/build-spec/orig/font.otf | 1 + .../x11/files-fonts/build-spec/orig/font.ttf | 1 + .../x11/files-fonts/build-spec/orig/foo.pcf | 1 + t/recipes/checks/desktop/x11/files-fonts/eval/desc | 2 + .../checks/desktop/x11/files-fonts/eval/hints | 7 + .../x11/files-general/build-spec/debian/clean | 1 + .../x11/files-general/build-spec/debian/dirs | 13 + .../x11/files-general/build-spec/debian/examples | 1 + .../x11/files-general/build-spec/debian/install | 21 + .../x11/files-general/build-spec/debian/links | 1 + .../x11/files-general/build-spec/debian/manpages | 2 + .../x11/files-general/build-spec/debian/rules | 67 + .../x11/files-general/build-spec/fill-values | 4 + .../x11/files-general/build-spec/orig/--lzma | 2 + .../desktop/x11/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../x11/files-general/build-spec/orig/foo.5 | 5 + .../x11/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 .../build-spec/orig/lintian-install.conf | 2 + .../files-general/build-spec/orig/lintian-lib.conf | 1 + .../x11/files-general/build-spec/orig/lintian.conf | 1 + .../files-general/build-spec/orig/mimeinfo.cache | 2 + .../x11/files-general/build-spec/orig/php-foo.ini | 1 + .../x11/files-general/build-spec/orig/sudotest | 0 .../x11/files-general/build-spec/orig/tnu.1 | 5 + .../x11/files-general/build-spec/orig/types | 0 .../checks/desktop/x11/files-general/eval/desc | 3 + .../checks/desktop/x11/files-general/eval/hints | 4 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 8 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../scripts-missing-call-to-update-fonts/eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../x11/legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../x11/legacy-filenames/build-spec/debian/rules | 231 + .../x11/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 + .../checks/desktop/x11/legacy-filenames/eval/desc | 2 + .../checks/desktop/x11/legacy-filenames/eval/hints | 3 + .../desktop/x11/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/README.source | 5 + .../build-spec/debian/control.in | 22 + .../build-spec/debian/copyright | 8 + .../build-spec/debian/copyright_hints | 1 + .../build-spec/debian/rules | 5 + .../build-spec/fill-values | 3 + .../dh-make/cruft-fixme-placeholders/eval/desc | 2 + .../dh-make/cruft-fixme-placeholders/eval/hints | 6 + .../build-spec/debian/README.source | 5 + .../cruft-readme-source/build-spec/fill-values | 3 + .../checks/dh-make/cruft-readme-source/eval/desc | 2 + .../checks/dh-make/cruft-readme-source/eval/hints | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../template/generic-dh-make-2008/eval/desc | 4 + .../template/generic-dh-make-2008/eval/hints | 17 + .../template/generic-dh-make-2008/eval/post-test | 1 + .../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 + .../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 + .../devhelp/legacy-filenames/eval/desc | 2 + .../devhelp/legacy-filenames/eval/hints | 1 + .../devhelp/legacy-filenames/eval/post-test | 3 + .../standard/version-1/build-spec/debian/install | 1 + .../standard/version-1/build-spec/fill-values | 3 + .../build-spec/orig/devhelp/index.devhelp | 1 + .../devhelp/standard/version-1/eval/desc | 2 + .../devhelp/standard/version-1/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/Doxyfile | 2363 +++++ .../build-spec/orig/src/doc/html/doxygen.css | 1440 +++ .../build-spec/orig/src/doc/html/doxygen.png | Bin 0 -> 3778 bytes .../build-spec/orig/src/doc/html/files.html | 98 + .../build-spec/orig/src/doc/html/index.html | 87 + .../build-spec/orig/src/doc/html/tabs.css | 60 + .../build-spec/orig/src/doc/latex/doxygen.sty | 1 + .../build-spec/orig/src/doc/latex/files.tex | 4 + .../build-spec/orig/src/doc/latex/refman.tex | 153 + .../build-spec/orig/src/hello.c | 10 + .../doxygen/cruft-doxygen-documentation/eval/desc | 2 + .../doxygen/cruft-doxygen-documentation/eval/hints | 4 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/Doxyfile | 2363 +++++ .../build-spec/orig/src/doc/html/doxygen.css | 1440 +++ .../build-spec/orig/src/doc/html/doxygen.png | Bin 0 -> 3778 bytes .../build-spec/orig/src/doc/html/dynsections.js | 97 + .../build-spec/orig/src/doc/html/files.html | 98 + .../build-spec/orig/src/doc/html/globals.html | 103 + .../build-spec/orig/src/doc/html/globals_func.html | 103 + .../build-spec/orig/src/doc/html/graph_legend.html | 150 + .../orig/src/doc/html/graph_legend.map.gz | Bin 0 -> 52 bytes .../build-spec/orig/src/doc/html/graph_legend.md5 | 1 + .../build-spec/orig/src/doc/html/graph_legend.png | Bin 0 -> 15147 bytes .../build-spec/orig/src/doc/html/index.html | 87 + .../build-spec/orig/src/doc/html/tabs.css | 60 + .../build-spec/orig/src/hello.c | 10 + .../doxygen/files-doxygen-documentation/eval/desc | 2 + .../doxygen/files-doxygen-documentation/eval/hints | 6 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../examples/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../examples/files-foo-in-bar/eval/desc | 2 + .../examples/files-foo-in-bar/eval/hints | 1 + .../examples/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/binary.docs | 3 + .../build-spec/debian/binary.init | 21 + .../build-spec/debian/binary.install | 9 + .../build-spec/debian/binary.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 30 + .../build-spec/debian/game.install | 1 + .../build-spec/debian/game.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/rules | 31 + .../files-bad-perm-owner/build-spec/fill-values | 3 + .../files-bad-perm-owner/build-spec/orig/README | 1 + .../files-bad-perm-owner/build-spec/orig/read-only | 1 + .../build-spec/orig/sample.ali | 1 + .../files-bad-perm-owner/build-spec/orig/script | 20 + .../files-bad-perm-owner/build-spec/orig/some-file | 2 + .../documentation/files-bad-perm-owner/eval/desc | 2 + .../documentation/files-bad-perm-owner/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/Doxyfile | 2363 +++++ .../build-spec/orig/src/doc/html/doxygen.css | 1440 +++ .../build-spec/orig/src/doc/html/doxygen.png | Bin 0 -> 3778 bytes .../build-spec/orig/src/doc/html/dynsections.js | 97 + .../build-spec/orig/src/doc/html/files.html | 98 + .../build-spec/orig/src/doc/html/globals.html | 103 + .../build-spec/orig/src/doc/html/globals_func.html | 103 + .../build-spec/orig/src/doc/html/graph_legend.html | 150 + .../orig/src/doc/html/graph_legend.map.gz | Bin 0 -> 52 bytes .../build-spec/orig/src/doc/html/graph_legend.md5 | 1 + .../build-spec/orig/src/doc/html/graph_legend.png | Bin 0 -> 15147 bytes .../build-spec/orig/src/doc/html/index.html | 87 + .../build-spec/orig/src/doc/html/tabs.css | 60 + .../build-spec/orig/src/hello.c | 10 + .../files-doxygen-documentation/eval/desc | 2 + .../files-doxygen-documentation/eval/hints | 2 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../documentation/files-foo-in-bar/eval/desc | 2 + .../documentation/files-foo-in-bar/eval/hints | 1 + .../documentation/files-foo-in-bar/eval/post-test | 2 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../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 + .../files-general/build-spec/orig/sudotest | 0 .../files-general/build-spec/orig/tnu.1 | 5 + .../files-general/build-spec/orig/types | 0 .../checks/documentation/files-general/eval/desc | 3 + .../checks/documentation/files-general/eval/hints | 1 + .../build-spec/debian/rules | 73 + .../build-spec/fill-values | 3 + .../files-package-contains-foo/eval/desc | 2 + .../files-package-contains-foo/eval/hints | 8 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 53 + .../build-spec/debian/python-kinterbasdb.install | 7 + .../files-python-general/build-spec/debian/rules | 19 + .../files-python-general/build-spec/fill-values | 5 + .../files-python-general/build-spec/orig/Makefile | 7 + .../files-python-general/build-spec/orig/lib.c | 4 + .../build-spec/orig/objects.inv | 199 + .../build-spec/orig/python.egg | 1 + .../documentation/files-python-general/eval/desc | 3 + .../documentation/files-python-general/eval/hints | 1 + .../debian/files-uses-dpkg-database-directly.docs | 2 + .../files-uses-dpkg-database-directly.install | 6 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 11 + .../build-spec/orig/README | 1 + .../build-spec/orig/misc.txt | 1 + .../build-spec/orig/test-1 | 9 + .../build-spec/orig/test-2 | 3 + .../build-spec/orig/test.c | 13 + .../files-uses-dpkg-database-directly/eval/desc | 2 + .../files-uses-dpkg-database-directly/eval/hints | 2 + .../files-zero-byte-doc/build-spec/fill-values | 4 + .../files-zero-byte-doc/build-spec/orig/Makefile | 29 + .../documentation/files-zero-byte-doc/eval/desc | 3 + .../documentation/files-zero-byte-doc/eval/hints | 6 + .../files-zero-byte-doc/eval/post-test | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/documentation/legacy-binary/eval/desc | 2 + .../checks/documentation/legacy-binary/eval/hints | 1 + .../documentation/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 + .../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 + .../documentation/legacy-filenames/eval/desc | 2 + .../documentation/legacy-filenames/eval/hints | 9 + .../documentation/legacy-filenames/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/documentation/legacy-libbaz/eval/desc | 2 + .../checks/documentation/legacy-libbaz/eval/hints | 2 + .../documentation/legacy-libbaz/eval/post-test | 4 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../legacy-scripts/build-spec/pre-build | 5 + .../checks/documentation/legacy-scripts/eval/desc | 2 + .../checks/documentation/legacy-scripts/eval/hints | 1 + .../documentation/legacy-scripts/eval/post-test | 1 + .../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 + .../infofiles-general/build-spec/debian/rules | 27 + .../infofiles-general/build-spec/fill-values | 3 + .../infofiles-general/build-spec/orig/bar.info | 2 + .../infofiles-general/build-spec/orig/foo.info | 6 + .../infofiles-general/build-spec/orig/w-image.info | Bin 0 -> 209 bytes .../texinfo/infofiles-general/eval/desc | 3 + .../texinfo/infofiles-general/eval/hints | 9 + .../udeb-with-doc/build-spec/debian/control.in | 20 + .../udeb-with-doc/build-spec/debian/install | 1 + .../udeb-with-doc/build-spec/fill-values | 4 + .../udeb-with-doc/build-spec/orig/some-doc | 1 + .../checks/documentation/udeb-with-doc/eval/desc | 2 + .../checks/documentation/udeb-with-doc/eval/hints | 1 + .../unpack-numerical-owner/build-spec/fill-values | 3 + .../unpack-numerical-owner/build-spec/tar-control | 8 + .../unpack-numerical-owner/build-spec/tar-data | 7 + .../documentation/unpack-numerical-owner/eval/desc | 3 + .../unpack-numerical-owner/eval/hints | 0 .../emacs/elpa/elpa/build-spec/debian/control.in | 19 + .../elpa/elpa/build-spec/debian/elpa-foo.elpa | 1 + .../checks/emacs/elpa/elpa/build-spec/debian/rules | 4 + .../checks/emacs/elpa/elpa/build-spec/fill-values | 4 + .../checks/emacs/elpa/elpa/build-spec/orig/foo.el | 16 + t/recipes/checks/emacs/elpa/elpa/eval/desc | 4 + t/recipes/checks/emacs/elpa/elpa/eval/hints | 0 .../build-spec/debian/emacsen-compat | 1 + .../build-spec/debian/emacsen-install | 44 + .../build-spec/debian/emacsen-remove | 15 + .../build-spec/debian/emacsen-startup | 24 + .../elpa/emacsen-common/build-spec/debian/install | 1 + .../elpa/emacsen-common/build-spec/fill-values | 3 + .../elpa/emacsen-common/build-spec/orig/foo.el | 1 + .../checks/emacs/elpa/emacsen-common/eval/desc | 2 + .../checks/emacs/elpa/emacsen-common/eval/hints | 1 + .../build-spec/debian/binary.docs | 3 + .../build-spec/debian/binary.init | 21 + .../build-spec/debian/binary.install | 9 + .../build-spec/debian/binary.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 30 + .../build-spec/debian/game.install | 1 + .../build-spec/debian/game.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/rules | 31 + .../files-bad-perm-owner/build-spec/fill-values | 3 + .../files-bad-perm-owner/build-spec/orig/README | 1 + .../files-bad-perm-owner/build-spec/orig/read-only | 1 + .../build-spec/orig/sample.ali | 1 + .../files-bad-perm-owner/build-spec/orig/script | 20 + .../files-bad-perm-owner/build-spec/orig/some-file | 2 + .../checks/emacs/files-bad-perm-owner/eval/desc | 2 + .../checks/emacs/files-bad-perm-owner/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/examples/testsuite | 1 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/examples | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/examples/testsuite | 1 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/fill-values | 4 + .../build-spec/orig/examples/testsuite | 1 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../files-zero-byte-executable-in-path/eval/desc | 2 + .../files-zero-byte-executable-in-path/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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/executable/legacy-binary/eval/desc | 2 + .../checks/executable/legacy-binary/eval/hints | 2 + .../checks/executable/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 + .../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 + .../checks/executable/legacy-filenames/eval/desc | 2 + .../checks/executable/legacy-filenames/eval/hints | 2 + .../executable/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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 111 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/py3.Xfoo | 4 + .../legacy-scripts/build-spec/orig/py3foo | 4 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../executable/legacy-scripts/build-spec/pre-build | 5 + .../checks/executable/legacy-scripts/eval/desc | 2 + .../checks/executable/legacy-scripts/eval/hints | 1 + .../executable/legacy-scripts/eval/post-test | 1 + .../scripts-exec/build-spec/debian/clean | 1 + .../scripts-exec/build-spec/debian/install | 1 + .../scripts-exec/build-spec/debian/manpages | 1 + .../scripts-exec/build-spec/debian/rules | 22 + .../executable/scripts-exec/build-spec/fill-values | 3 + .../scripts-exec/build-spec/orig/01-normal-script | 3 + .../scripts-exec/build-spec/orig/02-no-exec-script | 3 + .../build-spec/orig/03-hardlink-script | 1 + .../scripts-exec/build-spec/orig/04-not-a-script | 2 + .../scripts-exec/build-spec/orig/script.pod | 18 + t/recipes/checks/executable/scripts-exec/eval/desc | 2 + .../checks/executable/scripts-exec/eval/hints | 1 + .../fields-architecture/build-spec/fill-values | 3 + .../fields-architecture/build-spec/orig/Makefile | 5 + .../architecture/fields-architecture/eval/desc | 4 + .../architecture/fields-architecture/eval/hints | 1 + .../fields-aspell/build-spec/debian/control.in | 16 + .../fields-aspell/build-spec/fill-values | 4 + .../fields/architecture/fields-aspell/eval/desc | 2 + .../fields/architecture/fields-aspell/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 5 + .../fields-doc-pkg-wrong-arch/eval/desc | 2 + .../fields-doc-pkg-wrong-arch/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../architecture/fields-general-bad/eval/desc | 2 + .../architecture/fields-general-bad/eval/hints | 2 + .../build-spec/DEBIAN/control.in | 11 + .../fields-wildcard-binary/build-spec/fill-values | 3 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../architecture/fields-wildcard-binary/eval/desc | 2 + .../architecture/fields-wildcard-binary/eval/hints | 1 + .../build-spec/debian/control.in | 24 + .../build-spec/debian/watch | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../magic-architecture-srcpkg-ok/eval/desc | 3 + .../magic-architecture-srcpkg-ok/eval/hints | 0 .../build-spec/debian/watch | 1 + .../build-spec/dpkg-overrides | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../magic-architecture-srcpkg-wrong/eval/desc | 2 + .../magic-architecture-srcpkg-wrong/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 4 + .../eval/hints | 0 .../build-spec/debian/control.in | 30 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../fields-redundant/build-spec/debian/control.in | 18 + .../fields-redundant/build-spec/debian/install | 1 + .../bugs/fields-redundant/build-spec/fill-values | 3 + .../fields-redundant/build-spec/orig/some-file | 2 + .../checks/fields/bugs/fields-redundant/eval/desc | 2 + .../checks/fields/bugs/fields-redundant/eval/hints | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../bugs/legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../bugs/legacy-relations/build-spec/fill-values | 5 + .../checks/fields/bugs/legacy-relations/eval/desc | 2 + .../checks/fields/bugs/legacy-relations/eval/hints | 2 + .../fields/bugs/legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 19 + .../fields-built-using/build-spec/fill-values | 3 + .../built-using/fields-built-using/eval/desc | 2 + .../built-using/fields-built-using/eval/hints | 1 + .../no-sha256-checksum/build-spec/fill-values | 6 + .../no-sha256-checksum/build-spec/post-build | 7 + .../fields/checksums/no-sha256-checksum/eval/desc | 2 + .../fields/checksums/no-sha256-checksum/eval/hints | 1 + .../deb822/native-source/build-spec/fill-values | 3 + .../checks/fields/deb822/native-source/eval/desc | 2 + .../checks/fields/deb822/native-source/eval/hints | 1 + .../fields/deb822/native-source/eval/post-test | 2 + .../build-spec/debian/control.in | 41 + .../build-spec/fill-values | 3 + .../description-empty-paragraph/eval/desc | 2 + .../description-empty-paragraph/eval/hints | 2 + .../build-spec/debian/control.in | 155 + .../description-general/build-spec/fill-values | 3 + .../description/description-general/eval/desc | 4 + .../description/description-general/eval/hints | 28 + .../build-spec/debian/control.in | 18 + .../description-homepage/build-spec/fill-values | 3 + .../description/description-homepage/eval/desc | 2 + .../description/description-homepage/eval/hints | 1 + .../build-spec/debian/control.in | 25 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 8 + .../description-perl/build-spec/debian/control.in | 27 + .../debian/libdeb-long-description-perl.install | 1 + .../libdeb-long-description-proper-perl.install | 1 + .../description-perl/build-spec/fill-values | 3 + .../build-spec/orig/lib/Deb/Long/Description.pm | 5 + .../orig/lib/Deb/Long/Description/Proper.pm | 5 + .../fields/description/description-perl/eval/desc | 2 + .../fields/description/description-perl/eval/hints | 1 + .../build-spec/debian/control.in | 117 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 5 + .../build-spec/debian/control.in | 17 + .../description-wording/build-spec/fill-values | 3 + .../description/description-wording/eval/desc | 2 + .../description/description-wording/eval/hints | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../description/generic-dh-make-2008/eval/desc | 4 + .../description/generic-dh-make-2008/eval/hints | 2 + .../generic-dh-make-2008/eval/post-test | 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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../fields/description/legacy-binary/eval/desc | 2 + .../fields/description/legacy-binary/eval/hints | 4 + .../description/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../fields/description/legacy-debconf/eval/desc | 2 + .../fields/description/legacy-debconf/eval/hints | 1 + .../description/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../fields/description/legacy-etcfiles/eval/desc | 2 + .../fields/description/legacy-etcfiles/eval/hints | 1 + .../description/legacy-etcfiles/eval/post-test | 1 + .../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 + .../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 + .../fields/description/legacy-filenames/eval/desc | 2 + .../fields/description/legacy-filenames/eval/hints | 1 + .../description/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../fields/description/legacy-relations/eval/desc | 2 + .../fields/description/legacy-relations/eval/hints | 2 + .../description/legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 27 + .../spelling-multiword/build-spec/fill-values | 3 + .../description/spelling-multiword/eval/desc | 2 + .../description/spelling-multiword/eval/hints | 5 + .../build-spec/debian/control.in | 20 + .../spelling-package-name/build-spec/fill-values | 3 + .../description/spelling-package-name/eval/desc | 4 + .../description/spelling-package-name/eval/hints | 0 .../squeezed-comma/build-spec/fill-values | 3 + .../fields/description/squeezed-comma/eval/desc | 3 + .../fields/description/squeezed-comma/eval/hints | 1 + .../build-spec/debian/changelog.in | 12 + .../changelog-file-backport/build-spec/fill-values | 5 + .../distribution/changelog-file-backport/eval/desc | 8 + .../changelog-file-backport/eval/hints | 2 + .../profiles/lintian-test/main.profile | 2 + .../main/data/changes-file/known-dists | 23 + .../build-spec/debian/changelog.in | 6 + .../changelog-file-stable/build-spec/fill-values | 4 + .../distribution/changelog-file-stable/eval/desc | 3 + .../distribution/changelog-file-stable/eval/hints | 0 .../build-spec/fill-values | 4 + .../build-spec/test.changes.in | 12 + .../changes-bad-ubuntu-distribution/eval/desc | 3 + .../changes-bad-ubuntu-distribution/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/test.changes.in | 16 + .../changes-distribution-mismatch/eval/desc | 2 + .../changes-distribution-mismatch/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/test.changes.in | 16 + .../changes-experimental-mismatch/eval/desc | 2 + .../changes-experimental-mismatch/eval/hints | 1 + .../changes-unreleased/build-spec/fill-values | 3 + .../changes-unreleased/build-spec/test.changes.in | 16 + .../distribution/changes-unreleased/eval/desc | 2 + .../distribution/changes-unreleased/eval/hints | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 6 + .../build-spec/fill-values | 3 + .../distribution-multiple-bad/eval/desc | 3 + .../distribution-multiple-bad/eval/hints | 6 + .../build-spec/debian/changelog.in | 6 + .../build-spec/fill-values | 3 + .../distribution-ubuntu-native/eval/desc | 5 + .../distribution-ubuntu-native/eval/hints | 0 .../build-spec/debian/changelog.in | 6 + .../nmu-ubuntu-native/build-spec/fill-values | 3 + .../distribution/nmu-ubuntu-native/eval/desc | 5 + .../distribution/nmu-ubuntu-native/eval/hints | 0 .../fields-dmua/build-spec/debian/control.in | 17 + .../fields-dmua/build-spec/fill-values | 3 + .../fields/dm-upload-allowed/fields-dmua/eval/desc | 2 + .../dm-upload-allowed/fields-dmua/eval/hints | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../dm-upload-allowed/legacy-binary/eval/desc | 2 + .../dm-upload-allowed/legacy-binary/eval/hints | 1 + .../dm-upload-allowed/legacy-binary/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../legacy-foo++/build-spec/debian/rules | 36 + .../legacy-foo++/build-spec/debian/watch | 6 + .../legacy-foo++/build-spec/fill-values | 5 + .../dm-upload-allowed/legacy-foo++/eval/desc | 2 + .../dm-upload-allowed/legacy-foo++/eval/hints | 2 + .../dm-upload-allowed/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../empty/empty-section/build-spec/fill-values | 4 + .../checks/fields/empty/empty-section/eval/desc | 2 + .../checks/fields/empty/empty-section/eval/hints | 1 + .../build-spec/debian/control.in | 21 + .../build-spec/fill-values | 3 + .../fields-essential-yes-source/eval/desc | 5 + .../fields-essential-yes-source/eval/hints | 0 .../fields-essential/build-spec/debian/control.in | 28 + .../fields-essential/build-spec/debian/rules | 9 + .../fields-essential/build-spec/fill-values | 3 + .../fields/essential/fields-essential/eval/desc | 2 + .../fields/essential/fields-essential/eval/hints | 4 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../essential/legacy-fields/build-spec/fill-values | 5 + .../fields/essential/legacy-fields/eval/desc | 2 + .../fields/essential/legacy-fields/eval/hints | 2 + .../fields/essential/legacy-fields/eval/post-test | 1 + .../changes-missing-format/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 11 + .../fields/format/changes-missing-format/eval/desc | 2 + .../format/changes-missing-format/eval/hints | 1 + .../build-spec/debian/patches/wig-pen | 5 + .../cruft-general-wig-pen/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-wig-pen/build-spec/fill-values | 4 + .../cruft-general-wig-pen/build-spec/orig/README | 1 + .../cruft-general-wig-pen/build-spec/pre-build | 32 + .../fields/format/cruft-general-wig-pen/eval/desc | 2 + .../fields/format/cruft-general-wig-pen/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../fields-bioconductor-homepage/eval/desc | 2 + .../fields-bioconductor-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../fields-cpan-homepage/build-spec/fill-values | 3 + .../fields/homepage/fields-cpan-homepage/eval/desc | 2 + .../homepage/fields-cpan-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../fields-cran-homepage/build-spec/fill-values | 3 + .../fields/homepage/fields-cran-homepage/eval/desc | 2 + .../homepage/fields-cran-homepage/eval/hints | 2 + .../fields-general/build-spec/debian/control.in | 46 + .../homepage/fields-general/build-spec/fill-values | 3 + .../fields/homepage/fields-general/eval/desc | 2 + .../fields/homepage/fields-general/eval/hints | 5 + .../build-spec/debian/control.in | 17 + .../fields-github-homepage/build-spec/fill-values | 3 + .../homepage/fields-github-homepage/eval/desc | 2 + .../homepage/fields-github-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../fields-gitlab-homepage/build-spec/fill-values | 3 + .../homepage/fields-gitlab-homepage/eval/desc | 2 + .../homepage/fields-gitlab-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../fields-no-homepage/build-spec/fill-values | 3 + .../fields/homepage/fields-no-homepage/eval/desc | 3 + .../fields/homepage/fields-no-homepage/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../homepage/fields-no-source-homepage/eval/desc | 2 + .../homepage/fields-no-source-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../fields-salsa-homepage/build-spec/fill-values | 3 + .../homepage/fields-salsa-homepage/eval/desc | 2 + .../homepage/fields-salsa-homepage/eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../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 + .../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 + .../homepage/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../homepage/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../homepage/legacy-binary/build-spec/fill-values | 5 + .../homepage/legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../homepage/legacy-binary/build-spec/orig/hello.c | 8 + .../checks/fields/homepage/legacy-binary/eval/desc | 2 + .../fields/homepage/legacy-binary/eval/hints | 4 + .../fields/homepage/legacy-binary/eval/post-test | 3 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../fields/homepage/legacy-relations/eval/desc | 2 + .../fields/homepage/legacy-relations/eval/hints | 3 + .../homepage/legacy-relations/eval/post-test | 1 + .../fields-udeb/build-spec/debian/control.in | 19 + .../fields-udeb/build-spec/fill-values | 3 + .../installer-menu-item/fields-udeb/eval/desc | 2 + .../installer-menu-item/fields-udeb/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../depends-field-too-long/build-spec/fill-values | 3 + .../fields/length/depends-field-too-long/eval/desc | 3 + .../length/depends-field-too-long/eval/hints | 1 + .../build-spec/debian/control.in | 19 + .../provides-field-too-long/build-spec/fill-values | 3 + .../length/provides-field-too-long/eval/desc | 3 + .../length/provides-field-too-long/eval/hints | 1 + .../alioth-list/build-spec/fill-values | 4 + .../fields/mail-address/alioth-list/eval/desc | 2 + .../fields/mail-address/alioth-list/eval/hints | 2 + .../changed-by-localhost/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 12 + .../mail-address/changed-by-localhost/eval/desc | 2 + .../mail-address/changed-by-localhost/eval/hints | 3 + .../changed-by-malformed/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 12 + .../mail-address/changed-by-malformed/eval/desc | 2 + .../mail-address/changed-by-malformed/eval/hints | 2 + .../changed-by-no-name/build-spec/fill-values | 3 + .../changed-by-no-name/build-spec/test.changes.in | 12 + .../mail-address/changed-by-no-name/eval/desc | 2 + .../mail-address/changed-by-no-name/eval/hints | 3 + .../changed-by-root-email/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 12 + .../mail-address/changed-by-root-email/eval/desc | 2 + .../mail-address/changed-by-root-email/eval/hints | 3 + .../changed-by-root/build-spec/fill-values | 3 + .../changed-by-root/build-spec/test.changes.in | 12 + .../fields/mail-address/changed-by-root/eval/desc | 2 + .../fields/mail-address/changed-by-root/eval/hints | 3 + .../build-spec/debian/changelog.in | 12 + .../changelog-file-backport/build-spec/fill-values | 5 + .../mail-address/changelog-file-backport/eval/desc | 6 + .../changelog-file-backport/eval/hints | 4 + .../profiles/lintian-test/main.profile | 2 + .../main/data/changes-file/known-dists | 23 + .../build-spec/fill-values | 4 + .../build-spec/test.changes.in | 12 + .../changes-bad-ubuntu-distribution/eval/desc | 3 + .../changes-bad-ubuntu-distribution/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/test.changes.in | 16 + .../changes-distribution-mismatch/eval/desc | 2 + .../changes-distribution-mismatch/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/test.changes.in | 16 + .../changes-experimental-mismatch/eval/desc | 2 + .../changes-experimental-mismatch/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/referenced-files/__some-file__ | 1 + .../build-spec/test.changes.in | 18 + .../changes-file-bad-section/eval/desc | 2 + .../changes-file-bad-section/eval/hints | 2 + .../build-spec/fill-values | 3 + .../build-spec/referenced-files/__some-file__ | 1 + .../build-spec/test.changes.in | 18 + .../changes-file-size-checksum-mismatch/eval/desc | 2 + .../changes-file-size-checksum-mismatch/eval/hints | 2 + .../build-spec/debian/control.in | 36 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 6 + .../changes-missing-fields/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 9 + .../mail-address/changes-missing-fields/eval/desc | 2 + .../mail-address/changes-missing-fields/eval/hints | 2 + .../changes-missing-format/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 11 + .../mail-address/changes-missing-format/eval/desc | 2 + .../mail-address/changes-missing-format/eval/hints | 2 + .../changes-unreleased/build-spec/fill-values | 3 + .../changes-unreleased/build-spec/test.changes.in | 16 + .../mail-address/changes-unreleased/eval/desc | 2 + .../mail-address/changes-unreleased/eval/hints | 2 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 4 + .../checksum-count-mismatch/build-spec/fill-values | 3 + .../build-spec/post-build.in | 3 + .../mail-address/checksum-count-mismatch/eval/desc | 2 + .../checksum-count-mismatch/eval/hints | 4 + .../build-spec/debian/changelog.in | 6 + .../build-spec/fill-values | 3 + .../distribution-multiple-bad/eval/desc | 3 + .../distribution-multiple-bad/eval/hints | 4 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 5 + .../fields-maintainer-bounces/eval/desc | 5 + .../fields-maintainer-bounces/eval/hints | 10 + .../build-spec/debian/control.in | 22 + .../build-spec/fill-values | 3 + .../fields-maintainer-general/eval/desc | 2 + .../fields-maintainer-general/eval/hints | 16 + .../fields-maintainer/build-spec/debian/control.in | 18 + .../fields-maintainer/build-spec/fill-values | 3 + .../mail-address/fields-maintainer/eval/desc | 2 + .../mail-address/fields-maintainer/eval/hints | 8 + .../build-spec/fill-values | 4 + .../fields-no-human-maintainer/eval/desc | 2 + .../fields-no-human-maintainer/eval/hints | 4 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 16 + .../fields-qa-maint-address/build-spec/fill-values | 3 + .../mail-address/fields-qa-maint-address/eval/desc | 2 + .../fields-qa-maint-address/eval/hints | 8 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 16 + .../fields-qa-maint-name/build-spec/fill-values | 3 + .../mail-address/fields-qa-maint-name/eval/desc | 2 + .../mail-address/fields-qa-maint-name/eval/hints | 8 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../fields-root-maint-address/eval/desc | 2 + .../fields-root-maint-address/eval/hints | 10 + .../fields-uploaders/build-spec/debian/control.in | 23 + .../fields-uploaders/build-spec/fill-values | 3 + .../fields/mail-address/fields-uploaders/eval/desc | 2 + .../mail-address/fields-uploaders/eval/hints | 10 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../generic-empty/build-spec/debian/rules | 9 + .../generic-empty/build-spec/fill-values | 4 + .../generic-empty/build-spec/orig/README | 4 + .../generic-empty/build-spec/pre-build | 6 + .../fields/mail-address/generic-empty/eval/desc | 2 + .../fields/mail-address/generic-empty/eval/hints | 4 + .../java-team-fp/build-spec/fill-values | 4 + .../fields/mail-address/java-team-fp/eval/desc | 3 + .../fields/mail-address/java-team-fp/eval/hints | 2 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../legacy-foo++/build-spec/debian/rules | 36 + .../legacy-foo++/build-spec/debian/watch | 6 + .../legacy-foo++/build-spec/fill-values | 5 + .../fields/mail-address/legacy-foo++/eval/desc | 2 + .../fields/mail-address/legacy-foo++/eval/hints | 20 + .../mail-address/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 8 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/fill-values | 3 + .../build-spec/post-build.in | 7 + .../mismatch-between-changes-and-source/eval/desc | 2 + .../mismatch-between-changes-and-source/eval/hints | 5 + .../missing-closing-bracket/build-spec/fill-values | 4 + .../mail-address/missing-closing-bracket/eval/desc | 5 + .../missing-closing-bracket/eval/hints | 3 + .../qa-group-fp/build-spec/fill-values | 4 + .../fields/mail-address/qa-group-fp/eval/desc | 4 + .../fields/mail-address/qa-group-fp/eval/hints | 4 + .../right-to-left-override/build-spec/fill-values | 4 + .../mail-address/right-to-left-override/eval/desc | 3 + .../mail-address/right-to-left-override/eval/hints | 4 + .../two-maintainers/build-spec/fill-values | 4 + .../fields/mail-address/two-maintainers/eval/desc | 2 + .../fields/mail-address/two-maintainers/eval/hints | 12 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/debian/watch | 5 + .../watch-file-pgpmode-next/build-spec/fill-values | 4 + .../mail-address/watch-file-pgpmode-next/eval/desc | 3 + .../watch-file-pgpmode-next/eval/hints | 4 + .../maintainer/alioth-list/build-spec/fill-values | 4 + .../checks/fields/maintainer/alioth-list/eval/desc | 2 + .../fields/maintainer/alioth-list/eval/hints | 1 + .../build-spec/fill-values | 4 + .../fields-no-human-maintainer/eval/desc | 2 + .../fields-no-human-maintainer/eval/hints | 1 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 16 + .../fields-qa-maint-address/build-spec/fill-values | 3 + .../maintainer/fields-qa-maint-address/eval/desc | 2 + .../maintainer/fields-qa-maint-address/eval/hints | 1 + .../maintainer/java-team-fp/build-spec/fill-values | 4 + .../fields/maintainer/java-team-fp/eval/desc | 3 + .../fields/maintainer/java-team-fp/eval/hints | 1 + .../build-spec/fill-values | 3 + .../build-spec/post-build.in | 7 + .../mismatch-between-changes-and-source/eval/desc | 2 + .../mismatch-between-changes-and-source/eval/hints | 1 + .../build-spec/fill-values | 5 + .../team/clojure-package-java-maintainer/eval/desc | 4 + .../clojure-package-java-maintainer/eval/hints | 1 + .../build-spec/fill-values | 4 + .../build-spec/post-build.in | 7 + .../ubuntu-maintainer-different/eval/desc | 5 + .../ubuntu-maintainer-different/eval/hints | 1 + .../build-spec/debian/control.in | 18 + ...fonts-fields-font-not-multiarch-foreign.install | 2 + .../build-spec/fill-values | 4 + .../build-spec/orig/font-multiarch-test.ttf | 2 + .../build-spec/orig/font.ttf | 1 + .../fields-font-not-multiarch-foreign/eval/desc | 2 + .../fields-font-not-multiarch-foreign/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 12 + .../build-spec/fill-values | 3 + .../multi-arch/fields-multi-arch-illegal/eval/desc | 2 + .../fields-multi-arch-illegal/eval/hints | 1 + .../build-spec/debian/control.in | 28 + ...ecific-overrides-nonrel.lintian-overrides.amd64 | 1 + ...arch-specific-overrides.lintian-overrides.amd64 | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 1 + .../build-spec/DEBIAN/control.in | 12 + .../build-spec/fill-values | 3 + .../multi-arch/fields-multi-arch-unknown/eval/desc | 2 + .../fields-multi-arch-unknown/eval/hints | 1 + .../fields-multi-arch/build-spec/debian/control.in | 20 + .../fields-multi-arch/build-spec/fill-values | 4 + .../fields-multi-arch/build-spec/orig/Makefile | 5 + .../fields/multi-arch/fields-multi-arch/eval/desc | 5 + .../fields/multi-arch/fields-multi-arch/eval/hints | 0 .../build-spec/fill-values | 3 + .../build-spec/post-build | 7 + .../multiple-lines-in-maintainer-field/eval/desc | 3 + .../multiple-lines-in-maintainer-field/eval/hints | 1 + .../fields-redundant/build-spec/debian/control.in | 18 + .../fields-redundant/build-spec/debian/install | 1 + .../origin/fields-redundant/build-spec/fill-values | 3 + .../fields-redundant/build-spec/orig/some-file | 2 + .../fields/origin/fields-redundant/eval/desc | 2 + .../fields/origin/fields-redundant/eval/hints | 2 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../origin/legacy-relations/build-spec/fill-values | 5 + .../fields/origin/legacy-relations/eval/desc | 2 + .../fields/origin/legacy-relations/eval/hints | 3 + .../fields/origin/legacy-relations/eval/post-test | 1 + .../build-spec/debian/control.in | 25 + .../build-spec/fill-values | 4 + .../fields-build-depends-general/eval/desc | 3 + .../fields-build-depends-general/eval/hints | 18 + .../build-spec/debian/control.in | 33 + .../build-spec/fill-values | 3 + .../fields-build-profiles-general/eval/desc | 3 + .../fields-build-profiles-general/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../fields-dep-without-arch-dep-binary/eval/desc | 2 + .../fields-dep-without-arch-dep-binary/eval/hints | 1 + .../build-spec/debian/control.in | 81 + .../build-spec/debian/install | 1 + .../fields-depends-general/build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../fields-depends-general/eval/desc | 2 + .../fields-depends-general/eval/hints | 30 + .../build-spec/debian/control.in | 15 + .../build-spec/fill-values | 3 + .../fields-depends-metapackage/eval/desc | 3 + .../fields-depends-metapackage/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../fields-depends-wildcard/build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 5 + .../fields-depends-wildcard/eval/desc | 5 + .../fields-depends-wildcard/eval/hints | 0 .../build-spec/debian/control.in | 17 + .../fields-duplicate-build/build-spec/fill-values | 4 + .../fields-duplicate-build/eval/desc | 2 + .../fields-duplicate-build/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../package-relations/fields-general-bad/eval/desc | 2 + .../fields-general-bad/eval/hints | 4 + .../fields-general/build-spec/debian/control.in | 46 + .../fields-general/build-spec/fill-values | 3 + .../package-relations/fields-general/eval/desc | 2 + .../package-relations/fields-general/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 5 + .../fields-indep-without-arch-indep/eval/desc | 2 + .../fields-indep-without-arch-indep/eval/hints | 1 + .../fields-java/build-spec/debian/control.in | 37 + .../fields-java/build-spec/debian/install | 1 + .../fields-java/build-spec/fill-values | 3 + .../fields-java/build-spec/orig/some-file | 2 + .../fields/package-relations/fields-java/eval/desc | 2 + .../package-relations/fields-java/eval/hints | 9 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 4 + .../fields-module-build-perl/eval/desc | 2 + .../fields-module-build-perl/eval/hints | 2 + .../fields-mua/build-spec/debian/compat.in | 1 + .../fields-mua/build-spec/debian/control.in | 52 + .../fields-mua/build-spec/debian/rules | 9 + .../fields-mua/build-spec/fill-values | 3 + .../fields-mua/build-spec/orig/some-file.txt | 0 .../fields/package-relations/fields-mua/eval/desc | 2 + .../fields/package-relations/fields-mua/eval/hints | 6 + .../build-spec/debian/control.in | 22 + .../fields-multiple-x-deps/build-spec/fill-values | 3 + .../fields-multiple-x-deps/eval/desc | 2 + .../fields-multiple-x-deps/eval/hints | 5 + .../build-spec/DEBIAN/control.in | 12 + .../build-spec/fill-values | 3 + .../fields-obsolete-relation/eval/desc | 2 + .../fields-obsolete-relation/eval/hints | 2 + .../build-spec/debian/control.in | 14 + .../fields-src-bad-version/build-spec/fill-values | 4 + .../fields-src-bad-version/eval/desc | 2 + .../fields-src-bad-version/eval/hints | 1 + .../build-spec/debian/control.in | 32 + .../build-spec/debian/install | 1 + .../fields-virtual-packages/build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../fields-virtual-packages/eval/desc | 2 + .../fields-virtual-packages/eval/hints | 4 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../package-relations/legacy-binary/eval/desc | 2 + .../package-relations/legacy-binary/eval/hints | 1 + .../package-relations/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../package-relations/legacy-debconf/eval/desc | 2 + .../package-relations/legacy-debconf/eval/hints | 1 + .../legacy-debconf/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../legacy-fields/build-spec/fill-values | 5 + .../package-relations/legacy-fields/eval/desc | 2 + .../package-relations/legacy-fields/eval/hints | 1 + .../package-relations/legacy-fields/eval/post-test | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 43 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../legacy-filenames/build-spec/debian/rules | 231 + .../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 + .../package-relations/legacy-filenames/eval/desc | 2 + .../package-relations/legacy-filenames/eval/hints | 1 + .../legacy-filenames/eval/post-test | 3 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 52 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../package-relations/legacy-relations/eval/desc | 2 + .../package-relations/legacy-relations/eval/hints | 39 + .../legacy-relations/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../legacy-scripts/build-spec/pre-build | 5 + .../package-relations/legacy-scripts/eval/desc | 2 + .../package-relations/legacy-scripts/eval/hints | 2 + .../legacy-scripts/eval/post-test | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/00list | 12 + .../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 + .../build-spec/debian/patches/05_dep3.diff | 7 + .../build-spec/fill-values | 4 + .../patch-systems-dpatch-description/eval/desc | 2 + .../patch-systems-dpatch-description/eval/hints | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/README | 1 + .../build-spec/debian/patches/README.patches | 1 + .../build-spec/debian/patches/file-commented-out | 1 + .../debian/patches/file-mentioned-in-vendor-series | 1 + .../debian/patches/file-not-referenced-in-series | 1 + .../build-spec/debian/patches/series | 6 + .../build-spec/debian/patches/some-file | 11 + .../build-spec/debian/patches/some-other-file | 12 + .../build-spec/debian/patches/subdir/README | 1 + .../patches/subdir/file-not-referenced-in-series-2 | 1 + .../build-spec/debian/patches/vendorname.series | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 4 + .../patch-systems-quilt-general/eval/desc | 2 + .../patch-systems-quilt-general/eval/hints | 1 + .../explicit-type-deb/build-spec/debian/control.in | 19 + .../explicit-type-deb/build-spec/fill-values | 3 + .../package-type/explicit-type-deb/eval/desc | 3 + .../package-type/explicit-type-deb/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../fields/package/fields-general-bad/eval/desc | 2 + .../fields/package/fields-general-bad/eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 4 + .../fields-unusual-doc-package-name/eval/desc | 2 + .../fields-unusual-doc-package-name/eval/hints | 1 + .../build-spec/debian/control.in | 55 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../fields/priority/fields-general-bad/eval/desc | 2 + .../fields/priority/fields-general-bad/eval/hints | 1 + .../priority/priority-extra/build-spec/fill-values | 4 + .../fields/priority/priority-extra/eval/desc | 2 + .../fields/priority/priority-extra/eval/hints | 1 + .../changes-missing-fields/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 9 + .../recommended/changes-missing-fields/eval/desc | 2 + .../recommended/changes-missing-fields/eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../recommended/control-file-general/eval/desc | 5 + .../recommended/control-file-general/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 8 + .../fields-general-missing/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../recommended/fields-general-missing/eval/desc | 4 + .../recommended/fields-general-missing/eval/hints | 1 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../generic-empty/build-spec/debian/rules | 9 + .../generic-empty/build-spec/fill-values | 4 + .../generic-empty/build-spec/orig/README | 4 + .../recommended/generic-empty/build-spec/pre-build | 6 + .../fields/recommended/generic-empty/eval/desc | 2 + .../fields/recommended/generic-empty/eval/hints | 4 + .../changes-missing-fields/build-spec/fill-values | 3 + .../build-spec/test.changes.in | 9 + .../required/changes-missing-fields/eval/desc | 2 + .../required/changes-missing-fields/eval/hints | 4 + .../build-spec/DEBIAN/control.in | 8 + .../fields-general-missing/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../required/fields-general-missing/eval/desc | 2 + .../required/fields-general-missing/eval/hints | 4 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../required/generic-empty/build-spec/debian/rules | 9 + .../required/generic-empty/build-spec/fill-values | 4 + .../required/generic-empty/build-spec/orig/README | 4 + .../required/generic-empty/build-spec/pre-build | 6 + .../checks/fields/required/generic-empty/eval/desc | 2 + .../fields/required/generic-empty/eval/hints | 4 + .../fields-general/build-spec/debian/control.in | 46 + .../section/fields-general/build-spec/fill-values | 3 + .../checks/fields/section/fields-general/eval/desc | 2 + .../fields/section/fields-general/eval/hints | 1 + .../build-spec/debian/control.in | 31 + .../fields-section-general/build-spec/fill-values | 3 + .../section/fields-section-general/eval/desc | 2 + .../section/fields-section-general/eval/hints | 1 + .../build-spec/debian/control.in | 15 + .../fields-transitional/build-spec/debian/install | 1 + .../fields-transitional/build-spec/fill-values | 3 + .../fields-transitional/build-spec/orig/some-file | 2 + .../fields/section/fields-transitional/eval/desc | 2 + .../fields/section/fields-transitional/eval/hints | 1 + .../fields-udeb/build-spec/debian/control.in | 19 + .../section/fields-udeb/build-spec/fill-values | 3 + .../checks/fields/section/fields-udeb/eval/desc | 2 + .../checks/fields/section/fields-udeb/eval/hints | 1 + .../build-spec/debian/control.in | 254 + .../fields-wrong-section/build-spec/debian/rules | 9 + .../fields-wrong-section/build-spec/fill-values | 3 + .../fields-wrong-section/build-spec/orig/some-file | 1 + .../fields/section/fields-wrong-section/eval/desc | 2 + .../fields/section/fields-wrong-section/eval/hints | 20 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + .../fields/section/generic-dh-make-2008/eval/desc | 4 + .../fields/section/generic-dh-make-2008/eval/hints | 1 + .../section/generic-dh-make-2008/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../section/legacy-fields/build-spec/debian/rules | 33 + .../section/legacy-fields/build-spec/fill-values | 5 + .../checks/fields/section/legacy-fields/eval/desc | 2 + .../checks/fields/section/legacy-fields/eval/hints | 1 + .../fields/section/legacy-fields/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../section/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../section/legacy-libbaz/build-spec/fill-values | 6 + .../section/legacy-libbaz/build-spec/orig/Makefile | 55 + .../section/legacy-libbaz/build-spec/orig/baz.c | 6 + .../section/legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/fields/section/legacy-libbaz/eval/desc | 2 + .../checks/fields/section/legacy-libbaz/eval/hints | 3 + .../fields/section/legacy-libbaz/eval/post-test | 4 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../fields/source/fields-general-bad/eval/desc | 2 + .../fields/source/fields-general-bad/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 12 + .../fields-malformed-source/build-spec/fill-values | 3 + .../source/fields-malformed-source/eval/desc | 2 + .../source/fields-malformed-source/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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../standards-version/legacy-binary/eval/desc | 2 + .../standards-version/legacy-binary/eval/hints | 2 + .../standards-version/legacy-binary/eval/post-test | 3 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../legacy-debconf/build-spec/fill-values | 6 + .../standards-version/legacy-debconf/eval/desc | 2 + .../standards-version/legacy-debconf/eval/hints | 1 + .../legacy-debconf/eval/post-test | 1 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../standards-version/legacy-etcfiles/eval/desc | 2 + .../standards-version/legacy-etcfiles/eval/hints | 2 + .../legacy-etcfiles/eval/post-test | 1 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../legacy-fields/build-spec/debian/rules | 33 + .../legacy-fields/build-spec/fill-values | 5 + .../standards-version/legacy-fields/eval/desc | 2 + .../standards-version/legacy-fields/eval/hints | 1 + .../standards-version/legacy-fields/eval/post-test | 1 + .../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 + .../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 + .../standards-version/legacy-filenames/eval/desc | 2 + .../standards-version/legacy-filenames/eval/hints | 2 + .../legacy-filenames/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../legacy-foo++/build-spec/debian/rules | 36 + .../legacy-foo++/build-spec/debian/watch | 6 + .../legacy-foo++/build-spec/fill-values | 5 + .../standards-version/legacy-foo++/eval/desc | 2 + .../standards-version/legacy-foo++/eval/hints | 2 + .../standards-version/legacy-foo++/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../standards-version/legacy-libbaz/eval/desc | 2 + .../standards-version/legacy-libbaz/eval/hints | 2 + .../standards-version/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/changelog.in | 33 + .../legacy-relations/build-spec/debian/control | 51 + .../legacy-relations/build-spec/debian/rules | 49 + .../build-spec/debian/tmp/DEBIAN/control | 14 + .../legacy-relations/build-spec/fill-values | 5 + .../standards-version/legacy-relations/eval/desc | 2 + .../standards-version/legacy-relations/eval/hints | 2 + .../legacy-relations/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../legacy-scripts/build-spec/pre-build | 5 + .../standards-version/legacy-scripts/eval/desc | 2 + .../standards-version/legacy-scripts/eval/hints | 2 + .../legacy-scripts/eval/post-test | 1 + .../build-spec/fill-values | 3 + .../standards-version-classifications/eval/desc | 2 + .../standards-version-classifications/eval/hints | 1 + .../eval/post-test | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../standards-version-invalid/eval/desc | 2 + .../standards-version-invalid/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../standards-version-newer/build-spec/fill-values | 3 + .../standards-version-newer/eval/desc | 2 + .../standards-version-newer/eval/hints | 2 + .../standards-version-newer/eval/post-test | 1 + .../build-spec/debian/control.in | 16 + .../standards-version-old/build-spec/fill-values | 5 + .../standards-version-old/eval/desc | 6 + .../standards-version-old/eval/hints | 2 + .../profiles/lintian-test/main.profile | 2 + .../main/data/standards-version/ancient-date | 7 + .../standards-version-old/eval/post-test | 1 + .../build-spec/debian/changelog.in | 8 + .../build-spec/fill-values | 3 + .../standards-version-timewarp-unrel/eval/desc | 4 + .../standards-version-timewarp-unrel/eval/hints | 1 + .../eval/post-test | 1 + .../build-spec/debian/changelog.in | 8 + .../build-spec/debian/copyright | 32 + .../build-spec/fill-values | 3 + .../standards-version-timewarp/eval/desc | 2 + .../standards-version-timewarp/eval/hints | 2 + .../standards-version-timewarp/eval/post-test | 2 + .../style/all-caps/build-spec/debian/control.in | 18 + .../fields/style/all-caps/build-spec/fill-values | 3 + t/recipes/checks/fields/style/all-caps/eval/desc | 2 + t/recipes/checks/fields/style/all-caps/eval/hints | 1 + .../go-import-path/build-spec/debian/control.in | 19 + .../style/go-import-path/build-spec/fill-values | 3 + .../checks/fields/style/go-import-path/eval/desc | 5 + .../checks/fields/style/go-import-path/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../lower-case-component/build-spec/fill-values | 3 + .../fields/style/lower-case-component/eval/desc | 2 + .../fields/style/lower-case-component/eval/hints | 1 + .../style/shy-prefix/build-spec/debian/control.in | 19 + .../fields/style/shy-prefix/build-spec/fill-values | 3 + t/recipes/checks/fields/style/shy-prefix/eval/desc | 2 + .../checks/fields/style/shy-prefix/eval/hints | 1 + .../colorful/build-spec/fill-values | 4 + .../fields/terminal-control/colorful/eval/desc | 3 + .../fields/terminal-control/colorful/eval/hints | 4 + .../trimmed/native-source/build-spec/fill-values | 3 + .../checks/fields/trimmed/native-source/eval/desc | 2 + .../checks/fields/trimmed/native-source/eval/hints | 1 + .../fields/trimmed/native-source/eval/post-test | 2 + .../trimmed/native-upload/build-spec/fill-values | 3 + .../checks/fields/trimmed/native-upload/eval/desc | 2 + .../checks/fields/trimmed/native-upload/eval/hints | 3 + .../fields/trimmed/native-upload/eval/post-test | 2 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../debian-vcs-git-in-non-debian-profile/eval/desc | 4 + .../eval/hints | 0 .../fields-essential/build-spec/debian/control.in | 28 + .../fields-essential/build-spec/debian/rules | 9 + .../fields-essential/build-spec/fill-values | 3 + .../fields/unknown/fields-essential/eval/desc | 2 + .../fields/unknown/fields-essential/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../fields/unknown/fields-general-bad/eval/desc | 2 + .../fields/unknown/fields-general-bad/eval/hints | 1 + .../build-spec/debian/control.in | 24 + .../fields-unknown-fields/build-spec/fill-values | 3 + .../fields/unknown/fields-unknown-fields/eval/desc | 2 + .../unknown/fields-unknown-fields/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../unknown/unpack-slashes-in-field-name/eval/desc | 2 + .../unpack-slashes-in-field-name/eval/hints | 2 + .../build-spec/debian/control.in | 22 + .../build-spec/fill-values | 3 + .../uploaders/fields-maintainer-general/eval/desc | 2 + .../uploaders/fields-maintainer-general/eval/hints | 2 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../generic-empty/build-spec/debian/control.in | 5 + .../urgency/generic-empty/build-spec/debian/rules | 9 + .../urgency/generic-empty/build-spec/fill-values | 4 + .../urgency/generic-empty/build-spec/orig/README | 4 + .../urgency/generic-empty/build-spec/pre-build | 6 + .../checks/fields/urgency/generic-empty/eval/desc | 2 + .../checks/fields/urgency/generic-empty/eval/hints | 1 + .../build-spec/debian/control.in | 26 + .../control-has-empty-field/build-spec/fill-values | 3 + .../fields/vcs/control-has-empty-field/eval/desc | 2 + .../fields/vcs/control-has-empty-field/eval/hints | 5 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 6 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../fields-malformed-vcs-fields-unrel/eval/desc | 4 + .../fields-malformed-vcs-fields-unrel/eval/hints | 6 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../vcs/fields-malformed-vcs-fields/eval/desc | 2 + .../vcs/fields-malformed-vcs-fields/eval/hints | 14 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../vcs/fields-missing-vcs-browser/eval/desc | 2 + .../vcs/fields-missing-vcs-browser/eval/hints | 7 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../vcs/fields-not-malformed-vcs-fields/eval/desc | 4 + .../vcs/fields-not-malformed-vcs-fields/eval/hints | 7 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 6 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../fields-uncanonical-salsa-vcs-fields/eval/desc | 2 + .../fields-uncanonical-salsa-vcs-fields/eval/hints | 8 + .../build-spec/debian/control.in | 23 + .../build-spec/fill-values | 3 + .../vcs/fields-uncanonical-vcs-fields/eval/desc | 2 + .../vcs/fields-uncanonical-vcs-fields/eval/hints | 33 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../vcs/fields-vcs-field-insecure-uri/eval/desc | 2 + .../vcs/fields-vcs-field-insecure-uri/eval/hints | 8 + .../build-spec/debian/control.in | 21 + .../build-spec/fill-values | 3 + .../fields/vcs/fields-vcs-field-mismatch/eval/desc | 2 + .../vcs/fields-vcs-field-mismatch/eval/hints | 13 + .../fields-vcs-fields/build-spec/debian/control.in | 23 + .../vcs/fields-vcs-fields/build-spec/fill-values | 3 + .../checks/fields/vcs/fields-vcs-fields/eval/desc | 8 + .../checks/fields/vcs/fields-vcs-fields/eval/hints | 27 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../eval/desc | 5 + .../eval/hints | 6 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 9 + .../legacy-binary/build-spec/debian/NEWS.Debian | 12 + .../legacy-binary/build-spec/debian/README.Debian | 5 + .../legacy-binary/build-spec/debian/changelog.in | 47 + .../vcs/legacy-binary/build-spec/debian/conffiles | 1 + .../vcs/legacy-binary/build-spec/debian/control | 42 + .../vcs/legacy-binary/build-spec/debian/copyright | 15 + .../vcs/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../vcs/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../vcs/legacy-binary/build-spec/debian/postinst | 6 + .../vcs/legacy-binary/build-spec/debian/rules | 92 + .../vcs/legacy-binary/build-spec/debian/templates | 16 + .../vcs/legacy-binary/build-spec/fill-values | 5 + .../vcs/legacy-binary/build-spec/orig/INSTALL | 176 + .../vcs/legacy-binary/build-spec/orig/Makefile | 12 + .../vcs/legacy-binary/build-spec/orig/hello.c | 8 + .../checks/fields/vcs/legacy-binary/eval/desc | 2 + .../checks/fields/vcs/legacy-binary/eval/hints | 9 + .../checks/fields/vcs/legacy-binary/eval/post-test | 3 + .../nmu-qa-upload/build-spec/debian/changelog.in | 8 + .../vcs/nmu-qa-upload/build-spec/debian/control.in | 17 + .../vcs/nmu-qa-upload/build-spec/fill-values | 5 + .../checks/fields/vcs/nmu-qa-upload/eval/desc | 3 + .../checks/fields/vcs/nmu-qa-upload/eval/hints | 5 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/control.in | 18 + .../team-maintained-alioth/build-spec/fill-values | 3 + .../fields/vcs/team-maintained-alioth/eval/desc | 2 + .../fields/vcs/team-maintained-alioth/eval/hints | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../vcs/team-maintained-tracker-do/eval/desc | 2 + .../vcs/team-maintained-tracker-do/eval/hints | 3 + .../build-spec/debian/changelog.in | 9 + .../build-spec/fill-values | 4 + .../version/fields-binary-nmu-version/eval/desc | 2 + .../version/fields-binary-nmu-version/eval/hints | 1 + .../build-spec/DEBIAN/control.in | 17 + .../fields-general-bad/build-spec/doc/changelog.in | 17 + .../fields-general-bad/build-spec/fill-values | 4 + .../build-spec/root/usr/lib/lintian/some-file | 1 + .../fields/version/fields-general-bad/eval/desc | 2 + .../fields/version/fields-general-bad/eval/hints | 1 + .../build-spec/debian/changelog.in | 7 + .../fields-version-bad/build-spec/debian/rules | 7 + .../fields-version-bad/build-spec/fill-values | 4 + .../fields/version/fields-version-bad/eval/desc | 2 + .../fields/version/fields-version-bad/eval/hints | 4 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../legacy-fields/build-spec/debian/control | 28 + .../version/legacy-fields/build-spec/debian/rules | 33 + .../version/legacy-fields/build-spec/fill-values | 5 + .../checks/fields/version/legacy-fields/eval/desc | 2 + .../checks/fields/version/legacy-fields/eval/hints | 5 + .../fields/version/legacy-fields/eval/post-test | 1 + .../repack/count/dfsg1/build-spec/fill-values | 6 + .../fields/version/repack/count/dfsg1/eval/desc | 2 + .../fields/version/repack/count/dfsg1/eval/hints | 1 + .../repack/count/extra-dot/build-spec/fill-values | 6 + .../version/repack/count/extra-dot/eval/desc | 2 + .../version/repack/count/extra-dot/eval/hints | 1 + .../build-spec/fill-values | 4 + .../native/fields-version-dfsg-native/eval/desc | 2 + .../native/fields-version-dfsg-native/eval/hints | 1 + .../fields-version-dot-dfsg/build-spec/fill-values | 4 + .../period/fields-version-dot-dfsg/eval/desc | 2 + .../period/fields-version-dot-dfsg/eval/hints | 1 + .../repack/tilde/tilde-dfsg/build-spec/fill-values | 6 + .../version/repack/tilde/tilde-dfsg/eval/desc | 2 + .../version/repack/tilde/tilde-dfsg/eval/hints | 1 + .../fields-version-dsfg/build-spec/fill-values | 4 + .../repack/typo/fields-version-dsfg/eval/desc | 2 + .../repack/typo/fields-version-dsfg/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 26 + .../build-spec/orig/basic.c | 19 + .../binaries-multiarch-wrong-dir/eval/desc | 3 + .../binaries-multiarch-wrong-dir/eval/hints | 1 + .../binaries-multiarch-wrong-dir/eval/post-test | 4 + .../binaries-multiarch/build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 21 + .../build-spec/debian/libbasic2.symbols | 2 + .../binaries-multiarch/build-spec/debian/rules | 23 + .../binaries-multiarch/build-spec/fill-values | 6 + .../binaries-multiarch/build-spec/orig/Makefile | 26 + .../binaries-multiarch/build-spec/orig/basic.c | 19 + .../architecture/binaries-multiarch/eval/desc | 4 + .../architecture/binaries-multiarch/eval/hints | 1 + .../architecture/binaries-multiarch/eval/post-test | 2 + .../build-spec/debian/control.in | 15 + .../build-spec/fill-values | 5 + .../build-spec/orig/main.c | 8 + .../build-spec/pre-build | 11 + .../build-spec/pre-upstream | 11 + .../cruft-source-is-missing-unrel/eval/desc | 2 + .../cruft-source-is-missing-unrel/eval/hints | 1 + .../empty-files-arch-any/build-spec/debian/install | 1 + .../empty-files-arch-any/build-spec/fill-values | 4 + .../build-spec/orig/__init__.py | 0 .../architecture/empty-files-arch-any/eval/desc | 2 + .../architecture/empty-files-arch-any/eval/hints | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/some-file | 1 + .../files-arch-indep-not-marked-all/eval/desc | 2 + .../files-arch-indep-not-marked-all/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/dependency_links.txt | 1 + .../very-short-files-arch-any/eval/desc | 2 + .../very-short-files-arch-any/eval/hints | 1 + .../cruft-empty-diff/build-spec/fill-values | 4 + .../cruft-empty-diff/build-spec/pre-upstream.in | 5 + .../files/artifact/cruft-empty-diff/eval/desc | 4 + .../files/artifact/cruft-empty-diff/eval/hints | 1 + .../cruft-general-diff/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../cruft-general-diff/build-spec/debian/substvars | 1 + .../cruft-general-diff/build-spec/fill-values | 4 + .../cruft-general-diff/build-spec/pre-build | 34 + .../files/artifact/cruft-general-diff/eval/desc | 4 + .../files/artifact/cruft-general-diff/eval/hints | 16 + .../cruft-general-native/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-native/build-spec/fill-values | 3 + .../cruft-general-native/build-spec/pre-build | 32 + .../files/artifact/cruft-general-native/eval/desc | 2 + .../files/artifact/cruft-general-native/eval/hints | 15 + .../build-spec/debian/README.source | 1 + .../cruft-general-quilt/build-spec/debian/rules | 9 + .../build-spec/debian/somepackage.substvars | 1 + .../build-spec/debian/substvars | 1 + .../cruft-general-quilt/build-spec/fill-values | 4 + .../cruft-general-quilt/build-spec/pre-build | 34 + .../files/artifact/cruft-general-quilt/eval/desc | 4 + .../files/artifact/cruft-general-quilt/eval/hints | 16 + .../build-spec/fill-values | 3 + .../build-spec/orig/hello.c | 8 + .../build-spec/pre-upstream | 35 + .../artifact/cruft-general-test-suite/eval/desc | 16 + .../artifact/cruft-general-test-suite/eval/hints | 1 + .../build-spec/debian/patches/wig-pen | 5 + .../cruft-general-wig-pen/build-spec/debian/rules | 9 + .../build-spec/debian/substvars | 1 + .../cruft-general-wig-pen/build-spec/fill-values | 4 + .../cruft-general-wig-pen/build-spec/orig/README | 1 + .../cruft-general-wig-pen/build-spec/pre-build | 32 + .../files/artifact/cruft-general-wig-pen/eval/desc | 2 + .../artifact/cruft-general-wig-pen/eval/hints | 15 + .../fake-banned-file/build-spec/debian/install | 1 + .../banned/fake-banned-file/build-spec/fill-values | 3 + .../build-spec/orig/data-forbidden-lintian-files | 5 + .../build-spec/orig/data-non-free-lintian-files | 5 + .../checks/files/banned/fake-banned-file/eval/desc | 2 + .../files/banned/fake-banned-file/eval/hints | 1 + .../cruft-non-free-img/build-spec/debian/install | 1 + .../cruft-non-free-img/build-spec/fill-values | 3 + .../build-spec/orig/data-fake-lenna-2.jpeg | Bin 0 -> 54038 bytes .../build-spec/orig/data-fake-lenna.bmp | Bin 0 -> 14866 bytes .../build-spec/orig/data-fake-lenna.eps | Bin 0 -> 5571 bytes .../build-spec/orig/data-fake-lenna.jpeg | Bin 0 -> 1582 bytes .../build-spec/orig/data-fake-lenna.mat | Bin 0 -> 14896 bytes .../build-spec/orig/data-fake-lenna.pdf | Bin 0 -> 4773 bytes .../build-spec/orig/data-fake-lenna.png | Bin 0 -> 1495 bytes .../build-spec/orig/data-fake-lenna.ps | Bin 0 -> 5597 bytes .../banned/lenna/cruft-non-free-img/eval/desc | 2 + .../banned/lenna/cruft-non-free-img/eval/hints | 7 + .../build-spec/debian/rules | 73 + .../build-spec/fill-values | 3 + .../bugs/files-package-contains-foo/eval/desc | 2 + .../bugs/files-package-contains-foo/eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../bugs/legacy-filenames/build-spec/debian/rules | 231 + .../bugs/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 + .../checks/files/bugs/legacy-filenames/eval/desc | 2 + .../checks/files/bugs/legacy-filenames/eval/hints | 2 + .../files/bugs/legacy-filenames/eval/post-test | 3 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../files/build-path/files-foo-in-bar/eval/desc | 2 + .../files/build-path/files-foo-in-bar/eval/hints | 14 + .../build-path/files-foo-in-bar/eval/post-test | 2 + .../bz2/not-a-bz2/build-spec/debian/install | 1 + .../bz2/not-a-bz2/build-spec/fill-values | 4 + .../bz2/not-a-bz2/build-spec/orig/not-a.bz2 | 1 + .../files/compressed/bz2/not-a-bz2/eval/desc | 2 + .../files/compressed/bz2/not-a-bz2/eval/hints | 1 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../compressed/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../compressed/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 + .../files-general/build-spec/orig/sudotest | 0 .../compressed/files-general/build-spec/orig/tnu.1 | 5 + .../compressed/files-general/build-spec/orig/types | 0 .../files/compressed/files-general/eval/desc | 3 + .../files/compressed/files-general/eval/hints | 1 + .../build-spec/debian/control.in | 20 + .../files-gzip-ma-same/build-spec/debian/install | 1 + .../gz/files-gzip-ma-same/build-spec/debian/rules | 22 + .../gz/files-gzip-ma-same/build-spec/fill-values | 5 + .../compressed/gz/files-gzip-ma-same/eval/desc | 2 + .../compressed/gz/files-gzip-ma-same/eval/hints | 1 + .../gz/not-a-gz/build-spec/debian/install | 1 + .../compressed/gz/not-a-gz/build-spec/fill-values | 3 + .../gz/not-a-gz/build-spec/orig/not-a.gz | 1 + .../checks/files/compressed/gz/not-a-gz/eval/desc | 2 + .../checks/files/compressed/gz/not-a-gz/eval/hints | 1 + .../gz/timestamp-in-gzip/build-spec/debian/install | 1 + .../gz/timestamp-in-gzip/build-spec/debian/rules | 22 + .../gz/timestamp-in-gzip/build-spec/fill-values | 4 + .../compressed/gz/timestamp-in-gzip/eval/desc | 3 + .../compressed/gz/timestamp-in-gzip/eval/hints | 1 + .../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 + .../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 + .../files/compressed/legacy-filenames/eval/desc | 2 + .../files/compressed/legacy-filenames/eval/hints | 1 + .../compressed/legacy-filenames/eval/post-test | 3 + .../lz/not-an-lz/build-spec/debian/install | 1 + .../compressed/lz/not-an-lz/build-spec/fill-values | 4 + .../lz/not-an-lz/build-spec/orig/not-an.lz | 1 + .../checks/files/compressed/lz/not-an-lz/eval/desc | 2 + .../files/compressed/lz/not-an-lz/eval/hints | 1 + .../lzma/not-an-lzma/build-spec/debian/install | 1 + .../lzma/not-an-lzma/build-spec/fill-values | 4 + .../lzma/not-an-lzma/build-spec/orig/not-an.lzma | 1 + .../files/compressed/lzma/not-an-lzma/eval/desc | 2 + .../files/compressed/lzma/not-an-lzma/eval/hints | 1 + .../lzo/not-an-lzo/build-spec/debian/install | 1 + .../lzo/not-an-lzo/build-spec/fill-values | 4 + .../lzo/not-an-lzo/build-spec/orig/not-an.lzo | 1 + .../files/compressed/lzo/not-an-lzo/eval/desc | 2 + .../files/compressed/lzo/not-an-lzo/eval/hints | 1 + .../xz/not-an-xz/build-spec/debian/install | 1 + .../compressed/xz/not-an-xz/build-spec/fill-values | 4 + .../xz/not-an-xz/build-spec/orig/not-an.xz | 1 + .../checks/files/compressed/xz/not-an-xz/eval/desc | 2 + .../files/compressed/xz/not-an-xz/eval/hints | 1 + .../zip/not-a-zip/build-spec/debian/install | 1 + .../zip/not-a-zip/build-spec/fill-values | 4 + .../zip/not-a-zip/build-spec/orig/not-a.zip | 1 + .../files/compressed/zip/not-a-zip/eval/desc | 2 + .../files/compressed/zip/not-a-zip/eval/hints | 1 + .../build-spec/debian/config-all.install | 1 + .../build-spec/debian/config-ma-foreign.install | 1 + .../build-spec/debian/config-ma-no.install | 1 + .../build-spec/debian/control.in | 40 + .../files-old-config-script/build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 18 + .../orig/generated/ARCH_-arch-all-config.in | 3 + .../orig/generated/ARCH_-arch-cross-all-config.in | 3 + .../generated/ARCH_-arch-cross-foreign-config.in | 3 + .../orig/generated/ARCH_-arch-foreign-config.in | 2 + .../build-spec/orig/generated/arch-all-config.in | 2 + .../orig/generated/arch-cross-all-config.in | 3 + .../orig/generated/arch-cross-foreign-config.in | 3 + .../orig/generated/arch-cross-no-config.in | 3 + .../orig/generated/arch-foreign-config.in | 2 + .../build-spec/orig/generated/arch-no-config.in | 2 + .../files-old-config-script/eval/desc | 3 + .../files-old-config-script/eval/hints | 16 + .../files-old-config-script/eval/post-test | 3 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 4 + .../build-spec/orig/calls-sbin | 14 + .../build-spec/orig/our-script | 3 + .../bin-sbin-confusion-in-script/eval/desc | 2 + .../bin-sbin-confusion-in-script/eval/hints | 3 + .../bin-sbin-confusion-in-script/eval/post-test | 2 + .../contains-build-path/build-spec/debian/docs | 1 + .../contains-build-path/build-spec/debian/rules | 15 + .../contains-build-path/build-spec/fill-values | 4 + .../contains-build-path/build-spec/orig/Makefile | 2 + .../files/contents/contains-build-path/eval/desc | 2 + .../files/contents/contains-build-path/eval/hints | 1 + .../build-spec/debian/control.in | 51 + ...g-depends-on-sensible-utils-has-depends.install | 1 + ...-depends-on-sensible-utils-has-depends.postinst | 7 + ...epends-on-sensible-utils-has-recommends.install | 1 + ...pends-on-sensible-utils-has-recommends.postinst | 7 + ...-depends-on-sensible-utils-has-suggests.install | 1 + ...depends-on-sensible-utils-has-suggests.postinst | 7 + .../files-missing-depends-on-sensible-utils.docs | 1 + ...files-missing-depends-on-sensible-utils.install | 2 + ...iles-missing-depends-on-sensible-utils.postinst | 7 + .../build-spec/fill-values | 3 + .../build-spec/orig/test-script | 8 + .../eval/desc | 2 + .../eval/hints | 4 + .../debian/files-uses-dpkg-database-directly.docs | 2 + .../files-uses-dpkg-database-directly.install | 6 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 11 + .../build-spec/orig/README | 1 + .../build-spec/orig/misc.txt | 1 + .../build-spec/orig/test-1 | 9 + .../build-spec/orig/test-2 | 3 + .../build-spec/orig/test.c | 13 + .../files-uses-dpkg-database-directly/eval/desc | 2 + .../files-uses-dpkg-database-directly/eval/hints | 7 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../contents/legacy-maintainer-scripts/eval/desc | 2 + .../contents/legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../contents/legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../contents/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../contents/legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../contents/legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../contents/legacy-scripts/build-spec/pre-build | 5 + .../checks/files/contents/legacy-scripts/eval/desc | 2 + .../files/contents/legacy-scripts/eval/hints | 2 + .../files/contents/legacy-scripts/eval/post-test | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/normal.texi | 6 + .../cruft-gfdl-fp-sliding-win/build-spec/pre-build | 45 + .../cruft-gfdl-fp-sliding-win/eval/desc | 2 + .../cruft-gfdl-fp-sliding-win/eval/hints | 1 + .../cruft-gfdl-invariants/build-spec/fill-values | 3 + .../build-spec/orig/src/autoconf.texi | 12 + .../build-spec/orig/src/dvipdfmx.tex | 6 + .../build-spec/orig/src/empty.texi | 5 + .../build-spec/orig/src/emptybis.texi | 7 + .../build-spec/orig/src/false-positive.rtf | 125 + .../build-spec/orig/src/frontback.html | 56 + .../build-spec/orig/src/frontback.texi | 7 + .../build-spec/orig/src/invariant.txt | 7 + .../orig/src/oldfalsepositive/appendix.txt | 25 + .../orig/src/oldfalsepositive/badpunctuation.txt | 8 + .../orig/src/oldfalsepositive/cflow.texi | 12 + .../orig/src/oldfalsepositive/citetitle.po | 16 + .../build-spec/orig/src/oldfalsepositive/clisp.txt | 9 + .../build-spec/orig/src/oldfalsepositive/clisp.xml | 6 + .../orig/src/oldfalsepositive/comments.po | 9 + .../src/oldfalsepositive/diveintopythonok.html | 12 + .../oldfalsepositive/findsutilsokinlinenewline.c | 15 + .../orig/src/oldfalsepositive/findutilsok.c | 15 + .../orig/src/oldfalsepositive/fonts.html | 9 + .../orig/src/oldfalsepositive/fontsMX.html | 1 + .../src/oldfalsepositive/gfdllicenseexample.html | 13 + .../src/oldfalsepositive/gfdllicenseexample.texi | 13 + .../oldfalsepositive/gfdllicenseexamplesbr.html | 13 + .../orig/src/oldfalsepositive/gfdltexcomments.tex | 7 + .../src/oldfalsepositive/gnashfalsepositive.html | 15 + .../src/oldfalsepositive/gnashfalsepositive.info | 14 + .../src/oldfalsepositive/gnashfalsepositive.xml | 15 + .../orig/src/oldfalsepositive/gtk-doc.po | 42 + .../hyphen-used-as-minus-sign.diff | 102 + .../customization/ru/entities/fdl-notice.docbook | 6 + .../build-spec/orig/src/oldfalsepositive/krusader | 20 + .../orig/src/oldfalsepositive/latexhref.tex | 7 + .../orig/src/oldfalsepositive/latexhyperlink.tex | 7 + .../orig/src/oldfalsepositive/latexhyphenslash.tex | 2 + .../orig/src/oldfalsepositive/latexurl.tex | 7 + .../orig/src/oldfalsepositive/libnss-pgsql.xml | 7 + .../orig/src/oldfalsepositive/lilypond.texi | 6 + .../orig/src/oldfalsepositive/lilypond2.txt | 19 + .../orig/src/oldfalsepositive/mailutils.texi | 6 + .../orig/src/oldfalsepositive/maintain.html | 28 + .../orig/src/oldfalsepositive/maintain.texi | 13 + .../orig/src/oldfalsepositive/make-stds.texi | 7 + .../build-spec/orig/src/oldfalsepositive/normal.c | 13 + .../orig/src/oldfalsepositive/normal.texi | 6 + .../orig/src/oldfalsepositive/normalbkchem.texi | 6 + .../src/oldfalsepositive/normalhtmlcomment.html | 9 + .../orig/src/oldfalsepositive/normalmancomment.txt | 7 + .../oldfalsepositive/normalwithbreakathyphen.texi | 8 + .../build-spec/orig/src/oldfalsepositive/oidentd.8 | 9 + .../orig/src/oldfalsepositive/opentoken.txt | 5 + .../orig/src/oldfalsepositive/parsewiki.txt | 4 + .../orig/src/oldfalsepositive/partedvariant.txt | 8 + .../src/oldfalsepositive/partialtranslation.po | 15 + .../orig/src/oldfalsepositive/patch-R.diff | 7 + .../orig/src/oldfalsepositive/patch-c0.diff | 18 + .../orig/src/oldfalsepositive/patch-u.diff | 9 + .../orig/src/oldfalsepositive/patch-uR.diff | 9 + .../orig/src/oldfalsepositive/patch.diff | 7 + .../orig/src/oldfalsepositive/php-elisp.texi | 19 + .../orig/src/oldfalsepositive/pipeindent.txt | 7 + .../orig/src/oldfalsepositive/quotes.xml | 8 + .../src/oldfalsepositive/quoteswithasdefined.xml | 9 + .../orig/src/oldfalsepositive/sdlbasic.html | 11 + .../build-spec/orig/src/oldfalsepositive/smbc.texi | 9 + .../orig/src/oldfalsepositive/soundjuicer.po | 8 + .../orig/src/oldfalsepositive/texignu.texi | 6 + .../orig/src/oldfalsepositive/texlive.tex | 8 + .../orig/src/oldfalsepositive/texlivefont.tex | 6 + .../build-spec/orig/src/oldfalsepositive/tla.txt | 21 + .../build-spec/orig/src/oldfalsepositive/ulink.xml | 7 + .../orig/src/oldfalsepositive/variantdictfold.txt | 7 + .../orig/src/oldfalsepositive/zeroisnotplural.texi | 6 + .../build-spec/orig/src/oldmanpagesgfdlproblem.1 | 12 + .../line-length/cruft-gfdl-invariants/eval/desc | 2 + .../line-length/cruft-gfdl-invariants/eval/hints | 2 + .../cruft-minified-js/build-spec/debian/install | 1 + .../build-spec/debian/missing-sources/json.js | 529 ++ .../debian/missing-sources/subdir.js/source.js | 0 .../cruft-minified-js/build-spec/fill-values | 4 + .../build-spec/orig/deployJava/README | 1 + .../orig/deployJava/deployJava.browser.js | 19 + .../build-spec/orig/deployJava/deployJava.js | 3 + .../oldfalsepositives/-debug.js/src/test-debug.js | 1 + .../oldfalsepositives/-debug.js/src/test-min.js | 4 + .../orig/oldfalsepositives/-nc.js/test-nc.js | 1 + .../orig/oldfalsepositives/-nc.js/test-yc.js | 4 + .../build-spec/orig/oldfalsepositives/admin.js | 1 + .../orig/oldfalsepositives/css_browser_selector.js | 8 + .../oldfalsepositives/debug.js/testdebug.debug.js | 1 + .../orig/oldfalsepositives/debug.js/testdebug.js | 4 + .../oldfalsepositives/deployJava/deployJava.js | 3 + .../oldfalsepositives/deployJava/deployJava.txt | 1 + .../orig/oldfalsepositives/endoflinecomments.js | 104 + .../build-spec/orig/oldfalsepositives/jslint.js | 2 + .../orig/oldfalsepositives/longlicensetext.js | 30 + .../orig/oldfalsepositives/nested-dir/README | 1 + .../oldfalsepositives/nested-dir/dist/fake.min.js | 2 + .../orig/oldfalsepositives/nested-dir/src/fake.js | 2 + .../orig/oldfalsepositives/pandoc/search_index.js | 4 + .../scriptinhtml/falsecopyright.html | 7 + .../orig/oldfalsepositives/singlecolon.js | 3 + .../build-spec/orig/oldfalsepositives/sqlite.js | 1 + .../orig/oldfalsepositives/src.js/test.min.js | 3 + .../orig/oldfalsepositives/src.js/test.src.js | 1 + .../orig/oldfalsepositives/suffix/test-compiled.js | 2 + .../oldfalsepositives/suffix/test-compressed.js | 2 + .../orig/oldfalsepositives/suffix/test-lite.js | 2 + .../orig/oldfalsepositives/suffix/test-min.js | 2 + .../orig/oldfalsepositives/suffix/test-pack.js | 2 + .../orig/oldfalsepositives/suffix/test-packed.js | 2 + .../orig/oldfalsepositives/suffix/test-yc.js | 2 + .../oldfalsepositives/suffix/test.compressed.js | 2 + .../orig/oldfalsepositives/suffix/test.js | 1 + .../orig/oldfalsepositives/suffix/test.min.js | 2 + .../orig/oldfalsepositives/suffix/test_min.js | 2 + .../cruft-minified-js/build-spec/pre-build | 52 + .../line-length/cruft-minified-js/eval/desc | 2 + .../line-length/cruft-minified-js/eval/hints | 14 + .../line-length/cruft-minified-js/eval/post-test | 4 + .../debian/missing-sources/ugly/fullpath.js | 529 ++ .../min-js-with-sources/build-spec/fill-values | 4 + .../min-js-with-sources/build-spec/pre-build | 22 + .../line-length/min-js-with-sources/eval/desc | 2 + .../line-length/min-js-with-sources/eval/hints | 3 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../contents/scripts-maintainer-general/eval/desc | 4 + .../contents/scripts-maintainer-general/eval/hints | 1 + .../deb-format-ancient-file/build-spec/fill-values | 3 + .../deb-format-ancient-file/build-spec/pre-control | 8 + .../deb-format-ancient-file/build-spec/pre-data | 9 + .../deb-format-ancient-file/.cargo_vcs_info.json | 1 + .../files/date/deb-format-ancient-file/eval/desc | 2 + .../files/date/deb-format-ancient-file/eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../date/legacy-filenames/build-spec/debian/rules | 231 + .../date/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 + .../checks/files/date/legacy-filenames/eval/desc | 2 + .../checks/files/date/legacy-filenames/eval/hints | 1 + .../files/date/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 26 + .../non-debug-file-in-debug-package-dbgsym.install | 1 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../build-spec/orig/foo | 0 .../non-debug-file-in-debug-package/eval/desc | 2 + .../non-debug-file-in-debug-package/eval/hints | 3 + .../debug/binaries-general/build-spec/debian/rules | 12 + .../debug/binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../debug/binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../debug/binaries-general/build-spec/orig/ocaml.c | 11 + .../checks/files/debug/binaries-general/eval/desc | 2 + .../checks/files/debug/binaries-general/eval/hints | 1 + .../files/debug/binaries-general/eval/post-test | 1 + .../debug/files-foo-in-bar/build-spec/debian/clean | 5 + .../debug/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../debug/files-foo-in-bar/build-spec/debian/rules | 18 + .../debug/files-foo-in-bar/build-spec/fill-values | 3 + .../debug/files-foo-in-bar/build-spec/orig/bar | 1 + .../debug/files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../checks/files/debug/files-foo-in-bar/eval/desc | 2 + .../checks/files/debug/files-foo-in-bar/eval/hints | 1 + .../files/debug/files-foo-in-bar/eval/post-test | 2 + .../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 + .../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 + .../files/desktop/legacy-filenames/eval/desc | 2 + .../files/desktop/legacy-filenames/eval/hints | 1 + .../files/desktop/legacy-filenames/eval/post-test | 3 + .../duplicate-files/build-spec/debian/docs | 7 + .../duplicate-files/build-spec/fill-values | 3 + .../duplicate-files/build-spec/orig/Changes | 1 + .../duplicate-files/build-spec/orig/NEWS | 1 + .../duplicate-files/build-spec/orig/doc-file1 | 1 + .../duplicate-files/build-spec/orig/doc-file2 | 1 + .../duplicate-files/build-spec/orig/doc-file3 | 1 + .../duplicate-files/build-spec/orig/doc-file4 | 1 + .../duplicate-files/build-spec/orig/doccy1 | 1 + .../duplicate-files/build-spec/orig/doccy2 | 1 + .../files/duplicates/duplicate-files/eval/desc | 2 + .../files/duplicates/duplicate-files/eval/hints | 3 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../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 + .../files-general/build-spec/orig/sudotest | 0 .../files-general/build-spec/orig/tnu.1 | 5 + .../files-general/build-spec/orig/types | 0 .../empty-directories/files-general/eval/desc | 3 + .../empty-directories/files-general/eval/hints | 1 + .../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 + .../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 + .../empty-directories/legacy-filenames/eval/desc | 2 + .../empty-directories/legacy-filenames/eval/hints | 8 + .../legacy-filenames/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../empty-directories/legacy-libbaz/eval/desc | 2 + .../empty-directories/legacy-libbaz/eval/hints | 1 + .../empty-directories/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/control.in | 15 + .../build-spec/fill-values | 5 + .../build-spec/orig/main.c | 8 + .../build-spec/pre-build | 11 + .../build-spec/pre-upstream | 11 + .../cruft-source-is-missing-unrel/eval/desc | 2 + .../cruft-source-is-missing-unrel/eval/hints | 1 + .../declared-as-empty/build-spec/debian/control.in | 35 + .../declared-as-empty/build-spec/fill-values | 3 + .../empty-package/declared-as-empty/eval/desc | 4 + .../empty-package/declared-as-empty/eval/hints | 1 + .../files-empty/build-spec/debian/control.in | 27 + .../files-empty/build-spec/debian/docs | 1 + .../files-empty/build-spec/fill-values | 3 + .../files-empty/build-spec/orig/README | 1 + .../files/empty-package/files-empty/eval/desc | 2 + .../files/empty-package/files-empty/eval/hints | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../files/empty-package/legacy-binary/eval/desc | 2 + .../files/empty-package/legacy-binary/eval/hints | 1 + .../empty-package/legacy-binary/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../legacy-foo++/build-spec/debian/rules | 36 + .../legacy-foo++/build-spec/debian/watch | 6 + .../legacy-foo++/build-spec/fill-values | 5 + .../files/empty-package/legacy-foo++/eval/desc | 2 + .../files/empty-package/legacy-foo++/eval/hints | 2 + .../empty-package/legacy-foo++/eval/post-test | 1 + .../build-spec/debian/changelog.in | 9 + .../build-spec/fill-values | 3 + .../build-spec/pre-build | 8 + .../changelog-in-western-encoding/eval/desc | 2 + .../changelog-in-western-encoding/eval/hints | 1 + .../build-spec/debian/control.in | 243 + .../build-spec/debian/copyright-crln.copyright | 36 + .../debian/copyright-full-agpl-3.copyright | 661 ++ .../debian/copyright-full-apache-2.copyright | 202 + .../debian/copyright-full-gfdl.copyright | 397 + .../debian/copyright-full-gpl-1.copyright | 206 + .../debian/copyright-full-gpl-2.copyright | 344 + .../build-spec/debian/copyright-full-gpl.copyright | 674 ++ .../debian/copyright-full-lgpl.copyright | 171 + .../debian/copyright-iso-8859-1.copyright | 3 + .../debian/copyright-misc-errors.copyright | 22 + ...right-missing-apache2-license-pointer.copyright | 25 + ...opyright-missing-perl-license-pointer.copyright | 5 + .../debian/copyright-no-errors.copyright | 36 + .../build-spec/debian/copyright-old-fsf.copyright | 19 + .../build-spec/debian/copyright-php.copyright | 151 + .../copyright-poor-common-licenses.copyright | 24 + .../debian/copyright-versionless.copyright | 2 + .../build-spec/debian/copyright-w3c.copyright | 95 + .../build-spec/debian/rules | 14 + .../build-spec/fill-values | 3 + .../copyright-in-western-encoding/eval/desc | 2 + .../copyright-in-western-encoding/eval/hints | 2 + .../build-spec/debian/templates | 3 + .../build-spec/fill-values | 3 + .../encoding/debconf-in-western-encoding/eval/desc | 2 + .../debconf-in-western-encoding/eval/hints | 2 + .../build-spec/debian/NEWS.Debian | 12 + .../build-spec/debian/README.Debian | 5 + .../build-spec/debian/changelog.in | 47 + .../build-spec/debian/conffiles | 1 + .../build-spec/debian/control | 42 + .../build-spec/debian/copyright | 15 + .../build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../build-spec/debian/hello.desktop | 14 + .../build-spec/debian/menu | 26 + .../build-spec/debian/menu-method | 22 + .../build-spec/debian/postinst | 6 + .../build-spec/debian/rules | 92 + .../build-spec/debian/templates | 16 + .../build-spec/fill-values | 5 + .../build-spec/orig/INSTALL | 176 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/hello.c | 8 + .../doc-base-in-western-encoding/eval/desc | 2 + .../doc-base-in-western-encoding/eval/hints | 5 + .../doc-base-in-western-encoding/eval/post-test | 3 + .../build-spec/debian/docs | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/docs/denmark.weather | 1 + .../document-shipped-in-western-encoding/eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/man/motd-iso8859-1.5 | 75 + .../manual-page-in-western-encoding/eval/desc | 2 + .../manual-page-in-western-encoding/eval/hints | 1 + .../build-spec/debian/patches/utf8.patch | 14 + .../build-spec/fill-values | 3 + .../national-header-fix-encoding-patch/eval/desc | 2 + .../national-header-fix-encoding-patch/eval/hints | 1 + .../build-spec/debian/NEWS | 12 + .../build-spec/fill-values | 3 + .../encoding/news-in-western-encoding/eval/desc | 2 + .../encoding/news-in-western-encoding/eval/hints | 1 + .../build-spec/debian/postinst | 4 + .../build-spec/debian/postrm | 4 + .../build-spec/debian/preinst | 4 + .../build-spec/fill-values | 3 + .../package-scripts-in-western-encoding/eval/desc | 2 + .../package-scripts-in-western-encoding/eval/hints | 3 + .../build-spec/debian/tests/control | 50 + .../build-spec/debian/tests/control.autodep8 | 1 + .../build-spec/debian/tests/test-1 | 2 + .../build-spec/debian/tests/test-2 | 2 + .../build-spec/debian/tests/under_score | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/subdir/test-in-subdir | 2 + .../build-spec/pre-build | 9 + .../testsuite-in-western-encoding/eval/desc | 2 + .../testsuite-in-western-encoding/eval/hints | 1 + .../build-spec/debian/patches/utf8.patch | 14 + .../build-spec/fill-values | 3 + .../utf8-header-fix-encoding-patch/eval/desc | 4 + .../utf8-header-fix-encoding-patch/eval/hints | 1 + .../generated/do-not-edit/build-spec/fill-values | 3 + .../build-spec/orig/generated/do-not-edit | 5 + .../checks/files/generated/do-not-edit/eval/desc | 2 + .../checks/files/generated/do-not-edit/eval/hints | 2 + .../file-was-autogenerated/build-spec/fill-values | 3 + .../orig/generated/file-was-autogenerated | 5 + .../generated/file-was-autogenerated/eval/desc | 2 + .../generated/file-was-autogenerated/eval/hints | 1 + .../files-hardlinks/build-spec/debian/rules | 14 + .../files-hardlinks/build-spec/fill-values | 3 + .../files/hard-links/files-hardlinks/eval/desc | 2 + .../files/hard-links/files-hardlinks/eval/hints | 3 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../files/hard-links/legacy-binary/eval/desc | 2 + .../files/hard-links/legacy-binary/eval/hints | 1 + .../files/hard-links/legacy-binary/eval/post-test | 3 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../legacy-etcfiles/build-spec/orig/proper | 2 + .../files/hard-links/legacy-etcfiles/eval/desc | 2 + .../files/hard-links/legacy-etcfiles/eval/hints | 1 + .../hard-links/legacy-etcfiles/eval/post-test | 1 + .../leaving-architecture/build-spec/debian/install | 1 + .../leaving-architecture/build-spec/debian/links | 1 + .../leaving-architecture/build-spec/debian/rules | 18 + .../leaving-architecture/build-spec/fill-values | 3 + .../hierarchy/links/leaving-architecture/eval/desc | 3 + .../links/leaving-architecture/eval/hints | 1 + .../leaving-private/build-spec/debian/install | 1 + .../links/leaving-private/build-spec/debian/links | 1 + .../links/leaving-private/build-spec/debian/rules | 18 + .../links/leaving-private/build-spec/fill-values | 3 + .../hierarchy/links/leaving-private/eval/desc | 7 + .../hierarchy/links/leaving-private/eval/hints | 1 + .../links/usr-lib-to-opt/build-spec/debian/install | 1 + .../links/usr-lib-to-opt/build-spec/debian/links | 1 + .../links/usr-lib-to-opt/build-spec/debian/rules | 18 + .../links/usr-lib-to-opt/build-spec/fill-values | 3 + .../files/hierarchy/links/usr-lib-to-opt/eval/desc | 3 + .../hierarchy/links/usr-lib-to-opt/eval/hints | 1 + .../script-in-root-bin/build-spec/debian/install | 1 + .../script-in-root-bin/build-spec/debian/script | 3 + .../script-in-root-bin/build-spec/fill-values | 3 + .../merged-usr/script-in-root-bin/eval/desc | 2 + .../merged-usr/script-in-root-bin/eval/hints | 1 + .../script-in-root-sbin/build-spec/debian/install | 1 + .../script-in-root-sbin/build-spec/debian/script | 3 + .../script-in-root-sbin/build-spec/fill-values | 3 + .../merged-usr/script-in-root-sbin/eval/desc | 2 + .../merged-usr/script-in-root-sbin/eval/hints | 1 + .../share-doc-share/build-spec/debian/install | 1 + .../share-doc-share/build-spec/fill-values | 3 + .../build-spec/orig/share/worth-sharing.txt | 1 + .../path-segments/share-doc-share/eval/desc | 3 + .../path-segments/share-doc-share/eval/hints | 1 + .../build-spec/debian/control.in | 243 + .../build-spec/debian/copyright-crln.copyright | 36 + .../debian/copyright-full-agpl-3.copyright | 661 ++ .../debian/copyright-full-apache-2.copyright | 202 + .../debian/copyright-full-gfdl.copyright | 397 + .../debian/copyright-full-gpl-1.copyright | 206 + .../debian/copyright-full-gpl-2.copyright | 344 + .../build-spec/debian/copyright-full-gpl.copyright | 674 ++ .../debian/copyright-full-lgpl.copyright | 171 + .../debian/copyright-iso-8859-1.copyright | 3 + .../debian/copyright-misc-errors.copyright | 22 + ...right-missing-apache2-license-pointer.copyright | 25 + ...opyright-missing-perl-license-pointer.copyright | 5 + .../debian/copyright-no-errors.copyright | 36 + .../build-spec/debian/copyright-old-fsf.copyright | 19 + .../build-spec/debian/copyright-php.copyright | 151 + .../copyright-poor-common-licenses.copyright | 24 + .../debian/copyright-versionless.copyright | 2 + .../build-spec/debian/copyright-w3c.copyright | 95 + .../copyright-file-general/build-spec/debian/rules | 14 + .../copyright-file-general/build-spec/fill-values | 3 + .../standard/copyright-file-general/eval/desc | 2 + .../standard/copyright-file-general/eval/hints | 1 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../standard/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../hierarchy/standard/files-foo-in-bar/eval/desc | 2 + .../hierarchy/standard/files-foo-in-bar/eval/hints | 44 + .../standard/files-foo-in-bar/eval/post-test | 2 + .../standard/files-general/build-spec/debian/clean | 1 + .../standard/files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../standard/files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../standard/files-general/build-spec/debian/rules | 67 + .../standard/files-general/build-spec/fill-values | 4 + .../standard/files-general/build-spec/orig/--lzma | 2 + .../standard/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../standard/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 + .../files-general/build-spec/orig/sudotest | 0 .../standard/files-general/build-spec/orig/tnu.1 | 5 + .../standard/files-general/build-spec/orig/types | 0 .../hierarchy/standard/files-general/eval/desc | 3 + .../hierarchy/standard/files-general/eval/hints | 7 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/file-outside-usr | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../files-tar-traps/build-spec/debian/dirs | 1 + .../files-tar-traps/build-spec/debian/install | 1 + .../files-tar-traps/build-spec/fill-values | 3 + .../standard/files-tar-traps/build-spec/pre-build | 28 + .../hierarchy/standard/files-tar-traps/eval/desc | 2 + .../hierarchy/standard/files-tar-traps/eval/hints | 8 + .../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 + .../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 + .../standard/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../standard/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../standard/legacy-binary/build-spec/fill-values | 5 + .../standard/legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../standard/legacy-binary/build-spec/orig/hello.c | 8 + .../hierarchy/standard/legacy-binary/eval/desc | 2 + .../hierarchy/standard/legacy-binary/eval/hints | 4 + .../standard/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 + .../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 + .../hierarchy/standard/legacy-filenames/eval/desc | 2 + .../hierarchy/standard/legacy-filenames/eval/hints | 20 + .../standard/legacy-filenames/eval/post-test | 3 + .../files-ieee-data/build-spec/debian/install | 1 + .../files-ieee-data/build-spec/debian/rules | 23 + .../files-ieee-data/build-spec/fill-values | 3 + .../files-ieee-data/build-spec/orig/src/oui.txt | 1 + .../files/ieee-data/files-ieee-data/eval/desc | 2 + .../files/ieee-data/files-ieee-data/eval/hints | 4 + .../includes/util-h/build-spec/debian/install | 3 + .../files/includes/util-h/build-spec/fill-values | 3 + .../files/includes/util-h/build-spec/orig/util.h | 0 t/recipes/checks/files/includes/util-h/eval/desc | 4 + t/recipes/checks/files/includes/util-h/eval/hints | 2 + .../includes/utils-h/build-spec/debian/install | 3 + .../files/includes/utils-h/build-spec/fill-values | 3 + .../files/includes/utils-h/build-spec/orig/utils.h | 0 t/recipes/checks/files/includes/utils-h/eval/desc | 4 + t/recipes/checks/files/includes/utils-h/eval/hints | 2 + .../build-spec/debian/binary.docs | 3 + .../build-spec/debian/binary.init | 21 + .../build-spec/debian/binary.install | 9 + .../build-spec/debian/binary.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 30 + .../build-spec/debian/game.install | 1 + .../build-spec/debian/game.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/rules | 31 + .../files-bad-perm-owner/build-spec/fill-values | 3 + .../files-bad-perm-owner/build-spec/orig/README | 1 + .../files-bad-perm-owner/build-spec/orig/read-only | 1 + .../build-spec/orig/sample.ali | 1 + .../files-bad-perm-owner/build-spec/orig/script | 20 + .../files-bad-perm-owner/build-spec/orig/some-file | 2 + .../files/init/files-bad-perm-owner/eval/desc | 2 + .../files/init/files-bad-perm-owner/eval/hints | 1 + .../init/files-foo-in-bar/build-spec/debian/clean | 5 + .../init/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../init/files-foo-in-bar/build-spec/debian/rules | 18 + .../init/files-foo-in-bar/build-spec/fill-values | 3 + .../init/files-foo-in-bar/build-spec/orig/bar | 1 + .../init/files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../checks/files/init/files-foo-in-bar/eval/desc | 2 + .../checks/files/init/files-foo-in-bar/eval/hints | 3 + .../files/init/files-foo-in-bar/eval/post-test | 2 + .../ld-so/files-general/build-spec/debian/clean | 1 + .../ld-so/files-general/build-spec/debian/dirs | 13 + .../ld-so/files-general/build-spec/debian/examples | 1 + .../ld-so/files-general/build-spec/debian/install | 18 + .../ld-so/files-general/build-spec/debian/links | 1 + .../ld-so/files-general/build-spec/debian/manpages | 2 + .../ld-so/files-general/build-spec/debian/rules | 67 + .../ld-so/files-general/build-spec/fill-values | 4 + .../ld-so/files-general/build-spec/orig/--lzma | 2 + .../files/ld-so/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../ld-so/files-general/build-spec/orig/foo.5 | 5 + .../ld-so/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 + .../ld-so/files-general/build-spec/orig/sudotest | 0 .../ld-so/files-general/build-spec/orig/tnu.1 | 5 + .../ld-so/files-general/build-spec/orig/types | 0 .../checks/files/ld-so/files-general/eval/desc | 3 + .../checks/files/ld-so/files-general/eval/hints | 1 + .../files-extra-license/build-spec/debian/docs | 3 + .../files-extra-license/build-spec/fill-values | 3 + .../build-spec/orig/_sources/LICENSE.rst.txt | 1 + .../build-spec/orig/_sources/license.txt | 1 + .../files-extra-license/build-spec/orig/bsd.yml | 1 + .../build-spec/orig/license.txt | 1 + .../files-extra-license/build-spec/orig/license.ui | 2 + .../files/licenses/files-extra-license/eval/desc | 2 + .../files/licenses/files-extra-license/eval/hints | 1 + .../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 + .../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 + .../files/licenses/legacy-filenames/eval/desc | 2 + .../files/licenses/legacy-filenames/eval/hints | 3 + .../files/licenses/legacy-filenames/eval/post-test | 3 + .../files-locales/build-spec/debian/install | 6 + .../locales/files-locales/build-spec/fill-values | 3 + .../locales/files-locales/build-spec/orig/dummy | 1 + .../checks/files/locales/files-locales/eval/desc | 2 + .../checks/files/locales/files-locales/eval/hints | 4 + .../build-spec/fill-values | 3 + .../build-spec/tar-data | 7 + .../files-missing-intermediate-dirs/eval/desc | 2 + .../files-missing-intermediate-dirs/eval/hints | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/rules | 18 + .../build-spec/fill-values | 4 + .../files-multiarch-foreign-files/eval/desc | 3 + .../files-multiarch-foreign-files/eval/hints | 3 + .../files-multiarch-foreign-files/eval/post-test | 1 + .../files-pkgconfig/build-spec/debian/control.in | 29 + .../build-spec/debian/pkgconfig-all.install | 1 + .../build-spec/debian/pkgconfig-any.install | 1 + .../files-pkgconfig/build-spec/debian/rules | 13 + .../files-pkgconfig/build-spec/fill-values | 3 + .../files-pkgconfig/build-spec/orig/Makefile | 21 + .../build-spec/orig/generated/arch-cross.pc.in | 6 + .../build-spec/orig/generated/arch-good.pc.in | 6 + .../orig/generated/arch-include-arch.pc.in | 9 + .../orig/generated/indep-include-arch-1.pc.in | 6 + .../orig/generated/indep-include-arch-2.pc.in | 7 + .../orig/generated/indep-include-arch-3.pc.in | 6 + .../files-pkgconfig/build-spec/orig/indep-good.pc | 6 + .../build-spec/orig/indep-really-bad.pc | 38 + .../files/multi-arch/files-pkgconfig/eval/desc | 3 + .../files/multi-arch/files-pkgconfig/eval/hints | 3 + .../multi-arch/files-pkgconfig/eval/post-test | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 33 + .../build-spec/debian/libpublic-dev.install | 1 + .../build-spec/debian/libpublic1.install | 1 + .../build-spec/debian/libpublic1.symbols | 3 + .../files-wrong-ma-foreign/build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 24 + .../files-wrong-ma-foreign/build-spec/orig/code.c | 15 + .../multi-arch/files-wrong-ma-foreign/eval/desc | 2 + .../multi-arch/files-wrong-ma-foreign/eval/hints | 1 + .../eslint-config-file/build-spec/debian/docs | 1 + .../eslint-config-file/build-spec/fill-values | 3 + .../eslint-config-file/build-spec/orig/.eslintrc | 1 + .../files/names/eslint-config-file/eval/desc | 2 + .../files/names/eslint-config-file/eval/hints | 1 + .../names/files-general/build-spec/debian/clean | 1 + .../names/files-general/build-spec/debian/dirs | 14 + .../names/files-general/build-spec/debian/examples | 1 + .../names/files-general/build-spec/debian/install | 18 + .../names/files-general/build-spec/debian/links | 1 + .../names/files-general/build-spec/debian/manpages | 2 + .../names/files-general/build-spec/debian/rules | 68 + .../names/files-general/build-spec/fill-values | 4 + .../names/files-general/build-spec/orig/--lzma | 2 + .../files/names/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../names/files-general/build-spec/orig/foo.5 | 5 + .../names/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 + .../names/files-general/build-spec/orig/sudotest | 0 .../names/files-general/build-spec/orig/tnu.1 | 5 + .../names/files-general/build-spec/orig/types | 0 .../checks/files/names/files-general/eval/desc | 3 + .../checks/files/names/files-general/eval/hints | 11 + .../files-hyphen-file/build-spec/debian/rules | 11 + .../names/files-hyphen-file/build-spec/fill-values | 3 + .../checks/files/names/files-hyphen-file/eval/desc | 2 + .../files/names/files-hyphen-file/eval/hints | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/install | 1 + .../files-python-coverage/build-spec/fill-values | 3 + .../build-spec/orig/.coverage | 0 .../files/names/files-python-coverage/eval/desc | 2 + .../files/names/files-python-coverage/eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/.directory/bar | 0 .../build-spec/orig/.directory/foo | 0 .../build-spec/orig/.filename | 0 .../names/files-python-dot-directory/eval/desc | 2 + .../names/files-python-dot-directory/eval/hints | 3 + .../names/files-tar-traps/build-spec/debian/dirs | 1 + .../files-tar-traps/build-spec/debian/install | 1 + .../names/files-tar-traps/build-spec/fill-values | 3 + .../names/files-tar-traps/build-spec/pre-build | 28 + .../checks/files/names/files-tar-traps/eval/desc | 2 + .../checks/files/names/files-tar-traps/eval/hints | 1 + .../build-spec/debian/rules | 11 + .../build-spec/fill-values | 3 + .../names/files-wildcard-characters/eval/desc | 2 + .../names/files-wildcard-characters/eval/hints | 2 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../files-zero-byte-executable-in-path/eval/desc | 2 + .../files-zero-byte-executable-in-path/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 + .../names/legacy-binary/build-spec/debian/control | 42 + .../legacy-binary/build-spec/debian/copyright | 15 + .../names/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../names/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../names/legacy-binary/build-spec/debian/postinst | 6 + .../names/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../names/legacy-binary/build-spec/fill-values | 5 + .../names/legacy-binary/build-spec/orig/INSTALL | 176 + .../names/legacy-binary/build-spec/orig/Makefile | 12 + .../names/legacy-binary/build-spec/orig/hello.c | 8 + .../checks/files/names/legacy-binary/eval/desc | 2 + .../checks/files/names/legacy-binary/eval/hints | 2 + .../files/names/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 + .../names/legacy-filenames/build-spec/debian/rules | 231 + .../names/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 + .../checks/files/names/legacy-filenames/eval/desc | 2 + .../checks/files/names/legacy-filenames/eval/hints | 3 + .../files/names/legacy-filenames/eval/post-test | 3 + .../build-spec/fill-values | 3 + .../build-spec/pre-build | 10 + .../names/national-encoding-in-native/eval/desc | 2 + .../names/national-encoding-in-native/eval/hints | 2 + .../build-spec/fill-values | 3 + .../national-encoding-in-orig/build-spec/pre-orig | 10 + .../names/national-encoding-in-orig/eval/desc | 2 + .../names/national-encoding-in-orig/eval/hints | 2 + .../build-spec/debian/patches/series | 1 + .../debian/patches/unusual-filenames.patch | 4 + .../build-spec/fill-values | 3 + .../names/national-encoding-in-patch/eval/desc | 2 + .../names/national-encoding-in-patch/eval/hints | 1 + .../names/npm-ignore-file/build-spec/debian/docs | 1 + .../names/npm-ignore-file/build-spec/fill-values | 3 + .../npm-ignore-file/build-spec/orig/.npmignore | 1 + .../checks/files/names/npm-ignore-file/eval/desc | 2 + .../checks/files/names/npm-ignore-file/eval/hints | 1 + .../build-spec/debian/docs | 1 + .../build-spec/fill-values | 3 + .../orig/.hypothesis/examples/show/nothing | 1 + .../names/python-hypothesis-example/eval/desc | 2 + .../names/python-hypothesis-example/eval/hints | 2 + .../sass-cache-directory/build-spec/debian/docs | 1 + .../sass-cache-directory/build-spec/fill-values | 3 + .../build-spec/orig/.sass-cache/nothing | 1 + .../files/names/sass-cache-directory/eval/desc | 2 + .../files/names/sass-cache-directory/eval/hints | 2 + .../build-spec/debian/install | 1 + .../cruft-non-free-md5sums/build-spec/fill-values | 3 + .../build-spec/orig/data-forbidden-lintian-files | 5 + .../build-spec/orig/data-non-free-lintian-files | 5 + .../non-free/cruft-non-free-md5sums/eval/desc | 2 + .../non-free/cruft-non-free-md5sums/eval/hints | 1 + .../build-spec/debian/control.in | 29 + .../debian/files-flash-non-free-non-free.install | 2 + .../build-spec/debian/files-flash-non-free.install | 2 + .../files-flash-non-free/build-spec/fill-values | 3 + .../build-spec/orig/dewplayer-slim.swf | 0 .../build-spec/orig/dewplayer.swf | 0 .../build-spec/orig/flvplayer.swf | 0 .../build-spec/orig/mp3player.swf | 0 .../files/non-free/files-flash-non-free/eval/desc | 2 + .../files/non-free/files-flash-non-free/eval/hints | 2 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../obsolete-paths/files-foo-in-bar/eval/desc | 2 + .../obsolete-paths/files-foo-in-bar/eval/hints | 2 + .../obsolete-paths/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/archive-keyring.gpg | Bin 0 -> 2279 bytes .../build-spec/orig/pubring.pgp | Bin 0 -> 2279 bytes .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/_bad-pkcs11.module | 0 .../build-spec/orig/cron-script.hourly | 3 + .../files-foo-violates-expected-naming/eval/desc | 2 + .../files-foo-violates-expected-naming/eval/hints | 1 + .../pam/files-general/build-spec/debian/clean | 1 + .../files/pam/files-general/build-spec/debian/dirs | 13 + .../pam/files-general/build-spec/debian/examples | 1 + .../pam/files-general/build-spec/debian/install | 18 + .../pam/files-general/build-spec/debian/links | 1 + .../pam/files-general/build-spec/debian/manpages | 2 + .../pam/files-general/build-spec/debian/rules | 67 + .../files/pam/files-general/build-spec/fill-values | 4 + .../files/pam/files-general/build-spec/orig/--lzma | 2 + .../files/pam/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../files/pam/files-general/build-spec/orig/foo.5 | 5 + .../pam/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 + .../pam/files-general/build-spec/orig/lintian.conf | 1 + .../files-general/build-spec/orig/mimeinfo.cache | 2 + .../pam/files-general/build-spec/orig/php-foo.ini | 1 + .../pam/files-general/build-spec/orig/sudotest | 0 .../files/pam/files-general/build-spec/orig/tnu.1 | 5 + .../files/pam/files-general/build-spec/orig/types | 0 t/recipes/checks/files/pam/files-general/eval/desc | 3 + .../checks/files/pam/files-general/eval/hints | 1 + .../build-spec/debian/binary.docs | 3 + .../build-spec/debian/binary.init | 21 + .../build-spec/debian/binary.install | 9 + .../build-spec/debian/binary.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 30 + .../build-spec/debian/game.install | 1 + .../build-spec/debian/game.manpages | 1 + .../files-bad-perm-owner/build-spec/debian/rules | 31 + .../files-bad-perm-owner/build-spec/fill-values | 3 + .../files-bad-perm-owner/build-spec/orig/README | 1 + .../files-bad-perm-owner/build-spec/orig/read-only | 1 + .../build-spec/orig/sample.ali | 1 + .../files-bad-perm-owner/build-spec/orig/script | 20 + .../files-bad-perm-owner/build-spec/orig/some-file | 2 + .../permissions/files-bad-perm-owner/eval/desc | 2 + .../permissions/files-bad-perm-owner/eval/hints | 12 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../permissions/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../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 + .../files-general/build-spec/orig/sudotest | 0 .../files-general/build-spec/orig/tnu.1 | 5 + .../files-general/build-spec/orig/types | 0 .../files/permissions/files-general/eval/desc | 3 + .../files/permissions/files-general/eval/hints | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../legacy-scripts/build-spec/debian/watch | 8 + .../legacy-scripts/build-spec/fill-values | 6 + .../legacy-scripts/build-spec/orig/csh-foo | 2 + .../legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../legacy-scripts/build-spec/orig/tkfoo | 31 + .../legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../legacy-scripts/build-spec/pre-build | 5 + .../files/permissions/legacy-scripts/eval/desc | 2 + .../files/permissions/legacy-scripts/eval/hints | 10 + .../permissions/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-executable | 3 + .../usr-lib/executable-installed-here/eval/desc | 2 + .../usr-lib/executable-installed-here/eval/hints | 1 + .../files-pkgconfig/build-spec/debian/control.in | 29 + .../build-spec/debian/pkgconfig-all.install | 1 + .../build-spec/debian/pkgconfig-any.install | 1 + .../files-pkgconfig/build-spec/debian/rules | 13 + .../files-pkgconfig/build-spec/fill-values | 3 + .../files-pkgconfig/build-spec/orig/Makefile | 21 + .../build-spec/orig/generated/arch-cross.pc.in | 6 + .../build-spec/orig/generated/arch-good.pc.in | 6 + .../orig/generated/arch-include-arch.pc.in | 9 + .../orig/generated/indep-include-arch-1.pc.in | 6 + .../orig/generated/indep-include-arch-2.pc.in | 7 + .../orig/generated/indep-include-arch-3.pc.in | 6 + .../files-pkgconfig/build-spec/orig/indep-good.pc | 6 + .../build-spec/orig/indep-really-bad.pc | 38 + .../files/pkgconfig/files-pkgconfig/eval/desc | 3 + .../files/pkgconfig/files-pkgconfig/eval/hints | 39 + .../files/pkgconfig/files-pkgconfig/eval/post-test | 2 + .../files-privacybreach/build-spec/debian/install | 1 + .../files-privacybreach/build-spec/fill-values | 3 + .../privacy-breach-generic/bookmark.xml | 1 + .../privacy-breach-generic/dublin-core.xml | 1 + .../privacy-breach-generic/legal.xml | 5 + .../privacy-breach-generic/rdf.html | 9 + .../orig/src/privacy-breach-donation/apache.html | 5 + .../orig/src/privacy-breach-donation/flattr.html | 9 + .../privacy-breach-donation/flattrbuttonhtml4.xml | 9 + .../privacy-breach-donation/flattrbuttonhtml5.xml | 10 + .../orig/src/privacy-breach-donation/flattrload.js | 9 + .../privacy-breach-donation/flattrloadmanual.js | 3 + .../src/privacy-breach-donation/flattrrender.html | 19 + .../src/privacy-breach-donation/flattrrender.xml | 7 + .../privacy-breach-donation/flattrrenderonload.xml | 7 + .../orig/src/privacy-breach-facebook/facebook.xml | 2 + .../facebookfbmlbody2008.html | 5 + .../facebookfbmlbody2013.html | 5 + .../facebookhtml5like20130810.xml | 1 + .../facebookhtml5likebody20130810.xml | 8 + .../facebookxfbmllike20130810.xml | 1 + .../privacy-breach-facebook/false-positives.html | 2 + .../orig/src/privacy-breach-generic/applet.html | 6 + .../orig/src/privacy-breach-generic/audio.html | 11 + .../src/privacy-breach-generic/audiotrack.html | 11 + .../orig/src/privacy-breach-generic/div.html | 13 + .../orig/src/privacy-breach-generic/embed.html | 9 + .../src/privacy-breach-generic/externalimg.xml | 1 + .../orig/src/privacy-breach-generic/frame.html | 12 + .../src/privacy-breach-generic/genericwebsite.html | 11 + .../src/privacy-breach-generic/googlefontapi.html | 8 + .../src/privacy-breach-generic/ieconditional.xml | 3 + .../orig/src/privacy-breach-generic/iframe.html | 9 + .../orig/src/privacy-breach-generic/import.css | 2 + .../orig/src/privacy-breach-generic/importcss.html | 9 + .../orig/src/privacy-breach-generic/input.html | 9 + .../src/privacy-breach-generic/link-canonical.xml | 2 + .../src/privacy-breach-generic/link-generator.xml | 2 + .../orig/src/privacy-breach-generic/link.xml | 1 + .../mallard-falsepositive.xml | 64 + .../orig/src/privacy-breach-generic/object.html | 9 + .../old-falsepositive/rel-generator-home.html | 14 + .../orig/src/privacy-breach-generic/source.html | 10 + .../orig/src/privacy-breach-generic/track.html | 11 + .../orig/src/privacy-breach-generic/typekit.html | 7 + .../orig/src/privacy-breach-generic/video.html | 7 + .../src/privacy-breach-generic/videoposter.html | 7 + .../src/privacy-breach-google-adsense/adsense.html | 20 + .../adsenseimagemagick.xml | 7 + .../adsenseonlyadds.html | 14 + .../adsenseonlyvar.js | 10 + .../src/privacy-breach-google-adsense/page2.js | 1 + .../privacy-breach-google-adsense/page2ins.html | 1 + .../src/privacy-breach-google-adsense/pagead2.html | 1 + .../src/privacy-breach-google-adsense/urchin.js | 2 + .../urchinconstructor.js | 7 + .../urchinfragment.xml | 2 + .../privacy-breach-google-adsense/urchinloader.js | 5 + .../src/privacy-breach-google-cse/googlecse.css | 1 + .../src/privacy-breach-google-cse/googlecse.xml | 9 + .../privacy-breach-google-cse/googlecseform.xml | 20 + .../googlecseformtracking.xml | 18 + .../googlecseimagemagick.js | 9 + .../src/privacy-breach-google-cse/googlecsejs.xml | 2 + .../orig/src/privacy-breach-google-cse/search.js | 14 + .../src/privacy-breach-google-plus/asyncload.html | 21 + .../privacy-breach-google-plus/explicitload.html | 17 + .../privacy-breach-google-plus/simplebutton.xml | 2 + .../src/privacy-breach-logo/logosourceforge.xml | 1 + .../orig/src/privacy-breach-logo/mascot.xml | 1 + .../libjs-jquery-flot.html | 4 + .../libjs-jquery-mobile.html | 4 + .../libjs-jquery-ui.html | 4 + .../libjs-jquery.html | 11 + .../libjs-jquery_beta.html | 11 + .../libjs-mathjax.html | 4 + .../libjs-modernizer.html | 4 + .../libjs-openlayers.html | 4 + .../libjs-prototype.html | 4 + .../orig/src/privacy-breach-piwik/piwik.html | 20 + .../src/privacy-breach-piwik/piwikvariant.html | 20 + .../src/privacy-breach-statistics-website/img.html | 5 + .../statcounter.xml | 11 + .../statcounter2.js | 4 + .../orig/src/privacy-breach-twitter/awstat.xml | 3 + .../orig/src/privacy-breach-twitter/commented.js | 10 + .../src/privacy-breach-twitter/logotwitter.xml | 1 + .../orig/src/privacy-breach-twitter/official.js | 6 + .../html5shiv.html | 19 + .../privacy-breach-uses-embedded-file/mocha.html | 23 + .../mochachai.html | 23 + .../privacy-breach-w3c-valid-html/htmlvalid.html | 15 + .../privacy-breach/files-privacybreach/eval/desc | 2 + .../privacy-breach/files-privacybreach/eval/hints | 86 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../scripts/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../scripts/legacy-scripts/build-spec/debian/watch | 8 + .../scripts/legacy-scripts/build-spec/fill-values | 6 + .../scripts/legacy-scripts/build-spec/orig/csh-foo | 2 + .../scripts/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../scripts/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../scripts/legacy-scripts/build-spec/orig/phpfoo | 7 + .../scripts/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../scripts/legacy-scripts/build-spec/orig/tkfoo | 31 + .../scripts/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../scripts/legacy-scripts/build-spec/pre-build | 5 + .../checks/files/scripts/legacy-scripts/eval/desc | 2 + .../checks/files/scripts/legacy-scripts/eval/hints | 1 + .../files/scripts/legacy-scripts/eval/post-test | 1 + .../sgml/files-foo-in-bar/build-spec/debian/clean | 5 + .../sgml/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../sgml/files-foo-in-bar/build-spec/debian/rules | 18 + .../sgml/files-foo-in-bar/build-spec/fill-values | 3 + .../sgml/files-foo-in-bar/build-spec/orig/bar | 1 + .../sgml/files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../checks/files/sgml/files-foo-in-bar/eval/desc | 2 + .../checks/files/sgml/files-foo-in-bar/eval/hints | 1 + .../files/sgml/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../sgml/legacy-filenames/build-spec/debian/rules | 231 + .../sgml/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 + .../checks/files/sgml/legacy-filenames/eval/desc | 2 + .../checks/files/sgml/legacy-filenames/eval/hints | 1 + .../files/sgml/legacy-filenames/eval/post-test | 3 + .../build-spec/fill-values | 3 + .../build-spec/orig/hello.c | 8 + .../build-spec/pre-upstream | 35 + .../cruft-general-test-suite/eval/desc | 2 + .../cruft-general-test-suite/eval/hints | 1 + .../cruft-gfdl-invariants/build-spec/fill-values | 3 + .../build-spec/orig/src/autoconf.texi | 12 + .../build-spec/orig/src/dvipdfmx.tex | 6 + .../build-spec/orig/src/empty.texi | 5 + .../build-spec/orig/src/emptybis.texi | 7 + .../build-spec/orig/src/false-positive.rtf | 125 + .../build-spec/orig/src/frontback.html | 56 + .../build-spec/orig/src/frontback.texi | 7 + .../build-spec/orig/src/invariant.txt | 7 + .../orig/src/oldfalsepositive/appendix.txt | 25 + .../orig/src/oldfalsepositive/badpunctuation.txt | 8 + .../orig/src/oldfalsepositive/cflow.texi | 12 + .../orig/src/oldfalsepositive/citetitle.po | 16 + .../build-spec/orig/src/oldfalsepositive/clisp.txt | 9 + .../build-spec/orig/src/oldfalsepositive/clisp.xml | 6 + .../orig/src/oldfalsepositive/comments.po | 9 + .../src/oldfalsepositive/diveintopythonok.html | 12 + .../oldfalsepositive/findsutilsokinlinenewline.c | 15 + .../orig/src/oldfalsepositive/findutilsok.c | 15 + .../orig/src/oldfalsepositive/fonts.html | 9 + .../orig/src/oldfalsepositive/fontsMX.html | 1 + .../src/oldfalsepositive/gfdllicenseexample.html | 13 + .../src/oldfalsepositive/gfdllicenseexample.texi | 13 + .../oldfalsepositive/gfdllicenseexamplesbr.html | 13 + .../orig/src/oldfalsepositive/gfdltexcomments.tex | 7 + .../src/oldfalsepositive/gnashfalsepositive.html | 15 + .../src/oldfalsepositive/gnashfalsepositive.info | 14 + .../src/oldfalsepositive/gnashfalsepositive.xml | 15 + .../orig/src/oldfalsepositive/gtk-doc.po | 42 + .../hyphen-used-as-minus-sign.diff | 102 + .../customization/ru/entities/fdl-notice.docbook | 6 + .../build-spec/orig/src/oldfalsepositive/krusader | 20 + .../orig/src/oldfalsepositive/latexhref.tex | 7 + .../orig/src/oldfalsepositive/latexhyperlink.tex | 7 + .../orig/src/oldfalsepositive/latexhyphenslash.tex | 2 + .../orig/src/oldfalsepositive/latexurl.tex | 7 + .../orig/src/oldfalsepositive/libnss-pgsql.xml | 7 + .../orig/src/oldfalsepositive/lilypond.texi | 6 + .../orig/src/oldfalsepositive/lilypond2.txt | 19 + .../orig/src/oldfalsepositive/mailutils.texi | 6 + .../orig/src/oldfalsepositive/maintain.html | 28 + .../orig/src/oldfalsepositive/maintain.texi | 13 + .../orig/src/oldfalsepositive/make-stds.texi | 7 + .../build-spec/orig/src/oldfalsepositive/normal.c | 13 + .../orig/src/oldfalsepositive/normal.texi | 6 + .../orig/src/oldfalsepositive/normalbkchem.texi | 6 + .../src/oldfalsepositive/normalhtmlcomment.html | 9 + .../orig/src/oldfalsepositive/normalmancomment.txt | 7 + .../oldfalsepositive/normalwithbreakathyphen.texi | 8 + .../build-spec/orig/src/oldfalsepositive/oidentd.8 | 9 + .../orig/src/oldfalsepositive/opentoken.txt | 5 + .../orig/src/oldfalsepositive/parsewiki.txt | 4 + .../orig/src/oldfalsepositive/partedvariant.txt | 8 + .../src/oldfalsepositive/partialtranslation.po | 15 + .../orig/src/oldfalsepositive/patch-R.diff | 7 + .../orig/src/oldfalsepositive/patch-c0.diff | 18 + .../orig/src/oldfalsepositive/patch-u.diff | 9 + .../orig/src/oldfalsepositive/patch-uR.diff | 9 + .../orig/src/oldfalsepositive/patch.diff | 7 + .../orig/src/oldfalsepositive/php-elisp.texi | 19 + .../orig/src/oldfalsepositive/pipeindent.txt | 7 + .../orig/src/oldfalsepositive/quotes.xml | 8 + .../src/oldfalsepositive/quoteswithasdefined.xml | 9 + .../orig/src/oldfalsepositive/sdlbasic.html | 11 + .../build-spec/orig/src/oldfalsepositive/smbc.texi | 9 + .../orig/src/oldfalsepositive/soundjuicer.po | 8 + .../orig/src/oldfalsepositive/texignu.texi | 6 + .../orig/src/oldfalsepositive/texlive.tex | 8 + .../orig/src/oldfalsepositive/texlivefont.tex | 6 + .../build-spec/orig/src/oldfalsepositive/tla.txt | 21 + .../build-spec/orig/src/oldfalsepositive/ulink.xml | 7 + .../orig/src/oldfalsepositive/variantdictfold.txt | 7 + .../orig/src/oldfalsepositive/zeroisnotplural.texi | 6 + .../build-spec/orig/src/oldmanpagesgfdlproblem.1 | 12 + .../source-missing/cruft-gfdl-invariants/eval/desc | 2 + .../cruft-gfdl-invariants/eval/hints | 1 + .../cruft-minified-js/build-spec/debian/install | 1 + .../build-spec/debian/missing-sources/json.js | 529 ++ .../debian/missing-sources/subdir.js/source.js | 0 .../cruft-minified-js/build-spec/fill-values | 4 + .../build-spec/orig/deployJava/README | 1 + .../orig/deployJava/deployJava.browser.js | 19 + .../build-spec/orig/deployJava/deployJava.js | 3 + .../oldfalsepositives/-debug.js/src/test-debug.js | 1 + .../oldfalsepositives/-debug.js/src/test-min.js | 4 + .../orig/oldfalsepositives/-nc.js/test-nc.js | 1 + .../orig/oldfalsepositives/-nc.js/test-yc.js | 4 + .../build-spec/orig/oldfalsepositives/admin.js | 1 + .../orig/oldfalsepositives/css_browser_selector.js | 8 + .../oldfalsepositives/debug.js/testdebug.debug.js | 1 + .../orig/oldfalsepositives/debug.js/testdebug.js | 4 + .../oldfalsepositives/deployJava/deployJava.js | 3 + .../oldfalsepositives/deployJava/deployJava.txt | 1 + .../orig/oldfalsepositives/endoflinecomments.js | 104 + .../build-spec/orig/oldfalsepositives/jslint.js | 2 + .../orig/oldfalsepositives/longlicensetext.js | 30 + .../orig/oldfalsepositives/nested-dir/README | 1 + .../oldfalsepositives/nested-dir/dist/fake.min.js | 2 + .../orig/oldfalsepositives/nested-dir/src/fake.js | 2 + .../orig/oldfalsepositives/pandoc/search_index.js | 4 + .../scriptinhtml/falsecopyright.html | 7 + .../orig/oldfalsepositives/singlecolon.js | 3 + .../build-spec/orig/oldfalsepositives/sqlite.js | 1 + .../orig/oldfalsepositives/src.js/test.min.js | 3 + .../orig/oldfalsepositives/src.js/test.src.js | 1 + .../orig/oldfalsepositives/suffix/test-compiled.js | 2 + .../oldfalsepositives/suffix/test-compressed.js | 2 + .../orig/oldfalsepositives/suffix/test-lite.js | 2 + .../orig/oldfalsepositives/suffix/test-min.js | 2 + .../orig/oldfalsepositives/suffix/test-pack.js | 2 + .../orig/oldfalsepositives/suffix/test-packed.js | 2 + .../orig/oldfalsepositives/suffix/test-yc.js | 2 + .../oldfalsepositives/suffix/test.compressed.js | 2 + .../orig/oldfalsepositives/suffix/test.js | 1 + .../orig/oldfalsepositives/suffix/test.min.js | 2 + .../orig/oldfalsepositives/suffix/test_min.js | 2 + .../cruft-minified-js/build-spec/pre-build | 52 + .../source-missing/cruft-minified-js/eval/desc | 2 + .../source-missing/cruft-minified-js/eval/hints | 34 + .../cruft-minified-js/eval/post-test | 4 + .../build-spec/debian/control.in | 15 + .../build-spec/fill-values | 5 + .../build-spec/orig/main.c | 8 + .../build-spec/pre-build | 11 + .../build-spec/pre-upstream | 11 + .../cruft-source-is-missing-unrel/eval/desc | 4 + .../cruft-source-is-missing-unrel/eval/hints | 3 + .../cruft-upstream-binaries/build-spec/fill-values | 4 + .../build-spec/orig/hello.c | 8 + .../cruft-upstream-binaries/build-spec/pre-build | 5 + .../build-spec/pre-upstream | 9 + .../cruft-upstream-binaries/eval/desc | 2 + .../cruft-upstream-binaries/eval/hints | 5 + .../cruft-wasm/build-spec/fill-values | 4 + .../cruft-wasm/build-spec/orig/README | 1 + .../cruft-wasm/build-spec/pre-upstream | 11 + .../files/source-missing/cruft-wasm/eval/desc | 2 + .../files/source-missing/cruft-wasm/eval/hints | 1 + .../debian/missing-sources/ugly/fullpath.js | 529 ++ .../min-js-with-sources/build-spec/fill-values | 4 + .../min-js-with-sources/build-spec/pre-build | 22 + .../source-missing/min-js-with-sources/eval/desc | 4 + .../source-missing/min-js-with-sources/eval/hints | 4 + .../files-special-file/build-spec/debian/rules | 12 + .../files-special-file/build-spec/fill-values | 3 + .../files/special/files-special-file/eval/desc | 2 + .../files/special/files-special-file/eval/hints | 1 + .../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 + .../broken/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 + .../broken/legacy-filenames/eval/desc | 2 + .../broken/legacy-filenames/eval/hints | 1 + .../broken/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/broken-links.links | 10 + .../symlinks-broken/build-spec/debian/control.in | 30 + .../build-spec/debian/data-pkg.install | 2 + .../broken/symlinks-broken/build-spec/fill-values | 3 + .../symlinks-broken/build-spec/orig/valid.conf | 1 + .../symlinks-broken/build-spec/orig/valid.data | 1 + .../broken/symlinks-broken/eval/desc | 2 + .../broken/symlinks-broken/eval/hints | 1 + .../broken/symlinks-unsafe/build-spec/debian/rules | 14 + .../broken/symlinks-unsafe/build-spec/fill-values | 3 + .../broken/symlinks-unsafe/eval/desc | 2 + .../broken/symlinks-unsafe/eval/hints | 2 + .../cruft-unsafe-symlinks/build-spec/fill-values | 3 + .../cruft-unsafe-symlinks/build-spec/pre-build | 12 + .../symbolic-links/cruft-unsafe-symlinks/eval/desc | 2 + .../cruft-unsafe-symlinks/eval/hints | 4 + .../dev-null-fp/build-spec/fill-values | 3 + .../dev-null-fp/build-spec/pre-build | 5 + .../files/symbolic-links/dev-null-fp/eval/desc | 5 + .../files/symbolic-links/dev-null-fp/eval/hints | 1 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../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 + .../files-general/build-spec/orig/sudotest | 0 .../files-general/build-spec/orig/tnu.1 | 5 + .../files-general/build-spec/orig/types | 0 .../files/symbolic-links/files-general/eval/desc | 3 + .../files/symbolic-links/files-general/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 14 + .../build-spec/fill-values | 3 + .../files-symlink-points-to-tmp/eval/desc | 2 + .../files-symlink-points-to-tmp/eval/hints | 1 + .../files-symlinks/build-spec/debian/install | 11 + .../files-symlinks/build-spec/debian/rules | 23 + .../files-symlinks/build-spec/fill-values | 3 + .../files-symlinks/build-spec/orig/data-file | 1 + .../files-symlinks/build-spec/orig/pkg.conf | 1 + .../files/symbolic-links/files-symlinks/eval/desc | 2 + .../files/symbolic-links/files-symlinks/eval/hints | 9 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../files/symbolic-links/legacy-binary/eval/desc | 2 + .../files/symbolic-links/legacy-binary/eval/hints | 3 + .../symbolic-links/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 + .../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 + .../symbolic-links/legacy-filenames/eval/desc | 2 + .../symbolic-links/legacy-filenames/eval/hints | 15 + .../symbolic-links/legacy-filenames/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../files/symbolic-links/legacy-libbaz/eval/desc | 2 + .../files/symbolic-links/legacy-libbaz/eval/hints | 1 + .../symbolic-links/legacy-libbaz/eval/post-test | 4 + .../build-spec/fill-values | 3 + .../build-spec/pre-build | 9 + .../exe-vs-gif-in-patched-filename/eval/desc | 2 + .../exe-vs-gif-in-patched-filename/eval/hints | 1 + .../trojan/rte-in-contents/build-spec/fill-values | 3 + .../trojan/rte-in-contents/build-spec/pre-build | 11 + .../files/unicode/trojan/rte-in-contents/eval/desc | 2 + .../unicode/trojan/rte-in-contents/eval/hints | 1 + .../unwanted/files-general/build-spec/debian/clean | 1 + .../unwanted/files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../unwanted/files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../unwanted/files-general/build-spec/debian/rules | 67 + .../unwanted/files-general/build-spec/fill-values | 4 + .../unwanted/files-general/build-spec/orig/--lzma | 2 + .../unwanted/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../unwanted/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 + .../files-general/build-spec/orig/sudotest | 0 .../unwanted/files-general/build-spec/orig/tnu.1 | 5 + .../unwanted/files-general/build-spec/orig/types | 0 .../checks/files/unwanted/files-general/eval/desc | 3 + .../checks/files/unwanted/files-general/eval/hints | 2 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../usr-merge/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../files/usr-merge/files-foo-in-bar/eval/desc | 2 + .../files/usr-merge/files-foo-in-bar/eval/hints | 4 + .../usr-merge/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/file-outside-usr | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/rules | 73 + .../build-spec/fill-values | 3 + .../files/vcs/files-package-contains-foo/eval/desc | 2 + .../vcs/files-package-contains-foo/eval/hints | 9 + .../build-spec/debian/changelog.in | 78 + .../vcs/legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../vcs/legacy-filenames/build-spec/debian/rules | 231 + .../vcs/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 + .../checks/files/vcs/legacy-filenames/eval/desc | 2 + .../checks/files/vcs/legacy-filenames/eval/hints | 13 + .../files/vcs/legacy-filenames/eval/post-test | 3 + .../files-adobe-font/build-spec/debian/control.in | 19 + .../files-adobe-font/build-spec/debian/install | 1 + .../fonts/files-adobe-font/build-spec/fill-values | 3 + .../files-adobe-font/build-spec/orig/Makefile | 8 + .../fonts/files-adobe-font/build-spec/orig/bad.raw | 16 + .../build-spec/orig/badnocredit.raw | 15 + .../build-spec/orig/badwithadobecode.raw | 17 + .../files-adobe-font/build-spec/orig/good.raw | 15 + t/recipes/checks/fonts/files-adobe-font/eval/desc | 2 + t/recipes/checks/fonts/files-adobe-font/eval/hints | 4 + .../fonts/files-fonts/build-spec/debian/control.in | 31 + .../build-spec/debian/files-fonts.install | 14 + .../build-spec/debian/ttf-files-fonts.install | 4 + .../build-spec/debian/ttf-files-fonts.links | 1 + .../fonts/files-fonts/build-spec/fill-values | 3 + .../fonts/files-fonts/build-spec/orig/4shadow.ttf | 2 + .../fonts/files-fonts/build-spec/orig/font.otf | 1 + .../fonts/files-fonts/build-spec/orig/font.ttf | 1 + .../fonts/files-fonts/build-spec/orig/foo.pcf | 1 + t/recipes/checks/fonts/files-fonts/eval/desc | 2 + t/recipes/checks/fonts/files-fonts/eval/hints | 5 + t/recipes/checks/fonts/files-fonts/eval/post-test | 1 + .../use-restricted/build-spec/debian/install | 1 + .../opentype/use-restricted/build-spec/fill-values | 3 + .../build-spec/orig/fonts/Editable.otf | Bin 0 -> 1724 bytes .../build-spec/orig/fonts/Installable.otf | Bin 0 -> 1724 bytes .../build-spec/orig/fonts/NeverEmbed.otf | Bin 0 -> 1724 bytes .../build-spec/orig/fonts/Printable.otf | Bin 0 -> 1724 bytes .../checks/fonts/opentype/use-restricted/eval/desc | 3 + .../fonts/opentype/use-restricted/eval/hints | 3 + .../wrong-filename/build-spec/debian/install | 1 + .../opentype/wrong-filename/build-spec/fill-values | 3 + .../wrong-filename/build-spec/orig/fonts/IsOTF.ttf | Bin 0 -> 1724 bytes .../checks/fonts/opentype/wrong-filename/eval/desc | 2 + .../fonts/opentype/wrong-filename/eval/hints | 1 + .../files-adobe-font/build-spec/debian/control.in | 19 + .../files-adobe-font/build-spec/debian/install | 1 + .../type1/files-adobe-font/build-spec/fill-values | 3 + .../files-adobe-font/build-spec/orig/Makefile | 8 + .../type1/files-adobe-font/build-spec/orig/bad.raw | 16 + .../build-spec/orig/badnocredit.raw | 15 + .../build-spec/orig/badwithadobecode.raw | 17 + .../files-adobe-font/build-spec/orig/good.raw | 15 + .../postscript/type1/files-adobe-font/eval/desc | 2 + .../postscript/type1/files-adobe-font/eval/hints | 3 + .../use-restricted/build-spec/debian/install | 1 + .../truetype/use-restricted/build-spec/fill-values | 3 + .../build-spec/orig/fonts/Editable.ttf | Bin 0 -> 1664 bytes .../build-spec/orig/fonts/Installable.ttf | Bin 0 -> 1664 bytes .../build-spec/orig/fonts/NeverEmbed.ttf | Bin 0 -> 1664 bytes .../build-spec/orig/fonts/Printable.ttf | Bin 0 -> 1664 bytes .../checks/fonts/truetype/use-restricted/eval/desc | 3 + .../fonts/truetype/use-restricted/eval/hints | 3 + .../wrong-filename/build-spec/debian/install | 1 + .../truetype/wrong-filename/build-spec/fill-values | 3 + .../wrong-filename/build-spec/orig/fonts/IsTTF.otf | Bin 0 -> 1664 bytes .../checks/fonts/truetype/wrong-filename/eval/desc | 2 + .../fonts/truetype/wrong-filename/eval/hints | 1 + .../files-general/build-spec/debian/clean | 1 + .../files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../files-general/build-spec/debian/rules | 67 + .../files-general/build-spec/fill-values | 4 + .../files-general/build-spec/orig/--lzma | 2 + .../files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../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 + .../files-general/build-spec/orig/sudotest | 0 .../files-general/build-spec/orig/tnu.1 | 5 + .../files-general/build-spec/orig/types | 0 .../files-general/eval/desc | 3 + .../files-general/eval/hints | 1 + .../build-spec/debian/rules | 73 + .../build-spec/fill-values | 3 + .../files-package-contains-foo/eval/desc | 2 + .../files-package-contains-foo/eval/hints | 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 + .../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 + .../legacy-filenames/eval/desc | 2 + .../legacy-filenames/eval/hints | 3 + .../legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 50 + .../debian/files-games-section-both.install | 2 + .../debian/files-games-section-both.manpages | 2 + .../debian/files-games-section-good.install | 1 + .../debian/files-games-section-good.manpages | 1 + .../debian/files-games-section-no-games.install | 1 + .../debian/files-games-section-no-games.manpages | 1 + .../debian/files-games-section-wrong.install | 1 + .../debian/files-games-section-wrong.manpages | 1 + .../files-games-section/build-spec/fill-values | 4 + .../build-spec/orig/shell-blaster | 2 + .../build-spec/orig/shell-blaster.1 | 8 + .../build-spec/orig/shell-blaster.6 | 8 + .../checks/games/files-games-section/eval/desc | 2 + .../checks/games/files-games-section/eval/hints | 3 + .../games/files-general/build-spec/debian/clean | 1 + .../games/files-general/build-spec/debian/dirs | 13 + .../games/files-general/build-spec/debian/examples | 1 + .../games/files-general/build-spec/debian/install | 18 + .../games/files-general/build-spec/debian/links | 1 + .../games/files-general/build-spec/debian/manpages | 2 + .../games/files-general/build-spec/debian/rules | 67 + .../games/files-general/build-spec/fill-values | 4 + .../games/files-general/build-spec/orig/--lzma | 2 + .../checks/games/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../games/files-general/build-spec/orig/foo.5 | 5 + .../games/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 + .../games/files-general/build-spec/orig/sudotest | 0 .../games/files-general/build-spec/orig/tnu.1 | 5 + .../games/files-general/build-spec/orig/types | 0 t/recipes/checks/games/files-general/eval/desc | 3 + t/recipes/checks/games/files-general/eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../games/legacy-filenames/build-spec/debian/rules | 231 + .../games/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 + t/recipes/checks/games/legacy-filenames/eval/desc | 2 + t/recipes/checks/games/legacy-filenames/eval/hints | 2 + .../checks/games/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 99 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-doc.txt | 1 + .../group-checks-circular-deps/eval/desc | 2 + .../group-checks-circular-deps/eval/hints | 2 + .../build-spec/debian/control.in | 27 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/data-file | 1 + .../group-checks-file-conflict/eval/desc | 2 + .../group-checks-file-conflict/eval/hints | 1 + .../build-spec/debian/control.in | 52 + .../build-spec/debian/pkg-dbg.install | 1 + .../build-spec/debian/pkg-foreign.docs | 1 + .../build-spec/debian/pkg-same.install | 2 + .../build-spec/debian/python3-pkg-dbg.install | 1 + .../group-checks-multi-arch/build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 10 + .../build-spec/orig/some-doc.txt | 1 + .../group-checks/group-checks-multi-arch/eval/desc | 2 + .../group-checks-multi-arch/eval/hints | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/group-checks/legacy-binary/eval/desc | 2 + .../checks/group-checks/legacy-binary/eval/hints | 1 + .../group-checks/legacy-binary/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/group-checks/legacy-libbaz/eval/desc | 2 + .../checks/group-checks/legacy-libbaz/eval/hints | 2 + .../group-checks/legacy-libbaz/eval/post-test | 4 + .../huge-usr-share-percent/build-spec/debian/rules | 10 + .../huge-usr-share-percent/build-spec/fill-values | 4 + .../huge-usr-share-percent/eval/desc | 2 + .../huge-usr-share-percent/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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/huge-usr-share/legacy-binary/eval/desc | 3 + .../checks/huge-usr-share/legacy-binary/eval/hints | 1 + .../huge-usr-share/legacy-binary/eval/post-test | 3 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 10 + .../conflicting-image-names/build-spec/fill-values | 3 + .../build-spec/orig/images/LICENSE | 8 + .../build-spec/orig/images/is_gif.jpeg | Bin 0 -> 144 bytes .../build-spec/orig/images/is_jpg.png | Bin 0 -> 734 bytes .../build-spec/orig/images/is_pbm.tif | Bin 0 -> 404 bytes .../build-spec/orig/images/is_png.SVG | Bin 0 -> 348 bytes .../build-spec/orig/images/is_svg.xpm | 3 + .../build-spec/orig/images/is_tiff.gif | Bin 0 -> 715 bytes .../build-spec/orig/images/is_xpm.ppm.gz | Bin 0 -> 225 bytes .../build-spec/orig/images/pan-up-symbolic.svg | 3 + .../build-spec/orig/images/pan-up-symbolic.svg.gif | Bin 0 -> 144 bytes .../build-spec/orig/images/pan-up-symbolic.svg.jpg | Bin 0 -> 734 bytes .../build-spec/orig/images/pan-up-symbolic.svg.pbm | Bin 0 -> 404 bytes .../build-spec/orig/images/pan-up-symbolic.svg.png | Bin 0 -> 348 bytes .../orig/images/pan-up-symbolic.svg.tiff | Bin 0 -> 715 bytes .../orig/images/pan-up-symbolic.svg.xpm.gz | Bin 0 -> 225 bytes .../filenames/conflicting-image-names/eval/desc | 2 + .../filenames/conflicting-image-names/eval/hints | 7 + .../build-spec/debian/install | 1 + .../unrelated-image-names/build-spec/debian/rules | 10 + .../unrelated-image-names/build-spec/fill-values | 3 + .../build-spec/orig/images/LICENSE | 8 + .../build-spec/orig/images/is_gif | Bin 0 -> 144 bytes .../build-spec/orig/images/is_jpg | Bin 0 -> 734 bytes .../build-spec/orig/images/is_pbm | Bin 0 -> 404 bytes .../build-spec/orig/images/is_png | Bin 0 -> 348 bytes .../build-spec/orig/images/is_svg | 3 + .../build-spec/orig/images/is_tiff | Bin 0 -> 715 bytes .../build-spec/orig/images/is_xpm.gz | Bin 0 -> 225 bytes .../build-spec/orig/images/pan-up-symbolic.svg | 3 + .../build-spec/orig/images/pan-up-symbolic.svg.gif | Bin 0 -> 144 bytes .../build-spec/orig/images/pan-up-symbolic.svg.jpg | Bin 0 -> 734 bytes .../build-spec/orig/images/pan-up-symbolic.svg.pbm | Bin 0 -> 404 bytes .../build-spec/orig/images/pan-up-symbolic.svg.png | Bin 0 -> 348 bytes .../orig/images/pan-up-symbolic.svg.tiff | Bin 0 -> 715 bytes .../orig/images/pan-up-symbolic.svg.xpm.gz | Bin 0 -> 225 bytes .../filenames/unrelated-image-names/eval/desc | 2 + .../filenames/unrelated-image-names/eval/hints | 7 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../images/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../images/files-foo-in-bar/build-spec/fill-values | 3 + .../images/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + t/recipes/checks/images/files-foo-in-bar/eval/desc | 2 + .../checks/images/files-foo-in-bar/eval/hints | 1 + .../checks/images/files-foo-in-bar/eval/post-test | 2 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../images/thumbnails/files-foo-in-bar/eval/desc | 2 + .../images/thumbnails/files-foo-in-bar/eval/hints | 2 + .../thumbnails/files-foo-in-bar/eval/post-test | 2 + .../package-name-srtp/build-spec/debian/install | 1 + .../package-name-srtp/build-spec/fill-values | 3 + .../build-spec/orig/include/config.h | 1 + .../includes/config-h/package-name-srtp/eval/desc | 2 + .../includes/config-h/package-name-srtp/eval/hints | 1 + .../build-spec/debian/bar.service | 0 .../build-spec/debian/control.in | 16 + .../build-spec/debian/install | 3 + .../build-spec/debian/rules | 4 + .../build-spec/debian/run | 0 .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../init.d-general/build-spec/debian/control.in | 61 + .../build-spec/debian/init.d-general-bugs.init | 17 + .../build-spec/debian/init.d-general-bugs.postinst | 17 + .../init.d-general-interpreter-in-usr-dir.init | 14 + .../debian/init.d-general-new-style.init | 31 + .../init.d-general-sourcing-without-test.init | 52 + .../build-spec/debian/init.d-general.default | 17 + .../build-spec/debian/init.d-general.init | 21 + .../init-d/init.d-general/build-spec/fill-values | 3 + t/recipes/checks/init-d/init.d-general/eval/desc | 2 + t/recipes/checks/init-d/init.d-general/eval/hints | 24 + .../build-spec/debian/control.in | 90 + .../build-spec/debian/init.d-lsb-headers-all.init | 22 + .../debian/init.d-lsb-headers-early-boot.init | 21 + .../debian/init.d-lsb-headers-length.init | 21 + .../debian/init.d-lsb-headers-local.init | 23 + .../debian/init.d-lsb-headers-missing.init | 19 + .../debian/init.d-lsb-headers-parsing.init | 21 + .../debian/init.d-lsb-headers-remote.init | 23 + .../debian/init.d-lsb-headers-virtual.init | 22 + .../build-spec/debian/init.d-lsb-headers.init | 23 + .../init.d-lsb-headers/build-spec/fill-values | 3 + .../checks/init-d/init.d-lsb-headers/eval/desc | 2 + .../checks/init-d/init.d-lsb-headers/eval/hints | 28 + .../build-spec/debian/init | 27 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/install | 3 + .../build-spec/debian/links | 1 + .../build-spec/debian/rules | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/README | 1 + .../build-spec/orig/foo.in | 18 + .../build-spec/orig/skeleton | 2 + .../init-d/init.d-script-registration/eval/desc | 2 + .../init-d/init.d-script-registration/eval/hints | 3 + .../init-d/init.d-symlink/build-spec/debian/links | 2 + .../init.d-symlink/build-spec/debian/postinst | 4 + .../init-d/init.d-symlink/build-spec/debian/postrm | 6 + .../init-d/init.d-symlink/build-spec/fill-values | 3 + t/recipes/checks/init-d/init.d-symlink/eval/desc | 5 + t/recipes/checks/init-d/init.d-symlink/eval/hints | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../init-d/legacy-maintainer-scripts/eval/desc | 3 + .../init-d/legacy-maintainer-scripts/eval/hints | 6 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../init-d/legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../init-d/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../init-d/legacy-scripts/build-spec/debian/watch | 8 + .../init-d/legacy-scripts/build-spec/fill-values | 6 + .../init-d/legacy-scripts/build-spec/orig/csh-foo | 2 + .../init-d/legacy-scripts/build-spec/orig/envfoo | 4 + .../init-d/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 + .../init-d/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 + .../init-d/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../init-d/legacy-scripts/build-spec/orig/phpfoo | 7 + .../init-d/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../init-d/legacy-scripts/build-spec/orig/tkfoo | 31 + .../init-d/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../init-d/legacy-scripts/build-spec/pre-build | 5 + t/recipes/checks/init-d/legacy-scripts/eval/desc | 2 + t/recipes/checks/init-d/legacy-scripts/eval/hints | 21 + .../checks/init-d/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 1 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/install | 4 + .../build-spec/debian/postinst | 7 + .../build-spec/debian/postrm | 8 + .../build-spec/fill-values | 3 + .../scripts-calls-init-script/build-spec/orig/bad | 2 + .../build-spec/orig/other-action | 3 + .../build-spec/orig/self-invoke | 30 + .../build-spec/orig/test-first | 6 + .../scripts-calls-init-script/eval/desc | 4 + .../scripts-calls-init-script/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/fortran/mpi.mod | Bin 0 -> 103 bytes .../missing-prerequisite-for-module/eval/desc | 5 + .../missing-prerequisite-for-module/eval/hints | 1 + .../no-module-version/build-spec/debian/install | 1 + .../no-module-version/build-spec/fill-values | 3 + .../build-spec/orig/fortran/mpi.mod | Bin 0 -> 106 bytes .../fortran/gfortran/no-module-version/eval/desc | 5 + .../fortran/gfortran/no-module-version/eval/hints | 1 + .../binaries-golang/build-spec/fill-values | 5 + .../binaries-golang/build-spec/orig/Makefile | 16 + .../binaries-golang/build-spec/orig/basic.c | 12 + .../golang/built-using/binaries-golang/eval/desc | 2 + .../golang/built-using/binaries-golang/eval/hints | 1 + .../binaries-golang/build-spec/fill-values | 5 + .../binaries-golang/build-spec/orig/Makefile | 16 + .../binaries-golang/build-spec/orig/basic.c | 12 + .../golang/import-path/binaries-golang/eval/desc | 2 + .../golang/import-path/binaries-golang/eval/hints | 1 + .../debian/control-file-golang-built-using.install | 1 + .../build-spec/debian/control.in | 41 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 12 + .../control-file-golang-built-using/eval/desc | 2 + .../control-file-golang-built-using/eval/hints | 1 + .../control-file-golang-xs-go-import-path.install | 1 + .../build-spec/debian/control.in | 41 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 12 + .../build-spec/orig/basic.c | 12 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/libfoo-java.install | 3 + .../files-java-classfiles/build-spec/fill-values | 3 + .../build-spec/orig/mini.class | Bin 0 -> 122 bytes .../build-spec/orig/not-a-class-file.class | 1 + .../java/bytecode/files-java-classfiles/eval/desc | 2 + .../java/bytecode/files-java-classfiles/eval/hints | 1 + .../java-class-format/build-spec/debian/control.in | 16 + .../java-class-format/build-spec/debian/javabuild | 1 + .../build-spec/debian/libtest-java.jlibs | 2 + .../java/java-class-format/build-spec/debian/rules | 19 + .../java/java-class-format/build-spec/fill-values | 6 + .../orig/src/org/debian/lintian/TestA.java | 8 + .../orig/src/org/debian/lintian/TestB.java | 8 + .../languages/java/java-class-format/eval/desc | 2 + .../languages/java/java-class-format/eval/hints | 2 + .../build-spec/debian/binary-using-java.jlibs | 1 + .../java-classpath/build-spec/debian/control.in | 38 + .../java-classpath/build-spec/debian/javabuild | 2 + .../build-spec/debian/libcp-missing-java.jlibs | 1 + .../build-spec/debian/libcp-relative-java.jlibs | 1 + .../build-spec/debian/libcp-relative-java.manifest | 2 + .../java/java-classpath/build-spec/debian/rules | 8 + .../java/java-classpath/build-spec/fill-values | 6 + .../orig/src/org/debian/lintian/TestA.java | 8 + .../checks/languages/java/java-classpath/eval/desc | 2 + .../languages/java/java-classpath/eval/hints | 1 + .../java/java-jars/build-spec/debian/clean | 1 + .../java/java-jars/build-spec/debian/control.in | 73 + .../java/java-jars/build-spec/debian/javabuild | 4 + .../build-spec/debian/libcodeless-java.jlibs | 1 + .../debian/libcontains-source-java.jlibs | 1 + .../build-spec/debian/libmanifestless-java.jlibs | 1 + .../debian/libtest-maven-plugin-java.install | 2 + .../build-spec/debian/libtesta-java.install | 4 + .../build-spec/debian/libtesta-java.jlibs | 1 + .../build-spec/debian/libtestc-java.install | 1 + .../java/java-jars/build-spec/debian/rules | 20 + .../java-jars/build-spec/debian/unparsable.install | 1 + .../java/java-jars/build-spec/fill-values | 6 + .../build-spec/orig/generate-unparsable.pl | 36 + .../orig/src/org/debian/lintian/TestA.java | 8 + .../checks/languages/java/java-jars/eval/desc | 4 + .../checks/languages/java/java-jars/eval/hints | 11 + .../prebuilt-java-object/build-spec/fill-values | 4 + .../build-spec/orig/HelloWorld.class | Bin 0 -> 413 bytes .../build-spec/orig/HelloWorld.jar | Bin 0 -> 745 bytes .../build-spec/orig/HelloWorld.java | 7 + .../languages/java/prebuilt-java-object/eval/desc | 2 + .../languages/java/prebuilt-java-object/eval/hints | 1 + .../files-embedded/build-spec/debian/install | 10 + .../embedded/files-embedded/build-spec/fill-values | 3 + .../build-spec/orig/bootstrap-1.1.js | 1 + .../files-embedded/build-spec/orig/bootstrap.js | 1 + .../files-embedded/build-spec/orig/doxygen.css | 1 + .../files-embedded/build-spec/orig/jquery.js | 1 + .../files-embedded/build-spec/orig/jquery.min.js | 1 + .../files-embedded/build-spec/orig/mocha.css | 1 + .../files-embedded/build-spec/orig/mocha.js | 1 + .../files-embedded/build-spec/orig/rss_parse.php | 1 + .../files-embedded/build-spec/orig/streams.php | 0 .../build-spec/orig/tiny_mce_popup.js | 1 + .../javascript/embedded/files-embedded/eval/desc | 3 + .../javascript/embedded/files-embedded/eval/hints | 6 + .../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 + .../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 + .../javascript/embedded/legacy-filenames/eval/desc | 2 + .../embedded/legacy-filenames/eval/hints | 11 + .../embedded/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 5 + .../dh-sequence-nodejs-test-is-missing/eval/desc | 2 + .../dh-sequence-nodejs-test-is-missing/eval/hints | 3 + .../nodejs/files-nodejs/build-spec/debian/install | 1 + .../nodejs/files-nodejs/build-spec/debian/rules | 16 + .../nodejs/files-nodejs/build-spec/fill-values | 3 + .../files-nodejs/build-spec/orig/src/test.js | 1 + .../files-nodejs/build-spec/orig/src/test.json | 1 + .../javascript/nodejs/files-nodejs/eval/desc | 2 + .../javascript/nodejs/files-nodejs/eval/hints | 2 + .../build-spec/debian/install | 2 + .../build-spec/debian/rules | 4 + .../build-spec/debian/tests/pkg-js/test | 3 + .../build-spec/debian/watch | 42 + .../build-spec/fill-values | 4 + .../build-spec/orig/bson/browser_build/index.js | 1 + .../orig/bson/browser_build/package.json | 1 + .../build-spec/orig/bson/index.js | 1 + .../build-spec/orig/bson/package.json | 4 + .../build-spec/orig/denque/index.js | 1 + .../build-spec/orig/denque/package.json | 4 + .../build-spec/orig/foobar/index.js | 1 + .../build-spec/orig/foobar/package.json | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/memory-pager/index.js | 1 + .../build-spec/orig/memory-pager/package.json | 4 + .../build-spec/orig/mongodb-core/index.js | 1 + .../build-spec/orig/mongodb-core/package.json | 4 + .../build-spec/orig/package.json | 4 + .../build-spec/orig/requireoptional/index.js | 1 + .../build-spec/orig/requireoptional/package.json | 4 + .../requireoptional/test/nestedTest/package.json | 4 + .../build-spec/orig/saslprep/index.js | 1 + .../build-spec/orig/saslprep/package.json | 4 + .../build-spec/orig/sparse-bitfield/index.js | 1 + .../build-spec/orig/sparse-bitfield/package.json | 4 + .../nodejs/multiple-nodejs-components/eval/desc | 2 + .../nodejs/multiple-nodejs-components/eval/hints | 17 + .../build-spec/debian/nodejs/additional_components | 2 + .../build-spec/debian/nodejs/root_modules | 1 + .../build-spec/debian/rules | 4 + .../build-spec/debian/tests/pkg-js/test | 2 + .../build-spec/debian/watch | 6 + .../build-spec/fill-values | 4 + .../build-spec/orig/bson/index.js | 1 + .../build-spec/orig/bson/package.json | 4 + .../build-spec/orig/foobar/index.js | 1 + .../build-spec/orig/foobar/package.json | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 4 + .../nodejs-missing-version-override/eval/desc | 2 + .../nodejs-missing-version-override/eval/hints | 8 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 13 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/test.js | 1 + .../build-spec/orig/src/test.json | 1 + .../nodejs-module-installed-in-usr-lib/eval/desc | 2 + .../nodejs-module-installed-in-usr-lib/eval/hints | 2 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 13 + .../build-spec/fill-values | 3 + .../build-spec/orig/src/test.js | 1 + .../build-spec/orig/src/test.json | 1 + .../nodejs-module-installs-lock-file/eval/desc | 2 + .../nodejs-module-installs-lock-file/eval/hints | 2 + .../build-spec/debian/nodejs/additional_components | 2 + .../build-spec/debian/nodejs/root_modules | 1 + .../build-spec/debian/rules | 4 + .../build-spec/debian/tests/pkg-js/test | 2 + .../build-spec/debian/watch | 6 + .../build-spec/fill-values | 4 + .../build-spec/orig/bson/browser_build/index.js | 1 + .../orig/bson/browser_build/package.json | 1 + .../build-spec/orig/bson/index.js | 1 + .../build-spec/orig/bson/package.json | 4 + .../build-spec/orig/foobar/index.js | 1 + .../build-spec/orig/foobar/package.json | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 4 + .../nodejs/nodejs-module-not-declared/eval/desc | 2 + .../nodejs/nodejs-module-not-declared/eval/hints | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/tests/pkg-js/files | 5 + .../build-spec/debian/tests/pkg-js/test | 3 + .../build-spec/fill-values | 3 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/lib/a/file.js | 0 .../build-spec/orig/package.json | 5 + .../build-spec/orig/test/test.js | 0 .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/tests/pkg-js/test | 3 + .../build-spec/fill-values | 3 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 5 + .../pkg-js-autopkgtest-test-is-empty/eval/desc | 2 + .../pkg-js-autopkgtest-test-is-empty/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 5 + .../pkg-js-autopkgtest-test-is-missing/eval/desc | 2 + .../pkg-js-autopkgtest-test-is-missing/eval/hints | 1 + .../build-spec/debian/rules | 4 + .../build-spec/debian/tests/pkg-js/test | 3 + .../build-spec/fill-values | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 5 + .../nodejs/pkg-js-tools-test-is-empty/eval/desc | 2 + .../nodejs/pkg-js-tools-test-is-empty/eval/hints | 3 + .../build-spec/debian/rules | 4 + .../build-spec/fill-values | 4 + .../build-spec/orig/index.js | 1 + .../build-spec/orig/package.json | 5 + .../nodejs/pkg-js-tools-test-is-missing/eval/desc | 2 + .../nodejs/pkg-js-tools-test-is-missing/eval/hints | 3 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../compiled/ocaml-general/build-spec/fill-values | 5 + .../ocaml-general/build-spec/orig/Makefile | 17 + .../ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../ocaml-general/build-spec/orig/symbol.c | 5 + .../byte-code/compiled/ocaml-general/eval/desc | 2 + .../byte-code/compiled/ocaml-general/eval/hints | 2 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../interface/ocaml-general/build-spec/fill-values | 5 + .../ocaml-general/build-spec/orig/Makefile | 17 + .../ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../ocaml-general/build-spec/orig/symbol.c | 5 + .../byte-code/interface/ocaml-general/eval/desc | 2 + .../byte-code/interface/ocaml-general/eval/hints | 5 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../library/ocaml-general/build-spec/fill-values | 5 + .../library/ocaml-general/build-spec/orig/Makefile | 17 + .../ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../library/ocaml-general/build-spec/orig/symbol.c | 5 + .../byte-code/library/ocaml-general/eval/desc | 2 + .../byte-code/library/ocaml-general/eval/hints | 2 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../package/ocaml-general/build-spec/fill-values | 5 + .../package/ocaml-general/build-spec/orig/Makefile | 17 + .../ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../package/ocaml-general/build-spec/orig/symbol.c | 5 + .../misplaced/package/ocaml-general/eval/desc | 2 + .../misplaced/package/ocaml-general/eval/hints | 1 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../path/ocaml-general/build-spec/fill-values | 5 + .../path/ocaml-general/build-spec/orig/Makefile | 17 + .../path/ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../path/ocaml-general/build-spec/orig/symbol.c | 5 + .../misplaced/path/ocaml-general/eval/desc | 2 + .../misplaced/path/ocaml-general/eval/hints | 1 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../plugin/ocaml-general/build-spec/fill-values | 5 + .../plugin/ocaml-general/build-spec/orig/Makefile | 17 + .../ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../plugin/ocaml-general/build-spec/orig/symbol.c | 5 + .../ocaml/byte-code/plugin/ocaml-general/eval/desc | 2 + .../byte-code/plugin/ocaml-general/eval/hints | 1 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../custom-executable/binaries-general/eval/desc | 2 + .../custom-executable/binaries-general/eval/hints | 1 + .../binaries-general/eval/post-test | 1 + .../ocaml-general/build-spec/debian/control.in | 27 + .../debian/libocaml-general-ocaml-dev.dirs | 1 + .../debian/libocaml-general-ocaml-dev.install | 12 + .../build-spec/debian/libocaml-general-ocaml.dirs | 1 + .../debian/libocaml-general-ocaml.install | 3 + .../meta/ocaml-general/build-spec/fill-values | 5 + .../meta/ocaml-general/build-spec/orig/Makefile | 17 + .../meta/ocaml-general/build-spec/orig/ocaml/META | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bar.cmxs | 1 + .../ocaml-general/build-spec/orig/ocaml/baz.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cma | 1 + .../ocaml-general/build-spec/orig/ocaml/bleh.cmo | 1 + .../ocaml-general/build-spec/orig/ocaml/boo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmi | 1 + .../ocaml-general/build-spec/orig/ocaml/foo.cmxa | 1 + .../build-spec/orig/ocaml/symbol-dev.cmx | 1 + .../ocaml-general/build-spec/orig/ocaml/symbol.cmx | 1 + .../build-spec/orig/ocaml/symbol2.cmx | 1 + .../meta/ocaml-general/build-spec/orig/symbol.c | 5 + .../languages/ocaml/meta/ocaml-general/eval/desc | 2 + .../languages/ocaml/meta/ocaml-general/eval/hints | 1 + .../build-spec/debian/control.in | 27 + .../fields-perl-provides/build-spec/debian/rules | 8 + .../fields-perl-provides/build-spec/fill-values | 4 + .../core/provides/fields-perl-provides/eval/desc | 2 + .../core/provides/fields-perl-provides/eval/hints | 1 + .../provides/fields-perl-provides/eval/post-test | 1 + .../perl/files-foo-in-bar/build-spec/debian/clean | 5 + .../perl/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../perl/files-foo-in-bar/build-spec/debian/rules | 18 + .../perl/files-foo-in-bar/build-spec/fill-values | 3 + .../perl/files-foo-in-bar/build-spec/orig/bar | 1 + .../perl/files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../languages/perl/files-foo-in-bar/eval/desc | 2 + .../languages/perl/files-foo-in-bar/eval/hints | 5 + .../languages/perl/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/Naughty.pm | 7 + .../perl/files-uses-perl4-libs-with-dep/eval/desc | 3 + .../perl/files-uses-perl4-libs-with-dep/eval/hints | 0 .../build-spec/debian/install | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/Naughty.pm | 7 + .../files-uses-perl4-libs-without-dep/eval/desc | 2 + .../files-uses-perl4-libs-without-dep/eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../perl/legacy-filenames/build-spec/debian/rules | 231 + .../perl/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 + .../languages/perl/legacy-filenames/eval/desc | 2 + .../languages/perl/legacy-filenames/eval/hints | 2 + .../languages/perl/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/Makefile | 7 + .../build-spec/orig/naughty-script | 22 + .../scripts-uses-perl4-libs-with-dep/eval/desc | 4 + .../scripts-uses-perl4-libs-with-dep/eval/hints | 0 .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 7 + .../build-spec/orig/naughty-script | 22 + .../scripts-uses-perl4-libs-without-dep/eval/desc | 2 + .../scripts-uses-perl4-libs-without-dep/eval/hints | 1 + .../perl5/cruft-perl/build-spec/debian/pkg.install | 1 + .../perl/perl5/cruft-perl/build-spec/debian/rules | 5 + .../perl/perl5/cruft-perl/build-spec/fill-values | 3 + .../languages/perl/perl5/cruft-perl/eval/desc | 2 + .../languages/perl/perl5/cruft-perl/eval/hints | 1 + .../perl/yapp/yapp-parser/build-spec/fill-values | 3 + .../yapp/yapp-parser/build-spec/orig/perl/Dot.pm | 14 + .../languages/perl/yapp/yapp-parser/eval/desc | 3 + .../languages/perl/yapp/yapp-parser/eval/hints | 1 + .../depends-composer/build-spec/debian/control.in | 19 + .../depends-composer/build-spec/fill-values | 3 + .../php/composer/depends-composer/eval/desc | 2 + .../php/composer/depends-composer/eval/hints | 1 + .../files-embedded/build-spec/debian/install | 10 + .../embedded/files-embedded/build-spec/fill-values | 3 + .../build-spec/orig/bootstrap-1.1.js | 1 + .../files-embedded/build-spec/orig/bootstrap.js | 1 + .../files-embedded/build-spec/orig/doxygen.css | 1 + .../files-embedded/build-spec/orig/jquery.js | 1 + .../files-embedded/build-spec/orig/jquery.min.js | 1 + .../files-embedded/build-spec/orig/mocha.css | 1 + .../files-embedded/build-spec/orig/mocha.js | 1 + .../files-embedded/build-spec/orig/rss_parse.php | 1 + .../files-embedded/build-spec/orig/streams.php | 0 .../build-spec/orig/tiny_mce_popup.js | 1 + .../php/embedded/files-embedded/eval/desc | 3 + .../php/embedded/files-embedded/eval/hints | 2 + .../php/files-general/build-spec/debian/clean | 1 + .../php/files-general/build-spec/debian/dirs | 13 + .../php/files-general/build-spec/debian/examples | 1 + .../php/files-general/build-spec/debian/install | 18 + .../php/files-general/build-spec/debian/links | 1 + .../php/files-general/build-spec/debian/manpages | 2 + .../php/files-general/build-spec/debian/rules | 67 + .../php/files-general/build-spec/fill-values | 4 + .../php/files-general/build-spec/orig/--lzma | 2 + .../php/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../php/files-general/build-spec/orig/foo.5 | 5 + .../php/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 + .../php/files-general/build-spec/orig/lintian.conf | 1 + .../files-general/build-spec/orig/mimeinfo.cache | 2 + .../php/files-general/build-spec/orig/php-foo.ini | 1 + .../php/files-general/build-spec/orig/sudotest | 0 .../php/files-general/build-spec/orig/tnu.1 | 5 + .../php/files-general/build-spec/orig/types | 0 .../checks/languages/php/files-general/eval/desc | 3 + .../checks/languages/php/files-general/eval/hints | 1 + .../pear/phppear-composer/build-spec/fill-values | 3 + .../phppear-composer/build-spec/orig/composer.json | 0 .../pear/phppear-composer/build-spec/orig/foo.php | 0 .../languages/php/pear/phppear-composer/eval/desc | 4 + .../languages/php/pear/phppear-composer/eval/hints | 1 + .../build-spec/debian/control.in | 20 + .../pear/phppear-composerok/build-spec/fill-values | 3 + .../build-spec/orig/composer.json | 1 + .../phppear-composerok/build-spec/orig/foo.php | 0 .../php/pear/phppear-composerok/eval/desc | 4 + .../php/pear/phppear-composerok/eval/hints | 0 .../pear/phppear-general/build-spec/fill-values | 3 + .../phppear-general/build-spec/orig/channel.xml | 0 .../pear/phppear-general/build-spec/orig/foo.php | 0 .../phppear-general/build-spec/orig/package.xml | 1 + .../languages/php/pear/phppear-general/eval/desc | 4 + .../languages/php/pear/phppear-general/eval/hints | 2 + .../build-spec/debian/pkg-php-tools-overrides | 1 + .../php/pear/phppear-pear/build-spec/fill-values | 4 + .../php/pear/phppear-pear/build-spec/orig/foo.php | 0 .../pear/phppear-pear/build-spec/orig/package.xml | 60 + .../pear/phppear-pear/build-spec/orig/package2.xml | 0 .../languages/php/pear/phppear-pear/eval/desc | 2 + .../languages/php/pear/phppear-pear/eval/hints | 10 + .../phppear-pearok/build-spec/debian/control.in | 20 + .../pear/phppear-pearok/build-spec/debian/rules | 3 + .../php/pear/phppear-pearok/build-spec/fill-values | 4 + .../orig/MyProject_Packages-0.0.1/empty.php | 0 .../pear/phppear-pearok/build-spec/orig/foo.php | 0 .../phppear-pearok/build-spec/orig/package.xml | 60 + .../languages/php/pear/phppear-pearok/eval/desc | 8 + .../languages/php/pear/phppear-pearok/eval/hints | 0 .../build-spec/fill-values | 4 + .../what-is-python-build-depends/eval/desc | 3 + .../what-is-python-build-depends/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../what-is-python-depends/build-spec/fill-values | 3 + .../what-is-python-depends/eval/desc | 3 + .../what-is-python-depends/eval/hints | 1 + .../build-spec/debian/py3dist-overrides | 2 + .../duplicate-identifier/build-spec/fill-values | 3 + .../dist-overrides/duplicate-identifier/eval/desc | 2 + .../dist-overrides/duplicate-identifier/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/from.py | 7 + .../build-spec/orig/import.py | 3 + .../distutils/python-imports-distutils/eval/desc | 2 + .../distutils/python-imports-distutils/eval/hints | 2 + .../files-embedded/build-spec/debian/install | 11 + .../files-embedded/build-spec/fill-values | 3 + .../build-spec/orig/bootstrap-1.1.js | 1 + .../files-embedded/build-spec/orig/bootstrap.js | 1 + .../files-embedded/build-spec/orig/doxygen.css | 1 + .../files-embedded/build-spec/orig/feedparser.py | 1 + .../files-embedded/build-spec/orig/jquery.js | 1 + .../files-embedded/build-spec/orig/jquery.min.js | 1 + .../files-embedded/build-spec/orig/mocha.css | 1 + .../files-embedded/build-spec/orig/mocha.js | 1 + .../files-embedded/build-spec/orig/rss_parse.php | 1 + .../files-embedded/build-spec/orig/streams.php | 0 .../build-spec/orig/tiny_mce_popup.js | 1 + .../python/feedparser/files-embedded/eval/desc | 3 + .../python/feedparser/files-embedded/eval/hints | 1 + .../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 + .../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 + .../build-spec/orig/data/feedparser.py | 16 + .../python/feedparser/legacy-filenames/eval/desc | 2 + .../python/feedparser/legacy-filenames/eval/hints | 1 + .../feedparser/legacy-filenames/eval/post-test | 3 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../python/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../python/files-foo-in-bar/build-spec/fill-values | 3 + .../python/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../languages/python/files-foo-in-bar/eval/desc | 2 + .../languages/python/files-foo-in-bar/eval/hints | 3 + .../python/files-foo-in-bar/eval/post-test | 2 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 53 + .../build-spec/debian/python-kinterbasdb.install | 7 + .../files-python-general/build-spec/debian/rules | 19 + .../files-python-general/build-spec/fill-values | 5 + .../files-python-general/build-spec/orig/Makefile | 7 + .../files-python-general/build-spec/orig/lib.c | 4 + .../build-spec/orig/objects.inv | 199 + .../build-spec/orig/python.egg | 1 + .../python/files-python-general/eval/desc | 3 + .../python/files-python-general/eval/hints | 7 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/install | 9 + .../build-spec/debian/rules | 5 + .../build-spec/fill-values | 3 + .../build-spec/orig/__init__.py | 0 .../build-spec/orig/site.py | 0 .../build-spec/orig/tests.py | 0 .../eval/desc | 4 + .../eval/hints | 9 + .../build-spec/debian/control.in | 16 + .../files-python-modules/build-spec/debian/install | 13 + .../files-python-modules/build-spec/debian/rules | 5 + .../files-python-modules/build-spec/fill-values | 3 + .../build-spec/orig/python-foo | 1 + .../python/files-python-modules/eval/desc | 2 + .../python/files-python-modules/eval/hints | 16 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/install | 4 + .../build-spec/fill-values | 3 + .../build-spec/orig/bad | 0 .../build-spec/orig/good | 0 .../build-spec/orig/good.py | 0 .../eval/desc | 2 + .../eval/hints | 1 + .../python/homepage/pypi/build-spec/fill-values | 4 + .../languages/python/homepage/pypi/eval/desc | 4 + .../languages/python/homepage/pypi/eval/hints | 1 + .../build-spec/debian/missing-sources/fake.py | 1 + .../cruft-python/build-spec/debian/pycompat | 0 .../cruft-python/build-spec/debian/pyversions | 1 + .../obsolete/cruft-python/build-spec/fill-values | 4 + .../obsolete/cruft-python/build-spec/pre-build | 31 + .../python/obsolete/cruft-python/eval/desc | 2 + .../python/obsolete/cruft-python/eval/hints | 2 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../obsolete/legacy-debconf/build-spec/fill-values | 6 + .../python/obsolete/legacy-debconf/eval/desc | 2 + .../python/obsolete/legacy-debconf/eval/hints | 2 + .../python/obsolete/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../python-ancient-python-version-field/eval/desc | 4 + .../python-ancient-python-version-field/eval/hints | 2 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../python-build-depends-on-sphinx-unrel/eval/desc | 5 + .../eval/hints | 0 .../build-spec/debian/control.in | 27 + .../build-spec/fill-values | 3 + .../python-build-depends-on-sphinx/eval/desc | 4 + .../python-build-depends-on-sphinx/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 7 + .../python-could-use-pyproject-flit/eval/desc | 2 + .../python-could-use-pyproject-flit/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../python-could-use-pyproject-hatchling/eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../python-could-use-pyproject-mesonpy/eval/desc | 2 + .../python-could-use-pyproject-mesonpy/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 17 + .../python-could-use-pyproject-poetry/eval/desc | 2 + .../python-could-use-pyproject-poetry/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../python-could-use-pyproject-sipbuild/eval/desc | 2 + .../python-could-use-pyproject-sipbuild/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../python-depends-python2-and-python3/eval/desc | 2 + .../python-depends-python2-and-python3/eval/hints | 1 + .../build-spec/debian/control.in | 61 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/control.in | 19 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../python/python-malformed-py-version/eval/desc | 2 + .../python/python-malformed-py-version/eval/hints | 4 + .../build-spec/debian/control.in | 67 + .../build-spec/fill-values | 3 + .../python-mismatched-python-substvar/eval/desc | 2 + .../python-mismatched-python-substvar/eval/hints | 2 + .../build-spec/debian/changelog.in | 10 + .../build-spec/debian/control.in | 27 + .../build-spec/fill-values | 3 + .../python-new-python2-package-unrel/eval/desc | 4 + .../python-new-python2-package-unrel/eval/hints | 0 .../build-spec/debian/changelog.in | 9 + .../build-spec/debian/control.in | 27 + .../build-spec/fill-values | 3 + .../python/python-new-python2-package/eval/desc | 2 + .../python/python-new-python2-package/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-file | 2 + .../python-old-python-version-field/eval/desc | 4 + .../python-old-python-version-field/eval/hints | 2 + .../build-spec/debian/control.in | 38 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 6 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 87 + .../python-python2-apps/build-spec/fill-values | 3 + .../languages/python/python-python2-apps/eval/desc | 2 + .../python/python-python2-apps/eval/hints | 6 + .../build-spec/debian/control.in | 84 + .../build-spec/fill-values | 3 + .../python-python2-no-python3-unrel/eval/desc | 3 + .../python-python2-no-python3-unrel/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/fill-values | 3 + .../python/python-python2-no-python3/eval/desc | 2 + .../python/python-python2-no-python3/eval/hints | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 1 + .../python-valid-pdm/build-spec/debian/control.in | 18 + .../python/python-valid-pdm/build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../languages/python/python-valid-pdm/eval/desc | 2 + .../languages/python/python-valid-pdm/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../python-valid-poetry/build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 17 + .../languages/python/python-valid-poetry/eval/desc | 2 + .../python/python-valid-poetry/eval/hints | 1 + .../python-wrong-pdm/build-spec/debian/control.in | 18 + .../python/python-wrong-pdm/build-spec/fill-values | 3 + .../build-spec/orig/pyproject.toml | 3 + .../languages/python/python-wrong-pdm/eval/desc | 2 + .../languages/python/python-wrong-pdm/eval/hints | 2 + .../build-spec/debian/control.in | 19 + .../python-wrong-poetry/build-spec/fill-values | 4 + .../build-spec/orig/pyproject.toml | 17 + .../languages/python/python-wrong-poetry/eval/desc | 2 + .../python/python-wrong-poetry/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/install | 1 + .../build-spec/debian/rules | 4 + .../build-spec/debian/script-bad1 | 1 + .../build-spec/debian/script-bad2 | 1 + .../build-spec/debian/script-good1 | 1 + .../build-spec/debian/script-good2 | 1 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 29 + .../debian/r-cran-false-positive.install | 1 + .../build-spec/debian/r-cran-positive.install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/DESCRIPTION | 19 + .../fields-r-package-not-arch-all/eval/desc | 2 + .../fields-r-package-not-arch-all/eval/hints | 1 + .../r/files-r-data-unrel/build-spec/debian/install | 1 + .../r/files-r-data-unrel/build-spec/fill-values | 3 + .../build-spec/orig/src/test.Rda | 1 + .../build-spec/orig/src/test.Rdata | 1 + .../build-spec/orig/src/test.rda | 1 + .../build-spec/orig/src/test.rdata | 1 + .../languages/r/files-r-data-unrel/eval/desc | 4 + .../languages/r/files-r-data-unrel/eval/hints | 0 .../r/files-r-data/build-spec/debian/install | 1 + .../r/files-r-data/build-spec/fill-values | 3 + .../r/files-r-data/build-spec/orig/src/test.Rda | Bin 0 -> 2761 bytes .../r/files-r-data/build-spec/orig/src/test.Rdata | Bin 0 -> 2761 bytes .../r/files-r-data/build-spec/orig/src/test.rda | Bin 0 -> 2761 bytes .../r/files-r-data/build-spec/orig/src/test.rdata | Bin 0 -> 2761 bytes .../checks/languages/r/files-r-data/eval/desc | 2 + .../checks/languages/r/files-r-data/eval/hints | 4 + .../build-spec/debian/control.in | 18 + .../lacks-depends-on-r-api/build-spec/debian/rules | 4 + .../lacks-depends-on-r-api/build-spec/fill-values | 5 + .../build-spec/orig/DESCRIPTION | 21 + .../site-library/lacks-depends-on-r-api/eval/desc | 4 + .../site-library/lacks-depends-on-r-api/eval/hints | 2 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../ruby/depends-on-ruby-interpreter/eval/desc | 2 + .../ruby/depends-on-ruby-interpreter/eval/hints | 1 + .../ruby/gem-homepage/build-spec/fill-values | 4 + .../checks/languages/ruby/gem-homepage/eval/desc | 4 + .../checks/languages/ruby/gem-homepage/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../empty-rust-library-declares-provides/eval/desc | 4 + .../eval/hints | 1 + .../template-description/build-spec/fill-values | 6 + .../languages/rust/template-description/eval/desc | 2 + .../languages/rust/template-description/eval/hints | 1 + .../binaries-general/build-spec/debian/rules | 12 + .../binaries-general/build-spec/fill-values | 4 + .../binaries-general/build-spec/orig/Makefile | 64 + .../binaries-general/build-spec/orig/basic.c | 12 + .../binaries-general/build-spec/orig/getbuildid | 30 + .../binaries-general/build-spec/orig/ocaml.c | 11 + .../debug-symbols/binaries-general/eval/desc | 2 + .../debug-symbols/binaries-general/eval/hints | 1 + .../debug-symbols/binaries-general/eval/post-test | 1 + .../binaries-embedded-libs/build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 26 + .../binaries-embedded-libs/build-spec/orig/gmp.c | 15 + .../build-spec/orig/hardening-trigger.h | 6 + .../build-spec/orig/ieee-data1.c | 10 + .../build-spec/orig/ieee-data2.c | 10 + .../build-spec/orig/ieee-data3.c | 17 + .../build-spec/orig/libbz2.c | 11 + .../build-spec/orig/libexpat.c | 15 + .../build-spec/orig/libjpeg.c | 15 + .../binaries-embedded-libs/build-spec/orig/libm.c | 11 + .../build-spec/orig/libmagic.c | 11 + .../build-spec/orig/libopenjpeg.c | 15 + .../build-spec/orig/libpcre3.c | 15 + .../build-spec/orig/libpng.c | 15 + .../build-spec/orig/libsqlite.c | 14 + .../build-spec/orig/libtiff.c | 15 + .../build-spec/orig/libxml2.c | 11 + .../binaries-embedded-libs/build-spec/orig/mpfr.c | 15 + .../build-spec/orig/template.1 | 24 + .../binaries-embedded-libs/build-spec/orig/zlib.c | 15 + .../embedded/binaries-embedded-libs/eval/desc | 2 + .../embedded/binaries-embedded-libs/eval/hints | 17 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../shared-libs-exit-fork/build-spec/fill-values | 6 + .../shared-libs-exit-fork/build-spec/orig/Makefile | 22 + .../shared-libs-exit-fork/build-spec/orig/code.c | 12 + .../shared/exit/shared-libs-exit-fork/eval/desc | 4 + .../shared/exit/shared-libs-exit-fork/eval/hints | 1 + .../shared-libs-exit/build-spec/debian/compat.in | 1 + .../shared-libs-exit/build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../exit/shared-libs-exit/build-spec/fill-values | 6 + .../exit/shared-libs-exit/build-spec/orig/Makefile | 22 + .../exit/shared-libs-exit/build-spec/orig/code.c | 13 + .../shared/exit/shared-libs-exit/eval/desc | 2 + .../shared/exit/shared-libs-exit/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../legacy-libbaz/build-spec/orig/baz.c | 6 + .../legacy-libbaz/build-spec/orig/extra.c | 0 .../file-permissions/legacy-libbaz/eval/desc | 2 + .../file-permissions/legacy-libbaz/eval/hints | 1 + .../file-permissions/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 3 + .../shared-libs-exec-bit/build-spec/debian/rules | 9 + .../shared-libs-exec-bit/build-spec/fill-values | 6 + .../shared-libs-exec-bit/build-spec/orig/Makefile | 23 + .../shared-libs-exec-bit/build-spec/orig/code.c | 15 + .../shared-libs-exec-bit/eval/desc | 2 + .../shared-libs-exec-bit/eval/hints | 2 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../links/legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../links/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../links/legacy-libbaz/build-spec/fill-values | 6 + .../links/legacy-libbaz/build-spec/orig/Makefile | 55 + .../links/legacy-libbaz/build-spec/orig/baz.c | 6 + .../links/legacy-libbaz/build-spec/orig/extra.c | 0 .../libraries/shared/links/legacy-libbaz/eval/desc | 2 + .../shared/links/legacy-libbaz/eval/hints | 5 + .../shared/links/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 27 + .../build-spec/debian/libfoo-1.install | 2 + .../build-spec/debian/libfoo-1.symbols | 7 + .../build-spec/debian/libfoo-dev.install | 3 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 27 + .../build-spec/orig/code.c | 16 + .../build-spec/orig/code.h | 8 + .../links/shared-libs-dev-symlink-fp/eval/desc | 4 + .../links/shared-libs-dev-symlink-fp/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 27 + .../build-spec/debian/libfoo-dev.install | 1 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.symbols | 3 + .../shared-libs-dev-symlink/build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 24 + .../shared-libs-dev-symlink/build-spec/orig/code.c | 16 + .../shared-libs-dev-symlink/build-spec/orig/code.h | 8 + .../shared/links/shared-libs-dev-symlink/eval/desc | 2 + .../links/shared-libs-dev-symlink/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 20 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-not-symlink/eval/desc | 2 + .../shared-libs-ldconfig-not-symlink/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-wrong-file/eval/desc | 2 + .../shared-libs-ldconfig-wrong-file/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecbit1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 19 + .../build-spec/orig/code.c | 10 + .../shared-libs-missing-ldconfig-symlink/eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 21 + .../build-spec/orig/code.c | 15 + .../links/shared-libs-non-dev-symlink/eval/desc | 2 + .../links/shared-libs-non-dev-symlink/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/libhallo1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/code.c | 10 + .../shared-libs-multi-arch-foreign/eval/desc | 2 + .../shared-libs-multi-arch-foreign/eval/hints | 1 + .../shared/obsolete/cblas/build-spec/debian/rules | 9 + .../shared/obsolete/cblas/build-spec/fill-values | 4 + .../shared/obsolete/cblas/build-spec/orig/Makefile | 17 + .../shared/obsolete/cblas/build-spec/orig/cblas.h | 1 + .../obsolete/cblas/build-spec/orig/consumer.c | 11 + .../obsolete/cblas/build-spec/orig/libcblas.c | 9 + .../libraries/shared/obsolete/cblas/eval/desc | 2 + .../libraries/shared/obsolete/cblas/eval/hints | 1 + .../build-spec/Makefile.in | 110 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/symbols | 3 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 26 + .../build-spec/orig/non-pic.c | 11 + .../relocation/shared-libs-non-pic-i386/eval/desc | 3 + .../relocation/shared-libs-non-pic-i386/eval/hints | 1 + .../shared-libs-non-pic-i386/eval/post-test | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 48 + .../build-spec/debian/libany5gcc1v5.install | 1 + .../build-spec/debian/libany5gcc1v5.symbols | 2 + .../build-spec/debian/libany6gcc1v6.install | 1 + .../build-spec/debian/libany6gcc1v6.symbols | 2 + .../build-spec/debian/libanyq16-6.install | 1 + .../build-spec/debian/libanyq16-6.symbols | 2 + .../build-spec/debian/mylibany.install | 1 + .../build-spec/debian/mylibany.symbols | 2 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 23 + .../build-spec/orig/code.c | 9 + .../soname/binaries-doesnt-match-sonames/eval/desc | 2 + .../binaries-doesnt-match-sonames/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../soname/legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../soname/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../soname/legacy-libbaz/build-spec/fill-values | 6 + .../soname/legacy-libbaz/build-spec/orig/Makefile | 55 + .../soname/legacy-libbaz/build-spec/orig/baz.c | 6 + .../soname/legacy-libbaz/build-spec/orig/extra.c | 0 .../shared/soname/legacy-libbaz/eval/desc | 2 + .../shared/soname/legacy-libbaz/eval/hints | 2 + .../shared/soname/legacy-libbaz/eval/post-test | 4 + .../legacy-debug/build-spec/debian/_symbols | 23 + .../legacy-debug/build-spec/debian/changelog.in | 13 + .../legacy-debug/build-spec/debian/compat.in | 1 + .../missing/legacy-debug/build-spec/debian/control | 85 + .../legacy-debug/build-spec/debian/copyright | 4 + .../missing/legacy-debug/build-spec/debian/rules | 99 + .../missing/legacy-debug/build-spec/fill-values | 6 + .../missing/legacy-debug/build-spec/orig/hello.c | 9 + .../legacy-debug/build-spec/orig/libhello.c | 7 + .../legacy-debug/build-spec/orig/libhello.h | 1 + .../shared/soname/missing/legacy-debug/eval/desc | 2 + .../shared/soname/missing/legacy-debug/eval/hints | 1 + .../soname/missing/legacy-debug/eval/post-test | 2 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../missing/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../missing/legacy-libbaz/build-spec/fill-values | 6 + .../missing/legacy-libbaz/build-spec/orig/Makefile | 55 + .../missing/legacy-libbaz/build-spec/orig/baz.c | 6 + .../missing/legacy-libbaz/build-spec/orig/extra.c | 0 .../shared/soname/missing/legacy-libbaz/eval/desc | 2 + .../shared/soname/missing/legacy-libbaz/eval/hints | 1 + .../soname/missing/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 19 + .../build-spec/orig/code.c | 10 + .../build-spec/orig/main.c | 4 + .../missing/shared-libs-missing-soname/eval/desc | 2 + .../missing/shared-libs-missing-soname/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libexecstack1.symbols | 3 + .../shared-libs-exec-stack/build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 22 + .../shared-libs-exec-stack/build-spec/orig/foo.c | 9 + .../shared-libs-exec-stack/build-spec/orig/get.c | 6 + .../shared/stack/shared-libs-exec-stack/eval/desc | 3 + .../shared/stack/shared-libs-exec-stack/eval/hints | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 15 + .../build-spec/debian/libhallo1.symbols | 2 + .../build-spec/fill-values | 6 + .../build-spec/orig/Makefile | 23 + .../build-spec/orig/code.c | 10 + .../build-spec/orig/erase-pt-gnu-stack | 9 + .../stack/shared-libs-no-gnu-stack/eval/desc | 2 + .../stack/shared-libs-no-gnu-stack/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../ldconfig/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../ldconfig/legacy-libbaz/build-spec/fill-values | 6 + .../legacy-libbaz/build-spec/orig/Makefile | 55 + .../ldconfig/legacy-libbaz/build-spec/orig/baz.c | 6 + .../ldconfig/legacy-libbaz/build-spec/orig/extra.c | 0 .../trigger/ldconfig/legacy-libbaz/eval/desc | 2 + .../trigger/ldconfig/legacy-libbaz/eval/hints | 1 + .../trigger/ldconfig/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/app.install | 2 + .../build-spec/debian/app.postinst | 6 + .../build-spec/debian/app.postrm | 6 + .../build-spec/debian/app.triggers | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 47 + .../build-spec/debian/libfish1.install | 1 + .../build-spec/debian/libfish1.preinst | 6 + .../build-spec/debian/libfish1.prerm | 6 + .../build-spec/debian/libfish1.symbols | 3 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.postinst | 8 + .../build-spec/debian/libfoo1.postrm | 8 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/debian/libuns1.install | 1 + .../build-spec/debian/libuns1.postrm | 8 + .../build-spec/debian/libuns1.symbols | 3 + .../build-spec/debian/rules | 21 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/app | 2 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-scripts/eval/desc | 2 + .../shared-libs-ldconfig-scripts/eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../binaries-static-lib/build-spec/debian/rules | 7 + .../binaries-static-lib/build-spec/fill-values | 4 + .../binaries-static-lib/build-spec/orig/Makefile | 31 + .../binaries-static-lib/build-spec/orig/code.c | 13 + .../binaries-static-lib/build-spec/orig/code.h | 8 + .../binaries-static-lib/build-spec/orig/other.c | 6 + .../libraries/static/binaries-static-lib/eval/desc | 2 + .../static/binaries-static-lib/eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../with-fat-lto-objects/build-spec/debian/rules | 7 + .../with-fat-lto-objects/build-spec/fill-values | 4 + .../with-fat-lto-objects/build-spec/orig/Makefile | 17 + .../with-fat-lto-objects/build-spec/orig/code.c | 13 + .../with-fat-lto-objects/build-spec/orig/code.h | 8 + .../with-fat-lto-objects/eval/desc | 4 + .../with-fat-lto-objects/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 7 + .../without-fat-lto-objects/build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 17 + .../without-fat-lto-objects/build-spec/orig/code.c | 13 + .../without-fat-lto-objects/build-spec/orig/code.h | 8 + .../without-fat-lto-objects/eval/desc | 4 + .../without-fat-lto-objects/eval/hints | 1 + .../underscore-s-suffix/build-spec/fill-values | 4 + .../underscore-s-suffix/build-spec/orig/Makefile | 17 + .../underscore-s-suffix/build-spec/orig/code.c | 13 + .../underscore-s-suffix/build-spec/orig/code.h | 8 + .../underscore-s-suffix/build-spec/orig/other.c | 6 + .../static/name/underscore-s-suffix/eval/desc | 4 + .../static/name/underscore-s-suffix/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../with-fat-lto-objects/build-spec/debian/rules | 7 + .../with-fat-lto-objects/build-spec/fill-values | 4 + .../with-fat-lto-objects/build-spec/orig/Makefile | 17 + .../with-fat-lto-objects/build-spec/orig/code.c | 13 + .../with-fat-lto-objects/build-spec/orig/code.h | 8 + .../static/no-code/with-fat-lto-objects/eval/desc | 6 + .../static/no-code/with-fat-lto-objects/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/rules | 7 + .../without-fat-lto-objects/build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 17 + .../without-fat-lto-objects/build-spec/orig/code.c | 13 + .../without-fat-lto-objects/build-spec/orig/code.h | 8 + .../no-code/without-fat-lto-objects/eval/desc | 4 + .../no-code/without-fat-lto-objects/eval/hints | 1 + .../build-spec/debian/rules | 73 + .../build-spec/fill-values | 3 + .../linda/files-package-contains-foo/eval/desc | 2 + .../linda/files-package-contains-foo/eval/hints | 1 + .../build-spec/debian/changelog.in | 78 + .../legacy-filenames/build-spec/debian/control | 42 + .../legacy-filenames/build-spec/debian/doc-base | 11 + .../linda/legacy-filenames/build-spec/debian/rules | 231 + .../linda/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 + t/recipes/checks/linda/legacy-filenames/eval/desc | 2 + t/recipes/checks/linda/legacy-filenames/eval/hints | 1 + .../checks/linda/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 19 + .../build-spec/debian/source/lintian-overrides | 1 + .../build-spec/fill-values | 3 + .../lintian/override-context-mismatch/eval/desc | 3 + .../lintian/override-context-mismatch/eval/hints | 2 + .../build-spec/debian/source/lintian-overrides | 1 + .../override-not-used/build-spec/fill-values | 3 + .../checks/lintian/override-not-used/eval/desc | 3 + .../checks/lintian/override-not-used/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/mailcap/imagemagick-6.q16 | 1 + .../mailcap/placeholder-in-quoted-string/eval/desc | 2 + .../placeholder-in-quoted-string/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/mailcap/less | 1 + .../mailcap/single-quoted-placeholder/eval/desc | 2 + .../mailcap/single-quoted-placeholder/eval/hints | 1 + .../unquoted-placeholder/build-spec/debian/install | 1 + .../unquoted-placeholder/build-spec/fill-values | 3 + .../build-spec/orig/mailcap/lynx-common | 1 + .../checks/mailcap/unquoted-placeholder/eval/desc | 4 + .../checks/mailcap/unquoted-placeholder/eval/hints | 1 + .../home-in-var-run/build-spec/debian/postinst | 14 + .../adduser/home-in-var-run/build-spec/fill-values | 3 + .../adduser/home-in-var-run/eval/desc | 2 + .../adduser/home-in-var-run/eval/hints | 1 + .../build-spec/debian/changelog.in | 20 + .../build-spec/debian/postinst | 20 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 6 + .../build-spec/debian/install | 4 + .../build-spec/debian/postrm | 26 + .../build-spec/debian/preinst | 38 + .../build-spec/fill-values | 3 + .../build-spec/orig/orphan | 1 + .../build-spec/orig/some-file | 1 + .../scripts-diversions-variables/eval/desc | 2 + .../scripts-diversions-variables/eval/hints | 8 + .../scripts-diversions/build-spec/debian/install | 5 + .../scripts-diversions/build-spec/debian/postinst | 11 + .../scripts-diversions/build-spec/debian/postrm | 34 + .../scripts-diversions/build-spec/debian/preinst | 53 + .../scripts-diversions/build-spec/fill-values | 3 + .../scripts-diversions/build-spec/orig/file.1 | 1 + .../scripts-diversions/build-spec/orig/foo | 2 + .../scripts-diversions/build-spec/orig/foo.1p | 3 + .../scripts-diversions/build-spec/orig/orphan | 1 + .../scripts-diversions/build-spec/orig/some-file | 1 + .../diversion/scripts-diversions/eval/desc | 2 + .../diversion/scripts-diversions/eval/hints | 8 + .../build-spec/debian/postinst | 10 + .../build-spec/debian/preinst | 13 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../empty/legacy-maintainer-scripts/eval/desc | 2 + .../empty/legacy-maintainer-scripts/eval/hints | 1 + .../empty/legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../empty/legacy-scripts/build-spec/debian/postrm | 9 + .../empty/legacy-scripts/build-spec/debian/preinst | 15 + .../empty/legacy-scripts/build-spec/debian/rules | 111 + .../build-spec/debian/scripts.conffiles | 6 + .../empty/legacy-scripts/build-spec/debian/watch | 8 + .../empty/legacy-scripts/build-spec/fill-values | 6 + .../empty/legacy-scripts/build-spec/orig/csh-foo | 2 + .../empty/legacy-scripts/build-spec/orig/envfoo | 4 + .../empty/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 + .../empty/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../empty/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 + .../empty/legacy-scripts/build-spec/orig/perlfoo | 3 + .../empty/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../empty/legacy-scripts/build-spec/orig/phpfoo | 7 + .../empty/legacy-scripts/build-spec/orig/py3.Xfoo | 4 + .../empty/legacy-scripts/build-spec/orig/py3foo | 4 + .../empty/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../empty/legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../empty/legacy-scripts/build-spec/orig/tkfoo | 31 + .../empty/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../empty/legacy-scripts/build-spec/pre-build | 5 + .../empty/legacy-scripts/eval/desc | 2 + .../empty/legacy-scripts/eval/hints | 1 + .../empty/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/postinst | 41 + .../build-spec/debian/postrm | 39 + .../build-spec/debian/preinst | 37 + .../build-spec/debian/prerm | 40 + .../build-spec/fill-values | 3 + .../scripts-maintainer-script-empty/eval/desc | 2 + .../scripts-maintainer-script-empty/eval/hints | 4 + .../build-spec/debian/control.in | 63 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/de.po | 13 + .../build-spec/debian/po/templates.pot | 23 + ...cripts-control-interpreters-forbidden.templates | 3 + .../scripts-control-interpreters-paths.postinst | 5 + .../scripts-control-interpreters-paths.preinst | 5 + .../scripts-control-interpreters-paths.prerm | 6 + .../scripts-control-interpreters-unknown.postinst | 6 + .../build-spec/fill-values | 3 + .../scripts-control-interpreters/eval/desc | 3 + .../scripts-control-interpreters/eval/hints | 1 + .../scripts-control-interpreters/eval/post-test | 1 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../generated/scripts-maintainer-general/eval/desc | 4 + .../scripts-maintainer-general/eval/hints | 2 + .../scripts-maintainer-general/eval/post-test | 1 + .../build-spec/debian/postinst | 33 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../eval/post-test | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../eval/desc | 2 + .../eval/hints | 1 + .../eval/post-test | 1 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 8 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../scripts-missing-call-to-update-fonts/eval/desc | 2 + .../eval/hints | 1 + .../eval/post-test | 1 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../dpkg/scripts-maintainer-general/eval/desc | 5 + .../dpkg/scripts-maintainer-general/eval/hints | 2 + .../build-spec/debian/postinst | 9 + .../build-spec/debian/preinst | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../scripts-killall/build-spec/debian/postinst | 8 + .../killall/scripts-killall/build-spec/fill-values | 3 + .../killall/scripts-killall/eval/desc | 2 + .../killall/scripts-killall/eval/hints | 1 + .../legacy-debconf/build-spec/debian/changelog.in | 6 + .../legacy-debconf/build-spec/debian/compat.in | 1 + .../legacy-debconf/build-spec/debian/control | 52 + .../legacy-debconf/build-spec/debian/copyright | 10 + .../debian/debconf-test-noscripts.templates | 3 + .../debian/debconf-test-postinst.postinst | 10 + .../build-spec/debian/debconf-test-postinst.postrm | 7 + .../debian/debconf-test-postinst.templates | 3 + .../build-spec/debian/debconf-test-preinst.postrm | 7 + .../build-spec/debian/debconf-test-preinst.preinst | 13 + .../debian/debconf-test-preinst.templates | 3 + .../build-spec/debian/debconf-test.config | 24 + .../build-spec/debian/debconf-test.postinst | 10 + .../build-spec/debian/debconf-test.templates | 101 + .../build-spec/debian/debconf-test.templates.de | 3 + .../build-spec/debian/debconf-test.templates.in | 0 .../build-spec/debian/debconf-udeb.postinst | 9 + .../build-spec/debian/debconf-udeb.templates | 3 + .../build-spec/debian/po/POTFILES.in | 2 + .../legacy-debconf/build-spec/debian/po/de.po | 66 + .../legacy-debconf/build-spec/debian/po/fr.po | 60 + .../legacy-debconf/build-spec/debian/po/lang.po | 15 + .../legacy-debconf/build-spec/debian/po/nds.po | 15 + .../legacy-debconf/build-spec/debian/po/output | 1 + .../legacy-debconf/build-spec/debian/po/pt_BR.po | 15 + .../build-spec/debian/po/sample-file.po | 1 + .../build-spec/debian/po/templates.pot | 61 + .../legacy-debconf/build-spec/debian/pycompat | 1 + .../legacy-debconf/build-spec/debian/pyversions | 1 + .../legacy-debconf/build-spec/debian/rules | 64 + .../ldconfig/legacy-debconf/build-spec/fill-values | 6 + .../ldconfig/legacy-debconf/eval/desc | 2 + .../ldconfig/legacy-debconf/eval/hints | 1 + .../ldconfig/legacy-debconf/eval/post-test | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../ldconfig/legacy-maintainer-scripts/eval/desc | 2 + .../ldconfig/legacy-maintainer-scripts/eval/hints | 1 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/app.install | 2 + .../build-spec/debian/app.postinst | 6 + .../build-spec/debian/app.postrm | 6 + .../build-spec/debian/app.triggers | 1 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 47 + .../build-spec/debian/libfish1.install | 1 + .../build-spec/debian/libfish1.preinst | 6 + .../build-spec/debian/libfish1.prerm | 6 + .../build-spec/debian/libfish1.symbols | 3 + .../build-spec/debian/libfoo1.install | 1 + .../build-spec/debian/libfoo1.postinst | 8 + .../build-spec/debian/libfoo1.postrm | 8 + .../build-spec/debian/libfoo1.symbols | 3 + .../build-spec/debian/libuns1.install | 1 + .../build-spec/debian/libuns1.postrm | 8 + .../build-spec/debian/libuns1.symbols | 3 + .../build-spec/debian/rules | 21 + .../build-spec/fill-values | 5 + .../build-spec/orig/Makefile | 22 + .../build-spec/orig/app | 2 + .../build-spec/orig/code.c | 15 + .../shared-libs-ldconfig-scripts/eval/desc | 2 + .../shared-libs-ldconfig-scripts/eval/hints | 5 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../mknod/scripts-maintainer-general/eval/desc | 5 + .../mknod/scripts-maintainer-general/eval/hints | 1 + .../systemd-general/build-spec/debian/bootmisc.sh | 59 + .../systemd-general/build-spec/debian/init | 153 + .../systemd-general/build-spec/debian/install | 3 + .../systemd-general/build-spec/debian/links | 1 + .../systemd-general/build-spec/debian/postrm | 10 + .../systemd-general/build-spec/debian/rules | 30 + .../build-spec/debian/systemd-general.masked.init | 22 + .../debian/systemd-general.sourced.service | 9 + .../debian/systemd-general.sourced.sh.init | 22 + .../debian/systemd-general.systemd-aliasd.init | 152 + .../build-spec/debian/systemd-general.test.service | 13 + .../systemd-general/build-spec/debian/test.conf | 2 + .../systemd-general/build-spec/fill-values | 3 + .../systemctl/systemd-general/eval/desc | 2 + .../systemctl/systemd-general/eval/hints | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 8 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../scripts-maintainer-general/eval/desc | 5 + .../scripts-maintainer-general/eval/hints | 6 + .../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 + .../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 + .../md5sums/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../md5sums/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../md5sums/legacy-binary/build-spec/fill-values | 5 + .../md5sums/legacy-binary/build-spec/orig/INSTALL | 176 + .../md5sums/legacy-binary/build-spec/orig/Makefile | 12 + .../md5sums/legacy-binary/build-spec/orig/hello.c | 8 + t/recipes/checks/md5sums/legacy-binary/eval/desc | 2 + t/recipes/checks/md5sums/legacy-binary/eval/hints | 1 + .../checks/md5sums/legacy-binary/eval/post-test | 3 + .../build-spec/debian/README.Debian | 5 + .../legacy-etcfiles/build-spec/debian/changelog.in | 7 + .../legacy-etcfiles/build-spec/debian/conffiles | 5 + .../build-spec/debian/conffiles.only | 2 + .../legacy-etcfiles/build-spec/debian/control | 20 + .../legacy-etcfiles/build-spec/debian/rules | 64 + .../md5sums/legacy-etcfiles/build-spec/fill-values | 5 + .../legacy-etcfiles/build-spec/orig/improper | 2 + .../md5sums/legacy-etcfiles/build-spec/orig/proper | 2 + t/recipes/checks/md5sums/legacy-etcfiles/eval/desc | 2 + .../checks/md5sums/legacy-etcfiles/eval/hints | 5 + .../checks/md5sums/legacy-etcfiles/eval/post-test | 1 + .../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 + .../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 + .../checks/md5sums/legacy-filenames/eval/desc | 2 + .../checks/md5sums/legacy-filenames/eval/hints | 3 + .../checks/md5sums/legacy-filenames/eval/post-test | 3 + .../legacy-foo++/build-spec/debian/README.Debian | 7 + .../legacy-foo++/build-spec/debian/changelog.in | 31 + .../md5sums/legacy-foo++/build-spec/debian/control | 30 + .../legacy-foo++/build-spec/debian/copyright | 7 + .../md5sums/legacy-foo++/build-spec/debian/rules | 36 + .../md5sums/legacy-foo++/build-spec/debian/watch | 6 + .../md5sums/legacy-foo++/build-spec/fill-values | 5 + t/recipes/checks/md5sums/legacy-foo++/eval/desc | 2 + t/recipes/checks/md5sums/legacy-foo++/eval/hints | 1 + .../checks/md5sums/legacy-foo++/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../md5sums/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../md5sums/legacy-libbaz/build-spec/fill-values | 6 + .../md5sums/legacy-libbaz/build-spec/orig/Makefile | 55 + .../md5sums/legacy-libbaz/build-spec/orig/baz.c | 6 + .../md5sums/legacy-libbaz/build-spec/orig/extra.c | 0 t/recipes/checks/md5sums/legacy-libbaz/eval/desc | 2 + t/recipes/checks/md5sums/legacy-libbaz/eval/hints | 5 + .../checks/md5sums/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../md5sums/legacy-maintainer-scripts/eval/desc | 2 + .../md5sums/legacy-maintainer-scripts/eval/hints | 1 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../md5sums/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../md5sums/legacy-scripts/build-spec/debian/watch | 8 + .../md5sums/legacy-scripts/build-spec/fill-values | 6 + .../md5sums/legacy-scripts/build-spec/orig/csh-foo | 2 + .../md5sums/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../md5sums/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../md5sums/legacy-scripts/build-spec/orig/phpfoo | 7 + .../md5sums/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../md5sums/legacy-scripts/build-spec/orig/tkfoo | 31 + .../md5sums/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../md5sums/legacy-scripts/build-spec/pre-build | 5 + t/recipes/checks/md5sums/legacy-scripts/eval/desc | 2 + t/recipes/checks/md5sums/legacy-scripts/eval/hints | 1 + .../checks/md5sums/legacy-scripts/eval/post-test | 1 + .../md5sums-general/build-spec/debian/install | 1 + .../md5sums-general/build-spec/debian/rules | 12 + .../md5sums/md5sums-general/build-spec/fill-values | 3 + .../md5sums-general/build-spec/orig/data-file1 | 1 + .../md5sums-general/build-spec/orig/data-file2 | 1 + .../md5sums-general/build-spec/orig/data-file3 | 1 + .../md5sums-general/build-spec/orig/data-file4 | 1 + t/recipes/checks/md5sums/md5sums-general/eval/desc | 2 + .../checks/md5sums/md5sums-general/eval/hints | 4 + .../md5sums-missing/build-spec/debian/rules | 10 + .../md5sums/md5sums-missing/build-spec/fill-values | 3 + t/recipes/checks/md5sums/md5sums-missing/eval/desc | 2 + .../checks/md5sums/md5sums-missing/eval/hints | 1 + .../md5sums-traversal/build-spec/fill-values | 3 + .../md5sums-traversal/build-spec/pre-control | 8 + .../checks/md5sums/md5sums-traversal/eval/desc | 5 + .../checks/md5sums/md5sums-traversal/eval/hints | 0 .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/unknown-type.desktop | 4 + .../desktop-entry-unknown-type/eval/desc | 2 + .../desktop-entry-unknown-type/eval/hints | 1 + .../item-has-needs-dwww/build-spec/debian/install | 1 + .../item-has-needs-dwww/build-spec/debian/postinst | 11 + .../item-has-needs-dwww/build-spec/debian/postrm | 7 + .../item-has-needs-dwww/build-spec/fill-values | 3 + .../item-has-needs-dwww/build-spec/orig/test-menu | 5 + .../menu-format/item-has-needs-dwww/eval/desc | 2 + .../menu-format/item-has-needs-dwww/eval/hints | 2 + .../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 + .../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 + .../legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../legacy-binary/build-spec/fill-values | 5 + .../legacy-binary/build-spec/orig/INSTALL | 176 + .../legacy-binary/build-spec/orig/Makefile | 12 + .../legacy-binary/build-spec/orig/hello.c | 8 + .../checks/menu-format/legacy-binary/eval/desc | 2 + .../checks/menu-format/legacy-binary/eval/hints | 63 + .../menu-format/legacy-binary/eval/post-test | 3 + .../build-spec/debian/install | 8 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../build-spec/orig/crlf.desktop | 7 + .../build-spec/orig/directory.desktop | 5 + .../build-spec/orig/environments.desktop | 9 + .../build-spec/orig/general.desktop | 13 + .../build-spec/orig/link.desktop | 6 + .../build-spec/orig/missing.desktop | 5 + .../build-spec/orig/reserved-bad.desktop | 8 + .../build-spec/orig/reserved.desktop | 9 + .../menu-format-desktop-general/eval/desc | 3 + .../menu-format-desktop-general/eval/hints | 16 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/menu-mime.install | 2 + .../build-spec/debian/menu-mime.manpages | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 6 + .../build-spec/orig/bar.desktop | 10 + .../build-spec/orig/foo.desktop | 9 + .../build-spec/orig/pargs | 22 + .../menu-format-desktop-mimetype/eval/desc | 3 + .../menu-format-desktop-mimetype/eval/hints | 1 + .../build-spec/debian/control.in | 51 + .../build-spec/debian/menu-broken.install | 1 + .../build-spec/debian/menu-broken.manpages | 1 + .../build-spec/debian/menu-broken.menu | 12 + .../build-spec/debian/menu-cmd.install | 2 + .../build-spec/debian/menu-cmd.menu | 4 + .../build-spec/debian/menu-none.install | 1 + .../build-spec/debian/menu-none.manpages | 1 + .../build-spec/debian/menu-none.menu | 16 + .../build-spec/debian/menu-section.install | 2 + .../build-spec/debian/menu-section.manpages | 1 + .../build-spec/debian/menu-section.menu | 15 + .../menu-format-general/build-spec/fill-values | 3 + .../menu-format-general/build-spec/orig/Makefile | 11 + .../menu-format-general/build-spec/orig/broken.xpm | 1 + .../menu-format-general/build-spec/orig/pargs | 22 + .../build-spec/orig/pargs.desktop | 8 + .../menu-format-general/build-spec/orig/pargs.png | 0 .../build-spec/orig/too-large.xpm | 10 + .../menu-format/menu-format-general/eval/desc | 2 + .../menu-format/menu-format-general/eval/hints | 30 + .../unknown-menu-tag/build-spec/debian/install | 1 + .../unknown-menu-tag/build-spec/debian/postinst | 11 + .../unknown-menu-tag/build-spec/debian/postrm | 7 + .../unknown-menu-tag/build-spec/fill-values | 3 + .../unknown-menu-tag/build-spec/orig/test-menu | 6 + .../checks/menu-format/unknown-menu-tag/eval/desc | 2 + .../checks/menu-format/unknown-menu-tag/eval/hints | 2 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 11 + .../build-spec/debian/postrm | 7 + .../build-spec/fill-values | 3 + .../build-spec/orig/test-menu | 5 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/doc-base.doc1 | 8 + .../executable-in-docbase/build-spec/debian/docs | 1 + .../executable-in-docbase/build-spec/debian/rules | 19 + .../executable-in-docbase/build-spec/fill-values | 5 + .../executable-in-docbase/build-spec/orig/doc1.txt | 1 + .../checks/menus/executable-in-docbase/eval/desc | 2 + .../checks/menus/executable-in-docbase/eval/hints | 1 + .../executable-menu-file/build-spec/debian/install | 1 + .../build-spec/debian/postinst | 11 + .../executable-menu-file/build-spec/debian/postrm | 7 + .../executable-menu-file/build-spec/fill-values | 3 + .../executable-menu-file/build-spec/orig/test-menu | 5 + .../checks/menus/executable-menu-file/eval/desc | 2 + .../checks/menus/executable-menu-file/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 + .../menus/legacy-binary/build-spec/debian/control | 42 + .../legacy-binary/build-spec/debian/copyright | 15 + .../menus/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../menus/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../menus/legacy-binary/build-spec/debian/postinst | 6 + .../menus/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../menus/legacy-binary/build-spec/fill-values | 5 + .../menus/legacy-binary/build-spec/orig/INSTALL | 176 + .../menus/legacy-binary/build-spec/orig/Makefile | 12 + .../menus/legacy-binary/build-spec/orig/hello.c | 8 + t/recipes/checks/menus/legacy-binary/eval/desc | 2 + t/recipes/checks/menus/legacy-binary/eval/hints | 26 + .../checks/menus/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 + .../menus/legacy-filenames/build-spec/debian/rules | 231 + .../menus/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 + t/recipes/checks/menus/legacy-filenames/eval/desc | 2 + t/recipes/checks/menus/legacy-filenames/eval/hints | 4 + .../checks/menus/legacy-filenames/eval/post-test | 3 + .../build-spec/debian/control.in | 38 + .../build-spec/debian/doc-base | 13 + .../build-spec/debian/rules | 13 + .../build-spec/fill-values | 3 + .../build-spec/orig/documentation.txt | 1 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/doc-base.doc1 | 8 + .../build-spec/debian/doc-base.doc2 | 18 + .../menus-doc-base-general/build-spec/debian/docs | 2 + .../menus-doc-base-general/build-spec/fill-values | 5 + .../build-spec/orig/doc1.txt | 1 + .../build-spec/orig/doc2.txt | 1 + .../checks/menus/menus-doc-base-general/eval/desc | 4 + .../checks/menus/menus-doc-base-general/eval/hints | 8 + .../build-spec/debian/control.in | 23 + .../debian/menus-doc-base-registration-html.docs | 1 + .../debian/menus-doc-base-registration-pdf.install | 1 + .../build-spec/fill-values | 5 + .../build-spec/orig/doc1.html | 1 + .../build-spec/orig/doc2.pdf | 1 + .../menus/menus-doc-base-registration/eval/desc | 2 + .../menus/menus-doc-base-registration/eval/hints | 2 + .../menus-foo-calls-bar/build-spec/debian/postinst | 7 + .../menus-foo-calls-bar/build-spec/debian/postrm | 12 + .../menus-foo-calls-bar/build-spec/debian/preinst | 12 + .../menus-foo-calls-bar/build-spec/debian/prerm | 12 + .../menus-foo-calls-bar/build-spec/fill-values | 3 + .../checks/menus/menus-foo-calls-bar/eval/desc | 2 + .../checks/menus/menus-foo-calls-bar/eval/hints | 10 + .../build-spec/debian/install | 5 + .../build-spec/debian/postinst | 15 + .../menus-script-check-ok/build-spec/debian/postrm | 7 + .../menus-script-check-ok/build-spec/debian/prerm | 7 + .../build-spec/debian/test-doc | 8 + .../build-spec/debian/test-doc.txt | 1 + .../build-spec/debian/test-menu | 5 + .../build-spec/debian/test-script | 2 + .../build-spec/debian/test-script.1 | 7 + .../menus-script-check-ok/build-spec/fill-values | 3 + .../checks/menus/menus-script-check-ok/eval/desc | 5 + .../checks/menus/menus-script-check-ok/eval/hints | 2 + .../build-spec/debian/NEWS.Debian | 12 + .../build-spec/debian/README.Debian | 5 + .../build-spec/debian/changelog.in | 47 + .../national-encoding/build-spec/debian/conffiles | 1 + .../national-encoding/build-spec/debian/control | 42 + .../national-encoding/build-spec/debian/copyright | 15 + .../national-encoding/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../build-spec/debian/hello.desktop | 14 + .../menus/national-encoding/build-spec/debian/menu | 26 + .../build-spec/debian/menu-method | 22 + .../national-encoding/build-spec/debian/postinst | 6 + .../national-encoding/build-spec/debian/rules | 92 + .../national-encoding/build-spec/debian/templates | 16 + .../menus/national-encoding/build-spec/fill-values | 5 + .../national-encoding/build-spec/orig/INSTALL | 176 + .../national-encoding/build-spec/orig/Makefile | 12 + .../national-encoding/build-spec/orig/hello.c | 8 + t/recipes/checks/menus/national-encoding/eval/desc | 2 + .../checks/menus/national-encoding/eval/hints | 5 + .../checks/menus/national-encoding/eval/post-test | 3 + .../build-spec/debian/changelog.in | 13 + .../spelling-general/build-spec/debian/copyright | 21 + .../spelling-general/build-spec/debian/doc-base | 9 + .../build-spec/debian/patches/add-readme | 8 + .../build-spec/debian/patches/nonrel | 6 + .../build-spec/debian/patches/series | 3 + .../build-spec/debian/patches/spelling | 6 + .../menus/spelling-general/build-spec/fill-values | 6 + t/recipes/checks/menus/spelling-general/eval/desc | 2 + t/recipes/checks/menus/spelling-general/eval/hints | 3 + .../files-foo-in-bar/build-spec/debian/clean | 5 + .../files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../files-foo-in-bar/build-spec/debian/rules | 18 + .../files-foo-in-bar/build-spec/fill-values | 3 + .../mimeinfo/files-foo-in-bar/build-spec/orig/bar | 1 + .../files-foo-in-bar/build-spec/orig/bar.pod | 18 + .../checks/mimeinfo/files-foo-in-bar/eval/desc | 2 + .../checks/mimeinfo/files-foo-in-bar/eval/hints | 2 + .../mimeinfo/files-foo-in-bar/eval/post-test | 2 + .../mimeinfo/files-general/build-spec/debian/clean | 1 + .../mimeinfo/files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../mimeinfo/files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../mimeinfo/files-general/build-spec/debian/rules | 67 + .../mimeinfo/files-general/build-spec/fill-values | 4 + .../mimeinfo/files-general/build-spec/orig/--lzma | 2 + .../mimeinfo/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../mimeinfo/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 + .../files-general/build-spec/orig/sudotest | 0 .../mimeinfo/files-general/build-spec/orig/tnu.1 | 5 + .../mimeinfo/files-general/build-spec/orig/types | 0 t/recipes/checks/mimeinfo/files-general/eval/desc | 3 + t/recipes/checks/mimeinfo/files-general/eval/hints | 2 + .../modprobe/files-general/build-spec/debian/clean | 1 + .../modprobe/files-general/build-spec/debian/dirs | 13 + .../files-general/build-spec/debian/examples | 1 + .../files-general/build-spec/debian/install | 18 + .../modprobe/files-general/build-spec/debian/links | 1 + .../files-general/build-spec/debian/manpages | 2 + .../modprobe/files-general/build-spec/debian/rules | 67 + .../modprobe/files-general/build-spec/fill-values | 4 + .../modprobe/files-general/build-spec/orig/--lzma | 2 + .../modprobe/files-general/build-spec/orig/dir | 18 + .../build-spec/orig/file-in-new-top-level-dir | 2 + .../modprobe/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 + .../files-general/build-spec/orig/sudotest | 0 .../modprobe/files-general/build-spec/orig/tnu.1 | 5 + .../modprobe/files-general/build-spec/orig/types | 0 t/recipes/checks/modprobe/files-general/eval/desc | 3 + t/recipes/checks/modprobe/files-general/eval/hints | 1 + .../build-spec/debian/install | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/lintian-install.conf | 2 + .../build-spec/orig/lintian-lib.conf | 1 + .../obsolete-commands-in-modprobe/eval/desc | 2 + .../obsolete-commands-in-modprobe/eval/hints | 4 + .../changelog-file-symlink/build-spec/fill-values | 4 + .../changelog-file-symlink/build-spec/pre-build | 6 + .../checks/nmu/changelog-file-symlink/eval/desc | 2 + .../checks/nmu/changelog-file-symlink/eval/hints | 1 + .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 0 .../build-spec/debian/changelog.in | 7 + .../build-spec/debian/control.in | 18 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 1 + .../generic-empty/build-spec/debian/changelog.in | 2 + .../nmu/generic-empty/build-spec/debian/control.in | 5 + .../nmu/generic-empty/build-spec/debian/rules | 9 + .../nmu/generic-empty/build-spec/fill-values | 4 + .../nmu/generic-empty/build-spec/orig/README | 4 + .../checks/nmu/generic-empty/build-spec/pre-build | 6 + t/recipes/checks/nmu/generic-empty/eval/desc | 2 + t/recipes/checks/nmu/generic-empty/eval/hints | 2 + .../legacy-binary/build-spec/debian/NEWS.Debian | 12 + .../legacy-binary/build-spec/debian/README.Debian | 5 + .../legacy-binary/build-spec/debian/changelog.in | 47 + .../nmu/legacy-binary/build-spec/debian/conffiles | 1 + .../nmu/legacy-binary/build-spec/debian/control | 42 + .../nmu/legacy-binary/build-spec/debian/copyright | 15 + .../nmu/legacy-binary/build-spec/debian/doc-base | 41 + .../build-spec/debian/goodbye.desktop | 13 + .../legacy-binary/build-spec/debian/hello.desktop | 14 + .../nmu/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../nmu/legacy-binary/build-spec/debian/postinst | 6 + .../nmu/legacy-binary/build-spec/debian/rules | 92 + .../nmu/legacy-binary/build-spec/debian/templates | 16 + .../nmu/legacy-binary/build-spec/fill-values | 5 + .../nmu/legacy-binary/build-spec/orig/INSTALL | 176 + .../nmu/legacy-binary/build-spec/orig/Makefile | 12 + .../nmu/legacy-binary/build-spec/orig/hello.c | 8 + t/recipes/checks/nmu/legacy-binary/eval/desc | 2 + t/recipes/checks/nmu/legacy-binary/eval/hints | 1 + t/recipes/checks/nmu/legacy-binary/eval/post-test | 3 + .../legacy-fields/build-spec/debian/changelog.in | 10 + .../nmu/legacy-fields/build-spec/debian/control | 28 + .../nmu/legacy-fields/build-spec/debian/rules | 33 + .../nmu/legacy-fields/build-spec/fill-values | 5 + t/recipes/checks/nmu/legacy-fields/eval/desc | 2 + t/recipes/checks/nmu/legacy-fields/eval/hints | 2 + t/recipes/checks/nmu/legacy-fields/eval/post-test | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../nmu/legacy-libbaz/build-spec/debian/compat.in | 1 + .../nmu/legacy-libbaz/build-spec/debian/control | 58 + .../nmu/legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../nmu/legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../nmu/legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../nmu/legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../nmu/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../nmu/legacy-libbaz/build-spec/fill-values | 6 + .../nmu/legacy-libbaz/build-spec/orig/Makefile | 55 + .../checks/nmu/legacy-libbaz/build-spec/orig/baz.c | 6 + .../nmu/legacy-libbaz/build-spec/orig/extra.c | 0 t/recipes/checks/nmu/legacy-libbaz/eval/desc | 2 + t/recipes/checks/nmu/legacy-libbaz/eval/hints | 2 + t/recipes/checks/nmu/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../checks/nmu/legacy-maintainer-scripts/eval/desc | 2 + .../nmu/legacy-maintainer-scripts/eval/hints | 3 + .../nmu/legacy-maintainer-scripts/eval/post-test | 1 + .../legacy-scripts/build-spec/debian/changelog.in | 41 + .../legacy-scripts/build-spec/debian/control.in | 16 + .../nmu/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 + .../nmu/legacy-scripts/build-spec/debian/postinst | 14 + .../nmu/legacy-scripts/build-spec/debian/postrm | 9 + .../nmu/legacy-scripts/build-spec/debian/preinst | 15 + .../nmu/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../nmu/legacy-scripts/build-spec/debian/watch | 8 + .../nmu/legacy-scripts/build-spec/fill-values | 6 + .../nmu/legacy-scripts/build-spec/orig/csh-foo | 2 + .../nmu/legacy-scripts/build-spec/orig/envfoo | 4 + .../nmu/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 + .../nmu/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 + .../nmu/legacy-scripts/build-spec/orig/lefty-foo | 2 + .../nmu/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 + .../nmu/legacy-scripts/build-spec/orig/perlfoo | 3 + .../nmu/legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../nmu/legacy-scripts/build-spec/orig/phpfoo | 7 + .../nmu/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../nmu/legacy-scripts/build-spec/orig/sh-broken | 2 + .../nmu/legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../nmu/legacy-scripts/build-spec/orig/tkfoo | 31 + .../nmu/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../checks/nmu/legacy-scripts/build-spec/pre-build | 5 + t/recipes/checks/nmu/legacy-scripts/eval/desc | 2 + t/recipes/checks/nmu/legacy-scripts/eval/hints | 2 + t/recipes/checks/nmu/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/changelog.in | 6 + .../nmu-case-insensitive/build-spec/fill-values | 4 + .../checks/nmu/nmu-case-insensitive/eval/desc | 6 + .../checks/nmu/nmu-case-insensitive/eval/hints | 0 .../build-spec/debian/changelog.in | 9 + .../nmu/nmu-local-changelog/build-spec/fill-values | 3 + t/recipes/checks/nmu/nmu-local-changelog/eval/desc | 6 + .../checks/nmu/nmu-local-changelog/eval/hints | 0 .../build-spec/debian/changelog.in | 8 + .../nmu/nmu-local-version/build-spec/fill-values | 4 + t/recipes/checks/nmu/nmu-local-version/eval/desc | 6 + t/recipes/checks/nmu/nmu-local-version/eval/hints | 0 .../build-spec/debian/changelog.in | 9 + .../nmu/nmu-multi-author/build-spec/fill-values | 4 + t/recipes/checks/nmu/nmu-multi-author/eval/desc | 3 + t/recipes/checks/nmu/nmu-multi-author/eval/hints | 0 .../nmu-not-a-nmu/build-spec/debian/changelog.in | 9 + .../nmu/nmu-not-a-nmu/build-spec/fill-values | 4 + t/recipes/checks/nmu/nmu-not-a-nmu/eval/desc | 2 + t/recipes/checks/nmu/nmu-not-a-nmu/eval/hints | 1 + .../nmu-qa-upload/build-spec/debian/changelog.in | 8 + .../nmu/nmu-qa-upload/build-spec/debian/control.in | 17 + .../nmu/nmu-qa-upload/build-spec/fill-values | 5 + t/recipes/checks/nmu/nmu-qa-upload/eval/desc | 2 + t/recipes/checks/nmu/nmu-qa-upload/eval/hints | 3 + .../build-spec/debian/changelog.in | 8 + .../build-spec/fill-values | 3 + .../nmu/nmu-space-around-maintainer/eval/desc | 2 + .../nmu/nmu-space-around-maintainer/eval/hints | 1 + .../nmu-team-upload/build-spec/debian/changelog.in | 9 + .../nmu/nmu-team-upload/build-spec/fill-values | 4 + t/recipes/checks/nmu/nmu-team-upload/eval/desc | 2 + t/recipes/checks/nmu/nmu-team-upload/eval/hints | 1 + .../build-spec/debian/changelog.in | 6 + .../nmu/nmu-ubuntu-native/build-spec/fill-values | 3 + t/recipes/checks/nmu/nmu-ubuntu-native/eval/desc | 5 + t/recipes/checks/nmu/nmu-ubuntu-native/eval/hints | 2 + .../build-spec/debian/changelog.in | 6 + .../build-spec/fill-values | 3 + .../nmu/nmu-unnecessary-team-upload/eval/desc | 2 + .../nmu/nmu-unnecessary-team-upload/eval/hints | 1 + .../build-spec/debian/changelog.in | 15 + .../nmu-with-maintainer-ack/build-spec/fill-values | 4 + .../checks/nmu/nmu-with-maintainer-ack/eval/desc | 3 + .../checks/nmu/nmu-with-maintainer-ack/eval/hints | 0 .../build-spec/debian/control.in | 17 + .../fields-cpan-homepage/build-spec/fill-values | 3 + .../obsolete-sites/fields-cpan-homepage/eval/desc | 2 + .../obsolete-sites/fields-cpan-homepage/eval/hints | 1 + .../obsolete-sites/build-spec/debian/control.in | 17 + .../obsolete-sites/build-spec/debian/copyright | 14 + .../build-spec/debian/upstream/metadata | 8 + .../obsolete-sites/build-spec/debian/watch | 7 + .../obsolete-sites/build-spec/fill-values | 3 + .../checks/obsolete-sites/obsolete-sites/eval/desc | 2 + .../obsolete-sites/obsolete-sites/eval/hints | 7 + .../empty-orig-tarball/build-spec/fill-values | 3 + .../checks/origtar/empty-orig-tarball/eval/desc | 2 + .../checks/origtar/empty-orig-tarball/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 33 + .../build-spec/orig/hello.c | 26 + .../pe/missing-security-features-32-bit/eval/desc | 2 + .../pe/missing-security-features-32-bit/eval/hints | 3 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 4 + .../build-spec/orig/Makefile | 33 + .../build-spec/orig/hello.c | 26 + .../pe/missing-security-features-64-bit/eval/desc | 2 + .../pe/missing-security-features-64-bit/eval/hints | 3 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/.coverage | 0 .../build-spec/orig/gdbreplay-pe32+.exe | Bin 0 -> 628741 bytes .../build-spec/orig/gdbreplay-pe32.exe | Bin 0 -> 592899 bytes .../pe/missing-security-features-fp/eval/desc | 4 + .../pe/missing-security-features-fp/eval/hints | 1 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/bin/deprecated-usage | 3 + .../chown/recursive-chown-with-dot/eval/desc | 2 + .../chown/recursive-chown-with-dot/eval/hints | 1 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../syntax/legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../syntax/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../syntax/legacy-libbaz/build-spec/fill-values | 6 + .../syntax/legacy-libbaz/build-spec/orig/Makefile | 55 + .../syntax/legacy-libbaz/build-spec/orig/baz.c | 6 + .../syntax/legacy-libbaz/build-spec/orig/extra.c | 0 .../checks/script/syntax/legacy-libbaz/eval/desc | 2 + .../checks/script/syntax/legacy-libbaz/eval/hints | 1 + .../script/syntax/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../syntax/legacy-maintainer-scripts/eval/desc | 2 + .../syntax/legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../syntax/legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../syntax/legacy-scripts/build-spec/debian/rules | 111 + .../build-spec/debian/scripts.conffiles | 6 + .../syntax/legacy-scripts/build-spec/debian/watch | 8 + .../syntax/legacy-scripts/build-spec/fill-values | 6 + .../syntax/legacy-scripts/build-spec/orig/csh-foo | 2 + .../syntax/legacy-scripts/build-spec/orig/envfoo | 4 + .../syntax/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 + .../syntax/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 + .../syntax/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../syntax/legacy-scripts/build-spec/orig/phpfoo | 7 + .../syntax/legacy-scripts/build-spec/orig/py3.Xfoo | 4 + .../syntax/legacy-scripts/build-spec/orig/py3foo | 4 + .../syntax/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../syntax/legacy-scripts/build-spec/orig/tkfoo | 31 + .../syntax/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../syntax/legacy-scripts/build-spec/pre-build | 5 + .../checks/script/syntax/legacy-scripts/eval/desc | 2 + .../checks/script/syntax/legacy-scripts/eval/hints | 1 + .../script/syntax/legacy-scripts/eval/post-test | 1 + .../scripts-bashisms/build-spec/debian/postinst | 87 + .../scripts-bashisms/build-spec/debian/prerm | 186 + .../syntax/scripts-bashisms/build-spec/fill-values | 4 + .../script/syntax/scripts-bashisms/eval/desc | 2 + .../script/syntax/scripts-bashisms/eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/examples | 9 + .../scripts-interpreters/build-spec/debian/install | 14 + .../scripts-interpreters/build-spec/debian/links | 14 + .../build-spec/debian/manpages | 1 + .../scripts-interpreters/build-spec/fill-values | 3 + .../scripts-interpreters/build-spec/orig/bin-env | 2 + .../scripts-interpreters/build-spec/orig/csh-shell | 1 + .../build-spec/orig/cwl-runner | 1 + .../build-spec/orig/interpreters.1 | 5 + .../build-spec/orig/no-interpreter | 3 + .../build-spec/orig/not-absolute | 2 + .../scripts-interpreters/build-spec/orig/python2.7 | 3 + .../scripts-interpreters/build-spec/orig/syntax | 4 + .../scripts-interpreters/build-spec/orig/unusual | 2 + .../build-spec/orig/unversioned-pike | 4 + .../build-spec/orig/usr-bin-env-perl | 3 + .../scripts-interpreters/build-spec/orig/usr-local | 2 + .../build-spec/orig/usr-local-bin-perl | 3 + .../build-spec/orig/versioned-pike | 4 + .../build-spec/orig/wrong-perl-path | 2 + .../script/syntax/scripts-interpreters/eval/desc | 4 + .../script/syntax/scripts-interpreters/eval/hints | 2 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../syntax/scripts-maintainer-general/eval/desc | 5 + .../syntax/scripts-maintainer-general/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 + .../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 + .../scripts/legacy-binary/build-spec/debian/menu | 26 + .../legacy-binary/build-spec/debian/menu-method | 22 + .../legacy-binary/build-spec/debian/postinst | 6 + .../scripts/legacy-binary/build-spec/debian/rules | 92 + .../legacy-binary/build-spec/debian/templates | 16 + .../scripts/legacy-binary/build-spec/fill-values | 5 + .../scripts/legacy-binary/build-spec/orig/INSTALL | 176 + .../scripts/legacy-binary/build-spec/orig/Makefile | 12 + .../scripts/legacy-binary/build-spec/orig/hello.c | 8 + t/recipes/checks/scripts/legacy-binary/eval/desc | 2 + t/recipes/checks/scripts/legacy-binary/eval/hints | 2 + .../checks/scripts/legacy-binary/eval/post-test | 3 + .../legacy-libbaz/build-spec/debian/changelog.in | 6 + .../legacy-libbaz/build-spec/debian/compat.in | 1 + .../legacy-libbaz/build-spec/debian/control | 58 + .../legacy-libbaz/build-spec/debian/copyright | 8 + .../legacy-libbaz/build-spec/debian/dev.postinst | 4 + .../legacy-libbaz/build-spec/debian/dev.prerm | 4 + .../legacy-libbaz/build-spec/debian/lib.postinst | 10 + .../legacy-libbaz/build-spec/debian/lib.prerm | 7 + .../legacy-libbaz/build-spec/debian/lib.shlibs | 8 + .../legacy-libbaz/build-spec/debian/lib.symbols | 3 + .../scripts/legacy-libbaz/build-spec/debian/rules | 121 + .../build-spec/debian/source.lintian-overrides | 1 + .../scripts/legacy-libbaz/build-spec/fill-values | 6 + .../scripts/legacy-libbaz/build-spec/orig/Makefile | 55 + .../scripts/legacy-libbaz/build-spec/orig/baz.c | 6 + .../scripts/legacy-libbaz/build-spec/orig/extra.c | 0 t/recipes/checks/scripts/legacy-libbaz/eval/desc | 2 + t/recipes/checks/scripts/legacy-libbaz/eval/hints | 9 + .../checks/scripts/legacy-libbaz/eval/post-test | 4 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../scripts/legacy-maintainer-scripts/eval/desc | 2 + .../scripts/legacy-maintainer-scripts/eval/hints | 45 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../scripts/legacy-scripts/build-spec/debian/rules | 111 + .../build-spec/debian/scripts.conffiles | 6 + .../scripts/legacy-scripts/build-spec/debian/watch | 8 + .../scripts/legacy-scripts/build-spec/fill-values | 6 + .../scripts/legacy-scripts/build-spec/orig/csh-foo | 2 + .../scripts/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../scripts/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../scripts/legacy-scripts/build-spec/orig/phpfoo | 7 + .../legacy-scripts/build-spec/orig/py3.Xfoo | 4 + .../scripts/legacy-scripts/build-spec/orig/py3foo | 4 + .../scripts/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../scripts/legacy-scripts/build-spec/orig/tkfoo | 31 + .../scripts/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../scripts/legacy-scripts/build-spec/pre-build | 5 + t/recipes/checks/scripts/legacy-scripts/eval/desc | 2 + t/recipes/checks/scripts/legacy-scripts/eval/hints | 20 + .../checks/scripts/legacy-scripts/eval/post-test | 1 + .../scripts-bashisms/build-spec/debian/postinst | 87 + .../scripts-bashisms/build-spec/debian/prerm | 186 + .../scripts-bashisms/build-spec/fill-values | 4 + .../checks/scripts/scripts-bashisms/eval/desc | 2 + .../checks/scripts/scripts-bashisms/eval/hints | 14 + .../build-spec/debian/install | 4 + .../build-spec/debian/postinst | 7 + .../build-spec/debian/postrm | 8 + .../build-spec/fill-values | 3 + .../scripts-calls-init-script/build-spec/orig/bad | 2 + .../build-spec/orig/other-action | 3 + .../build-spec/orig/self-invoke | 30 + .../build-spec/orig/test-first | 6 + .../scripts/scripts-calls-init-script/eval/desc | 3 + .../scripts/scripts-calls-init-script/eval/hints | 2 + .../build-spec/debian/control.in | 63 + .../build-spec/debian/po/POTFILES.in | 1 + .../build-spec/debian/po/de.po | 13 + .../build-spec/debian/po/templates.pot | 23 + .../scripts-control-interpreters-forbidden.config | 8 + ...scripts-control-interpreters-forbidden.postinst | 10 + .../scripts-control-interpreters-forbidden.postrm | 10 + ...cripts-control-interpreters-forbidden.templates | 3 + .../scripts-control-interpreters-paths.postinst | 5 + .../scripts-control-interpreters-paths.preinst | 5 + .../scripts-control-interpreters-paths.prerm | 6 + ...scripts-control-interpreters-prepython.postinst | 6 + .../scripts-control-interpreters-prepython.preinst | 6 + .../scripts-control-interpreters-python.postinst | 6 + .../scripts-control-interpreters-python.preinst | 6 + .../scripts-control-interpreters-unknown.postinst | 6 + .../build-spec/fill-values | 3 + .../scripts/scripts-control-interpreters/eval/desc | 3 + .../scripts-control-interpreters/eval/hints | 26 + .../build-spec/debian/install | 4 + .../build-spec/debian/postrm | 26 + .../build-spec/debian/preinst | 38 + .../build-spec/fill-values | 3 + .../build-spec/orig/orphan | 1 + .../build-spec/orig/some-file | 1 + .../scripts/scripts-diversions-variables/eval/desc | 2 + .../scripts-diversions-variables/eval/hints | 2 + .../scripts-diversions/build-spec/debian/install | 5 + .../scripts-diversions/build-spec/debian/postinst | 11 + .../scripts-diversions/build-spec/debian/postrm | 34 + .../scripts-diversions/build-spec/debian/preinst | 53 + .../scripts-diversions/build-spec/fill-values | 3 + .../scripts-diversions/build-spec/orig/file.1 | 1 + .../scripts/scripts-diversions/build-spec/orig/foo | 2 + .../scripts-diversions/build-spec/orig/foo.1p | 3 + .../scripts-diversions/build-spec/orig/orphan | 1 + .../scripts-diversions/build-spec/orig/some-file | 1 + .../checks/scripts/scripts-diversions/eval/desc | 2 + .../checks/scripts/scripts-diversions/eval/hints | 3 + .../build-spec/debian/postinst | 9 + .../build-spec/debian/postrm | 7 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 3 + .../build-spec/orig/true.c | 5 + .../scripts-does-not-start-with-shebang/eval/desc | 2 + .../scripts-does-not-start-with-shebang/eval/hints | 3 + .../scripts/scripts-exec/build-spec/debian/clean | 1 + .../scripts/scripts-exec/build-spec/debian/install | 1 + .../scripts-exec/build-spec/debian/manpages | 1 + .../scripts/scripts-exec/build-spec/debian/rules | 22 + .../scripts/scripts-exec/build-spec/fill-values | 3 + .../scripts-exec/build-spec/orig/01-normal-script | 3 + .../scripts-exec/build-spec/orig/02-no-exec-script | 3 + .../build-spec/orig/03-hardlink-script | 1 + .../scripts-exec/build-spec/orig/04-not-a-script | 2 + .../scripts-exec/build-spec/orig/script.pod | 18 + t/recipes/checks/scripts/scripts-exec/eval/desc | 2 + t/recipes/checks/scripts/scripts-exec/eval/hints | 1 + .../build-spec/debian/examples | 2 + .../build-spec/debian/install | 2 + .../build-spec/debian/links | 2 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/interpreters.1 | 5 + .../build-spec/orig/usr-bin-env-node | 3 + .../build-spec/orig/usr-bin-env-nodejs | 3 + .../scripts/scripts-interpreters-nodejs/eval/desc | 2 + .../scripts/scripts-interpreters-nodejs/eval/hints | 4 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/examples | 9 + .../scripts-interpreters/build-spec/debian/install | 14 + .../scripts-interpreters/build-spec/debian/links | 14 + .../build-spec/debian/manpages | 1 + .../scripts-interpreters/build-spec/fill-values | 3 + .../scripts-interpreters/build-spec/orig/bin-env | 2 + .../scripts-interpreters/build-spec/orig/csh-shell | 1 + .../build-spec/orig/cwl-runner | 1 + .../build-spec/orig/interpreters.1 | 5 + .../build-spec/orig/no-interpreter | 3 + .../build-spec/orig/not-absolute | 2 + .../scripts-interpreters/build-spec/orig/python2.7 | 3 + .../scripts-interpreters/build-spec/orig/syntax | 4 + .../scripts-interpreters/build-spec/orig/unusual | 2 + .../build-spec/orig/unversioned-pike | 4 + .../build-spec/orig/usr-bin-env-perl | 3 + .../scripts-interpreters/build-spec/orig/usr-local | 2 + .../build-spec/orig/usr-local-bin-perl | 3 + .../build-spec/orig/versioned-pike | 4 + .../build-spec/orig/wrong-perl-path | 2 + .../checks/scripts/scripts-interpreters/eval/desc | 3 + .../checks/scripts/scripts-interpreters/eval/hints | 19 + .../scripts-killall/build-spec/debian/postinst | 8 + .../scripts/scripts-killall/build-spec/fill-values | 3 + t/recipes/checks/scripts/scripts-killall/eval/desc | 2 + .../checks/scripts/scripts-killall/eval/hints | 1 + .../build-spec/debian/maintscript | 1 + .../build-spec/debian/postinst | 255 + .../build-spec/debian/postrm | 9 + .../build-spec/debian/prerm | 11 + .../build-spec/debian/rules | 8 + .../build-spec/fill-values | 4 + .../scripts/scripts-maintainer-general/eval/desc | 5 + .../scripts/scripts-maintainer-general/eval/hints | 83 + .../build-spec/debian/postinst | 41 + .../build-spec/debian/postrm | 39 + .../build-spec/debian/preinst | 37 + .../build-spec/debian/prerm | 40 + .../build-spec/fill-values | 3 + .../scripts-maintainer-script-empty/eval/desc | 2 + .../scripts-maintainer-script-empty/eval/hints | 4 + .../build-spec/debian/postinst | 18 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 10 + .../build-spec/debian/postinst | 9 + .../build-spec/fill-values | 3 + .../scripts-maintainer-script-set-e/eval/desc | 2 + .../scripts-maintainer-script-set-e/eval/hints | 2 + .../build-spec/debian/postinst | 9 + .../build-spec/debian/preinst | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 9 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/install | 1 + .../build-spec/debian/postinst | 8 + .../build-spec/fill-values | 3 + .../build-spec/orig/foo.afm | 0 .../scripts-missing-call-to-update-fonts/eval/desc | 2 + .../eval/hints | 2 + .../scripts-missing-dep-fp/build-spec/debian/clean | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/install | 1 + .../build-spec/debian/manpages | 1 + .../scripts-missing-dep-fp/build-spec/debian/rules | 12 + .../scripts-missing-dep-fp/build-spec/fill-values | 3 + .../build-spec/orig/python2-script | 4 + .../build-spec/orig/python3-script | 4 + .../build-spec/orig/script.pod | 18 + .../scripts/scripts-missing-dep-fp/eval/desc | 5 + .../scripts/scripts-missing-dep-fp/eval/hints | 0 .../scripts-missing-dep/build-spec/debian/clean | 1 + .../scripts-missing-dep/build-spec/debian/install | 1 + .../scripts-missing-dep/build-spec/debian/manpages | 1 + .../scripts-missing-dep/build-spec/debian/postinst | 14 + .../scripts-missing-dep/build-spec/debian/rules | 12 + .../scripts-missing-dep/build-spec/fill-values | 3 + .../build-spec/orig/gawk-script | 3 + .../build-spec/orig/mawk-script | 3 + .../scripts-missing-dep/build-spec/orig/php-script | 4 + .../build-spec/orig/python2-script | 4 + .../build-spec/orig/python3-script | 4 + .../build-spec/orig/ruby-script | 3 + .../scripts-missing-dep/build-spec/orig/script.pod | 18 + .../build-spec/orig/tclsh-script | 3 + .../build-spec/orig/wish-script | 3 + .../checks/scripts/scripts-missing-dep/eval/desc | 2 + .../checks/scripts/scripts-missing-dep/eval/hints | 14 + .../build-spec/debian/control.in | 29 + ...ed-depends-on-init-system-helpers-with.postinst | 10 + ...depends-on-init-system-helpers-without.postinst | 10 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/postinst | 8 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 3 + .../scripts-ocamlrun/build-spec/debian/control.in | 15 + .../scripts-ocamlrun/build-spec/fill-values | 3 + .../scripts-ocamlrun/build-spec/orig/Makefile | 8 + .../scripts-ocamlrun/build-spec/orig/script1 | 1 + .../checks/scripts/scripts-ocamlrun/eval/desc | 4 + .../checks/scripts/scripts-ocamlrun/eval/hints | 1 + .../build-spec/debian/control.in | 30 + .../scripts-skip-systemd-native-with.postinst | 10 + .../scripts-skip-systemd-native-without.postinst | 10 + .../build-spec/fill-values | 3 + .../scripts/scripts-skip-systemd-native/eval/desc | 2 + .../scripts/scripts-skip-systemd-native/eval/hints | 2 + .../build-spec/debian/changelog.in | 20 + .../build-spec/debian/postinst | 20 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/postinst | 9 + .../build-spec/fill-values | 3 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/postinst | 20 + .../build-spec/debian/postrm | 14 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 14 + .../build-spec/fill-values | 3 + .../scripts-udevadm-called-without-guard/eval/desc | 2 + .../eval/hints | 8 + .../build-spec/debian/postinst | 10 + .../build-spec/debian/preinst | 13 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 2 + .../build-spec/debian/install | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/has-hashbang | 4 + .../bash-completion-with-hashbang/eval/desc | 4 + .../bash-completion-with-hashbang/eval/hints | 1 + .../build-spec/debian/control.in | 16 + .../build-spec/debian/examples | 9 + .../scripts-interpreters/build-spec/debian/install | 14 + .../scripts-interpreters/build-spec/debian/links | 14 + .../build-spec/debian/manpages | 1 + .../scripts-interpreters/build-spec/fill-values | 3 + .../scripts-interpreters/build-spec/orig/bin-env | 2 + .../scripts-interpreters/build-spec/orig/csh-shell | 1 + .../build-spec/orig/cwl-runner | 1 + .../build-spec/orig/interpreters.1 | 5 + .../build-spec/orig/no-interpreter | 3 + .../build-spec/orig/not-absolute | 2 + .../scripts-interpreters/build-spec/orig/python2.7 | 3 + .../scripts-interpreters/build-spec/orig/syntax | 4 + .../scripts-interpreters/build-spec/orig/unusual | 2 + .../build-spec/orig/unversioned-pike | 4 + .../build-spec/orig/usr-bin-env-perl | 3 + .../scripts-interpreters/build-spec/orig/usr-local | 2 + .../build-spec/orig/usr-local-bin-perl | 3 + .../build-spec/orig/versioned-pike | 4 + .../build-spec/orig/wrong-perl-path | 2 + .../shell/csh/scripts-interpreters/eval/desc | 4 + .../shell/csh/scripts-interpreters/eval/hints | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/config | 3 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 36 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../legacy-maintainer-scripts/eval/desc | 2 + .../legacy-maintainer-scripts/eval/hints | 97 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../regular-shipped/build-spec/debian/install | 1 + .../regular-shipped/build-spec/fill-values | 4 + .../regular-shipped/build-spec/orig/scripts/one | 87 + .../regular-shipped/build-spec/orig/scripts/two | 186 + .../bash-centric/regular-shipped/eval/desc | 2 + .../bash-centric/regular-shipped/eval/hints | 97 + .../scripts-bashisms/build-spec/debian/postinst | 87 + .../scripts-bashisms/build-spec/debian/prerm | 186 + .../scripts-bashisms/build-spec/fill-values | 4 + .../bash-centric/scripts-bashisms/eval/desc | 2 + .../bash-centric/scripts-bashisms/eval/hints | 97 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../libc/control-file-hardcoded-libc/eval/desc | 4 + .../libc/control-file-hardcoded-libc/eval/hints | 4 + .../build-spec/debian/control.in | 17 + .../build-spec/fill-values | 3 + .../depends-on-misc-pre-depends/eval/desc | 2 + .../depends-on-misc-pre-depends/eval/hints | 1 + .../init.d-general/build-spec/debian/control.in | 61 + .../build-spec/debian/init.d-general-bugs.init | 17 + .../build-spec/debian/init.d-general-bugs.postinst | 10 + .../init.d-general-interpreter-in-usr-dir.init | 14 + .../debian/init.d-general-new-style.init | 31 + .../init.d-general-sourcing-without-test.init | 52 + .../build-spec/debian/init.d-general.default | 17 + .../build-spec/debian/init.d-general.init | 21 + .../systemd/init.d-general/build-spec/fill-values | 3 + t/recipes/checks/systemd/init.d-general/eval/desc | 2 + t/recipes/checks/systemd/init.d-general/eval/hints | 6 + .../kill-mode-none/build-spec/debian/service | 13 + .../systemd/kill-mode-none/build-spec/fill-values | 3 + t/recipes/checks/systemd/kill-mode-none/eval/desc | 2 + t/recipes/checks/systemd/kill-mode-none/eval/hints | 2 + .../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 + .../legacy-scripts/build-spec/debian/postrm | 9 + .../legacy-scripts/build-spec/debian/preinst | 15 + .../systemd/legacy-scripts/build-spec/debian/rules | 105 + .../build-spec/debian/scripts.conffiles | 6 + .../systemd/legacy-scripts/build-spec/debian/watch | 8 + .../systemd/legacy-scripts/build-spec/fill-values | 6 + .../systemd/legacy-scripts/build-spec/orig/csh-foo | 2 + .../systemd/legacy-scripts/build-spec/orig/envfoo | 4 + .../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 + .../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 + .../systemd/legacy-scripts/build-spec/orig/perlfoo | 3 + .../legacy-scripts/build-spec/orig/phpenvfoo | 7 + .../systemd/legacy-scripts/build-spec/orig/phpfoo | 7 + .../systemd/legacy-scripts/build-spec/orig/rubyfoo | 4 + .../legacy-scripts/build-spec/orig/sh-broken | 2 + .../legacy-scripts/build-spec/orig/suidperlfoo | 3 + .../systemd/legacy-scripts/build-spec/orig/tkfoo | 31 + .../systemd/legacy-scripts/build-spec/orig/wishfoo | 4 + .../legacy-scripts/build-spec/orig/xsession-test | 3 + .../systemd/legacy-scripts/build-spec/pre-build | 5 + t/recipes/checks/systemd/legacy-scripts/eval/desc | 2 + t/recipes/checks/systemd/legacy-scripts/eval/hints | 6 + .../checks/systemd/legacy-scripts/eval/post-test | 1 + .../build-spec/debian/control.in | 30 + .../scripts-skip-systemd-native-with.postinst | 10 + .../scripts-skip-systemd-native-without.postinst | 10 + .../build-spec/fill-values | 3 + .../scripts-skip-systemd-native/eval/desc | 2 + .../scripts-skip-systemd-native/eval/hints | 1 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/init | 21 + .../no-systemd-service-for-init-script.other.init | 21 + .../no-systemd-service-for-init-script.service | 9 + .../build-spec/debian/rules | 17 + .../build-spec/fill-values | 3 + .../no-systemd-service-for-init-script/eval/desc | 2 + .../no-systemd-service-for-init-script/eval/hints | 2 + .../build-spec/debian/rules | 10 + .../build-spec/fill-values | 3 + .../no-systemd-timer-for-cron-script/eval/desc | 2 + .../no-systemd-timer-for-cron-script/eval/hints | 4 + .../build-spec/debian/install | 1 + .../build-spec/debian/no-install.service | 8 + .../build-spec/fill-values | 3 + .../systemd/service-file-no-install-key/eval/desc | 2 + .../systemd/service-file-no-install-key/eval/hints | 1 + .../build-spec/debian/install | 6 + .../build-spec/debian/test.service | 9 + .../build-spec/debian/test2.service | 4 + .../build-spec/debian/test3.service | 6 + .../build-spec/debian/test4.service | 8 + .../build-spec/debian/test5.service | 11 + .../build-spec/debian/test@.service | 5 + .../build-spec/fill-values | 4 + .../systemd/systemd-complex-service-file/eval/desc | 2 + .../systemd-complex-service-file/eval/hints | 15 + .../systemd-general/build-spec/debian/bootmisc.sh | 59 + .../systemd/systemd-general/build-spec/debian/init | 153 + .../systemd-general/build-spec/debian/install | 3 + .../systemd-general/build-spec/debian/links | 1 + .../systemd-general/build-spec/debian/postrm | 10 + .../systemd-general/build-spec/debian/rules | 30 + .../build-spec/debian/systemd-general.masked.init | 22 + .../debian/systemd-general.sourced.service | 9 + .../debian/systemd-general.sourced.sh.init | 22 + .../debian/systemd-general.systemd-aliasd.init | 152 + .../build-spec/debian/systemd-general.test.service | 13 + .../systemd-general/build-spec/debian/test.conf | 2 + .../systemd/systemd-general/build-spec/fill-values | 3 + t/recipes/checks/systemd/systemd-general/eval/desc | 4 + .../checks/systemd/systemd-general/eval/hints | 19 + .../build-spec/debian/control.in | 55 + .../debian/systemd-missing-services-template.init | 21 + .../systemd-missing-services-template@.service | 11 + .../debian/systemd-missing-services-with.init | 21 + .../debian/systemd-missing-services-with.service | 9 + .../systemd-missing-services-without-rcs.init | 21 + .../debian/systemd-missing-services-without.init | 21 + .../build-spec/fill-values | 3 + .../systemd/systemd-missing-services/eval/desc | 4 + .../systemd/systemd-missing-services/eval/hints | 4 + .../build-spec/debian/control.in | 27 + ...temd-service-file-refers-to-var-run-bad.service | 10 + ...emd-service-file-refers-to-var-run-good.service | 10 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/control.in | 27 + ...temd-service-file-shutdown-problems-bad.service | 12 + ...emd-service-file-shutdown-problems-good.service | 11 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 3 + .../build-spec/debian/control.in | 27 + ...ile-uses-deprecated-syslog-facility-bad.service | 12 + ...le-uses-deprecated-syslog-facility-good.service | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/control.in | 27 + ...service-file-uses-nobody-or-nogroup-bad.service | 12 + ...ervice-file-uses-nobody-or-nogroup-good.service | 12 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 4 + .../declared-in-etc/build-spec/debian/install | 1 + .../declared-in-etc/build-spec/debian/test.conf | 2 + .../declared-in-etc/build-spec/fill-values | 3 + .../systemd/tmpfiles/declared-in-etc/eval/desc | 2 + .../systemd/tmpfiles/declared-in-etc/eval/hints | 1 + .../tmpfile-in-var-run/build-spec/debian/install | 1 + .../tmpfile-in-var-run/build-spec/debian/test.conf | 2 + .../tmpfile-in-var-run/build-spec/fill-values | 5 + .../systemd/tmpfiles/tmpfile-in-var-run/eval/desc | 2 + .../systemd/tmpfiles/tmpfile-in-var-run/eval/hints | 1 + .../old-buffer/build-spec/debian/install | 1 + .../deprecated/old-buffer/build-spec/fill-values | 4 + .../old-buffer/build-spec/orig/nodejs/buffer.js | 3 + .../team/pkg-js/deprecated/old-buffer/eval/desc | 2 + .../team/pkg-js/deprecated/old-buffer/eval/hints | 1 + .../foreign-testsuite/build-spec/debian/control.in | 19 + .../foreign-testsuite/build-spec/fill-values | 4 + .../foreign-testsuite/build-spec/pre-build | 7 + .../pkg-js/testsuite/foreign-testsuite/eval/desc | 2 + .../pkg-js/testsuite/foreign-testsuite/eval/hints | 1 + .../testsuite/no-testsuite/build-spec/fill-values | 4 + .../testsuite/no-testsuite/build-spec/pre-build | 7 + .../team/pkg-js/testsuite/no-testsuite/eval/desc | 2 + .../team/pkg-js/testsuite/no-testsuite/eval/hints | 1 + .../personal-github/build-spec/debian/control.in | 19 + .../vcs/personal-github/build-spec/fill-values | 4 + .../team/pkg-js/vcs/personal-github/eval/desc | 2 + .../team/pkg-js/vcs/personal-github/eval/hints | 1 + .../pkg-js/vcs/svn/build-spec/debian/control.in | 19 + .../team/pkg-js/vcs/svn/build-spec/fill-values | 4 + t/recipes/checks/team/pkg-js/vcs/svn/eval/desc | 2 + t/recipes/checks/team/pkg-js/vcs/svn/eval/hints | 2 + .../foreign-testsuite/build-spec/debian/control.in | 19 + .../foreign-testsuite/build-spec/fill-values | 4 + .../foreign-testsuite/build-spec/pre-build | 7 + .../pkg-perl/testsuite/foreign-testsuite/eval/desc | 2 + .../testsuite/foreign-testsuite/eval/hints | 1 + .../testsuite/no-testsuite/build-spec/fill-values | 4 + .../testsuite/no-testsuite/build-spec/pre-build | 7 + .../team/pkg-perl/testsuite/no-testsuite/eval/desc | 2 + .../pkg-perl/testsuite/no-testsuite/eval/hints | 1 + .../no-use-name/build-spec/debian/control.in | 19 + .../testsuite/no-use-name/build-spec/fill-values | 4 + .../testsuite/no-use-name/build-spec/pre-build | 7 + .../team/pkg-perl/testsuite/no-use-name/eval/desc | 2 + .../team/pkg-perl/testsuite/no-use-name/eval/hints | 1 + .../personal-github/build-spec/debian/control.in | 19 + .../vcs/personal-github/build-spec/fill-values | 4 + .../team/pkg-perl/vcs/personal-github/eval/desc | 2 + .../team/pkg-perl/vcs/personal-github/eval/hints | 1 + .../pkg-perl/vcs/svn/build-spec/debian/control.in | 19 + .../team/pkg-perl/vcs/svn/build-spec/fill-values | 4 + t/recipes/checks/team/pkg-perl/vcs/svn/eval/desc | 2 + t/recipes/checks/team/pkg-perl/vcs/svn/eval/hints | 2 + .../build-spec/debian/control.in | 19 + .../build-spec/debian/install | 1 + .../ships-legacy-vendorarch/build-spec/fill-values | 6 + .../build-spec/orig/perl5/Legacy/Module.pm | 1 + .../xs-abi/ships-legacy-vendorarch/eval/desc | 2 + .../xs-abi/ships-legacy-vendorarch/eval/hints | 1 + .../build-spec/debian/control.in | 118 + .../control-file-general/build-spec/debian/rules | 8 + .../control-file-general/build-spec/fill-values | 3 + .../control/vcs/control-file-general/eval/desc | 11 + .../control/vcs/control-file-general/eval/hints | 1 + .../build-spec/debian/tests/control | 7 + .../all-superficial/build-spec/debian/tests/test-1 | 2 + .../all-superficial/build-spec/debian/tests/test-2 | 2 + .../all-superficial/build-spec/fill-values | 3 + .../checks/testsuite/all-superficial/eval/desc | 2 + .../checks/testsuite/all-superficial/eval/hints | 1 + .../build-spec/debian/tests/control | 2 + .../command-with-ampersand/build-spec/fill-values | 3 + .../testsuite/command-with-ampersand/eval/desc | 4 + .../testsuite/command-with-ampersand/eval/hints | 1 + .../build-spec/debian/control.in | 20 + .../build-spec/debian/tests/control | 2 + .../build-spec/debian/tests/script | 14 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/tests/control | 2 + .../empty-tests-control/build-spec/fill-values | 3 + .../checks/testsuite/empty-tests-control/eval/desc | 2 + .../testsuite/empty-tests-control/eval/hints | 1 + .../build-spec/debian/control.in | 19 + .../missing-tests-control/build-spec/fill-values | 3 + .../missing-tests-control/build-spec/pre-build | 7 + .../testsuite/missing-tests-control/eval/desc | 2 + .../testsuite/missing-tests-control/eval/hints | 1 + .../build-spec/debian/tests/control | 50 + .../build-spec/debian/tests/control.autodep8 | 1 + .../build-spec/debian/tests/test-1 | 2 + .../build-spec/debian/tests/test-2 | 2 + .../build-spec/debian/tests/under_score | 2 + .../national-encoding/build-spec/fill-values | 3 + .../build-spec/orig/subdir/test-in-subdir | 2 + .../national-encoding/build-spec/pre-build | 9 + .../checks/testsuite/national-encoding/eval/desc | 4 + .../checks/testsuite/national-encoding/eval/hints | 1 + .../build-spec/debian/tests/control | 2 + .../build-spec/debian/tests/script | 13 + .../build-spec/fill-values | 3 + .../requests-undeclared-python-versions/eval/desc | 2 + .../requests-undeclared-python-versions/eval/hints | 4 + .../build-spec/debian/tests/control | 3 + .../build-spec/debian/tests/test-1 | 13 + .../build-spec/fill-values | 4 + .../eval/desc | 2 + .../eval/hints | 4 + .../build-spec/debian/tests/control | 1 + .../build-spec/debian/tests/test-1 | 13 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 8 + .../build-spec/debian/tests/control | 2 + .../build-spec/debian/tests/some-python | 7 + .../build-spec/fill-values | 3 + .../should-query-all-python-versions/eval/desc | 2 + .../should-query-all-python-versions/eval/hints | 1 + .../build-spec/debian/tests/control | 53 + .../build-spec/debian/tests/control.autodep8 | 1 + .../build-spec/debian/tests/test-1 | 2 + .../build-spec/debian/tests/test-2 | 2 + .../build-spec/debian/tests/under_score | 2 + .../testsuite-general/build-spec/fill-values | 3 + .../build-spec/orig/subdir/test-in-subdir | 2 + .../testsuite-general/build-spec/pre-build | 9 + .../checks/testsuite/testsuite-general/eval/desc | 4 + .../checks/testsuite/testsuite-general/eval/hints | 16 + .../build-spec/debian/tests/control | 2 + .../testsuite-no-op/build-spec/fill-values | 3 + .../checks/testsuite/testsuite-no-op/eval/desc | 2 + .../checks/testsuite/testsuite-no-op/eval/hints | 1 + .../build-spec/debian/control.in | 17 + .../build-spec/debian/tests/control | 1 + .../build-spec/debian/tests/test-1 | 2 + .../testsuite-unknown-suite/build-spec/fill-values | 3 + .../testsuite/testsuite-unknown-suite/eval/desc | 2 + .../testsuite/testsuite-unknown-suite/eval/hints | 2 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 3 + .../eval/desc | 2 + .../eval/hints | 1 + .../build-spec/debian/changelog.in | 57 + .../build-spec/debian/control.in | 18 + .../build-spec/debian/postinst | 181 + .../build-spec/debian/postrm | 47 + .../build-spec/debian/preinst | 18 + .../build-spec/debian/prerm | 188 + .../build-spec/debian/rules | 35 + .../build-spec/debian/triggers | 4 + .../build-spec/debian/watch | 11 + .../build-spec/fill-values | 6 + .../triggers/legacy-maintainer-scripts/eval/desc | 2 + .../triggers/legacy-maintainer-scripts/eval/hints | 2 + .../legacy-maintainer-scripts/eval/post-test | 1 + .../triggers-general/build-spec/debian/triggers | 15 + .../triggers-general/build-spec/fill-values | 3 + .../checks/triggers/triggers-general/eval/desc | 2 + .../checks/triggers/triggers-general/eval/hints | 3 + .../udev/files-foo-in-bar/build-spec/debian/clean | 5 + .../udev/files-foo-in-bar/build-spec/debian/dirs | 15 + .../files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../udev/files-foo-in-bar/build-spec/debian/rules | 18 + .../udev/files-foo-in-bar/build-spec/fill-values | 3 + .../udev/files-foo-in-bar/build-spec/orig/bar | 1 + .../udev/files-foo-in-bar/build-spec/orig/bar.pod | 18 + t/recipes/checks/udev/files-foo-in-bar/eval/desc | 2 + t/recipes/checks/udev/files-foo-in-bar/eval/hints | 1 + .../checks/udev/files-foo-in-bar/eval/post-test | 2 + .../checks/udev/udev-rules/build-spec/debian/rules | 13 + .../udev-rules/build-spec/debian/udev-rules.dirs | 2 + .../build-spec/debian/udev-rules.metadata.xml | 22 + .../udev-rules/build-spec/debian/udev-rules.udev | 25 + .../checks/udev/udev-rules/build-spec/fill-values | 3 + t/recipes/checks/udev/udev-rules/eval/desc | 2 + t/recipes/checks/udev/udev-rules/eval/hints | 5 + .../unpack/ancient-source/build-spec/debian/watch | 1 + .../unpack/ancient-source/build-spec/fill-values | 3 + .../unpack/ancient-source/build-spec/orig/README | 1 + .../unpack/ancient-source/build-spec/pre-orig | 7 + t/recipes/checks/unpack/ancient-source/eval/desc | 2 + t/recipes/checks/unpack/ancient-source/eval/hints | 1 + .../build-spec/fill-values | 3 + .../tar-removing-leading-slash/build-spec/tar-data | 7 + .../unpack/tar-removing-leading-slash/eval/desc | 2 + .../unpack/tar-removing-leading-slash/eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/fill-values | 4 + .../eval/desc | 3 + .../eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 1 + .../build-spec/fill-values | 6 + .../build-spec/pre-build | 18 + .../eval/desc | 3 + .../eval/hints | 2 + .../build-spec/debian/upstream/signing-key.asc | 51 + .../build-spec/fill-values | 4 + .../build-spec/orig/some-file | 1 + .../build-spec/upstream/private-key.asc | 105 + .../eval/desc | 4 + .../eval/hints | 1 + .../build-spec/debian/upstream/signing-key.asc | 51 + .../build-spec/fill-values | 3 + .../build-spec/orig/some-file | 1 + .../build-spec/pre-build.in | 21 + .../build-spec/upstream/private-key.asc | 105 + .../doubly-armored-signature/eval/desc | 3 + .../doubly-armored-signature/eval/hints | 2 + .../build-spec/debian/upstream/signing-key.asc | 51 + .../explicit-armor-header/build-spec/fill-values | 3 + .../build-spec/orig/some-file | 1 + .../explicit-armor-header/build-spec/pre-build.in | 21 + .../build-spec/upstream/private-key.asc | 105 + .../explicit-armor-header/eval/desc | 3 + .../explicit-armor-header/eval/hints | 2 + .../build-spec/debian/upstream/signing-key.asc | 51 + .../repeated-signature/build-spec/fill-values | 3 + .../repeated-signature/build-spec/orig/some-file | 1 + .../repeated-signature/build-spec/pre-build.in | 21 + .../build-spec/upstream/private-key.asc | 105 + .../repeated-signature/eval/desc | 3 + .../repeated-signature/eval/hints | 1 + .../usrmerge-bin/build-spec/debian/install | 2 + .../usrmerge/usrmerge-bin/build-spec/debian/script | 2 + .../usrmerge/usrmerge-bin/build-spec/fill-values | 3 + t/recipes/checks/usrmerge/usrmerge-bin/eval/desc | 2 + t/recipes/checks/usrmerge/usrmerge-bin/eval/hints | 1 + .../usrmerge-lib/build-spec/debian/compat.in | 1 + .../usrmerge-lib/build-spec/debian/control.in | 15 + .../usrmerge/usrmerge-lib/build-spec/debian/rules | 5 + .../usrmerge/usrmerge-lib/build-spec/fill-values | 6 + .../usrmerge/usrmerge-lib/build-spec/orig/Makefile | 14 + .../usrmerge/usrmerge-lib/build-spec/orig/basic.c | 3 + t/recipes/checks/usrmerge/usrmerge-lib/eval/desc | 2 + t/recipes/checks/usrmerge/usrmerge-lib/eval/hints | 1 + .../build-spec/debian/control.in | 19 + .../build-spec/fill-values | 2 + .../addons/depends-on-vim-addon-manager/eval/desc | 2 + .../addons/depends-on-vim-addon-manager/eval/hints | 1 + .../vim/files-foo-in-bar/build-spec/debian/clean | 5 + .../vim/files-foo-in-bar/build-spec/debian/dirs | 15 + .../vim/files-foo-in-bar/build-spec/debian/install | 61 + .../files-foo-in-bar/build-spec/debian/manpages | 0 .../vim/files-foo-in-bar/build-spec/debian/rules | 18 + .../vim/files-foo-in-bar/build-spec/fill-values | 3 + .../vim/files-foo-in-bar/build-spec/orig/bar | 1 + .../vim/files-foo-in-bar/build-spec/orig/bar.pod | 18 + t/recipes/checks/vim/files-foo-in-bar/eval/desc | 2 + t/recipes/checks/vim/files-foo-in-bar/eval/hints | 2 + .../checks/vim/files-foo-in-bar/eval/post-test | 2 + .../basic-native-1.0/build-spec/fill-values | 5 + .../basic-native-1.0/eval/desc | 2 + .../basic-native-1.0/eval/hints | 2 + .../build-spec/fill-values | 7 + .../basic-native-3.0-with-epoch/eval/desc | 2 + .../basic-native-3.0-with-epoch/eval/hints | 1 + .../basic-native-3.0/build-spec/fill-values | 5 + .../basic-native-3.0/eval/desc | 2 + .../basic-native-3.0/eval/hints | 1 + .../basic-non-native-1.0/build-spec/fill-values | 5 + .../basic-non-native-1.0/build-spec/orig/some-file | 1 + .../basic-non-native-1.0/eval/desc | 2 + .../basic-non-native-1.0/eval/hints | 6 + .../build-spec/debian/patches/extra-readme | 9 + .../build-spec/debian/patches/series | 1 + .../build-spec/diff/README | 1 + .../build-spec/fill-values | 5 + .../build-spec/orig/README | 1 + .../orig/debian/basic-quilt-updeb.doc-base.EX | 0 .../build-spec/orig/debian/postinst.ex | 0 .../basic-non-native-3.0-purge-debian/eval/desc | 2 + .../basic-non-native-3.0-purge-debian/eval/hints | 5 + .../build-spec/fill-values | 7 + .../build-spec/orig/some-file | 1 + .../basic-non-native-3.0-with-epoch/eval/desc | 2 + .../basic-non-native-3.0-with-epoch/eval/hints | 5 + .../build-spec/debian/patches/extra-readme | 9 + .../build-spec/debian/patches/series | 1 + .../basic-non-native-3.0/build-spec/fill-values | 5 + .../basic-non-native-3.0/build-spec/orig/README | 1 + .../basic-non-native-3.0/eval/desc | 2 + .../basic-non-native-3.0/eval/hints | 5 + .../build-spec/debian/patches/series | 1 + .../build-spec/fill-values | 4 + .../exit-status/fail-on-error-by-default/eval/desc | 5 + .../fail-on-error-by-default/eval/literal | 2 + .../fail-on-error/build-spec/debian/patches/series | 1 + .../fail-on-error/build-spec/fill-values | 4 + .../exit-status/fail-on-error/eval/desc | 6 + .../exit-status/fail-on-error/eval/literal | 2 + .../fail-on-info/build-spec/debian/manpages | 1 + .../fail-on-info/build-spec/fill-values | 3 + .../fail-on-info/build-spec/orig/man/lsmod.8 | 59 + .../exit-status/fail-on-info/eval/desc | 6 + .../exit-status/fail-on-info/eval/hints | 14 + .../exit-status/fail-on-info/eval/literal | 1 + .../build-spec/debian/manpages | 1 + .../build-spec/fill-values | 3 + .../build-spec/orig/man/lsmod.8 | 59 + .../no-fail-on-info-by-default/eval/desc | 5 + .../no-fail-on-info-by-default/eval/literal | 5 + .../build-spec/debian/install | 1 + .../build-spec/debian/lintian-overrides | 2 + .../build-spec/fill-values | 3 + .../build-spec/orig/file | 4 + .../show-overrides-exit-status/eval/desc | 6 + .../show-overrides-exit-status/eval/literal | 2 + .../html-output/build-spec/debian/control.in | 20 + .../html-output/build-spec/debian/dirs | 2 + .../html-output/build-spec/debian/examples | 1 + .../html-output/build-spec/debian/install | 2 + .../html-output/build-spec/debian/rules | 5 + .../build-spec/debian/source.lintian-overrides | 1 + .../html-output/build-spec/diff/Changes | 1 + .../html-output/build-spec/fill-values | 5 + .../html-output/build-spec/orig/example | 2 + .../html-output/build-spec/orig/script | 3 + .../html-output/build-spec/orig/script.desktop | 9 + t/recipes/lintian-features/html-output/eval/desc | 5 + .../lintian-features/html-output/eval/literal | 800 ++ .../lintian-features/html-output/eval/post-test | 3 + .../json-output/build-spec/debian/control.in | 20 + .../json-output/build-spec/debian/dirs | 2 + .../json-output/build-spec/debian/examples | 1 + .../json-output/build-spec/debian/install | 2 + .../json-output/build-spec/debian/rules | 5 + .../build-spec/debian/source.lintian-overrides | 1 + .../json-output/build-spec/diff/Changes | 1 + .../json-output/build-spec/fill-values | 5 + .../json-output/build-spec/orig/example | 2 + .../json-output/build-spec/orig/script | 3 + .../json-output/build-spec/orig/script.desktop | 9 + t/recipes/lintian-features/json-output/eval/desc | 5 + .../lintian-features/json-output/eval/literal | 297 + .../lintian-features/json-output/eval/post-test | 2 + .../build-spec/debian/control.in | 12 + .../lintian-check-tags-file/build-spec/fill-values | 3 + .../lintian-check-tags-file/eval/desc | 5 + .../lintian-check-tags-file/eval/literal | 2 + .../lintian-check-tags-file/eval/tag-list | 7 + .../build-spec/debian/control.in | 19 + .../lintian-display-level/build-spec/debian/dirs | 2 + .../build-spec/debian/examples | 1 + .../build-spec/debian/install | 2 + .../lintian-display-level/build-spec/debian/rules | 5 + .../lintian-display-level/build-spec/diff/Changes | 1 + .../lintian-display-level/build-spec/fill-values | 4 + .../lintian-display-level/build-spec/orig/example | 2 + .../lintian-display-level/build-spec/orig/script | 3 + .../build-spec/orig/script.desktop | 7 + .../lintian-display-level/eval/desc | 5 + .../lintian-display-level/eval/literal | 9 + .../build-spec/debian/control.in | 19 + .../lintian-ftp-rejects/build-spec/debian/dirs | 3 + .../lintian-ftp-rejects/build-spec/debian/rules | 5 + .../lintian-ftp-rejects/build-spec/fill-values | 3 + .../lintian-features/lintian-ftp-rejects/eval/desc | 4 + .../lintian-ftp-rejects/eval/literal | 3 + .../lintian-no-override/build-spec/debian/dirs | 1 + .../debian/lintian-no-override.lintian-overrides | 1 + .../lintian-no-override/build-spec/fill-values | 3 + .../lintian-features/lintian-no-override/eval/desc | 5 + .../lintian-no-override/eval/literal | 3 + .../build-spec/debian/control.in | 12 + .../lintian-suppress-tags/build-spec/fill-values | 3 + .../lintian-suppress-tags/eval/desc | 6 + .../lintian-suppress-tags/eval/literal | 1 + .../lintian-suppress-tags/eval/suppress | 7 + .../file-info-errors/build-spec/fill-values | 3 + .../file-info-errors/build-spec/orig/README | 1 + .../build-spec/orig/split.clam.ole.docaa | Bin 0 -> 8192 bytes t/recipes/odd-inputs/file-info-errors/eval/desc | 4 + t/recipes/odd-inputs/file-info-errors/eval/literal | 2 + .../build-spec/dpkg-overrides | 1 + .../build-spec/fill-values | 4 + .../source/control-field-traversal-1/eval/desc | 4 + .../source/control-field-traversal-1/eval/literal | 1 + .../build-spec/dpkg-overrides | 1 + .../build-spec/fill-values | 4 + .../source/control-field-traversal-2/eval/desc | 2 + .../source/control-field-traversal-2/eval/hints | 1 + .../build-spec/dpkg-overrides | 1 + .../build-spec/fill-values | 4 + .../source/control-field-traversal-3/eval/desc | 4 + .../source/control-field-traversal-3/eval/literal | 1 + .../build-spec/debian/README.source | 1 + .../build-spec/debian/patches/series | 0 .../build-spec/fill-values | 5 + .../build-spec/pre-build | 10 + .../source/debian-source-dir-traversal-1/eval/desc | 2 + .../debian-source-dir-traversal-1/eval/hints | 1 + .../source/debian-symlink/build-spec/fill-values | 4 + .../source/debian-symlink/build-spec/post-clean | 7 + .../odd-inputs/source/debian-symlink/eval/desc | 2 + .../odd-inputs/source/debian-symlink/eval/hints | 1 + .../unpack-srcpkg-dot-dir/build-spec/debian/watch | 1 + .../unpack-srcpkg-dot-dir/build-spec/fill-values | 3 + .../unpack-srcpkg-dot-dir/build-spec/orig/README | 1 + .../unpack-srcpkg-dot-dir/build-spec/orig/foo.c | 1 + .../unpack-srcpkg-dot-dir/build-spec/orig/foo.h | 1 + .../unpack-srcpkg-dot-dir/build-spec/tar-orig | 10 + .../source/unpack-srcpkg-dot-dir/eval/desc | 2 + .../source/unpack-srcpkg-dot-dir/eval/hints | 3 + .../unpack-srcpkg-dot-subdir/build-spec/README | 1 + .../build-spec/debian/watch | 1 + .../build-spec/fill-values | 3 + .../unpack-srcpkg-dot-subdir/build-spec/foo.c | 1 + .../unpack-srcpkg-dot-subdir/build-spec/foo.h | 1 + .../build-spec/orig/some-file | 1 + .../unpack-srcpkg-dot-subdir/build-spec/tar-orig | 8 + .../source/unpack-srcpkg-dot-subdir/eval/desc | 2 + .../source/unpack-srcpkg-dot-subdir/eval/hints | 3 + .../build-spec/debian/watch | 1 + .../unpack-srcpkg-no-subdir/build-spec/fill-values | 3 + .../unpack-srcpkg-no-subdir/build-spec/orig/README | 1 + .../unpack-srcpkg-no-subdir/build-spec/orig/foo.c | 1 + .../unpack-srcpkg-no-subdir/build-spec/orig/foo.h | 1 + .../unpack-srcpkg-no-subdir/build-spec/tar-orig | 8 + .../source/unpack-srcpkg-no-subdir/eval/desc | 2 + .../source/unpack-srcpkg-no-subdir/eval/hints | 3 + .../build-spec/debian/README.source | 1 + .../unpack-srcpkg-xz/build-spec/debian/watch | 0 .../source/unpack-srcpkg-xz/build-spec/fill-values | 4 + .../source/unpack-srcpkg-xz/build-spec/orig/README | 1 + .../source/unpack-srcpkg-xz/build-spec/tar-orig | 8 + .../odd-inputs/source/unpack-srcpkg-xz/eval/desc | 2 + .../odd-inputs/source/unpack-srcpkg-xz/eval/hints | 2 + .../runtests-arch-amd64/build-spec/debian/install | 1 + .../runtests-arch-amd64/build-spec/fill-values | 3 + .../runtests-arch-amd64/build-spec/orig/dummy | 1 + .../runner-features/runtests-arch-amd64/eval/desc | 5 + .../runtests-arch-amd64/eval/literal | 0 .../runtests-arch-i386/build-spec/debian/install | 1 + .../runtests-arch-i386/build-spec/fill-values | 3 + .../runtests-arch-i386/build-spec/orig/dummy | 1 + .../runner-features/runtests-arch-i386/eval/desc | 5 + .../runtests-arch-i386/eval/literal | 0 .../runtests-calibration/build-spec/fill-values | 3 + .../runner-features/runtests-calibration/eval/desc | 2 + .../runtests-calibration/eval/hints | 1 + .../runtests-calibration/eval/test-calibration | 7 + .../runtests-options/build-spec/debian/compat.in | 1 + .../runtests-options/build-spec/debian/control.in | 16 + .../runtests-options/build-spec/fill-values | 3 + .../runner-features/runtests-options/eval/desc | 5 + .../runner-features/runtests-options/eval/literal | 5 + .../runtests-todo/build-spec/debian/install | 1 + .../runtests-todo/build-spec/fill-values | 3 + .../runtests-todo/build-spec/orig/dummy | 1 + t/recipes/runner-features/runtests-todo/eval/desc | 5 + .../runner-features/runtests-todo/eval/literal | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 6 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 12 + .../build-spec/debian/copyright | 10 + .../generic-dh-make-2005/build-spec/debian/rules | 100 + .../generic-dh-make-2005/build-spec/fill-values | 8 + .../generic-dh-make-2005/build-spec/orig/README | 9 + .../generic-dh-make-2005/build-spec/pre-build.in | 5 + t/recipes/tracking/generic-dh-make-2005/eval/desc | 2 + t/recipes/tracking/generic-dh-make-2005/eval/hints | 31 + .../tracking/generic-dh-make-2005/eval/post-test | 1 + .../build-spec/debian/README.Debian | 6 + .../build-spec/debian/changelog.in | 5 + .../build-spec/debian/compat.in | 1 + .../build-spec/debian/control.in | 13 + .../build-spec/debian/copyright | 24 + .../build-spec/debian/cron.d.ex | 4 + .../generic-dh-make-2008/build-spec/debian/dirs | 2 + .../generic-dh-make-2008/build-spec/debian/docs | 1 + .../build-spec/debian/emacsen-install.ex | 45 + .../build-spec/debian/emacsen-remove.ex | 15 + .../build-spec/debian/emacsen-startup.ex | 25 + .../debian/generic-dh-make-2008.default.ex | 10 + .../debian/generic-dh-make-2008.doc-base.EX | 22 + .../build-spec/debian/init.d.ex | 157 + .../build-spec/debian/init.d.lsb.ex | 296 + .../build-spec/debian/manpage.1.ex | 59 + .../build-spec/debian/manpage.sgml.ex | 156 + .../build-spec/debian/manpage.xml.ex | 291 + .../generic-dh-make-2008/build-spec/debian/menu.ex | 2 + .../build-spec/debian/postinst.ex | 41 + .../build-spec/debian/postrm.ex | 39 + .../build-spec/debian/preinst.ex | 37 + .../build-spec/debian/prerm.ex | 40 + .../generic-dh-make-2008/build-spec/debian/rules | 91 + .../build-spec/debian/watch.ex | 23 + .../generic-dh-make-2008/build-spec/fill-values | 7 + .../generic-dh-make-2008/build-spec/orig/Makefile | 4 + .../generic-dh-make-2008/build-spec/orig/README | 13 + .../generic-dh-make-2008/build-spec/pre-build.in | 5 + t/recipes/tracking/generic-dh-make-2008/eval/desc | 3 + t/recipes/tracking/generic-dh-make-2008/eval/hints | 54 + .../tracking/generic-dh-make-2008/eval/post-test | 1 + t/scripts/01-critic/bin.t | 1 + t/scripts/01-critic/lib.t | 1 + t/scripts/01-critic/private.t | 1 + t/scripts/01-critic/runner.pl | 83 + t/scripts/01-critic/test-scripts.t | 1 + t/scripts/02-minimum-version/bin.t | 1 + t/scripts/02-minimum-version/lib.t | 1 + t/scripts/02-minimum-version/private.t | 1 + t/scripts/02-minimum-version/runner.pl | 31 + t/scripts/02-minimum-version/test-scripts.t | 1 + t/scripts/03-strict/bin.t | 1 + t/scripts/03-strict/lib.t | 1 + t/scripts/03-strict/private.t | 1 + t/scripts/03-strict/runner.pl | 47 + t/scripts/03-strict/test-scripts.t | 1 + .../Lab/data/changes/lintian_2.5.10_amd64.changes | 98 + .../Lab/data/changes/lintian_2.5.10_source.changes | 94 + .../Lab/data/changes/lintian_2.5.11_amd64.changes | 272 + .../Lab/data/changes/lintian_2.5.7_amd64.changes | 264 + .../Lab/data/changes/lintian_2.5.8_amd64.changes | 106 + .../Lab/data/changes/lintian_2.5.9_amd64.changes | 101 + t/scripts/Lintian/Relation/01-basic.t | 19 + t/scripts/Lintian/Relation/02-architecture.t | 19 + t/scripts/Lintian/Relation/03-duplicates.t | 29 + t/scripts/Lintian/Relation/04-multiarch.t | 64 + t/scripts/Lintian/Relation/05-invalid.t | 66 + t/scripts/Lintian/Relation/06-build-profiles.t | 24 + t/scripts/Lintian/Relation/07-implies.t | 46 + t/scripts/Lintian/Util/data/pgp-eof-missing-sign | 5 + t/scripts/Lintian/Util/data/pgp-leading-unsigned | 14 + t/scripts/Lintian/Util/data/pgp-malformed-header | 11 + t/scripts/Lintian/Util/data/pgp-no-end-pgp-header | 7 + t/scripts/Lintian/Util/data/pgp-sig-before-start | 7 + t/scripts/Lintian/Util/data/pgp-trailing-unsigned | 14 + t/scripts/Lintian/Util/data/pgp-two-signatures | 16 + t/scripts/Lintian/Util/data/pgp-two-signed-msgs | 19 + t/scripts/Lintian/Util/data/pgp-unexpected-header | 6 + t/scripts/Lintian/Util/dctrl-parser.t | 64 + t/scripts/Lintian/Util/path.t | 69 + t/scripts/check-load.t | 50 + t/scripts/harness/calibrated.t | 54 + t/scripts/harness/check-result.t | 117 + t/scripts/harness/desc-fields.t | 172 + t/scripts/harness/diagnostic-value.t | 102 + t/scripts/harness/get-tagnames.t | 63 + t/scripts/harness/hintdiff.t | 207 + t/scripts/harness/hintextract.t | 98 + t/scripts/harness/match-glob.t | 67 + t/scripts/harness/no-watch-file-in-native.t | 70 + t/scripts/harness/prepare.t | 159 + t/scripts/harness/sort-order.t | 89 + t/scripts/harness/tag-coverage.t | 171 + t/scripts/harness/watch-file-in-non-native.t | 70 + t/scripts/pod-coverage.t | 30 + t/scripts/pod-spelling.t | 140 + t/scripts/pod-synopsis.t | 32 + t/scripts/pod.t | 37 + t/scripts/profile-load.t | 27 + t/scripts/profiles-coverage.t | 81 + t/scripts/run-private-scripts.t | 79 + t/scripts/spellintian-textual-content.t | 74 + t/scripts/spellintian.t | 169 + t/scripts/tags/fields.t | 180 + t/scripts/version.t | 38 + t/skeletons/changes | 6 + t/skeletons/deb | 12 + t/skeletons/source-native | 9 + t/skeletons/source-non-native | 11 + t/skeletons/testing | 3 + t/skeletons/upload-builder-only | 8 + t/skeletons/upload-native | 9 + t/skeletons/upload-non-native | 12 + t/templates/binary-control/control.in | 12 + t/templates/changes-simple-filler/Makefile.in | 17 + .../fill-values.d/changes-simple-filler.values | 2 + t/templates/deb-make-builder/Makefile.in | 121 + t/templates/deb-make-builder/control-members | 2 + t/templates/deb-make-builder/deb-members | 3 + .../fill-values.d/deb-make-builder.values | 2 + t/templates/deb-make-builder/members/debian-binary | 1 + t/templates/deb-make-builder/tar-control | 13 + t/templates/deb-make-builder/tar-data | 7 + .../debian-extra-non-native/upstream/metadata | 2 + t/templates/debian-extra-non-native/watch | 2 + t/templates/debian-native/changelog.in | 17 + t/templates/debian-native/control.in | 19 + t/templates/debian-native/copyright | 29 + t/templates/debian-native/rules | 13 + t/templates/debian-native/source/format.in | 1 + t/templates/debian-native/tests/control | 1 + t/templates/debian-native/tests/test | 2 + .../fill-values.d/lintian-invocation.values | 1 + t/templates/mandatory-docs/changelog.in | 17 + t/templates/mandatory-docs/copyright | 29 + t/templates/source-make-builder/Makefile.in | 86 + .../fill-values.d/source-make-builder.values | 3 + t/templates/source-make-builder/tar-orig | 8 + t/templates/test-runner-tags/generic.t | 42 + t/templates/upload-make-builder/Makefile.in | 90 + .../fill-values.d/upload-make-builder.values | 4 + t/whitelists/binary-control | 2 + t/whitelists/debian-packaging | 8 + t/whitelists/make-builder | 4 + t/whitelists/mandatory-docs | 2 + 12925 files changed, 212518 insertions(+) create mode 100644 t/COVERAGE create mode 100644 t/defaults/desc create mode 100644 t/defaults/files create mode 100644 t/defaults/fill-values create mode 100644 t/recipes/README create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.dirs create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.install create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.dirs create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.install create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postinst create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postrm create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.dirs create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.install create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/fill-values create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/baz.load create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.conf create mode 100644 t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.load create mode 100644 t/recipes/checks/apache2/apache2-modules-general/eval/desc create mode 100644 t/recipes/checks/apache2/apache2-modules-general/eval/hints create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.dirs create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.install create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postrm create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.dirs create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.install create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.dirs create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.install create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/fill-values create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/false-positives.conf create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/local-phpmyfoo2.conf create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo.conf create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo2 create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/eval/desc create mode 100644 t/recipes/checks/apache2/apache2-webapplications-general/eval/hints create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py create mode 100755 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1 create mode 100644 t/recipes/checks/application-not-library/application-not-library/eval/desc create mode 100644 t/recipes/checks/application-not-library/application-not-library/eval/hints create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.desktop create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.dirs create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.udev create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/rules create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/fill-values create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/eval/desc create mode 100644 t/recipes/checks/appstream-metadata/appstream-metadata/eval/hints create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/apt/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/apt/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/apt/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/build-spec/fill-values create mode 100644 t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/desc create mode 100644 t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/hints create mode 100644 t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/post-test create mode 100644 t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/fill-values create mode 100644 t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/desc create mode 100644 t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/hints create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/desc create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/hints create mode 100644 t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in create mode 100644 t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values create mode 100644 t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/desc create mode 100644 t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/hints create mode 100644 t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/build-spec/fill-values create mode 100644 t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/desc create mode 100644 t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/hints create mode 100755 t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/architecture/binaries-misplaced/eval/desc create mode 100644 t/recipes/checks/binaries/architecture/binaries-misplaced/eval/hints create mode 100644 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/dumpobj create mode 100644 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/desc create mode 100644 t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/hints create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/desc create mode 100644 t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/hints create mode 100644 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/dumpobj create mode 100644 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/desc create mode 100644 t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/hints create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/eval/desc create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/eval/hints create mode 100644 t/recipes/checks/binaries/corrupted/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/debug-symbols/binaries-general/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/hints create mode 100644 t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/hints create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/hints create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/desc create mode 100644 t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/hints create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/base.pod create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/eval/desc create mode 100644 t/recipes/checks/binaries/hardening/binaries-hardening/eval/hints create mode 100755 t/recipes/checks/binaries/hardening/binaries-hardening/eval/test-calibration create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/desc create mode 100644 t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/hints create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/control.in create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/lfs.c create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/desc create mode 100644 t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/hints create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/binaries/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/legacy-binary/eval/desc create mode 100644 t/recipes/checks/binaries/legacy-binary/eval/hints create mode 100644 t/recipes/checks/binaries/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/binaries/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/binaries/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/binaries/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/control.in create mode 100755 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/Makefile create mode 100755 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/script create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/true.c create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/desc create mode 100644 t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/hints create mode 100644 t/recipes/checks/binaries/location/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/location/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/location/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/location/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/location/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/location/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/location/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/location/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/location/binaries-general/eval/post-test create mode 100755 t/recipes/checks/binaries/location/binaries-misplaced/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/location/binaries-misplaced/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/location/binaries-misplaced/eval/desc create mode 100644 t/recipes/checks/binaries/location/binaries-misplaced/eval/hints create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/control.in create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/eval/desc create mode 100644 t/recipes/checks/binaries/location/binaries-multiarch-same/eval/hints create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/dummy.pod create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt.c create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-fcrypt.c create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey.c create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/desc create mode 100644 t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/hints create mode 100755 t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.pod create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/post-test create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/control.in create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/setup.py create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/hints create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/desc create mode 100644 t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/hints create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/profiling/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/profiling/binaries-general/eval/post-test create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/rpath/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/rpath/binaries-general/eval/post-test create mode 100644 t/recipes/checks/binaries/rpath/quoted/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/rpath/quoted/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/rpath/quoted/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/rpath/quoted/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/rpath/quoted/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/rpath/quoted/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/rpath/quoted/eval/desc create mode 100644 t/recipes/checks/binaries/rpath/quoted/eval/hints create mode 100755 t/recipes/checks/binaries/rpath/quoted/eval/post-test create mode 100644 t/recipes/checks/binaries/rpath/relative/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/rpath/relative/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/rpath/relative/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/rpath/relative/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/rpath/relative/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/rpath/relative/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/rpath/relative/eval/desc create mode 100644 t/recipes/checks/binaries/rpath/relative/eval/hints create mode 100755 t/recipes/checks/binaries/rpath/relative/eval/post-test create mode 100644 t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/spelling/binaries-spelling/eval/desc create mode 100644 t/recipes/checks/binaries/spelling/binaries-spelling/eval/hints create mode 100644 t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/dumpobj create mode 100644 t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/install create mode 100755 t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/static/binaries-from-other-arch/eval/desc create mode 100644 t/recipes/checks/binaries/static/binaries-from-other-arch/eval/hints create mode 100644 t/recipes/checks/binaries/static/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/static/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/static/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/static/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/binaries/static/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/binaries/static/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/binaries/static/binaries-general/eval/desc create mode 100644 t/recipes/checks/binaries/static/binaries-general/eval/hints create mode 100755 t/recipes/checks/binaries/static/binaries-general/eval/post-test create mode 100644 t/recipes/checks/binaries/static/binaries-golang/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/basic.c create mode 100644 t/recipes/checks/binaries/static/binaries-golang/eval/desc create mode 100644 t/recipes/checks/binaries/static/binaries-golang/eval/hints create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/static/legacy-binary/eval/desc create mode 100644 t/recipes/checks/binaries/static/legacy-binary/eval/hints create mode 100644 t/recipes/checks/binaries/static/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/binaries/static/legacy-debug/eval/desc create mode 100644 t/recipes/checks/binaries/static/legacy-debug/eval/hints create mode 100644 t/recipes/checks/binaries/static/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/build-systems/automake/automake-general/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/Makefile.am create mode 100644 t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/configure.in create mode 100644 t/recipes/checks/build-systems/automake/automake-general/eval/desc create mode 100644 t/recipes/checks/build-systems/automake/automake-general/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/orig/hello.c create mode 100755 t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/pre-upstream create mode 100644 t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/orig/ltmain.sh create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool/build-spec/orig/ltconfig create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool/build-spec/orig/ltmain.sh create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/build-spec/orig/ltmain.sh create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltconfig create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltmain.sh create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe-old-filename/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe-old-filename/build-spec/orig/configure.in create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe-old-filename/build-spec/orig/src/configure.in create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe-old-filename/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe-old-filename/eval/hints create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe/build-spec/orig/configure.ac create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe/build-spec/orig/src/configure.ac create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe/eval/desc create mode 100644 t/recipes/checks/build-systems/autotools/macro-not-cross-compilation-safe/eval/hints create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-diff/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-diff/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-diff/build-spec/debian/substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-diff/build-spec/fill-values create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-diff/build-spec/pre-build create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/desc create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/hints create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/README.source create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/fill-values create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/pre-build create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/desc create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/hints create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/patches/wig-pen create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/substvars create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/orig/README create mode 100755 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/pre-build create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/desc create mode 100644 t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/hints create mode 100644 t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpfoo create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3.Xfoo create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3foo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/install create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/links create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/Makefile create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/_python_module.txt create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/dependency_libs.txt create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/kio_locate.txt create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/trailing-slash.txt create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/desc create mode 100644 t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/hints create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/orig/waf create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/desc create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/hints create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/fill-values create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/some-source.c create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/waf.in create mode 100755 t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/pre-upstream create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/desc create mode 100644 t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/hints create mode 100644 t/recipes/checks/changes-file/changed-by-localhost/eval/hints create mode 100644 t/recipes/checks/changes-file/changed-by-malformed/eval/hints create mode 100644 t/recipes/checks/changes-file/changed-by-no-name/eval/hints create mode 100644 t/recipes/checks/changes-file/changed-by-root-email/eval/hints create mode 100644 t/recipes/checks/changes-file/changed-by-root/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-bad-ubuntu-distribution/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-distribution-mismatch/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-experimental-mismatch/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-file-bad-section/build-spec/fill-values create mode 100644 t/recipes/checks/changes-file/changes-file-bad-section/build-spec/referenced-files/__some-file__ create mode 100644 t/recipes/checks/changes-file/changes-file-bad-section/build-spec/test.changes.in create mode 100644 t/recipes/checks/changes-file/changes-file-bad-section/eval/desc create mode 100644 t/recipes/checks/changes-file/changes-file-bad-section/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ create mode 100644 t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc create mode 100644 t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in create mode 100644 t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values create mode 100644 t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc create mode 100644 t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-missing-fields/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-missing-format/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-unreleased/eval/hints create mode 100644 t/recipes/checks/changes-file/changes-upload-has-backports-version-number/eval/hints create mode 100644 t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/fill-values create mode 100755 t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/post-build.in create mode 100644 t/recipes/checks/changes-file/checksum-count-mismatch/eval/desc create mode 100644 t/recipes/checks/changes-file/checksum-count-mismatch/eval/hints create mode 100644 t/recipes/checks/changes-file/distribution-multiple-bad/eval/hints create mode 100644 t/recipes/checks/changes-file/generic-empty/eval/hints create mode 100644 t/recipes/checks/changes-file/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install create mode 100755 t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc create mode 100644 t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc create mode 100644 t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/debian/conffiles create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/debian/install create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/debian/links create mode 100755 t/recipes/checks/conffiles/conffiles-general/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/orig/etc/rc2.d/file create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/orig/usr/share/foo create mode 100644 t/recipes/checks/conffiles/conffiles-general/build-spec/orig/var/cache/foo create mode 100644 t/recipes/checks/conffiles/conffiles-general/eval/desc create mode 100644 t/recipes/checks/conffiles/conffiles-general/eval/hints create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install create mode 100755 t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/eval/desc create mode 100644 t/recipes/checks/conffiles/instruction-chicken-soup/eval/hints create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/conffiles/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/conffiles/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/conffiles/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/debian/gitlab-ci.yml create mode 100644 t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/fill-values create mode 100644 t/recipes/checks/continuous-integration/salsa/first-level-array/eval/desc create mode 100644 t/recipes/checks/continuous-integration/salsa/first-level-array/eval/hints create mode 100644 t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/debian/gitlab-ci.yml create mode 100644 t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/fill-values create mode 100644 t/recipes/checks/continuous-integration/salsa/root-scalar/eval/desc create mode 100644 t/recipes/checks/continuous-integration/salsa/root-scalar/eval/hints create mode 100644 t/recipes/checks/control-files/control-field-traversal-4/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/control-files/control-field-traversal-4/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/control-field-traversal-4/build-spec/pre-data create mode 100644 t/recipes/checks/control-files/control-field-traversal-4/eval/desc create mode 100644 t/recipes/checks/control-files/control-field-traversal-4/eval/literal create mode 100644 t/recipes/checks/control-files/control-files-bad/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/control-files-bad/build-spec/pre-control create mode 100755 t/recipes/checks/control-files/control-files-bad/build-spec/tar-control create mode 100644 t/recipes/checks/control-files/control-files-bad/eval/desc create mode 100644 t/recipes/checks/control-files/control-files-bad/eval/hints create mode 100644 t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst create mode 100644 t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm create mode 100644 t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/desc create mode 100644 t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/hints create mode 100644 t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/desc create mode 100644 t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/hints create mode 100644 t/recipes/checks/control-files/control-files-traversal/build-spec/control-members create mode 100644 t/recipes/checks/control-files/control-files-traversal/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/control-files-traversal/build-spec/pre-control create mode 100644 t/recipes/checks/control-files/control-files-traversal/eval/desc create mode 100644 t/recipes/checks/control-files/control-files-traversal/eval/hints create mode 100644 t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/isinstallable create mode 100644 t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/special-file create mode 100644 t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/triggers create mode 100644 t/recipes/checks/control-files/control-files-weird-files/build-spec/control-members create mode 100644 t/recipes/checks/control-files/control-files-weird-files/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/control-files-weird-files/eval/desc create mode 100644 t/recipes/checks/control-files/control-files-weird-files/eval/hints create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/control-files/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/control-files/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/control-files/legacy-binary/eval/desc create mode 100644 t/recipes/checks/control-files/legacy-binary/eval/hints create mode 100644 t/recipes/checks/control-files/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/control-files/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/control-files/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/control-files/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/control-files/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/control-files/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/control-files/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/control-files/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/control-files/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/control-files/md5sums-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/control-files/md5sums-empty/build-spec/fill-values create mode 100644 t/recipes/checks/control-files/md5sums-empty/eval/desc create mode 100644 t/recipes/checks/control-files/md5sums-empty/eval/hints create mode 100644 t/recipes/checks/control-files/md5sums-traversal/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/md5sums-traversal/build-spec/pre-control create mode 100644 t/recipes/checks/control-files/md5sums-traversal/eval/desc create mode 100644 t/recipes/checks/control-files/md5sums-traversal/eval/hints create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control create mode 100755 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/eval/desc create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/eval/hints create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.docs create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.init create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.install create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.manpages create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/clean create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/control.in create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.install create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.manpages create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/rules create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/fill-values create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/README create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/read-only create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/sample.ali create mode 100755 t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/script create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/some-file create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/eval/desc create mode 100644 t/recipes/checks/cron/files-bad-perm-owner/eval/hints create mode 100644 t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install create mode 100644 t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values create mode 100644 t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module create mode 100755 t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly create mode 100644 t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc create mode 100644 t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/cron/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/cron/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/cron/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.c create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.cpp create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/oui.db/oui.db create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/negative.py create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/positive.cpp create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-autogenerated/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/debian/copyright create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_01.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_02.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/3_01.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-bad-php-unrel/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-bad-php/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_01.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_02.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/3_01.txt create mode 100644 t/recipes/checks/cruft/cruft-bad-php/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-bad-php/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/ISI_export_format.html create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/copyright-header.html create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.svg create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.xml create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c create mode 100644 t/recipes/checks/cruft/cruft-evil-json/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-evil-json/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-general-upstream/build-spec/fill-values create mode 100755 t/recipes/checks/cruft/cruft-general-upstream/build-spec/pre-upstream create mode 100644 t/recipes/checks/cruft/cruft-general-upstream/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-general-upstream/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/orig/src/normal.texi create mode 100755 t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/pre-build create mode 100644 t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/empty.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-gfdl-invariants/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/install create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/json.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js create mode 100644 t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js create mode 100755 t/recipes/checks/cruft/cruft-minified-js/build-spec/pre-build create mode 100644 t/recipes/checks/cruft/cruft-minified-js/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-minified-js/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-minified-js/eval/post-test create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/debian/copyright create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/bcp78.txt create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc-3492.txt create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc.txt create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-non-free-rfc/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-non-free-utf/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-non-free-utf/build-spec/orig/src/bad.c create mode 100644 t/recipes/checks/cruft/cruft-non-free-utf/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-non-free-utf/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv.c create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv2.c create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/falsepositive/allmankind.c create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-python/build-spec/debian/missing-sources/fake.py create mode 100644 t/recipes/checks/cruft/cruft-python/build-spec/debian/pycompat create mode 100644 t/recipes/checks/cruft/cruft-python/build-spec/debian/pyversions create mode 100644 t/recipes/checks/cruft/cruft-python/build-spec/fill-values create mode 100755 t/recipes/checks/cruft/cruft-python/build-spec/pre-build create mode 100644 t/recipes/checks/cruft/cruft-python/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-python/eval/hints create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/fill-values create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/hello.c create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/Makefile create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/environment.pickle create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/index.doctree create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/.buildinfo create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_sources/index.txt create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/ajax-loader.gif create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/basic.css create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-bright.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-close.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/default.css create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/doctools.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down-pressed.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/file.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/jquery.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/minus.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/plus.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/pygments.css create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/searchtools.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/sidebar.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/underscore.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/up-pressed.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/up.png create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/websupport.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/genindex.html create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/index.html create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/objects.inv create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/search.html create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/searchindex.js create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/conf.py create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/index.rst create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/make.bat create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/eval/desc create mode 100644 t/recipes/checks/cruft/cruft-sphinx-documentation/eval/hints create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/desc create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/hints create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/control.in create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/rules create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/desc create mode 100644 t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-extra-member/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/deb-format-extra-member/build-spec/members/extra-stuff create mode 100755 t/recipes/checks/deb-format/deb-format-extra-member/build-spec/post-build create mode 100644 t/recipes/checks/deb-format/deb-format-extra-member/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-extra-member/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/deb-members create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/members/_extra-stuff create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/deb-members create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/members/_extra-stuff create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-lzma/build-spec/deb-members create mode 100644 t/recipes/checks/deb-format/deb-format-lzma/build-spec/fill-values create mode 100755 t/recipes/checks/deb-format/deb-format-lzma/build-spec/tar-data create mode 100644 t/recipes/checks/deb-format/deb-format-lzma/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-lzma/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-no-compress/build-spec/deb-members create mode 100644 t/recipes/checks/deb-format/deb-format-no-compress/build-spec/fill-values create mode 100755 t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-control create mode 100755 t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-data create mode 100644 t/recipes/checks/deb-format/deb-format-no-compress/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-no-compress/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-record-size/build-spec/fill-values create mode 100755 t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-control create mode 100755 t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-data create mode 100644 t/recipes/checks/deb-format/deb-format-record-size/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-record-size/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/control.in create mode 100644 t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/rules create mode 100644 t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/deb-format-udeb-compression/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-udeb-compression/eval/hints create mode 100644 t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members create mode 100644 t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc create mode 100644 t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/build-spec/debian/rules create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/build-spec/fill-values create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/eval/desc create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/eval/hints create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100644 t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install create mode 100755 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-brace-expansion/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/debian/compat create mode 100644 t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-empty/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-empty/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100644 t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/source/options create mode 100644 t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-missing/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-missing/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/fill-values create mode 100755 t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/pre-build create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/fill-values create mode 100755 t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/pre-build create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-compat/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-compat/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-compat/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in create mode 100755 t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-deprecated/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-deprecated/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in create mode 100755 t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime create mode 100755 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/README.source create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/patches/series create mode 100755 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs create mode 100755 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages create mode 100755 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in create mode 100755 t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values create mode 100755 t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-executable-files/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100755 t/recipes/checks/debhelper/debhelper-override-typos/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-override-typos/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-override-typos/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-override-typos/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in create mode 100755 t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/hints create mode 100755 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/postinst create mode 100755 t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst create mode 100644 t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-script-token/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-script-token/eval/hints create mode 100644 t/recipes/checks/debhelper/debhelper-unused-cdbs/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/desc create mode 100644 t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/hints create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debhelper/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debhelper/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/legacy-fields/eval/desc create mode 100644 t/recipes/checks/debhelper/legacy-fields/eval/hints create mode 100644 t/recipes/checks/debhelper/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debhelper/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debhelper/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debhelper/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debhelper/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debhelper/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debhelper/legacy-scripts/eval/post-test create mode 100755 t/recipes/checks/debhelper/oeverride-typo/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/oeverride-typo/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/oeverride-typo/eval/desc create mode 100644 t/recipes/checks/debhelper/oeverride-typo/eval/hints create mode 100755 t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc create mode 100644 t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints create mode 100644 t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.debhelper.log create mode 100644 t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.postinst.debhelper create mode 100755 t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/fill-values create mode 100644 t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/desc create mode 100644 t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values create mode 100755 t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in create mode 100644 t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-become-native/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-become-native/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/orig/ChangeLog create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-etch/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-experimental/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/debian/docs create mode 100644 t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/orig/changelog create mode 100644 t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/changelog.in create mode 100755 t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-general/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-general/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-general/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-missing/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/NEWS create mode 100755 t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/debian/NEWS create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-general/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-general/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/debian/NEWS create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/package-news create mode 100755 t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/orig/ChangeLog create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-stable/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-stable/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/hints create mode 100755 t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-symlink/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-symlink/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-syntax/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-syntax/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/fill-values create mode 100755 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/post-build.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/private.key create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/public.key create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/orig/some-changelog.html create mode 100644 t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/orig/some-changelog create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date create mode 100644 t/recipes/checks/debian/changelog/changelog-version-bzr/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-version-bzr/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-version-bzr/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-version-non-native-simple/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-version-special-chars/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/hints create mode 100644 t/recipes/checks/debian/changelog/cruft-native-dash-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/date-based-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/date-based-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/date-based-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/date-based-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad-rc/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/desc create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/hints create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad/eval/desc create mode 100644 t/recipes/checks/debian/changelog/fields-version-bad/eval/hints create mode 100644 t/recipes/checks/debian/changelog/fields-version-dfsg-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/desc create mode 100644 t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/hints create mode 100644 t/recipes/checks/debian/changelog/fields-version-dot-dfsg/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/desc create mode 100644 t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/hints create mode 100644 t/recipes/checks/debian/changelog/fields-version-dsfg/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/fields-version-dsfg/eval/desc create mode 100644 t/recipes/checks/debian/changelog/fields-version-dsfg/eval/hints create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debian/changelog/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/changelog/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/desc create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/hints create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/desc create mode 100644 t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/hints create mode 100644 t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/nmu-local-changelog/eval/desc create mode 100644 t/recipes/checks/debian/changelog/nmu-local-changelog/eval/hints create mode 100644 t/recipes/checks/debian/changelog/nmu-local-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/nmu-local-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/nmu-local-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/nmu-local-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/hints create mode 100644 t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/nmu-team-upload/eval/desc create mode 100644 t/recipes/checks/debian/changelog/nmu-team-upload/eval/hints create mode 100644 t/recipes/checks/debian/changelog/package-version-0/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/package-version-0/eval/desc create mode 100644 t/recipes/checks/debian/changelog/package-version-0/eval/hints create mode 100644 t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/fill-values create mode 100755 t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in create mode 100644 t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/desc create mode 100644 t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/hints create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/debian/changelog/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/spelling-general/eval/desc create mode 100644 t/recipes/checks/debian/changelog/spelling-general/eval/hints create mode 100644 t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/desc create mode 100644 t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control-file-golang-xs-go-import-path.install create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hint create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/control create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/desc create mode 100644 t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/hints create mode 100644 t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc create mode 100644 t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints create mode 100644 t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control-file-golang-built-using.install create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/desc create mode 100644 t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/hints create mode 100644 t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/desc create mode 100644 t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/hints create mode 100644 t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/redundant/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/redundant/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/desc create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/hints create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/desc create mode 100644 t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/fill-values create mode 100755 t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/pre-build create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/desc create mode 100644 t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/hints create mode 100644 t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/desc create mode 100644 t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/hints create mode 100644 t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/desc create mode 100644 t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/hints create mode 100644 t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values create mode 100755 t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build create mode 100644 t/recipes/checks/debian/control/link/control-file-symlink/eval/desc create mode 100644 t/recipes/checks/debian/control/link/control-file-symlink/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/source-copyright-missing-notice-file-for-apache-license-unrel.install create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/orig/NOTICE create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/desc create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/hints create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE.txt create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/subdir/NOTICE create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/unrel/NOTICE create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/desc create mode 100644 t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/control-members create mode 100644 t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/fill-values create mode 100755 t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-control create mode 100755 t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-data create mode 100644 t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-crln.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-no-errors.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-php.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-versionless.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-w3c.copyright create mode 100755 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-general/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache2.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache3.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gfdl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gpl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl2.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-perl.copyright create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/hints create mode 100644 t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-symlink/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.desktop create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.dirs create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.udev create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/fill-values create mode 100755 t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-crln.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-no-errors.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-php.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-versionless.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-w3c.copyright create mode 100755 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/empty.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/orig/some-file create mode 100644 t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/.matches create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/include-this create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/remove-file.patch create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/orig/will-be-empty/removed-by-patch create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/figtoipe/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/ipe5toxml/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/pdftoipe/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/svgtoipe/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/orig/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/README create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/space create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/orig/filea create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/bad.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/good.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2 create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/plus+file create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING.CC-BY-SA-3.0 create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/LICENSE create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/file,with,commas create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/i-have-no-copyright-information create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/01-file-with-(something-in-parenthesis).png create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/02-or-perhaps-only-one-{-which-causes-a-compile-failure.png create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/03-even-]-is-not-safe.png create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/04-Perhaps-even-|-will-cause-problems.png create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/05-Lets-not-forget-^-and-$-for-added-fun.png create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/spelling-general/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.dirs create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.metadata.xml create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.udev create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/udev-rules/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints create mode 100644 t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/debian/copyright/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/generic-empty/eval/desc create mode 100644 t/recipes/checks/debian/copyright/generic-empty/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/copyright/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/copyright/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values create mode 100755 t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc create mode 100644 t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints create mode 100644 t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/fill-values create mode 100755 t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/source-copyright-missing/eval/desc create mode 100644 t/recipes/checks/debian/copyright/source-copyright-missing/eval/hints create mode 100644 t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/fill-values create mode 100755 t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/pre-build create mode 100644 t/recipes/checks/debian/copyright/source-copyright-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/source-copyright-symlink/eval/hints create mode 100644 t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/plus+file create mode 100644 t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/source-copyright-undefined/eval/desc create mode 100644 t/recipes/checks/debian/copyright/source-copyright-undefined/eval/hints create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/debian/copyright/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/spelling-general/eval/desc create mode 100644 t/recipes/checks/debian/copyright/spelling-general/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/config create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/da.po create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-config-general/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/config create mode 100644 t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/install create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/da.po create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/config-gen.pl create mode 100755 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/gen-source.mk create mode 100755 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/script create mode 100755 t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/pre-build create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/config create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/da.po create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/preinst create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/da.po create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/config-gen.pl create mode 100755 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/gen-source.mk create mode 100755 t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/pre-build create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-missing-dep/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/config create mode 100644 t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-no-templates/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-no-templates/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/config create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-syntax-error/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en.po create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en_US.po create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/config-gen.pl create mode 100755 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/gen-source.mk create mode 100755 t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/pre-build create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-templates-general/eval/hints create mode 100644 t/recipes/checks/debian/debconf/debconf-traversal/build-spec/dpkg-overrides create mode 100644 t/recipes/checks/debian/debconf/debconf-traversal/build-spec/fill-values create mode 100755 t/recipes/checks/debian/debconf/debconf-traversal/build-spec/post-build create mode 100644 t/recipes/checks/debian/debconf/debconf-traversal/eval/desc create mode 100644 t/recipes/checks/debian/debconf/debconf-traversal/eval/hints create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/debconf/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/debconf/national-encoding/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/national-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/national-encoding/eval/desc create mode 100644 t/recipes/checks/debian/debconf/national-encoding/eval/hints create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/English.po create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates.en_US create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/eval/desc create mode 100644 t/recipes/checks/debian/debconf/po-debconf-general/eval/hints create mode 100644 t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/debian/not-forwarded.desktop create mode 100644 t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/fill-values create mode 100644 t/recipes/checks/debian/desktop-entries/desktop-file/eval/desc create mode 100644 t/recipes/checks/debian/desktop-entries/desktop-file/eval/hints create mode 100644 t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS create mode 100644 t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/fill-values create mode 100644 t/recipes/checks/debian/filenames/duplicate-news-files/eval/desc create mode 100644 t/recipes/checks/debian/filenames/duplicate-news-files/eval/hints create mode 100644 t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/fill-values create mode 100644 t/recipes/checks/debian/filenames/news-has-debian-extension/eval/desc create mode 100644 t/recipes/checks/debian/filenames/news-has-debian-extension/eval/hints create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/install create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/fill-values create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/orig/dummy create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/desc create mode 100644 t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/debian/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/debian/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values create mode 100755 t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build create mode 100644 t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/debian/source/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/overrides create mode 100755 t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/install create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/manpages create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/orig/foo.1 create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/install create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/manpages create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/overrides-shown.lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/orig/foo.1 create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/debian/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/debian/lintian-overrides create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/hints create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc create mode 100644 t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints create mode 100644 t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript create mode 100644 t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values create mode 100644 t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc create mode 100644 t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints create mode 100755 t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/bin/not-suitable-for-upstream create mode 100644 t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/not-suitable-for-upstream.1 create mode 100644 t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/fill-values create mode 100644 t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/desc create mode 100644 t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/hints create mode 100644 t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/debian/not-forwarded.1 create mode 100644 t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/fill-values create mode 100644 t/recipes/checks/debian/manual-pages/manpage-in-1/eval/desc create mode 100644 t/recipes/checks/debian/manual-pages/manpage-in-1/eval/hints create mode 100644 t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/debian/not-installed create mode 100644 t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/fill-values create mode 100644 t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/desc create mode 100644 t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/hints create mode 100644 t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch1 create mode 100644 t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch2 create mode 100644 t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/count/two-patches/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/count/two-patches/eval/desc create mode 100644 t/recipes/checks/debian/patches/count/two-patches/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/debian/patches/applied-upstream.patch create mode 100644 t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/applied-upstream/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/applied-upstream/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/debian/patches/silent.patch create mode 100644 t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/debian/patches/not-forwarded.patch create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-no/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-no/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/debian/patches/no-forwarding-needed.patch create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/debian/patches/13_document_modifiers.diff create mode 100644 t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/origin-upstream/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/origin-upstream/eval/hints create mode 100644 t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/debian/patches/no-forwarding-needed.patch create mode 100644 t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dep3/pseudo-header/eval/desc create mode 100644 t/recipes/checks/debian/patches/dep3/pseudo-header/eval/hints create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/desc create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/hints create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README.patches create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-file create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-other-file create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/README create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/diff/README create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/desc create mode 100644 t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/hints create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/patches/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/patches/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/patches/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/patches/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/patches/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/patches/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-empty-series/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-empty-series/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/diff/README create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/01_this_patch_is_ok create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/orig/a create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README.patches create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-file create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-other-file create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/README create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/diff/README create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/hints create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/orig/README create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/desc create mode 100644 t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/patches/wig-pen create mode 100755 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/substvars create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/orig/README create mode 100755 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/pre-build create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/orig/a create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/04_template_description create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README.patches create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-file create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-other-file create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/README create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/diff/README create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/some-change.patch create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/orig/README create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/orig/README create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/hints create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel2 create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/eval/desc create mode 100644 t/recipes/checks/debian/patches/quilt/spelling-general/eval/hints create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel2 create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/debian/patches/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/patches/spelling-general/eval/desc create mode 100644 t/recipes/checks/debian/patches/spelling-general/eval/hints create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en.po create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en_US.po create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/config-gen.pl create mode 100755 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/gen-source.mk create mode 100755 t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/pre-build create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/hints create mode 100755 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/config create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/zh_CN.po create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/hints create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/po-debconf/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/English.po create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates.en_US create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-general/eval/hints create mode 100755 t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/config create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/po/en.po create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/hints create mode 100755 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/config create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/desc create mode 100644 t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/hints create mode 100644 t/recipes/checks/debian/readme/bad-email-format/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/readme/bad-email-format/build-spec/fill-values create mode 100644 t/recipes/checks/debian/readme/bad-email-format/eval/desc create mode 100644 t/recipes/checks/debian/readme/bad-email-format/eval/hints create mode 100644 t/recipes/checks/debian/readme/bad-email-format/eval/post-test create mode 100644 t/recipes/checks/debian/readme/debian-readme-general/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/readme/debian-readme-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/readme/debian-readme-general/eval/desc create mode 100644 t/recipes/checks/debian/readme/debian-readme-general/eval/hints create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/debian/readme/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/debian/readme/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/readme/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/desc create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/hints create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/desc create mode 100644 t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/hints create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/eval/desc create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/eval/hints create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100755 t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/desc create mode 100644 t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/hints create mode 100755 t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debhelper-dh-compat/eval/desc create mode 100644 t/recipes/checks/debian/rules/debhelper-dh-compat/eval/hints create mode 100644 t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/eval/desc create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/eval/hints create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level create mode 100755 t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/desc create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/hints create mode 100755 t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/desc create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/hints create mode 100755 t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/desc create mode 100644 t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in create mode 100755 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values create mode 100755 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc create mode 100644 t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README create mode 100755 t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints create mode 100644 t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test create mode 100644 t/recipes/checks/debian/rules/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/rules/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/debian/rules/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/debian/rules/generic-empty/eval/desc create mode 100644 t/recipes/checks/debian/rules/generic-empty/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/rules/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/rules/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/legacy-fields/eval/desc create mode 100644 t/recipes/checks/debian/rules/legacy-fields/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/rules/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/rules/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/rules/permissions-775/build-spec/fill-values create mode 100755 t/recipes/checks/debian/rules/permissions-775/build-spec/pre-build create mode 100644 t/recipes/checks/debian/rules/permissions-775/eval/desc create mode 100644 t/recipes/checks/debian/rules/permissions-775/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-order/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-order/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-order/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-order/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-dh-unused-target/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-general/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-general/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-ignore-define/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-ignore-define/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-ignore-define/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-ignore-define/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/Makefile create mode 100755 t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/compat.in create mode 100755 t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules.mk create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-missing-targets/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-not-makefile/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-not-makefile/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-not-makefile/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-not-makefile/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-special-variables/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-special-variables/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-special-variables/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-special-variables/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-symlink/build-spec/debian/rules.real create mode 100644 t/recipes/checks/debian/rules/rules-symlink/build-spec/fill-values create mode 100755 t/recipes/checks/debian/rules/rules-symlink/build-spec/pre-build create mode 100644 t/recipes/checks/debian/rules/rules-symlink/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-symlink/eval/hints create mode 100755 t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/hints create mode 100644 t/recipes/checks/debian/rules/rules-variable-targets/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/rules/rules-variable-targets/build-spec/fill-values create mode 100644 t/recipes/checks/debian/rules/rules-variable-targets/eval/desc create mode 100644 t/recipes/checks/debian/rules/rules-variable-targets/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.install create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.install create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.install create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.install create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/basic.c create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/binaries-multiarch/eval/post-test create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic-dev.install create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.install create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.symbols create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-dev.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.h create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo-dev.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.h create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/libexecstack1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/foo.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/get.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-exit/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.install create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/Makefile create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/app create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/libhallo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/libhallo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/code.c create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/erase-pt-gnu-stack create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.shlibs create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/orig/some-lib create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/Makefile.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/hints create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/post-test create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libesym1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libsym1.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/nolibrary.install create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/code.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/someconf.conf create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/hints create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/symbols create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/triggers create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/fill-values create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/foo.c create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/desc create mode 100644 t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-classifications/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/debian/source/options create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/debian/source/formt create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/fill-values create mode 100755 t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/pre-build create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/patches/series create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/source/git-patches create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/orig/an_empty_file create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/debian/source/git-patches create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/hints create mode 100644 t/recipes/checks/debian/source-dir/source-format-1.0/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source-dir/source-format-1.0/eval/desc create mode 100644 t/recipes/checks/debian/source-dir/source-format-1.0/eval/hints create mode 100644 t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/debian/source/include-binaries create mode 100644 t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/fill-values create mode 100644 t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/desc create mode 100644 t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/hints create mode 100755 t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/fill-values create mode 100755 t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/pre-build create mode 100644 t/recipes/checks/debian/substvars/cruft-general-diff/eval/desc create mode 100644 t/recipes/checks/debian/substvars/cruft-general-diff/eval/hints create mode 100755 t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-native/build-spec/fill-values create mode 100755 t/recipes/checks/debian/substvars/cruft-general-native/build-spec/pre-build create mode 100644 t/recipes/checks/debian/substvars/cruft-general-native/eval/desc create mode 100644 t/recipes/checks/debian/substvars/cruft-general-native/eval/hints create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/README.source create mode 100755 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/fill-values create mode 100755 t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/pre-build create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/eval/desc create mode 100644 t/recipes/checks/debian/substvars/cruft-general-quilt/eval/hints create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen create mode 100755 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README create mode 100755 t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc create mode 100644 t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints create mode 100644 t/recipes/checks/debian/symbols/package-placeholder/build-spec/debian/package-placeholder.symbols create mode 100644 t/recipes/checks/debian/symbols/package-placeholder/build-spec/fill-values create mode 100644 t/recipes/checks/debian/symbols/package-placeholder/eval/desc create mode 100644 t/recipes/checks/debian/symbols/package-placeholder/eval/hints create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/install create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/fill-values create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/orig/dummy create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/desc create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/hints create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/README.source create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/changelog.in create mode 100755 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/fill-values create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/desc create mode 100644 t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/hints create mode 100755 t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values create mode 100644 t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc create mode 100644 t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/bogus-field/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/bogus-field/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/debian/upstream create mode 100644 t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/fields-present/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/fields-present/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/in-native-source/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/in-native-source/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/fill-values create mode 100755 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/pre-build create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/fill-values create mode 100755 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/pre-build create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/hints create mode 100644 t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/desc create mode 100644 t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream-signing-key.pgp create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/hints create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/fill-values create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/desc create mode 100644 t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/hints create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/a-file create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/install create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/fill-values create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-install/eval/desc create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-install/eval/hints create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/a-file create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/links create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/fill-values create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-links/eval/desc create mode 100644 t/recipes/checks/debian/variables/build-multiarch-in-links/eval/hints create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/eval/desc create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/eval/hints create mode 100644 t/recipes/checks/debian/version-substvars/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-general/eval/desc create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-general/eval/hints create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/desc create mode 100644 t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/hints create mode 100644 t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/fill-values create mode 100755 t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/pre-build create mode 100644 t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/desc create mode 100644 t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/hints create mode 100644 t/recipes/checks/debian/watch/filenamemangle/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/filenamemangle/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/filenamemangle/eval/desc create mode 100644 t/recipes/checks/debian/watch/filenamemangle/eval/hints create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/debian/watch/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/watch/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/watch/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/watch/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc create mode 100644 t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/comments-only/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/comments-only/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/comments-only/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/comments-only/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/debian/watch/standard/no-version/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/no-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/no-version/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/no-version/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/version-1/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/version-1/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/version-1/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/version-1/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/version-2/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/version-2/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/version-2/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/version-2/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/version-3/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/version-3/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/version-3/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/version-3/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/version-4/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/version-4/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/version-4/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/version-4/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/version-5/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/version-5/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/version-5/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/version-5/eval/hints create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/eval/desc create mode 100644 t/recipes/checks/debian/watch/standard/watch-file-general/eval/hints create mode 100644 t/recipes/checks/debian/watch/two-upstream-components/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/two-upstream-components/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/two-upstream-components/eval/desc create mode 100644 t/recipes/checks/debian/watch/two-upstream-components/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-bug-765995/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-bug-765995/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-general/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-general/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-native/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-native/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-native/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-native/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-prerelease/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-prerelease/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints create mode 100644 t/recipes/checks/debian/watch/watch-file-template/build-spec/debian/watch create mode 100644 t/recipes/checks/debian/watch/watch-file-template/build-spec/fill-values create mode 100644 t/recipes/checks/debian/watch/watch-file-template/eval/desc create mode 100644 t/recipes/checks/debian/watch/watch-file-template/eval/hints create mode 100644 t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in create mode 100644 t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values create mode 100644 t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc create mode 100644 t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints create mode 100644 t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debug/automatic/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debug/automatic/control-file-general/eval/desc create mode 100644 t/recipes/checks/debug/automatic/control-file-general/eval/hints create mode 100644 t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in create mode 100644 t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values create mode 100644 t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc create mode 100644 t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints create mode 100644 t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/debug/obsolete/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/debug/obsolete/control-file-general/eval/desc create mode 100644 t/recipes/checks/debug/obsolete/control-file-general/eval/hints create mode 100644 t/recipes/checks/debug/obsolete/fields-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/debug/obsolete/fields-general/build-spec/fill-values create mode 100644 t/recipes/checks/debug/obsolete/fields-general/eval/desc create mode 100644 t/recipes/checks/debug/obsolete/fields-general/eval/hints create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/debug/obsolete/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/debug/obsolete/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/etc/dbus-1/system.d/send-destination.conf create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/usr/share/dbus-1/system.d/at-console.conf create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/eval/desc create mode 100644 t/recipes/checks/desktop/dbus/dbus-policy/eval/hints create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/gvfs-daemon.service create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/org.mpris.MediaPlayer2.mpd.service create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/this-name-cannot-work.service create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/eval/desc create mode 100644 t/recipes/checks/desktop/dbus/dbus-services/eval/hints create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/control.in create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-bad.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-good-42.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-perfect-42.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-0.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-dev.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-0.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-dev.install create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/Makefile create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Bad-23.typelib create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Good-42.typelib create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/GoodExtras-42.typelib create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-0-dummy create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-dev-dummy create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Bad-23.gir create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Good-42.gir create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/GoodExtras-42.gir create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Perfect-42.gir create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/eval/desc create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/eval/hints create mode 100644 t/recipes/checks/desktop/gnome/gir/gir/eval/post-test create mode 100644 t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/desc create mode 100644 t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/hints create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/desktop/gnome/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/desktop/icons/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/desktop/icons/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/desktop/icons/files-general/eval/desc create mode 100644 t/recipes/checks/desktop/icons/files-general/eval/hints create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/control.in create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/files-fonts.install create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.install create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.links create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/4shadow.ttf create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.otf create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.ttf create mode 100644 t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/foo.pcf create mode 100644 t/recipes/checks/desktop/x11/files-fonts/eval/desc create mode 100644 t/recipes/checks/desktop/x11/files-fonts/eval/hints create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/desktop/x11/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-install.conf create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/desktop/x11/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/desktop/x11/files-general/eval/desc create mode 100644 t/recipes/checks/desktop/x11/files-general/eval/hints create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/desc create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/hints create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/install create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/postinst create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/desc create mode 100644 t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/hints create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/desktop/x11/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc create mode 100644 t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints create mode 100644 t/recipes/checks/dh-make/cruft-readme-source/build-spec/debian/README.source create mode 100644 t/recipes/checks/dh-make/cruft-readme-source/build-spec/fill-values create mode 100644 t/recipes/checks/dh-make/cruft-readme-source/eval/desc create mode 100644 t/recipes/checks/dh-make/cruft-readme-source/eval/hints create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/documentation/devhelp/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/orig/devhelp/index.devhelp create mode 100644 t/recipes/checks/documentation/devhelp/standard/version-1/eval/desc create mode 100644 t/recipes/checks/documentation/devhelp/standard/version-1/eval/hints create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/Doxyfile create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.css create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.png create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/files.html create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/index.html create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/doxygen.sty create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/files.tex create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/refman.tex create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/hello.c create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/desc create mode 100644 t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/hints create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/Doxyfile create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.css create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.png create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/dynsections.js create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/files.html create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/globals.html create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/globals_func.html create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.html create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.map.gz create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.md5 create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.png create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/index.html create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/hello.c create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/eval/desc create mode 100644 t/recipes/checks/documentation/doxygen/files-doxygen-documentation/eval/hints create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/documentation/examples/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/binary.docs create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/binary.init create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/binary.install create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/binary.manpages create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/clean create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/game.install create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/game.manpages create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/orig/README create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/orig/read-only create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/orig/sample.ali create mode 100755 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/orig/script create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/build-spec/orig/some-file create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/eval/desc create mode 100644 t/recipes/checks/documentation/files-bad-perm-owner/eval/hints create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/Doxyfile create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.css create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/doxygen.png create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/dynsections.js create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/files.html create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/globals.html create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/globals_func.html create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.html create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.map.gz create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.md5 create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/graph_legend.png create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/index.html create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/hello.c create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/eval/desc create mode 100644 t/recipes/checks/documentation/files-doxygen-documentation/eval/hints create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/documentation/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/documentation/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/documentation/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/documentation/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/documentation/files-general/eval/desc create mode 100644 t/recipes/checks/documentation/files-general/eval/hints create mode 100644 t/recipes/checks/documentation/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/documentation/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/debian/compat.in create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/debian/python-kinterbasdb.install create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/orig/lib.c create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/orig/objects.inv create mode 100644 t/recipes/checks/documentation/files-python-general/build-spec/orig/python.egg create mode 100644 t/recipes/checks/documentation/files-python-general/eval/desc create mode 100644 t/recipes/checks/documentation/files-python-general/eval/hints create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/debian/files-uses-dpkg-database-directly.docs create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/debian/files-uses-dpkg-database-directly.install create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/README create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/misc.txt create mode 100755 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/test-1 create mode 100755 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/test-2 create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/test.c create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/eval/desc create mode 100644 t/recipes/checks/documentation/files-uses-dpkg-database-directly/eval/hints create mode 100644 t/recipes/checks/documentation/files-zero-byte-doc/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/files-zero-byte-doc/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/files-zero-byte-doc/eval/desc create mode 100644 t/recipes/checks/documentation/files-zero-byte-doc/eval/hints create mode 100644 t/recipes/checks/documentation/files-zero-byte-doc/eval/post-test create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/documentation/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/documentation/legacy-binary/eval/desc create mode 100644 t/recipes/checks/documentation/legacy-binary/eval/hints create mode 100644 t/recipes/checks/documentation/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/documentation/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/documentation/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/documentation/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/documentation/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/documentation/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/documentation/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/documentation/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/documentation/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/documentation/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/documentation/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/documentation/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/documentation/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/documentation/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/documentation/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/documentation/legacy-scripts/eval/post-test 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 create mode 100755 t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/debian/rules create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/bar.info create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/foo.info create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/w-image.info create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/eval/desc create mode 100644 t/recipes/checks/documentation/texinfo/infofiles-general/eval/hints create mode 100644 t/recipes/checks/documentation/udeb-with-doc/build-spec/debian/control.in create mode 100644 t/recipes/checks/documentation/udeb-with-doc/build-spec/debian/install create mode 100644 t/recipes/checks/documentation/udeb-with-doc/build-spec/fill-values create mode 100644 t/recipes/checks/documentation/udeb-with-doc/build-spec/orig/some-doc create mode 100644 t/recipes/checks/documentation/udeb-with-doc/eval/desc create mode 100644 t/recipes/checks/documentation/udeb-with-doc/eval/hints create mode 100644 t/recipes/checks/documentation/unpack-numerical-owner/build-spec/fill-values create mode 100755 t/recipes/checks/documentation/unpack-numerical-owner/build-spec/tar-control create mode 100755 t/recipes/checks/documentation/unpack-numerical-owner/build-spec/tar-data create mode 100644 t/recipes/checks/documentation/unpack-numerical-owner/eval/desc create mode 100644 t/recipes/checks/documentation/unpack-numerical-owner/eval/hints create mode 100644 t/recipes/checks/emacs/elpa/elpa/build-spec/debian/control.in create mode 100644 t/recipes/checks/emacs/elpa/elpa/build-spec/debian/elpa-foo.elpa create mode 100755 t/recipes/checks/emacs/elpa/elpa/build-spec/debian/rules create mode 100644 t/recipes/checks/emacs/elpa/elpa/build-spec/fill-values create mode 100644 t/recipes/checks/emacs/elpa/elpa/build-spec/orig/foo.el create mode 100644 t/recipes/checks/emacs/elpa/elpa/eval/desc create mode 100644 t/recipes/checks/emacs/elpa/elpa/eval/hints create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/debian/emacsen-compat create mode 100755 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/debian/emacsen-install create mode 100755 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/debian/emacsen-remove create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/debian/emacsen-startup create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/debian/install create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/fill-values create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/build-spec/orig/foo.el create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/eval/desc create mode 100644 t/recipes/checks/emacs/elpa/emacsen-common/eval/hints create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/binary.docs create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/binary.init create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/binary.install create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/binary.manpages create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/clean create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/control.in create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/game.install create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/game.manpages create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/debian/rules create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/fill-values create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/orig/README create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/orig/read-only create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/orig/sample.ali create mode 100755 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/orig/script create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/build-spec/orig/some-file create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/eval/desc create mode 100644 t/recipes/checks/emacs/files-bad-perm-owner/eval/hints create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/orig/examples/testsuite create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/desc create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/hints create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/debian/examples create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/orig/examples/testsuite create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/desc create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/hints create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/fill-values create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/orig/examples/testsuite create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/desc create mode 100644 t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/hints create mode 100644 t/recipes/checks/executable/files-zero-byte-executable-in-path/build-spec/debian/rules create mode 100644 t/recipes/checks/executable/files-zero-byte-executable-in-path/build-spec/fill-values create mode 100644 t/recipes/checks/executable/files-zero-byte-executable-in-path/eval/desc create mode 100644 t/recipes/checks/executable/files-zero-byte-executable-in-path/eval/hints create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/executable/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/executable/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/executable/legacy-binary/eval/desc create mode 100644 t/recipes/checks/executable/legacy-binary/eval/hints create mode 100644 t/recipes/checks/executable/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/executable/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/executable/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/executable/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/executable/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/executable/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/executable/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/phpfoo create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/orig/py3.Xfoo create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/orig/py3foo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/executable/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/executable/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/executable/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/executable/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/executable/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/debian/clean create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/debian/install create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/debian/manpages create mode 100755 t/recipes/checks/executable/scripts-exec/build-spec/debian/rules create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/fill-values create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/orig/01-normal-script create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/orig/02-no-exec-script create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/orig/03-hardlink-script create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/orig/04-not-a-script create mode 100644 t/recipes/checks/executable/scripts-exec/build-spec/orig/script.pod create mode 100644 t/recipes/checks/executable/scripts-exec/eval/desc create mode 100644 t/recipes/checks/executable/scripts-exec/eval/hints create mode 100644 t/recipes/checks/fields/architecture/fields-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/fields-architecture/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/architecture/fields-architecture/eval/desc create mode 100644 t/recipes/checks/fields/architecture/fields-architecture/eval/hints create mode 100644 t/recipes/checks/fields/architecture/fields-aspell/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/architecture/fields-aspell/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/fields-aspell/eval/desc create mode 100644 t/recipes/checks/fields/architecture/fields-aspell/eval/hints create mode 100644 t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/desc create mode 100644 t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/hints create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/architecture/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/desc create mode 100644 t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/hints create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/orig/README create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/desc create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/hints create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/dpkg-overrides create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/fill-values create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/orig/README create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/desc create mode 100644 t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/hints create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/desc create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/hints create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/fill-values create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/desc create mode 100644 t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/hints create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/install create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/build-spec/fill-values create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/eval/desc create mode 100644 t/recipes/checks/fields/bugs/fields-redundant/eval/hints create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/bugs/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/built-using/fields-built-using/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/built-using/fields-built-using/build-spec/fill-values create mode 100644 t/recipes/checks/fields/built-using/fields-built-using/eval/desc create mode 100644 t/recipes/checks/fields/built-using/fields-built-using/eval/hints create mode 100644 t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/fill-values create mode 100755 t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/post-build create mode 100644 t/recipes/checks/fields/checksums/no-sha256-checksum/eval/desc create mode 100644 t/recipes/checks/fields/checksums/no-sha256-checksum/eval/hints create mode 100644 t/recipes/checks/fields/deb822/native-source/build-spec/fill-values create mode 100644 t/recipes/checks/fields/deb822/native-source/eval/desc create mode 100644 t/recipes/checks/fields/deb822/native-source/eval/hints create mode 100644 t/recipes/checks/fields/deb822/native-source/eval/post-test create mode 100644 t/recipes/checks/fields/description/description-empty-paragraph/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-empty-paragraph/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-empty-paragraph/eval/desc create mode 100644 t/recipes/checks/fields/description/description-empty-paragraph/eval/hints create mode 100644 t/recipes/checks/fields/description/description-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-general/eval/desc create mode 100644 t/recipes/checks/fields/description/description-general/eval/hints create mode 100644 t/recipes/checks/fields/description/description-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-homepage/eval/desc create mode 100644 t/recipes/checks/fields/description/description-homepage/eval/hints create mode 100644 t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-mentions-planned-features/eval/desc create mode 100644 t/recipes/checks/fields/description/description-mentions-planned-features/eval/hints create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-perl.install create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-proper-perl.install create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description.pm create mode 100644 t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description/Proper.pm create mode 100644 t/recipes/checks/fields/description/description-perl/eval/desc create mode 100644 t/recipes/checks/fields/description/description-perl/eval/hints create mode 100644 t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/desc create mode 100644 t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/hints create mode 100644 t/recipes/checks/fields/description/description-wording/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/description-wording/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/description-wording/eval/desc create mode 100644 t/recipes/checks/fields/description/description-wording/eval/hints create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/fields/description/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/description/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/description/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/description/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/description/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/fields/description/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/fields/description/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/fields/description/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/fields/description/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/fields/description/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/fields/description/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/fields/description/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/description/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/description/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/description/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/description/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/description/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/description/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/description/spelling-multiword/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/spelling-multiword/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/spelling-multiword/eval/desc create mode 100644 t/recipes/checks/fields/description/spelling-multiword/eval/hints create mode 100644 t/recipes/checks/fields/description/spelling-package-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/description/spelling-package-name/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/spelling-package-name/eval/desc create mode 100644 t/recipes/checks/fields/description/spelling-package-name/eval/hints create mode 100644 t/recipes/checks/fields/description/squeezed-comma/build-spec/fill-values create mode 100644 t/recipes/checks/fields/description/squeezed-comma/eval/desc create mode 100644 t/recipes/checks/fields/description/squeezed-comma/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists create mode 100644 t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changelog-file-stable/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changelog-file-stable/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changes-unreleased/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changes-unreleased/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/distribution/changes-unreleased/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changes-unreleased/eval/hints create mode 100644 t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/desc create mode 100644 t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/hints create mode 100644 t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/desc create mode 100644 t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/hints create mode 100644 t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/desc create mode 100644 t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/hints create mode 100644 t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/fill-values create mode 100644 t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/desc create mode 100644 t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/hints create mode 100644 t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/fill-values create mode 100644 t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/desc create mode 100644 t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/hints create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/fields/empty/empty-section/build-spec/fill-values create mode 100644 t/recipes/checks/fields/empty/empty-section/eval/desc create mode 100644 t/recipes/checks/fields/empty/empty-section/eval/hints create mode 100644 t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/fill-values create mode 100644 t/recipes/checks/fields/essential/fields-essential-yes-source/eval/desc create mode 100644 t/recipes/checks/fields/essential/fields-essential-yes-source/eval/hints create mode 100644 t/recipes/checks/fields/essential/fields-essential/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/essential/fields-essential/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/essential/fields-essential/build-spec/fill-values create mode 100644 t/recipes/checks/fields/essential/fields-essential/eval/desc create mode 100644 t/recipes/checks/fields/essential/fields-essential/eval/hints create mode 100644 t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/essential/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/essential/legacy-fields/eval/desc create mode 100644 t/recipes/checks/fields/essential/legacy-fields/eval/hints create mode 100644 t/recipes/checks/fields/essential/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/fields/format/changes-missing-format/build-spec/fill-values create mode 100644 t/recipes/checks/fields/format/changes-missing-format/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/format/changes-missing-format/eval/desc create mode 100644 t/recipes/checks/fields/format/changes-missing-format/eval/hints create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/patches/wig-pen create mode 100755 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/substvars create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/fill-values create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/orig/README create mode 100755 t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/pre-build create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/eval/desc create mode 100644 t/recipes/checks/fields/format/cruft-general-wig-pen/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-cran-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-cran-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-general/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-general/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-github-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-github-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-no-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-no-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/desc create mode 100644 t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/hints create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/desc create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/hints create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/desc create mode 100644 t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/hints create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/homepage/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/homepage/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/fill-values create mode 100644 t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/desc create mode 100644 t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/hints create mode 100644 t/recipes/checks/fields/length/depends-field-too-long/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/length/depends-field-too-long/build-spec/fill-values create mode 100644 t/recipes/checks/fields/length/depends-field-too-long/eval/desc create mode 100644 t/recipes/checks/fields/length/depends-field-too-long/eval/hints create mode 100644 t/recipes/checks/fields/length/provides-field-too-long/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/length/provides-field-too-long/build-spec/fill-values create mode 100644 t/recipes/checks/fields/length/provides-field-too-long/eval/desc create mode 100644 t/recipes/checks/fields/length/provides-field-too-long/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/alioth-list/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/alioth-list/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/alioth-list/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changed-by-malformed/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changed-by-malformed/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changed-by-no-name/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changed-by-no-name/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root-email/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root-email/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changed-by-root/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists create mode 100644 t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/referenced-files/__some-file__ create mode 100644 t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ create mode 100644 t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-fields/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-fields/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-format/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-missing-format/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/mail-address/changes-unreleased/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-unreleased/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/fill-values create mode 100755 t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/post-build.in create mode 100644 t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-maintainer/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-no-human-maintainer/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/fields-uploaders/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/fields-uploaders/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/fields/mail-address/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/generic-empty/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/java-team-fp/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/java-team-fp/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/java-team-fp/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values create mode 100755 t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in create mode 100644 t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/missing-closing-bracket/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/qa-group-fp/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/qa-group-fp/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/qa-group-fp/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/right-to-left-override/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/right-to-left-override/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/right-to-left-override/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/two-maintainers/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/two-maintainers/eval/hints create mode 100644 t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/fill-values create mode 100644 t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/desc create mode 100644 t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/alioth-list/build-spec/fill-values create mode 100644 t/recipes/checks/fields/maintainer/alioth-list/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/alioth-list/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/fields-no-human-maintainer/build-spec/fill-values create mode 100644 t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/fill-values create mode 100644 t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/java-team-fp/build-spec/fill-values create mode 100644 t/recipes/checks/fields/maintainer/java-team-fp/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/java-team-fp/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/fill-values create mode 100755 t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in create mode 100644 t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/build-spec/fill-values create mode 100644 t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/hints create mode 100644 t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/fill-values create mode 100755 t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/post-build.in create mode 100644 t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/desc create mode 100644 t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/hints create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/fonts-fields-font-not-multiarch-foreign.install create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/fill-values create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font-multiarch-test.ttf create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font.ttf create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/desc create mode 100644 t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/hints create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/fill-values create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/desc create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/hints create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/fill-values create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/desc create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/hints create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/desc create mode 100644 t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/hints create mode 100644 t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/fill-values create mode 100755 t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/post-build create mode 100644 t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/desc create mode 100644 t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/hints create mode 100644 t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/install create mode 100644 t/recipes/checks/fields/origin/fields-redundant/build-spec/fill-values create mode 100644 t/recipes/checks/fields/origin/fields-redundant/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/origin/fields-redundant/eval/desc create mode 100644 t/recipes/checks/fields/origin/fields-redundant/eval/hints create mode 100644 t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/origin/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/origin/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/origin/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/origin/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/install create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-general/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-general/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-general/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/install create mode 100644 t/recipes/checks/fields/package-relations/fields-java/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-java/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/package-relations/fields-java/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-java/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/build-spec/orig/some-file.txt create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-mua/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/hints create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/README.source create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README.patches create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-file create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-other-file create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/README create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/diff/README create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/desc create mode 100644 t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/hints create mode 100644 t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package-type/explicit-type-deb/eval/desc create mode 100644 t/recipes/checks/fields/package-type/explicit-type-deb/eval/hints create mode 100644 t/recipes/checks/fields/package/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/package/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/package/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/package/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/package/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/fill-values create mode 100644 t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/desc create mode 100644 t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/hints create mode 100644 t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values create mode 100644 t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc create mode 100644 t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/priority/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/priority/priority-extra/build-spec/fill-values create mode 100644 t/recipes/checks/fields/priority/priority-extra/eval/desc create mode 100644 t/recipes/checks/fields/priority/priority-extra/eval/hints create mode 100644 t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/recommended/changes-missing-fields/eval/desc create mode 100644 t/recipes/checks/fields/recommended/changes-missing-fields/eval/hints create mode 100644 t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/recommended/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/recommended/control-file-general/eval/desc create mode 100644 t/recipes/checks/fields/recommended/control-file-general/eval/hints create mode 100644 t/recipes/checks/fields/recommended/fields-general-missing/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/recommended/fields-general-missing/build-spec/fill-values create mode 100644 t/recipes/checks/fields/recommended/fields-general-missing/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/recommended/fields-general-missing/eval/desc create mode 100644 t/recipes/checks/fields/recommended/fields-general-missing/eval/hints create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/fields/recommended/generic-empty/eval/desc create mode 100644 t/recipes/checks/fields/recommended/generic-empty/eval/hints create mode 100644 t/recipes/checks/fields/required/changes-missing-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/required/changes-missing-fields/build-spec/test.changes.in create mode 100644 t/recipes/checks/fields/required/changes-missing-fields/eval/desc create mode 100644 t/recipes/checks/fields/required/changes-missing-fields/eval/hints create mode 100644 t/recipes/checks/fields/required/fields-general-missing/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/required/fields-general-missing/build-spec/fill-values create mode 100644 t/recipes/checks/fields/required/fields-general-missing/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/required/fields-general-missing/eval/desc create mode 100644 t/recipes/checks/fields/required/fields-general-missing/eval/hints create mode 100644 t/recipes/checks/fields/required/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/required/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/required/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/required/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/fields/required/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/fields/required/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/fields/required/generic-empty/eval/desc create mode 100644 t/recipes/checks/fields/required/generic-empty/eval/hints create mode 100644 t/recipes/checks/fields/section/fields-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-general/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-general/eval/hints create mode 100644 t/recipes/checks/fields/section/fields-section-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-section-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-section-general/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-section-general/eval/hints create mode 100644 t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install create mode 100644 t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/section/fields-transitional/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-transitional/eval/hints create mode 100644 t/recipes/checks/fields/section/fields-udeb/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-udeb/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-udeb/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-udeb/eval/hints create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/eval/desc create mode 100644 t/recipes/checks/fields/section/fields-wrong-section/eval/hints create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/checks/fields/section/generic-dh-make-2008/eval/post-test create mode 100644 t/recipes/checks/fields/section/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/section/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/fields/section/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/section/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/legacy-fields/eval/desc create mode 100644 t/recipes/checks/fields/section/legacy-fields/eval/hints create mode 100644 t/recipes/checks/fields/section/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/fields/section/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/fields/section/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/source/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/source/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/source/fields-malformed-source/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/source/fields-malformed-source/build-spec/fill-values create mode 100644 t/recipes/checks/fields/source/fields-malformed-source/eval/desc create mode 100644 t/recipes/checks/fields/source/fields-malformed-source/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/fields/standards-version/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/control create mode 100755 t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/tmp/DEBIAN/control create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-relations/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/standards-version-classifications/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-classifications/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-classifications/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-classifications/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-invalid/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-invalid/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-newer/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-newer/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-newer/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date create mode 100644 t/recipes/checks/fields/standards-version/standards-version-old/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/post-test create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/fill-values create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/desc create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/hints create mode 100644 t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/post-test create mode 100644 t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/all-caps/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/all-caps/eval/desc create mode 100644 t/recipes/checks/fields/style/all-caps/eval/hints create mode 100644 t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/go-import-path/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/go-import-path/eval/desc create mode 100644 t/recipes/checks/fields/style/go-import-path/eval/hints create mode 100644 t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/lower-case-component/eval/desc create mode 100644 t/recipes/checks/fields/style/lower-case-component/eval/hints create mode 100644 t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/shy-prefix/eval/desc create mode 100644 t/recipes/checks/fields/style/shy-prefix/eval/hints create mode 100644 t/recipes/checks/fields/terminal-control/colorful/build-spec/fill-values create mode 100644 t/recipes/checks/fields/terminal-control/colorful/eval/desc create mode 100644 t/recipes/checks/fields/terminal-control/colorful/eval/hints create mode 100644 t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values create mode 100644 t/recipes/checks/fields/trimmed/native-source/eval/desc create mode 100644 t/recipes/checks/fields/trimmed/native-source/eval/hints create mode 100644 t/recipes/checks/fields/trimmed/native-source/eval/post-test create mode 100644 t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values create mode 100644 t/recipes/checks/fields/trimmed/native-upload/eval/desc create mode 100644 t/recipes/checks/fields/trimmed/native-upload/eval/hints create mode 100644 t/recipes/checks/fields/trimmed/native-upload/eval/post-test create mode 100644 t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/fill-values create mode 100644 t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/desc create mode 100644 t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/hints create mode 100644 t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/unknown/fields-essential/build-spec/fill-values create mode 100644 t/recipes/checks/fields/unknown/fields-essential/eval/desc create mode 100644 t/recipes/checks/fields/unknown/fields-essential/eval/hints create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/unknown/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/unknown/fields-unknown-fields/eval/desc create mode 100644 t/recipes/checks/fields/unknown/fields-unknown-fields/eval/hints create mode 100644 t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/fill-values create mode 100644 t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/desc create mode 100644 t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/hints create mode 100644 t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/desc create mode 100644 t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/hints create mode 100644 t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/fields/urgency/generic-empty/eval/desc create mode 100644 t/recipes/checks/fields/urgency/generic-empty/eval/hints create mode 100644 t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/control-has-empty-field/eval/desc create mode 100644 t/recipes/checks/fields/vcs/control-has-empty-field/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-fields/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-fields/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/hints create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/desc create mode 100644 t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/hints create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/eval/desc create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/eval/hints create mode 100644 t/recipes/checks/fields/vcs/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/nmu-qa-upload/eval/desc create mode 100644 t/recipes/checks/fields/vcs/nmu-qa-upload/eval/hints create mode 100644 t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/desc create mode 100644 t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/hints create mode 100644 t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/team-maintained-alioth/eval/desc create mode 100644 t/recipes/checks/fields/vcs/team-maintained-alioth/eval/hints create mode 100644 t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/fill-values create mode 100644 t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/desc create mode 100644 t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/hints create mode 100644 t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/fields-binary-nmu-version/eval/desc create mode 100644 t/recipes/checks/fields/version/fields-binary-nmu-version/eval/hints create mode 100644 t/recipes/checks/fields/version/fields-general-bad/build-spec/DEBIAN/control.in create mode 100644 t/recipes/checks/fields/version/fields-general-bad/build-spec/doc/changelog.in create mode 100644 t/recipes/checks/fields/version/fields-general-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/fields-general-bad/build-spec/root/usr/lib/lintian/some-file create mode 100644 t/recipes/checks/fields/version/fields-general-bad/eval/desc create mode 100644 t/recipes/checks/fields/version/fields-general-bad/eval/hints create mode 100644 t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/version/fields-version-bad/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/fields-version-bad/eval/desc create mode 100644 t/recipes/checks/fields/version/fields-version-bad/eval/hints create mode 100644 t/recipes/checks/fields/version/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/version/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/fields/version/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/version/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/legacy-fields/eval/desc create mode 100644 t/recipes/checks/fields/version/legacy-fields/eval/hints create mode 100644 t/recipes/checks/fields/version/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/fields/version/repack/count/dfsg1/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/count/dfsg1/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/count/dfsg1/eval/hints create mode 100644 t/recipes/checks/fields/version/repack/count/extra-dot/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/count/extra-dot/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/count/extra-dot/eval/hints create mode 100644 t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/hints create mode 100644 t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/hints create mode 100644 t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/hints create mode 100644 t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/build-spec/fill-values create mode 100644 t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/desc create mode 100644 t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/hints create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/debian/compat.in create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/orig/basic.c create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/eval/desc create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/eval/hints create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/eval/post-test create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/debian/compat.in create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/debian/libbasic2.symbols create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/debian/rules create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/build-spec/orig/basic.c create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/eval/desc create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/eval/hints create mode 100644 t/recipes/checks/files/architecture/binaries-multiarch/eval/post-test create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c create mode 100755 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-build create mode 100755 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/desc create mode 100644 t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/eval/hints create mode 100644 t/recipes/checks/files/architecture/empty-files-arch-any/build-spec/debian/install create mode 100644 t/recipes/checks/files/architecture/empty-files-arch-any/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/empty-files-arch-any/build-spec/orig/__init__.py create mode 100644 t/recipes/checks/files/architecture/empty-files-arch-any/eval/desc create mode 100644 t/recipes/checks/files/architecture/empty-files-arch-any/eval/hints create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/build-spec/debian/install create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/build-spec/orig/some-file create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/eval/desc create mode 100644 t/recipes/checks/files/architecture/files-arch-indep-not-marked-all/eval/hints create mode 100644 t/recipes/checks/files/architecture/very-short-files-arch-any/build-spec/debian/install create mode 100644 t/recipes/checks/files/architecture/very-short-files-arch-any/build-spec/fill-values create mode 100644 t/recipes/checks/files/architecture/very-short-files-arch-any/build-spec/orig/dependency_links.txt create mode 100644 t/recipes/checks/files/architecture/very-short-files-arch-any/eval/desc create mode 100644 t/recipes/checks/files/architecture/very-short-files-arch-any/eval/hints create mode 100644 t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/fill-values create mode 100755 t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/pre-upstream.in create mode 100644 t/recipes/checks/files/artifact/cruft-empty-diff/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-empty-diff/eval/hints create mode 100755 t/recipes/checks/files/artifact/cruft-general-diff/build-spec/debian/rules create mode 100644 t/recipes/checks/files/artifact/cruft-general-diff/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-diff/build-spec/debian/substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-diff/build-spec/fill-values create mode 100755 t/recipes/checks/files/artifact/cruft-general-diff/build-spec/pre-build create mode 100644 t/recipes/checks/files/artifact/cruft-general-diff/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-general-diff/eval/hints create mode 100755 t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/rules create mode 100644 t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-native/build-spec/fill-values create mode 100755 t/recipes/checks/files/artifact/cruft-general-native/build-spec/pre-build create mode 100644 t/recipes/checks/files/artifact/cruft-general-native/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-general-native/eval/hints create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/README.source create mode 100755 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/rules create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/somepackage.substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/fill-values create mode 100755 t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/pre-build create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-general-quilt/eval/hints create mode 100644 t/recipes/checks/files/artifact/cruft-general-test-suite/build-spec/fill-values create mode 100644 t/recipes/checks/files/artifact/cruft-general-test-suite/build-spec/orig/hello.c create mode 100755 t/recipes/checks/files/artifact/cruft-general-test-suite/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/artifact/cruft-general-test-suite/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-general-test-suite/eval/hints create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/debian/patches/wig-pen create mode 100755 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/debian/rules create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/debian/substvars create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/fill-values create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/orig/README create mode 100755 t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/pre-build create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/eval/desc create mode 100644 t/recipes/checks/files/artifact/cruft-general-wig-pen/eval/hints create mode 100644 t/recipes/checks/files/banned/fake-banned-file/build-spec/debian/install create mode 100644 t/recipes/checks/files/banned/fake-banned-file/build-spec/fill-values create mode 100644 t/recipes/checks/files/banned/fake-banned-file/build-spec/orig/data-forbidden-lintian-files create mode 100644 t/recipes/checks/files/banned/fake-banned-file/build-spec/orig/data-non-free-lintian-files create mode 100644 t/recipes/checks/files/banned/fake-banned-file/eval/desc create mode 100644 t/recipes/checks/files/banned/fake-banned-file/eval/hints create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/debian/install create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/fill-values create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna-2.jpeg create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.bmp create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.eps create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.jpeg create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.mat create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.pdf create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.png create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/build-spec/orig/data-fake-lenna.ps create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/eval/desc create mode 100644 t/recipes/checks/files/banned/lenna/cruft-non-free-img/eval/hints create mode 100644 t/recipes/checks/files/bugs/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/files/bugs/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/files/bugs/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/files/bugs/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/bugs/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/bugs/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/bugs/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/build-path/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/compressed/bz2/not-a-bz2/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/bz2/not-a-bz2/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/bz2/not-a-bz2/build-spec/orig/not-a.bz2 create mode 100644 t/recipes/checks/files/compressed/bz2/not-a-bz2/eval/desc create mode 100644 t/recipes/checks/files/compressed/bz2/not-a-bz2/eval/hints create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/compressed/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/compressed/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/compressed/files-general/eval/desc create mode 100644 t/recipes/checks/files/compressed/files-general/eval/hints create mode 100644 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/install create mode 100755 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/rules create mode 100644 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/eval/desc create mode 100644 t/recipes/checks/files/compressed/gz/files-gzip-ma-same/eval/hints create mode 100644 t/recipes/checks/files/compressed/gz/not-a-gz/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/gz/not-a-gz/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/gz/not-a-gz/build-spec/orig/not-a.gz create mode 100644 t/recipes/checks/files/compressed/gz/not-a-gz/eval/desc create mode 100644 t/recipes/checks/files/compressed/gz/not-a-gz/eval/hints create mode 100644 t/recipes/checks/files/compressed/gz/timestamp-in-gzip/build-spec/debian/install create mode 100755 t/recipes/checks/files/compressed/gz/timestamp-in-gzip/build-spec/debian/rules create mode 100644 t/recipes/checks/files/compressed/gz/timestamp-in-gzip/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/gz/timestamp-in-gzip/eval/desc create mode 100644 t/recipes/checks/files/compressed/gz/timestamp-in-gzip/eval/hints create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/compressed/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/compressed/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/compressed/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/compressed/lz/not-an-lz/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/lz/not-an-lz/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/lz/not-an-lz/build-spec/orig/not-an.lz create mode 100644 t/recipes/checks/files/compressed/lz/not-an-lz/eval/desc create mode 100644 t/recipes/checks/files/compressed/lz/not-an-lz/eval/hints create mode 100644 t/recipes/checks/files/compressed/lzma/not-an-lzma/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/lzma/not-an-lzma/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/lzma/not-an-lzma/build-spec/orig/not-an.lzma create mode 100644 t/recipes/checks/files/compressed/lzma/not-an-lzma/eval/desc create mode 100644 t/recipes/checks/files/compressed/lzma/not-an-lzma/eval/hints create mode 100644 t/recipes/checks/files/compressed/lzo/not-an-lzo/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/lzo/not-an-lzo/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/lzo/not-an-lzo/build-spec/orig/not-an.lzo create mode 100644 t/recipes/checks/files/compressed/lzo/not-an-lzo/eval/desc create mode 100644 t/recipes/checks/files/compressed/lzo/not-an-lzo/eval/hints create mode 100644 t/recipes/checks/files/compressed/xz/not-an-xz/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/xz/not-an-xz/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/xz/not-an-xz/build-spec/orig/not-an.xz create mode 100644 t/recipes/checks/files/compressed/xz/not-an-xz/eval/desc create mode 100644 t/recipes/checks/files/compressed/xz/not-an-xz/eval/hints create mode 100644 t/recipes/checks/files/compressed/zip/not-a-zip/build-spec/debian/install create mode 100644 t/recipes/checks/files/compressed/zip/not-a-zip/build-spec/fill-values create mode 100644 t/recipes/checks/files/compressed/zip/not-a-zip/build-spec/orig/not-a.zip create mode 100644 t/recipes/checks/files/compressed/zip/not-a-zip/eval/desc create mode 100644 t/recipes/checks/files/compressed/zip/not-a-zip/eval/hints create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/debian/config-all.install create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/debian/config-ma-foreign.install create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/debian/config-ma-no.install create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/fill-values create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/ARCH_-arch-all-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/ARCH_-arch-cross-all-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/ARCH_-arch-cross-foreign-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/ARCH_-arch-foreign-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-all-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-cross-all-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-cross-foreign-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-cross-no-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-foreign-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/build-spec/orig/generated/arch-no-config.in create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/eval/desc create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/eval/hints create mode 100644 t/recipes/checks/files/config-scripts/files-old-config-script/eval/post-test create mode 100644 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/build-spec/debian/install create mode 100644 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/build-spec/fill-values create mode 100755 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/build-spec/orig/calls-sbin create mode 100755 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/build-spec/orig/our-script create mode 100644 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/eval/desc create mode 100644 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/eval/hints create mode 100644 t/recipes/checks/files/contents/bin-sbin-confusion-in-script/eval/post-test create mode 100644 t/recipes/checks/files/contents/contains-build-path/build-spec/debian/docs create mode 100755 t/recipes/checks/files/contents/contains-build-path/build-spec/debian/rules create mode 100644 t/recipes/checks/files/contents/contains-build-path/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/contains-build-path/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/contents/contains-build-path/eval/desc create mode 100644 t/recipes/checks/files/contents/contains-build-path/eval/hints create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.install create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.postinst create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.install create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.postinst create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.install create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.postinst create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.docs create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.install create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.postinst create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/fill-values create mode 100755 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/orig/test-script create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/eval/desc create mode 100644 t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/eval/hints create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/debian/files-uses-dpkg-database-directly.docs create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/debian/files-uses-dpkg-database-directly.install create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/README create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/misc.txt create mode 100755 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/test-1 create mode 100755 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/test-2 create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/test.c create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/eval/desc create mode 100644 t/recipes/checks/files/contents/files-uses-dpkg-database-directly/eval/hints create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/files/contents/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/files/contents/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/files/contents/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/files/contents/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/files/contents/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/files/contents/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-fp-sliding-win/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-fp-sliding-win/build-spec/orig/src/normal.texi create mode 100755 t/recipes/checks/files/contents/line-length/cruft-gfdl-fp-sliding-win/build-spec/pre-build create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-fp-sliding-win/eval/desc create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-fp-sliding-win/eval/hints create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/empty.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/frontback.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/eval/desc create mode 100644 t/recipes/checks/files/contents/line-length/cruft-gfdl-invariants/eval/hints create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/debian/install create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/debian/missing-sources/json.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/deployJava/README create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/deployJava/deployJava.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js create mode 100755 t/recipes/checks/files/contents/line-length/cruft-minified-js/build-spec/pre-build create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/eval/desc create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/eval/hints create mode 100644 t/recipes/checks/files/contents/line-length/cruft-minified-js/eval/post-test create mode 100644 t/recipes/checks/files/contents/line-length/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js create mode 100644 t/recipes/checks/files/contents/line-length/min-js-with-sources/build-spec/fill-values create mode 100755 t/recipes/checks/files/contents/line-length/min-js-with-sources/build-spec/pre-build create mode 100644 t/recipes/checks/files/contents/line-length/min-js-with-sources/eval/desc create mode 100644 t/recipes/checks/files/contents/line-length/min-js-with-sources/eval/hints create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/files/contents/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/files/date/deb-format-ancient-file/build-spec/fill-values create mode 100755 t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control create mode 100755 t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data create mode 100644 t/recipes/checks/files/date/deb-format-ancient-file/build-spec/root/usr/share/cargo/registry/deb-format-ancient-file/.cargo_vcs_info.json create mode 100644 t/recipes/checks/files/date/deb-format-ancient-file/eval/desc create mode 100644 t/recipes/checks/files/date/deb-format-ancient-file/eval/hints create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/date/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/date/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/date/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/date/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/date/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/date/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/non-debug-file-in-debug-package-dbgsym.install create mode 100755 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/rules create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/fill-values create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/orig/foo create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/desc create mode 100644 t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/hints create mode 100644 t/recipes/checks/files/debug/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/debug/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/debug/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/debug/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/files/debug/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/files/debug/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/files/debug/binaries-general/eval/desc create mode 100644 t/recipes/checks/files/debug/binaries-general/eval/hints create mode 100755 t/recipes/checks/files/debug/binaries-general/eval/post-test create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/debug/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/desktop/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/desktop/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/desktop/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/debian/docs create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/fill-values create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/Changes create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/NEWS create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doc-file1 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doc-file2 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doc-file3 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doc-file4 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doccy1 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/build-spec/orig/doccy2 create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/eval/desc create mode 100644 t/recipes/checks/files/duplicates/duplicate-files/eval/hints create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/empty-directories/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/empty-directories/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/empty-directories/files-general/eval/desc create mode 100644 t/recipes/checks/files/empty-directories/files-general/eval/hints create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/empty-directories/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/files/empty-directories/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/files/empty-directories/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/orig/main.c create mode 100755 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/pre-build create mode 100755 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/eval/desc create mode 100644 t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/eval/hints create mode 100644 t/recipes/checks/files/empty-package/declared-as-empty/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/empty-package/declared-as-empty/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-package/declared-as-empty/eval/desc create mode 100644 t/recipes/checks/files/empty-package/declared-as-empty/eval/hints create mode 100644 t/recipes/checks/files/empty-package/files-empty/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/empty-package/files-empty/build-spec/debian/docs create mode 100644 t/recipes/checks/files/empty-package/files-empty/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-package/files-empty/build-spec/orig/README create mode 100644 t/recipes/checks/files/empty-package/files-empty/eval/desc create mode 100644 t/recipes/checks/files/empty-package/files-empty/eval/hints create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/eval/desc create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/eval/hints create mode 100644 t/recipes/checks/files/empty-package/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/files/empty-package/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/files/encoding/changelog-in-western-encoding/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/encoding/changelog-in-western-encoding/build-spec/fill-values create mode 100755 t/recipes/checks/files/encoding/changelog-in-western-encoding/build-spec/pre-build create mode 100644 t/recipes/checks/files/encoding/changelog-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/changelog-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-crln.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-agpl-3.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-apache-2.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-gfdl.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-gpl-1.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-gpl-2.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-gpl.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-full-lgpl.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-iso-8859-1.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-misc-errors.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-missing-apache2-license-pointer.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-missing-perl-license-pointer.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-no-errors.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-old-fsf.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-php.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-poor-common-licenses.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-versionless.copyright create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/copyright-w3c.copyright create mode 100755 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/debian/rules create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/copyright-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/debconf-in-western-encoding/build-spec/debian/templates create mode 100644 t/recipes/checks/files/encoding/debconf-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/debconf-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/debconf-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/control create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/menu create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/rules create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/debian/templates create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/doc-base-in-western-encoding/eval/post-test create mode 100644 t/recipes/checks/files/encoding/document-shipped-in-western-encoding/build-spec/debian/docs create mode 100644 t/recipes/checks/files/encoding/document-shipped-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/document-shipped-in-western-encoding/build-spec/orig/docs/denmark.weather create mode 100644 t/recipes/checks/files/encoding/document-shipped-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/document-shipped-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/manual-page-in-western-encoding/build-spec/debian/manpages create mode 100644 t/recipes/checks/files/encoding/manual-page-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/manual-page-in-western-encoding/build-spec/orig/man/motd-iso8859-1.5 create mode 100644 t/recipes/checks/files/encoding/manual-page-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/manual-page-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/national-header-fix-encoding-patch/build-spec/debian/patches/utf8.patch create mode 100644 t/recipes/checks/files/encoding/national-header-fix-encoding-patch/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/national-header-fix-encoding-patch/eval/desc create mode 100644 t/recipes/checks/files/encoding/national-header-fix-encoding-patch/eval/hints create mode 100644 t/recipes/checks/files/encoding/news-in-western-encoding/build-spec/debian/NEWS create mode 100644 t/recipes/checks/files/encoding/news-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/news-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/news-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/build-spec/debian/preinst create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/package-scripts-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/debian/tests/control create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/debian/tests/control.autodep8 create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/debian/tests/test-2 create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/debian/tests/under_score create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/orig/subdir/test-in-subdir create mode 100755 t/recipes/checks/files/encoding/testsuite-in-western-encoding/build-spec/pre-build create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/eval/desc create mode 100644 t/recipes/checks/files/encoding/testsuite-in-western-encoding/eval/hints create mode 100644 t/recipes/checks/files/encoding/utf8-header-fix-encoding-patch/build-spec/debian/patches/utf8.patch create mode 100644 t/recipes/checks/files/encoding/utf8-header-fix-encoding-patch/build-spec/fill-values create mode 100644 t/recipes/checks/files/encoding/utf8-header-fix-encoding-patch/eval/desc create mode 100644 t/recipes/checks/files/encoding/utf8-header-fix-encoding-patch/eval/hints create mode 100644 t/recipes/checks/files/generated/do-not-edit/build-spec/fill-values create mode 100644 t/recipes/checks/files/generated/do-not-edit/build-spec/orig/generated/do-not-edit create mode 100644 t/recipes/checks/files/generated/do-not-edit/eval/desc create mode 100644 t/recipes/checks/files/generated/do-not-edit/eval/hints create mode 100644 t/recipes/checks/files/generated/file-was-autogenerated/build-spec/fill-values create mode 100644 t/recipes/checks/files/generated/file-was-autogenerated/build-spec/orig/generated/file-was-autogenerated create mode 100644 t/recipes/checks/files/generated/file-was-autogenerated/eval/desc create mode 100644 t/recipes/checks/files/generated/file-was-autogenerated/eval/hints create mode 100755 t/recipes/checks/files/hard-links/files-hardlinks/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hard-links/files-hardlinks/build-spec/fill-values create mode 100644 t/recipes/checks/files/hard-links/files-hardlinks/eval/desc create mode 100644 t/recipes/checks/files/hard-links/files-hardlinks/eval/hints create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/eval/desc create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/eval/hints create mode 100644 t/recipes/checks/files/hard-links/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/files/hard-links/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-architecture/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-architecture/build-spec/debian/links create mode 100755 t/recipes/checks/files/hierarchy/links/leaving-architecture/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-architecture/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-architecture/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-architecture/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-private/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-private/build-spec/debian/links create mode 100755 t/recipes/checks/files/hierarchy/links/leaving-private/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-private/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-private/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/links/leaving-private/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/build-spec/debian/links create mode 100755 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/links/usr-lib-to-opt/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-bin/build-spec/debian/install create mode 100755 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-bin/build-spec/debian/script create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-bin/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-bin/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-bin/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-sbin/build-spec/debian/install create mode 100755 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-sbin/build-spec/debian/script create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-sbin/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-sbin/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/merged-usr/script-in-root-sbin/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/path-segments/share-doc-share/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/path-segments/share-doc-share/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/path-segments/share-doc-share/build-spec/orig/share/worth-sharing.txt create mode 100644 t/recipes/checks/files/hierarchy/path-segments/share-doc-share/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/path-segments/share-doc-share/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-crln.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-no-errors.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-php.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-versionless.copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/copyright-w3c.copyright create mode 100755 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/copyright-file-general/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/files-general/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/files-package-contains-usr-unmerged-pathnames/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/standard/files-package-contains-usr-unmerged-pathnames/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/files-package-contains-usr-unmerged-pathnames/build-spec/orig/file-outside-usr create mode 100644 t/recipes/checks/files/hierarchy/standard/files-package-contains-usr-unmerged-pathnames/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/files-package-contains-usr-unmerged-pathnames/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/files-tar-traps/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/hierarchy/standard/files-tar-traps/build-spec/debian/install create mode 100644 t/recipes/checks/files/hierarchy/standard/files-tar-traps/build-spec/fill-values create mode 100755 t/recipes/checks/files/hierarchy/standard/files-tar-traps/build-spec/pre-build create mode 100644 t/recipes/checks/files/hierarchy/standard/files-tar-traps/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/files-tar-traps/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/hierarchy/standard/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install create mode 100755 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints create mode 100644 t/recipes/checks/files/includes/util-h/build-spec/debian/install create mode 100644 t/recipes/checks/files/includes/util-h/build-spec/fill-values create mode 100644 t/recipes/checks/files/includes/util-h/build-spec/orig/util.h create mode 100644 t/recipes/checks/files/includes/util-h/eval/desc create mode 100644 t/recipes/checks/files/includes/util-h/eval/hints create mode 100644 t/recipes/checks/files/includes/utils-h/build-spec/debian/install create mode 100644 t/recipes/checks/files/includes/utils-h/build-spec/fill-values create mode 100644 t/recipes/checks/files/includes/utils-h/build-spec/orig/utils.h create mode 100644 t/recipes/checks/files/includes/utils-h/eval/desc create mode 100644 t/recipes/checks/files/includes/utils-h/eval/hints create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/binary.docs create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/binary.init create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/binary.install create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/binary.manpages create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/clean create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/game.install create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/game.manpages create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/debian/rules create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/fill-values create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/orig/README create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/orig/read-only create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/orig/sample.ali create mode 100755 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/orig/script create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/build-spec/orig/some-file create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/eval/desc create mode 100644 t/recipes/checks/files/init/files-bad-perm-owner/eval/hints create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/init/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/init/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/ld-so/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/ld-so/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/ld-so/files-general/eval/desc create mode 100644 t/recipes/checks/files/ld-so/files-general/eval/hints create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/debian/docs create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/fill-values create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/orig/_sources/LICENSE.rst.txt create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/orig/_sources/license.txt create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/orig/bsd.yml create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/orig/license.txt create mode 100644 t/recipes/checks/files/licenses/files-extra-license/build-spec/orig/license.ui create mode 100644 t/recipes/checks/files/licenses/files-extra-license/eval/desc create mode 100644 t/recipes/checks/files/licenses/files-extra-license/eval/hints create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/licenses/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/licenses/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/licenses/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/locales/files-locales/build-spec/debian/install create mode 100644 t/recipes/checks/files/locales/files-locales/build-spec/fill-values create mode 100644 t/recipes/checks/files/locales/files-locales/build-spec/orig/dummy create mode 100644 t/recipes/checks/files/locales/files-locales/eval/desc create mode 100644 t/recipes/checks/files/locales/files-locales/eval/hints create mode 100644 t/recipes/checks/files/missing/files-missing-intermediate-dirs/build-spec/fill-values create mode 100755 t/recipes/checks/files/missing/files-missing-intermediate-dirs/build-spec/tar-data create mode 100644 t/recipes/checks/files/missing/files-missing-intermediate-dirs/eval/desc create mode 100644 t/recipes/checks/files/missing/files-missing-intermediate-dirs/eval/hints create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/control.in create mode 100755 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/rules create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/fill-values create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/desc create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/hints create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/post-test create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/debian/pkgconfig-all.install create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/debian/pkgconfig-any.install create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/debian/rules create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/fill-values create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/arch-cross.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/arch-good.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/arch-include-arch.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/indep-include-arch-1.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/indep-include-arch-2.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/generated/indep-include-arch-3.pc.in create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/indep-good.pc create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/build-spec/orig/indep-really-bad.pc create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/eval/desc create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/eval/hints create mode 100644 t/recipes/checks/files/multi-arch/files-pkgconfig/eval/post-test create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/debian/compat.in create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/debian/libpublic-dev.install create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/debian/libpublic1.install create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/debian/libpublic1.symbols create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/fill-values create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/orig/code.c create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/eval/desc create mode 100644 t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/eval/hints create mode 100644 t/recipes/checks/files/names/eslint-config-file/build-spec/debian/docs create mode 100644 t/recipes/checks/files/names/eslint-config-file/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/eslint-config-file/build-spec/orig/.eslintrc create mode 100644 t/recipes/checks/files/names/eslint-config-file/eval/desc create mode 100644 t/recipes/checks/files/names/eslint-config-file/eval/hints create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/names/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/names/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/names/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/names/files-general/eval/desc create mode 100644 t/recipes/checks/files/names/files-general/eval/hints create mode 100755 t/recipes/checks/files/names/files-hyphen-file/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/files-hyphen-file/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-hyphen-file/eval/desc create mode 100644 t/recipes/checks/files/names/files-hyphen-file/eval/hints create mode 100755 t/recipes/checks/files/names/files-package-contains-python-header-in-incorrect-directory/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/files-package-contains-python-header-in-incorrect-directory/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-package-contains-python-header-in-incorrect-directory/eval/desc create mode 100644 t/recipes/checks/files/names/files-package-contains-python-header-in-incorrect-directory/eval/hints create mode 100644 t/recipes/checks/files/names/files-python-coverage/build-spec/debian/install create mode 100644 t/recipes/checks/files/names/files-python-coverage/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-python-coverage/build-spec/orig/.coverage create mode 100644 t/recipes/checks/files/names/files-python-coverage/eval/desc create mode 100644 t/recipes/checks/files/names/files-python-coverage/eval/hints create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/build-spec/debian/install create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/build-spec/orig/.directory/bar create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/build-spec/orig/.directory/foo create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/build-spec/orig/.filename create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/eval/desc create mode 100644 t/recipes/checks/files/names/files-python-dot-directory/eval/hints create mode 100644 t/recipes/checks/files/names/files-tar-traps/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/names/files-tar-traps/build-spec/debian/install create mode 100644 t/recipes/checks/files/names/files-tar-traps/build-spec/fill-values create mode 100755 t/recipes/checks/files/names/files-tar-traps/build-spec/pre-build create mode 100644 t/recipes/checks/files/names/files-tar-traps/eval/desc create mode 100644 t/recipes/checks/files/names/files-tar-traps/eval/hints create mode 100755 t/recipes/checks/files/names/files-wildcard-characters/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/files-wildcard-characters/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-wildcard-characters/eval/desc create mode 100644 t/recipes/checks/files/names/files-wildcard-characters/eval/hints create mode 100644 t/recipes/checks/files/names/files-zero-byte-executable-in-path/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/files-zero-byte-executable-in-path/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/files-zero-byte-executable-in-path/eval/desc create mode 100644 t/recipes/checks/files/names/files-zero-byte-executable-in-path/eval/hints create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/names/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/names/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/names/legacy-binary/eval/desc create mode 100644 t/recipes/checks/files/names/legacy-binary/eval/hints create mode 100644 t/recipes/checks/files/names/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/names/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/names/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/names/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/names/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/names/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/names/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/names/national-encoding-in-native/build-spec/fill-values create mode 100755 t/recipes/checks/files/names/national-encoding-in-native/build-spec/pre-build create mode 100644 t/recipes/checks/files/names/national-encoding-in-native/eval/desc create mode 100644 t/recipes/checks/files/names/national-encoding-in-native/eval/hints create mode 100644 t/recipes/checks/files/names/national-encoding-in-orig/build-spec/fill-values create mode 100755 t/recipes/checks/files/names/national-encoding-in-orig/build-spec/pre-orig create mode 100644 t/recipes/checks/files/names/national-encoding-in-orig/eval/desc create mode 100644 t/recipes/checks/files/names/national-encoding-in-orig/eval/hints create mode 100644 t/recipes/checks/files/names/national-encoding-in-patch/build-spec/debian/patches/series create mode 100644 t/recipes/checks/files/names/national-encoding-in-patch/build-spec/debian/patches/unusual-filenames.patch create mode 100644 t/recipes/checks/files/names/national-encoding-in-patch/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/national-encoding-in-patch/eval/desc create mode 100644 t/recipes/checks/files/names/national-encoding-in-patch/eval/hints create mode 100644 t/recipes/checks/files/names/npm-ignore-file/build-spec/debian/docs create mode 100644 t/recipes/checks/files/names/npm-ignore-file/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/npm-ignore-file/build-spec/orig/.npmignore create mode 100644 t/recipes/checks/files/names/npm-ignore-file/eval/desc create mode 100644 t/recipes/checks/files/names/npm-ignore-file/eval/hints create mode 100644 t/recipes/checks/files/names/python-hypothesis-example/build-spec/debian/docs create mode 100644 t/recipes/checks/files/names/python-hypothesis-example/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/python-hypothesis-example/build-spec/orig/.hypothesis/examples/show/nothing create mode 100644 t/recipes/checks/files/names/python-hypothesis-example/eval/desc create mode 100644 t/recipes/checks/files/names/python-hypothesis-example/eval/hints create mode 100644 t/recipes/checks/files/names/sass-cache-directory/build-spec/debian/docs create mode 100644 t/recipes/checks/files/names/sass-cache-directory/build-spec/fill-values create mode 100644 t/recipes/checks/files/names/sass-cache-directory/build-spec/orig/.sass-cache/nothing create mode 100644 t/recipes/checks/files/names/sass-cache-directory/eval/desc create mode 100644 t/recipes/checks/files/names/sass-cache-directory/eval/hints create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/build-spec/debian/install create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/build-spec/fill-values create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/build-spec/orig/data-forbidden-lintian-files create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/build-spec/orig/data-non-free-lintian-files create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/eval/desc create mode 100644 t/recipes/checks/files/non-free/cruft-non-free-md5sums/eval/hints create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/debian/files-flash-non-free-non-free.install create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/debian/files-flash-non-free.install create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/fill-values create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/orig/dewplayer-slim.swf create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/orig/dewplayer.swf create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/orig/flvplayer.swf create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/build-spec/orig/mp3player.swf create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/eval/desc create mode 100644 t/recipes/checks/files/non-free/files-flash-non-free/eval/hints create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/obsolete-paths/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/build-spec/debian/install create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/build-spec/fill-values create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/build-spec/orig/archive-keyring.gpg create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/build-spec/orig/pubring.pgp create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/eval/desc create mode 100644 t/recipes/checks/files/openpgp/file-has-implementation-specific-extension/eval/hints create mode 100644 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/build-spec/debian/install create mode 100644 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/build-spec/fill-values create mode 100644 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module create mode 100755 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly create mode 100644 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/eval/desc create mode 100644 t/recipes/checks/files/p11-kit/files-foo-violates-expected-naming/eval/hints create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/pam/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/pam/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/pam/files-general/eval/desc create mode 100644 t/recipes/checks/files/pam/files-general/eval/hints create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/binary.docs create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/binary.init create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/binary.install create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/binary.manpages create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/clean create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/game.install create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/game.manpages create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/debian/rules create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/fill-values create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/orig/README create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/orig/read-only create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/orig/sample.ali create mode 100755 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/orig/script create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/build-spec/orig/some-file create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/eval/desc create mode 100644 t/recipes/checks/files/permissions/files-bad-perm-owner/eval/hints create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/permissions/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/permissions/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/permissions/files-general/eval/desc create mode 100644 t/recipes/checks/files/permissions/files-general/eval/hints create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/files/permissions/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/files/permissions/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/files/permissions/usr-lib/executable-installed-here/build-spec/debian/install create mode 100644 t/recipes/checks/files/permissions/usr-lib/executable-installed-here/build-spec/fill-values create mode 100755 t/recipes/checks/files/permissions/usr-lib/executable-installed-here/build-spec/orig/some-executable create mode 100644 t/recipes/checks/files/permissions/usr-lib/executable-installed-here/eval/desc create mode 100644 t/recipes/checks/files/permissions/usr-lib/executable-installed-here/eval/hints create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/debian/pkgconfig-all.install create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/debian/pkgconfig-any.install create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/debian/rules create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/fill-values create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/arch-cross.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/arch-good.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/arch-include-arch.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/indep-include-arch-1.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/indep-include-arch-2.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/generated/indep-include-arch-3.pc.in create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/indep-good.pc create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/build-spec/orig/indep-really-bad.pc create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/eval/desc create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/eval/hints create mode 100644 t/recipes/checks/files/pkgconfig/files-pkgconfig/eval/post-test create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/debian/install create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/fill-values create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/old-false-positive/privacy-breach-generic/bookmark.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/old-false-positive/privacy-breach-generic/dublin-core.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/old-false-positive/privacy-breach-generic/legal.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/old-false-positive/privacy-breach-generic/rdf.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/apache.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattr.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrbuttonhtml4.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrbuttonhtml5.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrload.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrloadmanual.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrrender.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrrender.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-donation/flattrrenderonload.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebook.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebookfbmlbody2008.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebookfbmlbody2013.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebookhtml5like20130810.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebookhtml5likebody20130810.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/facebookxfbmllike20130810.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-facebook/false-positives.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/applet.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/audio.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/audiotrack.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/div.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/embed.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/externalimg.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/frame.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/genericwebsite.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/googlefontapi.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/ieconditional.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/iframe.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/import.css create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/importcss.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/input.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/link-canonical.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/link-generator.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/link.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/mallard-falsepositive.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/object.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/old-falsepositive/rel-generator-home.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/source.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/track.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/typekit.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/video.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-generic/videoposter.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/adsense.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/adsenseimagemagick.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/adsenseonlyadds.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/adsenseonlyvar.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/page2.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/page2ins.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/pagead2.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/urchin.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/urchinconstructor.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/urchinfragment.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-adsense/urchinloader.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecse.css create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecse.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseform.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseformtracking.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecsejs.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/search.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-plus/asyncload.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-plus/explicitload.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-plus/simplebutton.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-logo/logosourceforge.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-logo/mascot.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-jquery-flot.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-jquery-mobile.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-jquery-ui.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-jquery.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-jquery_beta.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-mathjax.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-modernizer.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-openlayers.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-may-use-debian-package/libjs-prototype.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-piwik/piwik.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-piwik/piwikvariant.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-statistics-website/img.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-statistics-website/statcounter.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-statistics-website/statcounter2.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-twitter/awstat.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-twitter/commented.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-twitter/logotwitter.xml create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-twitter/official.js create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-uses-embedded-file/html5shiv.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-uses-embedded-file/mocha.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-uses-embedded-file/mochachai.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-w3c-valid-html/htmlvalid.html create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/eval/desc create mode 100644 t/recipes/checks/files/privacy-breach/files-privacybreach/eval/hints create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/files/scripts/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/files/scripts/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/sgml/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/sgml/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/sgml/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/sgml/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/orig/hello.c create mode 100755 t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/hints create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/empty.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/hints create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/install create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/json.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/README create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js create mode 100755 t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/pre-build create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/eval/hints create mode 100644 t/recipes/checks/files/source-missing/cruft-minified-js/eval/post-test create mode 100644 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/orig/main.c create mode 100755 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-build create mode 100755 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/hints create mode 100644 t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c create mode 100755 t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build create mode 100755 t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/hints create mode 100644 t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values create mode 100644 t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README create mode 100755 t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream create mode 100644 t/recipes/checks/files/source-missing/cruft-wasm/eval/desc create mode 100644 t/recipes/checks/files/source-missing/cruft-wasm/eval/hints create mode 100644 t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js create mode 100644 t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/fill-values create mode 100755 t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/pre-build create mode 100644 t/recipes/checks/files/source-missing/min-js-with-sources/eval/desc create mode 100644 t/recipes/checks/files/source-missing/min-js-with-sources/eval/hints create mode 100644 t/recipes/checks/files/special/files-special-file/build-spec/debian/rules create mode 100644 t/recipes/checks/files/special/files-special-file/build-spec/fill-values create mode 100644 t/recipes/checks/files/special/files-special-file/eval/desc create mode 100644 t/recipes/checks/files/special/files-special-file/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/broken/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/broken-links.links create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/control.in create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/data-pkg.install create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.conf create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.data create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-unsafe/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-unsafe/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-unsafe/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/broken/symlinks-unsafe/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/cruft-unsafe-symlinks/build-spec/fill-values create mode 100755 t/recipes/checks/files/symbolic-links/cruft-unsafe-symlinks/build-spec/pre-build create mode 100644 t/recipes/checks/files/symbolic-links/cruft-unsafe-symlinks/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/cruft-unsafe-symlinks/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/dev-null-fp/build-spec/fill-values create mode 100755 t/recipes/checks/files/symbolic-links/dev-null-fp/build-spec/pre-build create mode 100644 t/recipes/checks/files/symbolic-links/dev-null-fp/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/dev-null-fp/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/symbolic-links/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/symbolic-links/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/symbolic-links/files-general/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/files-general/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/files-symlink-points-to-tmp/build-spec/debian/install create mode 100644 t/recipes/checks/files/symbolic-links/files-symlink-points-to-tmp/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/files-symlink-points-to-tmp/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/files-symlink-points-to-tmp/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/files-symlink-points-to-tmp/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/build-spec/debian/install create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/build-spec/orig/data-file create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/build-spec/orig/pkg.conf create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/files-symlinks/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/symbolic-links/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/files/symbolic-links/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/files/symbolic-links/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/fill-values create mode 100755 t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/pre-build create mode 100644 t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/desc create mode 100644 t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/hints create mode 100644 t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/fill-values create mode 100755 t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build create mode 100644 t/recipes/checks/files/unicode/trojan/rte-in-contents/eval/desc create mode 100644 t/recipes/checks/files/unicode/trojan/rte-in-contents/eval/hints create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/unwanted/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/files/unwanted/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/files/unwanted/files-general/eval/desc create mode 100644 t/recipes/checks/files/unwanted/files-general/eval/hints create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/files/usr-merge/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/files/usr-merge/files-package-contains-usr-unmerged-pathnames/build-spec/debian/install create mode 100644 t/recipes/checks/files/usr-merge/files-package-contains-usr-unmerged-pathnames/build-spec/fill-values create mode 100644 t/recipes/checks/files/usr-merge/files-package-contains-usr-unmerged-pathnames/build-spec/orig/file-outside-usr create mode 100644 t/recipes/checks/files/usr-merge/files-package-contains-usr-unmerged-pathnames/eval/desc create mode 100644 t/recipes/checks/files/usr-merge/files-package-contains-usr-unmerged-pathnames/eval/hints create mode 100644 t/recipes/checks/files/vcs/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/files/vcs/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/files/vcs/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/files/vcs/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/files/vcs/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/files/vcs/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/files/vcs/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/debian/control.in create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/orig/bad.raw create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/orig/badnocredit.raw create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/orig/badwithadobecode.raw create mode 100644 t/recipes/checks/fonts/files-adobe-font/build-spec/orig/good.raw create mode 100644 t/recipes/checks/fonts/files-adobe-font/eval/desc create mode 100644 t/recipes/checks/fonts/files-adobe-font/eval/hints create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/debian/control.in create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/debian/files-fonts.install create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/debian/ttf-files-fonts.install create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/debian/ttf-files-fonts.links create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/orig/4shadow.ttf create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/orig/font.otf create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/orig/font.ttf create mode 100644 t/recipes/checks/fonts/files-fonts/build-spec/orig/foo.pcf create mode 100644 t/recipes/checks/fonts/files-fonts/eval/desc create mode 100644 t/recipes/checks/fonts/files-fonts/eval/hints create mode 100644 t/recipes/checks/fonts/files-fonts/eval/post-test create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Editable.otf create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Installable.otf create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/NeverEmbed.otf create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Printable.otf create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/eval/desc create mode 100644 t/recipes/checks/fonts/opentype/use-restricted/eval/hints create mode 100644 t/recipes/checks/fonts/opentype/wrong-filename/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/opentype/wrong-filename/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/opentype/wrong-filename/build-spec/orig/fonts/IsOTF.ttf create mode 100644 t/recipes/checks/fonts/opentype/wrong-filename/eval/desc create mode 100644 t/recipes/checks/fonts/opentype/wrong-filename/eval/hints create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/control.in create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/Makefile create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/bad.raw create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badnocredit.raw create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badwithadobecode.raw create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/good.raw create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/desc create mode 100644 t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/hints create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/orig/fonts/Editable.ttf create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/orig/fonts/Installable.ttf create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/orig/fonts/NeverEmbed.ttf create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/build-spec/orig/fonts/Printable.ttf create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/eval/desc create mode 100644 t/recipes/checks/fonts/truetype/use-restricted/eval/hints create mode 100644 t/recipes/checks/fonts/truetype/wrong-filename/build-spec/debian/install create mode 100644 t/recipes/checks/fonts/truetype/wrong-filename/build-spec/fill-values create mode 100644 t/recipes/checks/fonts/truetype/wrong-filename/build-spec/orig/fonts/IsTTF.otf create mode 100644 t/recipes/checks/fonts/truetype/wrong-filename/eval/desc create mode 100644 t/recipes/checks/fonts/truetype/wrong-filename/eval/hints create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/foreign-operating-systems/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/eval/desc create mode 100644 t/recipes/checks/foreign-operating-systems/files-general/eval/hints create mode 100644 t/recipes/checks/foreign-operating-systems/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/foreign-operating-systems/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/foreign-operating-systems/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/foreign-operating-systems/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/foreign-operating-systems/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/control.in create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.install create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.manpages create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.install create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.manpages create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.install create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.manpages create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.install create mode 100644 t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.manpages create mode 100644 t/recipes/checks/games/files-games-section/build-spec/fill-values create mode 100755 t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster create mode 100644 t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.1 create mode 100644 t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.6 create mode 100644 t/recipes/checks/games/files-games-section/eval/desc create mode 100644 t/recipes/checks/games/files-games-section/eval/hints create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/games/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/games/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/games/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/games/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/games/files-general/eval/desc create mode 100644 t/recipes/checks/games/files-general/eval/hints create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/games/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/games/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/games/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/games/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/games/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/games/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/build-spec/debian/control.in create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/build-spec/debian/rules create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/build-spec/fill-values create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/build-spec/orig/some-doc.txt create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/eval/desc create mode 100644 t/recipes/checks/group-checks/group-checks-circular-deps/eval/hints create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/build-spec/debian/control.in create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/build-spec/debian/rules create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/build-spec/fill-values create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/build-spec/orig/data-file create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/eval/desc create mode 100644 t/recipes/checks/group-checks/group-checks-file-conflict/eval/hints create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/control.in create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-dbg.install create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-foreign.docs create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-same.install create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/python3-pkg-dbg.install create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/fill-values create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/Makefile create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/some-doc.txt create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/eval/desc create mode 100644 t/recipes/checks/group-checks/group-checks-multi-arch/eval/hints create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/group-checks/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/group-checks/legacy-binary/eval/desc create mode 100644 t/recipes/checks/group-checks/legacy-binary/eval/hints create mode 100644 t/recipes/checks/group-checks/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/group-checks/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/group-checks/legacy-libbaz/eval/post-test create mode 100755 t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/debian/rules create mode 100644 t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/fill-values create mode 100644 t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/desc create mode 100644 t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/hints create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/eval/desc create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/eval/hints create mode 100644 t/recipes/checks/huge-usr-share/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/debian/install create mode 100755 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/debian/rules create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/fill-values create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/LICENSE create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_gif.jpeg create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_jpg.png create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_pbm.tif create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_png.SVG create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_svg.xpm create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_tiff.gif create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/is_xpm.ppm.gz create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.gif create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.jpg create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.pbm create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.png create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.tiff create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/build-spec/orig/images/pan-up-symbolic.svg.xpm.gz create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/eval/desc create mode 100644 t/recipes/checks/images/filenames/conflicting-image-names/eval/hints create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/debian/install create mode 100755 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/debian/rules create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/fill-values create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/LICENSE create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_gif create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_jpg create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_pbm create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_png create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_svg create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_tiff create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/is_xpm.gz create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.gif create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.jpg create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.pbm create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.png create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.tiff create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/build-spec/orig/images/pan-up-symbolic.svg.xpm.gz create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/eval/desc create mode 100644 t/recipes/checks/images/filenames/unrelated-image-names/eval/hints create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/images/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/images/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/images/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/images/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/images/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/images/thumbnails/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/includes/config-h/package-name-srtp/build-spec/debian/install create mode 100644 t/recipes/checks/includes/config-h/package-name-srtp/build-spec/fill-values create mode 100644 t/recipes/checks/includes/config-h/package-name-srtp/build-spec/orig/include/config.h create mode 100644 t/recipes/checks/includes/config-h/package-name-srtp/eval/desc create mode 100644 t/recipes/checks/includes/config-h/package-name-srtp/eval/hints create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/bar.service create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/install create mode 100755 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/rules create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/run create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/desc create mode 100644 t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/hints create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general-bugs.init create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general-bugs.postinst create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general-interpreter-in-usr-dir.init create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general-new-style.init create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general-sourcing-without-test.init create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general.default create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/debian/init.d-general.init create mode 100644 t/recipes/checks/init-d/init.d-general/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/init.d-general/eval/desc create mode 100644 t/recipes/checks/init-d/init.d-general/eval/hints create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-all.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-early-boot.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-length.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-missing.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-parsing.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-remote.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-virtual.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers.init create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/eval/desc create mode 100644 t/recipes/checks/init-d/init.d-lsb-headers/eval/hints create mode 100644 t/recipes/checks/init-d/init.d-script-contains-skeleton-template-content/build-spec/debian/init create mode 100644 t/recipes/checks/init-d/init.d-script-contains-skeleton-template-content/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/init.d-script-contains-skeleton-template-content/eval/desc create mode 100644 t/recipes/checks/init-d/init.d-script-contains-skeleton-template-content/eval/hints create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/debian/install create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/debian/links create mode 100755 t/recipes/checks/init-d/init.d-script-registration/build-spec/debian/rules create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/orig/README create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/orig/foo.in create mode 100644 t/recipes/checks/init-d/init.d-script-registration/build-spec/orig/skeleton create mode 100644 t/recipes/checks/init-d/init.d-script-registration/eval/desc create mode 100644 t/recipes/checks/init-d/init.d-script-registration/eval/hints create mode 100644 t/recipes/checks/init-d/init.d-symlink/build-spec/debian/links create mode 100755 t/recipes/checks/init-d/init.d-symlink/build-spec/debian/postinst create mode 100755 t/recipes/checks/init-d/init.d-symlink/build-spec/debian/postrm create mode 100644 t/recipes/checks/init-d/init.d-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/init.d-symlink/eval/desc create mode 100644 t/recipes/checks/init-d/init.d-symlink/eval/hints create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/init-d/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/init-d/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/init-d/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/init-d/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/init-d/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/init-d/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/init-d/maintainer-script/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/debian/install create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/debian/postinst create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/debian/postrm create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/fill-values create mode 100755 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/orig/bad create mode 100755 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/orig/other-action create mode 100755 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/orig/self-invoke create mode 100755 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/build-spec/orig/test-first create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/eval/desc create mode 100644 t/recipes/checks/init-d/maintainer-script/scripts-calls-init-script/eval/hints create mode 100644 t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/debian/install create mode 100644 t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/fill-values create mode 100755 t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/orig/fortran/mpi.mod create mode 100644 t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/desc create mode 100644 t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/hints create mode 100644 t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/debian/install create mode 100644 t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/fill-values create mode 100755 t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/orig/fortran/mpi.mod create mode 100644 t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/desc create mode 100644 t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/hints create mode 100644 t/recipes/checks/languages/golang/built-using/binaries-golang/build-spec/fill-values create mode 100644 t/recipes/checks/languages/golang/built-using/binaries-golang/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/golang/built-using/binaries-golang/build-spec/orig/basic.c create mode 100644 t/recipes/checks/languages/golang/built-using/binaries-golang/eval/desc create mode 100644 t/recipes/checks/languages/golang/built-using/binaries-golang/eval/hints create mode 100644 t/recipes/checks/languages/golang/import-path/binaries-golang/build-spec/fill-values create mode 100644 t/recipes/checks/languages/golang/import-path/binaries-golang/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/golang/import-path/binaries-golang/build-spec/orig/basic.c create mode 100644 t/recipes/checks/languages/golang/import-path/binaries-golang/eval/desc create mode 100644 t/recipes/checks/languages/golang/import-path/binaries-golang/eval/hints create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/build-spec/debian/control-file-golang-built-using.install create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/build-spec/fill-values create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/build-spec/orig/basic.c create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/eval/desc create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-built-using/eval/hints create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/build-spec/debian/control-file-golang-xs-go-import-path.install create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/build-spec/fill-values create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/build-spec/orig/basic.c create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/eval/desc create mode 100644 t/recipes/checks/languages/golang/import-path/control-file-golang-xs-go-import-path/eval/hints create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/build-spec/debian/libfoo-java.install create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/build-spec/fill-values create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/build-spec/orig/mini.class create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/build-spec/orig/not-a-class-file.class create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/eval/desc create mode 100644 t/recipes/checks/languages/java/bytecode/files-java-classfiles/eval/hints create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/debian/javabuild create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/debian/libtest-java.jlibs create mode 100755 t/recipes/checks/languages/java/java-class-format/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/fill-values create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/orig/src/org/debian/lintian/TestA.java create mode 100644 t/recipes/checks/languages/java/java-class-format/build-spec/orig/src/org/debian/lintian/TestB.java create mode 100644 t/recipes/checks/languages/java/java-class-format/eval/desc create mode 100644 t/recipes/checks/languages/java/java-class-format/eval/hints create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/binary-using-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/javabuild create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-missing-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.manifest create mode 100755 t/recipes/checks/languages/java/java-classpath/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/fill-values create mode 100644 t/recipes/checks/languages/java/java-classpath/build-spec/orig/src/org/debian/lintian/TestA.java create mode 100644 t/recipes/checks/languages/java/java-classpath/eval/desc create mode 100644 t/recipes/checks/languages/java/java-classpath/eval/hints create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/clean create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/javabuild create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libcodeless-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libcontains-source-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libmanifestless-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libtest-maven-plugin-java.install create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libtesta-java.install create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libtesta-java.jlibs create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/libtestc-java.install create mode 100755 t/recipes/checks/languages/java/java-jars/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/debian/unparsable.install create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/fill-values create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/orig/generate-unparsable.pl create mode 100644 t/recipes/checks/languages/java/java-jars/build-spec/orig/src/org/debian/lintian/TestA.java create mode 100644 t/recipes/checks/languages/java/java-jars/eval/desc create mode 100644 t/recipes/checks/languages/java/java-jars/eval/hints create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/build-spec/fill-values create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/build-spec/orig/HelloWorld.class create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/build-spec/orig/HelloWorld.jar create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/build-spec/orig/HelloWorld.java create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/eval/desc create mode 100644 t/recipes/checks/languages/java/prebuilt-java-object/eval/hints create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/debian/install create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/bootstrap-1.1.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/bootstrap.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/doxygen.css create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/jquery.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/jquery.min.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/mocha.css create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/mocha.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/rss_parse.php create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/streams.php create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/build-spec/orig/tiny_mce_popup.js create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/eval/desc create mode 100644 t/recipes/checks/languages/javascript/embedded/files-embedded/eval/hints create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/languages/javascript/embedded/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/dh-sequence-nodejs-test-is-missing/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/install create mode 100755 t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/debian/install create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/debian/watch create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/bson/browser_build/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/bson/browser_build/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/bson/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/bson/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/denque/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/denque/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/foobar/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/foobar/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/memory-pager/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/memory-pager/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/mongodb-core/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/mongodb-core/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/requireoptional/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/requireoptional/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/requireoptional/test/nestedTest/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/saslprep/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/saslprep/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/sparse-bitfield/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/build-spec/orig/sparse-bitfield/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/multiple-nodejs-components/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/debian/nodejs/additional_components create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/debian/nodejs/root_modules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/debian/watch create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/bson/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/bson/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/foobar/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/foobar/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-missing-version-override/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/build-spec/debian/install create mode 100755 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/build-spec/orig/src/test.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/build-spec/orig/src/test.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installed-in-usr-lib/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/build-spec/debian/install create mode 100755 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/build-spec/orig/src/test.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/build-spec/orig/src/test.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-installs-lock-file/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/debian/nodejs/additional_components create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/debian/nodejs/root_modules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/debian/watch create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/bson/browser_build/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/bson/browser_build/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/bson/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/bson/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/foobar/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/foobar/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/nodejs-module-not-declared/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/debian/tests/pkg-js/files create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/orig/lib/a/file.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/build-spec/orig/test/test.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-file-does-not-exist/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-empty/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-autopkgtest-test-is-missing/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/build-spec/debian/tests/pkg-js/test create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-empty/eval/hints create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/build-spec/fill-values create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/build-spec/orig/index.js create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/build-spec/orig/package.json create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/eval/desc create mode 100644 t/recipes/checks/languages/javascript/nodejs/pkg-js-tools-test-is-missing/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/compiled/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/interface/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/library/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/package/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/misplaced/path/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/byte-code/plugin/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/eval/hints create mode 100755 t/recipes/checks/languages/ocaml/custom-executable/binaries-general/eval/post-test create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.dirs create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/debian/libocaml-general-ocaml-dev.install create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/debian/libocaml-general-ocaml.dirs create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/debian/libocaml-general-ocaml.install create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/META create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/bar.cmi create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/bar.cmxs create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/baz.cmi create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/bleh.cma create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/bleh.cmo create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/boo.cmi create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/foo.cmi create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/foo.cmxa create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/symbol-dev.cmx create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/symbol.cmx create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/ocaml/symbol2.cmx create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/build-spec/orig/symbol.c create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/eval/desc create mode 100644 t/recipes/checks/languages/ocaml/meta/ocaml-general/eval/hints create mode 100644 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/build-spec/debian/control.in create mode 100755 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/eval/desc create mode 100644 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/eval/hints create mode 100644 t/recipes/checks/languages/perl/core/provides/fields-perl-provides/eval/post-test create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/languages/perl/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/build-spec/debian/install create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/build-spec/orig/Naughty.pm create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/eval/desc create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-with-dep/eval/hints create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-without-dep/build-spec/debian/install create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-without-dep/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-without-dep/build-spec/orig/Naughty.pm create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-without-dep/eval/desc create mode 100644 t/recipes/checks/languages/perl/files-uses-perl4-libs-without-dep/eval/hints create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/languages/perl/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/languages/perl/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/languages/perl/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/install create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/debian/manpages create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/build-spec/orig/naughty-script create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/desc create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-with-dep/eval/hints create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/install create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/debian/manpages create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/build-spec/orig/naughty-script create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/desc create mode 100644 t/recipes/checks/languages/perl/perl4/prerequisites/scripts-uses-perl4-libs-without-dep/eval/hints create mode 100644 t/recipes/checks/languages/perl/perl5/cruft-perl/build-spec/debian/pkg.install create mode 100755 t/recipes/checks/languages/perl/perl5/cruft-perl/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/perl/perl5/cruft-perl/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/perl5/cruft-perl/eval/desc create mode 100644 t/recipes/checks/languages/perl/perl5/cruft-perl/eval/hints create mode 100644 t/recipes/checks/languages/perl/yapp/yapp-parser/build-spec/fill-values create mode 100644 t/recipes/checks/languages/perl/yapp/yapp-parser/build-spec/orig/perl/Dot.pm create mode 100644 t/recipes/checks/languages/perl/yapp/yapp-parser/eval/desc create mode 100644 t/recipes/checks/languages/perl/yapp/yapp-parser/eval/hints create mode 100644 t/recipes/checks/languages/php/composer/depends-composer/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/php/composer/depends-composer/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/composer/depends-composer/eval/desc create mode 100644 t/recipes/checks/languages/php/composer/depends-composer/eval/hints create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/debian/install create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/bootstrap-1.1.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/bootstrap.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/doxygen.css create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/jquery.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/jquery.min.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/mocha.css create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/mocha.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/rss_parse.php create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/streams.php create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/build-spec/orig/tiny_mce_popup.js create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/eval/desc create mode 100644 t/recipes/checks/languages/php/embedded/files-embedded/eval/hints create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/languages/php/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/languages/php/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/languages/php/files-general/eval/desc create mode 100644 t/recipes/checks/languages/php/files-general/eval/hints create mode 100644 t/recipes/checks/languages/php/pear/phppear-composer/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/pear/phppear-composer/build-spec/orig/composer.json create mode 100644 t/recipes/checks/languages/php/pear/phppear-composer/build-spec/orig/foo.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-composer/eval/desc create mode 100644 t/recipes/checks/languages/php/pear/phppear-composer/eval/hints create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/composer.json create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/foo.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/eval/desc create mode 100644 t/recipes/checks/languages/php/pear/phppear-composerok/eval/hints create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/build-spec/orig/channel.xml create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/build-spec/orig/foo.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/build-spec/orig/package.xml create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/eval/desc create mode 100644 t/recipes/checks/languages/php/pear/phppear-general/eval/hints create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/build-spec/debian/pkg-php-tools-overrides create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/build-spec/orig/foo.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/build-spec/orig/package.xml create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/build-spec/orig/package2.xml create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/eval/desc create mode 100644 t/recipes/checks/languages/php/pear/phppear-pear/eval/hints create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/debian/control.in create mode 100755 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/fill-values create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/orig/MyProject_Packages-0.0.1/empty.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/orig/foo.php create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/build-spec/orig/package.xml create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/eval/desc create mode 100644 t/recipes/checks/languages/php/pear/phppear-pearok/eval/hints create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-build-depends/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-build-depends/eval/desc create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-build-depends/eval/hints create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-depends/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-depends/eval/desc create mode 100644 t/recipes/checks/languages/python/bogus-prerequisites/what-is-python-depends/eval/hints create mode 100644 t/recipes/checks/languages/python/dist-overrides/duplicate-identifier/build-spec/debian/py3dist-overrides create mode 100644 t/recipes/checks/languages/python/dist-overrides/duplicate-identifier/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/dist-overrides/duplicate-identifier/eval/desc create mode 100644 t/recipes/checks/languages/python/dist-overrides/duplicate-identifier/eval/hints create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/from.py create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/build-spec/orig/import.py create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/desc create mode 100644 t/recipes/checks/languages/python/distutils/python-imports-distutils/eval/hints create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/bootstrap-1.1.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/bootstrap.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/doxygen.css create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/feedparser.py create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/jquery.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/jquery.min.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/mocha.css create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/mocha.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/rss_parse.php create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/streams.php create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/build-spec/orig/tiny_mce_popup.js create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/eval/desc create mode 100644 t/recipes/checks/languages/python/feedparser/files-embedded/eval/hints create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/build-spec/orig/data/feedparser.py create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/languages/python/feedparser/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/languages/python/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/debian/compat.in create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/debian/python-kinterbasdb.install create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/orig/lib.c create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/orig/objects.inv create mode 100644 t/recipes/checks/languages/python/files-python-general/build-spec/orig/python.egg create mode 100644 t/recipes/checks/languages/python/files-python-general/eval/desc create mode 100644 t/recipes/checks/languages/python/files-python-general/eval/hints create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/orig/__init__.py create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/orig/site.py create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/build-spec/orig/tests.py create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/eval/desc create mode 100644 t/recipes/checks/languages/python/files-python-module-has-overly-generic-name/eval/hints create mode 100644 t/recipes/checks/languages/python/files-python-modules/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/files-python-modules/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/files-python-modules/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/files-python-modules/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/files-python-modules/build-spec/orig/python-foo create mode 100644 t/recipes/checks/languages/python/files-python-modules/eval/desc create mode 100644 t/recipes/checks/languages/python/files-python-modules/eval/hints create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/orig/bad create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/orig/good create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/build-spec/orig/good.py create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/eval/desc create mode 100644 t/recipes/checks/languages/python/files-unknown-file-in-python-module-directory/eval/hints create mode 100644 t/recipes/checks/languages/python/homepage/pypi/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/homepage/pypi/eval/desc create mode 100644 t/recipes/checks/languages/python/homepage/pypi/eval/hints create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/build-spec/debian/missing-sources/fake.py create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/build-spec/debian/pycompat create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/build-spec/debian/pyversions create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/build-spec/fill-values create mode 100755 t/recipes/checks/languages/python/obsolete/cruft-python/build-spec/pre-build create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/eval/desc create mode 100644 t/recipes/checks/languages/python/obsolete/cruft-python/eval/hints create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/languages/python/obsolete/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/build-spec/orig/some-file create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/eval/desc create mode 100644 t/recipes/checks/languages/python/python-ancient-python-version-field/eval/hints create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-alternative/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-alternative/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-alternative/eval/desc create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-alternative/eval/hints create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-unrel/eval/desc create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx-unrel/eval/hints create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx/eval/desc create mode 100644 t/recipes/checks/languages/python/python-build-depends-on-sphinx/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-flit/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-flit/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-flit/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-flit/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-flit/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-hatchling/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-hatchling/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-hatchling/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-hatchling/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-hatchling/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-mesonpy/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-mesonpy/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-mesonpy/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-mesonpy/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-mesonpy/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-pdm-pep517/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-poetry/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-poetry/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-poetry/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-poetry/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-poetry/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-setuptools/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-setuptools/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-setuptools/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-setuptools/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-setuptools/eval/hints create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-sipbuild/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-sipbuild/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-sipbuild/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-sipbuild/eval/desc create mode 100644 t/recipes/checks/languages/python/python-could-use-pyproject-sipbuild/eval/hints create mode 100644 t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-depends-python2-and-python3/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/desc create mode 100644 t/recipes/checks/languages/python/python-depends-python2-and-python3/eval/hints create mode 100644 t/recipes/checks/languages/python/python-django-package-does-not-depend-on-django/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-django-package-does-not-depend-on-django/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-django-package-does-not-depend-on-django/eval/desc create mode 100644 t/recipes/checks/languages/python/python-django-package-does-not-depend-on-django/eval/hints create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/build-spec/orig/some-file create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/eval/desc create mode 100644 t/recipes/checks/languages/python/python-malformed-py-version/eval/hints create mode 100644 t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-mismatched-python-substvar/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/desc create mode 100644 t/recipes/checks/languages/python/python-mismatched-python-substvar/eval/hints create mode 100644 t/recipes/checks/languages/python/python-new-python2-package-unrel/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/python/python-new-python2-package-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-new-python2-package-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-new-python2-package-unrel/eval/desc create mode 100644 t/recipes/checks/languages/python/python-new-python2-package-unrel/eval/hints create mode 100644 t/recipes/checks/languages/python/python-new-python2-package/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/languages/python/python-new-python2-package/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-new-python2-package/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-new-python2-package/eval/desc create mode 100644 t/recipes/checks/languages/python/python-new-python2-package/eval/hints create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/build-spec/debian/install create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/build-spec/orig/some-file create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/eval/desc create mode 100644 t/recipes/checks/languages/python/python-old-python-version-field/eval/hints create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/desc create mode 100644 t/recipes/checks/languages/python/python-package-depends-on-package-from-other-python-variant/eval/hints create mode 100644 t/recipes/checks/languages/python/python-package-missing-depends-on-python/build-spec/debian/control.in create mode 100755 t/recipes/checks/languages/python/python-package-missing-depends-on-python/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/python-package-missing-depends-on-python/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-package-missing-depends-on-python/eval/desc create mode 100644 t/recipes/checks/languages/python/python-package-missing-depends-on-python/eval/hints create mode 100644 t/recipes/checks/languages/python/python-python2-apps/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-python2-apps/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-python2-apps/eval/desc create mode 100644 t/recipes/checks/languages/python/python-python2-apps/eval/hints create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3-unrel/eval/desc create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3-unrel/eval/hints create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3/eval/desc create mode 100644 t/recipes/checks/languages/python/python-python2-no-python3/eval/hints create mode 100644 t/recipes/checks/languages/python/python-source-package-encodes-python-version/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-source-package-encodes-python-version/eval/desc create mode 100644 t/recipes/checks/languages/python/python-source-package-encodes-python-version/eval/hints create mode 100644 t/recipes/checks/languages/python/python-valid-pdm/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-valid-pdm/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-valid-pdm/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-valid-pdm/eval/desc create mode 100644 t/recipes/checks/languages/python/python-valid-pdm/eval/hints create mode 100644 t/recipes/checks/languages/python/python-valid-poetry/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-valid-poetry/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-valid-poetry/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-valid-poetry/eval/desc create mode 100644 t/recipes/checks/languages/python/python-valid-poetry/eval/hints create mode 100644 t/recipes/checks/languages/python/python-wrong-pdm/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-wrong-pdm/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-wrong-pdm/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-wrong-pdm/eval/desc create mode 100644 t/recipes/checks/languages/python/python-wrong-pdm/eval/hints create mode 100644 t/recipes/checks/languages/python/python-wrong-poetry/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/python-wrong-poetry/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/python-wrong-poetry/build-spec/orig/pyproject.toml create mode 100644 t/recipes/checks/languages/python/python-wrong-poetry/eval/desc create mode 100644 t/recipes/checks/languages/python/python-wrong-poetry/eval/hints create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/install create mode 100755 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/script-bad1 create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/script-bad2 create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/script-good1 create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/debian/script-good2 create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/build-spec/fill-values create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/eval/desc create mode 100644 t/recipes/checks/languages/python/scripts/python-script-uses-unversioned-python-in-shebang/eval/hints create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/build-spec/debian/r-cran-false-positive.install create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/build-spec/debian/r-cran-positive.install create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/build-spec/fill-values create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/build-spec/orig/DESCRIPTION create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/eval/desc create mode 100644 t/recipes/checks/languages/r/architecture/fields-r-package-not-arch-all/eval/hints create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/debian/install create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/orig/src/test.Rda create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/orig/src/test.Rdata create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/orig/src/test.rda create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/build-spec/orig/src/test.rdata create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/eval/desc create mode 100644 t/recipes/checks/languages/r/files-r-data-unrel/eval/hints create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/debian/install create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/fill-values create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/orig/src/test.Rda create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/orig/src/test.Rdata create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/orig/src/test.rda create mode 100644 t/recipes/checks/languages/r/files-r-data/build-spec/orig/src/test.rdata create mode 100644 t/recipes/checks/languages/r/files-r-data/eval/desc create mode 100644 t/recipes/checks/languages/r/files-r-data/eval/hints create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/build-spec/debian/rules create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/build-spec/fill-values create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/build-spec/orig/DESCRIPTION create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/eval/desc create mode 100644 t/recipes/checks/languages/r/site-library/lacks-depends-on-r-api/eval/hints create mode 100644 t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/desc create mode 100644 t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/hints create mode 100644 t/recipes/checks/languages/ruby/gem-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/languages/ruby/gem-homepage/eval/desc create mode 100644 t/recipes/checks/languages/ruby/gem-homepage/eval/hints create mode 100644 t/recipes/checks/languages/rust/empty-rust-library-declares-provides/build-spec/debian/control.in create mode 100644 t/recipes/checks/languages/rust/empty-rust-library-declares-provides/build-spec/fill-values create mode 100644 t/recipes/checks/languages/rust/empty-rust-library-declares-provides/eval/desc create mode 100644 t/recipes/checks/languages/rust/empty-rust-library-declares-provides/eval/hints create mode 100644 t/recipes/checks/languages/rust/template-description/build-spec/fill-values create mode 100644 t/recipes/checks/languages/rust/template-description/eval/desc create mode 100644 t/recipes/checks/languages/rust/template-description/eval/hints create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/orig/basic.c create mode 100755 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/orig/getbuildid create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/build-spec/orig/ocaml.c create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/eval/desc create mode 100644 t/recipes/checks/libraries/debug-symbols/binaries-general/eval/hints create mode 100755 t/recipes/checks/libraries/debug-symbols/binaries-general/eval/post-test create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/gmp.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/hardening-trigger.h create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/ieee-data1.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/ieee-data2.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/ieee-data3.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libbz2.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libexpat.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libjpeg.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libm.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libmagic.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libopenjpeg.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libpcre3.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libpng.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libsqlite.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libtiff.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/libxml2.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/mpfr.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/template.1 create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/zlib.c create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/eval/desc create mode 100644 t/recipes/checks/libraries/embedded/binaries-embedded-libs/eval/hints create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/eval/desc create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit-fork/eval/hints create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/eval/desc create mode 100644 t/recipes/checks/libraries/shared/exit/shared-libs-exit/eval/hints create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/libraries/shared/file-permissions/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/eval/desc create mode 100644 t/recipes/checks/libraries/shared/file-permissions/shared-libs-exec-bit/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/libraries/shared/links/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.install create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-dev.install create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink-fp/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/debian/libfoo-dev.install create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/debian/libfoo1.install create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-dev-symlink/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-not-symlink/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-ldconfig-wrong-file/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/debian/libexecbit1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-missing-ldconfig-symlink/eval/hints create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/eval/desc create mode 100644 t/recipes/checks/libraries/shared/links/shared-libs-non-dev-symlink/eval/hints create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/debian/libhallo1.symbols create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/eval/desc create mode 100644 t/recipes/checks/libraries/shared/multi-arch/shared-libs-multi-arch-foreign/eval/hints create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/cblas.h create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/consumer.c create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/libcblas.c create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/eval/desc create mode 100644 t/recipes/checks/libraries/shared/obsolete/cblas/eval/hints create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/Makefile.in create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/debian/symbols create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/build-spec/orig/non-pic.c create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/eval/desc create mode 100644 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/eval/hints create mode 100755 t/recipes/checks/libraries/shared/relocation/shared-libs-non-pic-i386/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.install create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.symbols create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.install create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.symbols create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.install create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.symbols create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/mylibany.install create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/debian/mylibany.symbols create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/eval/desc create mode 100644 t/recipes/checks/libraries/shared/soname/binaries-doesnt-match-sonames/eval/hints create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/libraries/shared/soname/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/libraries/shared/soname/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/_symbols create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/copyright create mode 100755 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/orig/hello.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/orig/libhello.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/build-spec/orig/libhello.h create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/eval/desc create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/eval/hints create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-debug/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/libraries/shared/soname/missing/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/build-spec/orig/main.c create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/eval/desc create mode 100644 t/recipes/checks/libraries/shared/soname/missing/shared-libs-missing-soname/eval/hints create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/debian/libexecstack1.symbols create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/orig/foo.c create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/build-spec/orig/get.c create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/eval/desc create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-exec-stack/eval/hints create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/debian/libhallo1.symbols create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/orig/code.c create mode 100755 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/build-spec/orig/erase-pt-gnu-stack create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/eval/desc create mode 100644 t/recipes/checks/libraries/shared/stack/shared-libs-no-gnu-stack/eval/hints create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.install create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/compat.in create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/Makefile create mode 100755 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/app create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/eval/desc create mode 100644 t/recipes/checks/libraries/shared/trigger/ldconfig/shared-libs-ldconfig-scripts/eval/hints create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/build-spec/orig/other.c create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/eval/desc create mode 100644 t/recipes/checks/libraries/static/binaries-static-lib/eval/hints create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/eval/desc create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/with-fat-lto-objects/eval/hints create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/eval/desc create mode 100644 t/recipes/checks/libraries/static/link-time-optimization/without-fat-lto-objects/eval/hints create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/build-spec/orig/other.c create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/eval/desc create mode 100644 t/recipes/checks/libraries/static/name/underscore-s-suffix/eval/hints create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/eval/desc create mode 100644 t/recipes/checks/libraries/static/no-code/with-fat-lto-objects/eval/hints create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/debian/control.in create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/debian/rules create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/fill-values create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/code.c create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/code.h create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/eval/desc create mode 100644 t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/eval/hints create mode 100644 t/recipes/checks/linda/files-package-contains-foo/build-spec/debian/rules create mode 100644 t/recipes/checks/linda/files-package-contains-foo/build-spec/fill-values create mode 100644 t/recipes/checks/linda/files-package-contains-foo/eval/desc create mode 100644 t/recipes/checks/linda/files-package-contains-foo/eval/hints create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/linda/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/linda/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/linda/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/linda/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/linda/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/linda/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/lintian/override-context-mismatch/build-spec/debian/control.in create mode 100644 t/recipes/checks/lintian/override-context-mismatch/build-spec/debian/source/lintian-overrides create mode 100644 t/recipes/checks/lintian/override-context-mismatch/build-spec/fill-values create mode 100644 t/recipes/checks/lintian/override-context-mismatch/eval/desc create mode 100644 t/recipes/checks/lintian/override-context-mismatch/eval/hints create mode 100644 t/recipes/checks/lintian/override-not-used/build-spec/debian/source/lintian-overrides create mode 100644 t/recipes/checks/lintian/override-not-used/build-spec/fill-values create mode 100644 t/recipes/checks/lintian/override-not-used/eval/desc create mode 100644 t/recipes/checks/lintian/override-not-used/eval/hints create mode 100644 t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/debian/install create mode 100644 t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/fill-values create mode 100644 t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/orig/mailcap/imagemagick-6.q16 create mode 100644 t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/desc create mode 100644 t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/hints create mode 100644 t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/debian/install create mode 100644 t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/fill-values create mode 100644 t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/orig/mailcap/less create mode 100644 t/recipes/checks/mailcap/single-quoted-placeholder/eval/desc create mode 100644 t/recipes/checks/mailcap/single-quoted-placeholder/eval/hints create mode 100644 t/recipes/checks/mailcap/unquoted-placeholder/build-spec/debian/install create mode 100644 t/recipes/checks/mailcap/unquoted-placeholder/build-spec/fill-values create mode 100644 t/recipes/checks/mailcap/unquoted-placeholder/build-spec/orig/mailcap/lynx-common create mode 100644 t/recipes/checks/mailcap/unquoted-placeholder/eval/desc create mode 100644 t/recipes/checks/mailcap/unquoted-placeholder/eval/hints create mode 100755 t/recipes/checks/maintainer-scripts/adduser/home-in-var-run/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/adduser/home-in-var-run/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/adduser/home-in-var-run/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/adduser/home-in-var-run/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/ancient-version/scripts-supports-ancient-package-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/ancient-version/scripts-supports-ancient-package-version/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/ancient-version/scripts-supports-ancient-package-version/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/ancient-version/scripts-supports-ancient-package-version/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/ancient-version/scripts-supports-ancient-package-version/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/debian/install create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/orig/orphan create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/build-spec/orig/some-file create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions-variables/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/debian/install create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/orig/file.1 create mode 100755 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/orig/foo create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/orig/foo.1p create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/orig/orphan create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/build-spec/orig/some-file create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/diversion/scripts-diversions/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/dpkg-statoverride/scripts-unconditional-use-of-dpkg-statoverride/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/dpkg-statoverride/scripts-unconditional-use-of-dpkg-statoverride/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/dpkg-statoverride/scripts-unconditional-use-of-dpkg-statoverride/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/dpkg-statoverride/scripts-unconditional-use-of-dpkg-statoverride/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/dpkg-statoverride/scripts-unconditional-use-of-dpkg-statoverride/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/phpfoo create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/py3.Xfoo create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/py3foo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/empty/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/build-spec/debian/prerm create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/empty/scripts-maintainer-script-empty/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-forbidden.templates create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.preinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.prerm create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-unknown.postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-control-interpreters/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-general/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-script-classification/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-script-classification/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-script-classification/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-script-classification/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-maintainer-script-classification/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts-unrel/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/build-spec/debian/install create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/generated/scripts-missing-call-to-update-fonts/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-missing-call-to-dpkg-maintscript-helper/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/helper/dpkg/scripts-missing-call-to-dpkg-maintscript-helper/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/killall/scripts-killall/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/killall/scripts-killall/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/killall/scripts-killall/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/killall/scripts-killall/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/compat.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/control create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/copyright create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-postinst.templates create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test-preinst.templates create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test.config create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test.postinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test.templates create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test.templates.de create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-test.templates.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-udeb.postinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/debconf-udeb.templates create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/fr.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/lang.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/nds.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/output create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/pt_BR.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/sample-file.po create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/pycompat create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/pyversions create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-debconf/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.install create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/compat.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/Makefile create mode 100755 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/app create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/build-spec/orig/code.c create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/ldconfig/shared-libs-ldconfig-scripts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/mknod/scripts-maintainer-general/eval/hints create mode 100755 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/bootmisc.sh create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/init create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/install create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/links create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/systemd-general.masked.init create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/systemd-general.sourced.service create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/systemd-general.sourced.sh.init create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/systemd-general.systemd-aliasd.init create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/systemd-general.test.service create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/debian/test.conf create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/systemctl/systemd-general/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/maintainer-scripts/temporary-files/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/md5sums/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/md5sums/legacy-binary/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-binary/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/conffiles create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/conffiles.only create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/control create mode 100755 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/orig/improper create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/build-spec/orig/proper create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-etcfiles/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/md5sums/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/md5sums/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/md5sums/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/md5sums/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/control create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/copyright create mode 100755 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/debian/watch create mode 100644 t/recipes/checks/md5sums/legacy-foo++/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-foo++/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-foo++/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-foo++/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/md5sums/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/md5sums/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/md5sums/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/md5sums/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/md5sums/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/md5sums/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 create mode 100644 t/recipes/checks/md5sums/md5sums-general/eval/desc create mode 100644 t/recipes/checks/md5sums/md5sums-general/eval/hints create mode 100644 t/recipes/checks/md5sums/md5sums-missing/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/md5sums-missing/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/md5sums-missing/eval/desc create mode 100644 t/recipes/checks/md5sums/md5sums-missing/eval/hints create mode 100644 t/recipes/checks/md5sums/md5sums-traversal/build-spec/fill-values create mode 100755 t/recipes/checks/md5sums/md5sums-traversal/build-spec/pre-control create mode 100644 t/recipes/checks/md5sums/md5sums-traversal/eval/desc create mode 100644 t/recipes/checks/md5sums/md5sums-traversal/eval/hints create mode 100644 t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/debian/install create mode 100644 t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/orig/unknown-type.desktop create mode 100644 t/recipes/checks/menu-format/desktop-entry-unknown-type/eval/desc create mode 100644 t/recipes/checks/menu-format/desktop-entry-unknown-type/eval/hints create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/build-spec/debian/install create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/build-spec/debian/postinst create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/build-spec/debian/postrm create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/build-spec/orig/test-menu create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/eval/desc create mode 100644 t/recipes/checks/menu-format/item-has-needs-dwww/eval/hints create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/menu-format/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/menu-format/legacy-binary/eval/desc create mode 100644 t/recipes/checks/menu-format/legacy-binary/eval/hints create mode 100644 t/recipes/checks/menu-format/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/debian/install create mode 100755 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/debian/rules create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/crlf.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/directory.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/environments.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/general.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/link.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/missing.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/reserved-bad.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/build-spec/orig/reserved.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/eval/desc create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-general/eval/hints create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/control.in create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.install create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.manpages create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/eval/desc create mode 100644 t/recipes/checks/menu-format/menu-format-desktop-mimetype/eval/hints create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-broken.install create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-broken.manpages create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-broken.menu create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-cmd.install create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-cmd.menu create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-none.install create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-none.manpages create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-none.menu create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-section.install create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-section.manpages create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/debian/menu-section.menu create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/Makefile create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/broken.xpm create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/pargs create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/pargs.desktop create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/pargs.png create mode 100644 t/recipes/checks/menu-format/menu-format-general/build-spec/orig/too-large.xpm create mode 100644 t/recipes/checks/menu-format/menu-format-general/eval/desc create mode 100644 t/recipes/checks/menu-format/menu-format-general/eval/hints create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/build-spec/debian/install create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/build-spec/debian/postinst create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/build-spec/debian/postrm create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/build-spec/orig/test-menu create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/eval/desc create mode 100644 t/recipes/checks/menu-format/unknown-menu-tag/eval/hints create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/build-spec/debian/install create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/build-spec/debian/postinst create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/build-spec/debian/postrm create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/build-spec/fill-values create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/build-spec/orig/test-menu create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/eval/desc create mode 100644 t/recipes/checks/menu-format/whitespace-after-continuation-character/eval/hints create mode 100755 t/recipes/checks/menus/executable-in-docbase/build-spec/debian/doc-base.doc1 create mode 100644 t/recipes/checks/menus/executable-in-docbase/build-spec/debian/docs create mode 100755 t/recipes/checks/menus/executable-in-docbase/build-spec/debian/rules create mode 100644 t/recipes/checks/menus/executable-in-docbase/build-spec/fill-values create mode 100644 t/recipes/checks/menus/executable-in-docbase/build-spec/orig/doc1.txt create mode 100644 t/recipes/checks/menus/executable-in-docbase/eval/desc create mode 100644 t/recipes/checks/menus/executable-in-docbase/eval/hints create mode 100644 t/recipes/checks/menus/executable-menu-file/build-spec/debian/install create mode 100644 t/recipes/checks/menus/executable-menu-file/build-spec/debian/postinst create mode 100644 t/recipes/checks/menus/executable-menu-file/build-spec/debian/postrm create mode 100644 t/recipes/checks/menus/executable-menu-file/build-spec/fill-values create mode 100755 t/recipes/checks/menus/executable-menu-file/build-spec/orig/test-menu create mode 100644 t/recipes/checks/menus/executable-menu-file/eval/desc create mode 100644 t/recipes/checks/menus/executable-menu-file/eval/hints create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/menus/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/menus/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/menus/legacy-binary/eval/desc create mode 100644 t/recipes/checks/menus/legacy-binary/eval/hints create mode 100644 t/recipes/checks/menus/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/debian/control create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/debian/doc-base create mode 100755 t/recipes/checks/menus/legacy-filenames/build-spec/debian/rules create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/fill-values create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/orig/data/ .tif create mode 100644 "t/recipes/checks/menus/legacy-filenames/build-spec/orig/data/\".tif" create mode 100644 t/recipes/checks/menus/legacy-filenames/build-spec/orig/data/Maelstrom Sound create mode 100644 t/recipes/checks/menus/legacy-filenames/eval/desc create mode 100644 t/recipes/checks/menus/legacy-filenames/eval/hints create mode 100644 t/recipes/checks/menus/legacy-filenames/eval/post-test create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/control.in create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/doc-base create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/rules create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/fill-values create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/orig/documentation.txt create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/eval/desc create mode 100644 t/recipes/checks/menus/menus-doc-base-file-references-missing-file/eval/hints create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc1 create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc2 create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/docs create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/fill-values create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc1.txt create mode 100644 t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc2.txt create mode 100644 t/recipes/checks/menus/menus-doc-base-general/eval/desc create mode 100644 t/recipes/checks/menus/menus-doc-base-general/eval/hints create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/control.in create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-html.docs create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-pdf.install create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/fill-values create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc1.html create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc2.pdf create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/eval/desc create mode 100644 t/recipes/checks/menus/menus-doc-base-registration/eval/hints create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postinst create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postrm create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/preinst create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/prerm create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/build-spec/fill-values create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/eval/desc create mode 100644 t/recipes/checks/menus/menus-foo-calls-bar/eval/hints create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/install create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/postinst create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/postrm create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/prerm create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/test-doc create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/test-doc.txt create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/test-menu create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/test-script create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/debian/test-script.1 create mode 100644 t/recipes/checks/menus/menus-script-check-ok/build-spec/fill-values create mode 100644 t/recipes/checks/menus/menus-script-check-ok/eval/desc create mode 100644 t/recipes/checks/menus/menus-script-check-ok/eval/hints create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/conffiles create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/control create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/copyright create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/doc-base create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/menu create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/menu-method create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/postinst create mode 100755 t/recipes/checks/menus/national-encoding/build-spec/debian/rules create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/debian/templates create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/orig/Makefile create mode 100644 t/recipes/checks/menus/national-encoding/build-spec/orig/hello.c create mode 100644 t/recipes/checks/menus/national-encoding/eval/desc create mode 100644 t/recipes/checks/menus/national-encoding/eval/hints create mode 100644 t/recipes/checks/menus/national-encoding/eval/post-test create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/copyright create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/doc-base create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/patches/add-readme create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/patches/nonrel create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/patches/series create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/debian/patches/spelling create mode 100644 t/recipes/checks/menus/spelling-general/build-spec/fill-values create mode 100644 t/recipes/checks/menus/spelling-general/eval/desc create mode 100644 t/recipes/checks/menus/spelling-general/eval/hints create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/mimeinfo/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/mimeinfo/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/mimeinfo/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/mimeinfo/files-general/eval/desc create mode 100644 t/recipes/checks/mimeinfo/files-general/eval/hints create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/clean create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/dirs create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/examples create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/install create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/links create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/debian/manpages create mode 100755 t/recipes/checks/modprobe/files-general/build-spec/debian/rules create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/fill-values create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/--lzma create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/dir create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/file-in-new-top-level-dir create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/foo.5 create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/foo.vcproj create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/lintian-16x16.png create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/lintian-22x22.png create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/lintian.conf create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/mimeinfo.cache create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/php-foo.ini create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/sudotest create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/tnu.1 create mode 100644 t/recipes/checks/modprobe/files-general/build-spec/orig/types create mode 100644 t/recipes/checks/modprobe/files-general/eval/desc create mode 100644 t/recipes/checks/modprobe/files-general/eval/hints create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/fill-values create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-install.conf create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-lib.conf create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/desc create mode 100644 t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints create mode 100644 t/recipes/checks/nmu/changelog-file-symlink/build-spec/fill-values create mode 100755 t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build create mode 100644 t/recipes/checks/nmu/changelog-file-symlink/eval/desc create mode 100644 t/recipes/checks/nmu/changelog-file-symlink/eval/hints create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/desc create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/hints create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/control.in create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/desc create mode 100644 t/recipes/checks/nmu/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/hints create mode 100644 t/recipes/checks/nmu/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/nmu/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/nmu/generic-empty/build-spec/pre-build create mode 100644 t/recipes/checks/nmu/generic-empty/eval/desc create mode 100644 t/recipes/checks/nmu/generic-empty/eval/hints create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/nmu/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/nmu/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/nmu/legacy-binary/eval/desc create mode 100644 t/recipes/checks/nmu/legacy-binary/eval/hints create mode 100644 t/recipes/checks/nmu/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/nmu/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/nmu/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/legacy-fields/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/legacy-fields/eval/desc create mode 100644 t/recipes/checks/nmu/legacy-fields/eval/hints create mode 100644 t/recipes/checks/nmu/legacy-fields/eval/post-test create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/nmu/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/nmu/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/nmu/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/nmu/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/nmu/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/nmu/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/nmu/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/nmu/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/nmu/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/nmu/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/nmu/nmu-case-insensitive/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-case-insensitive/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-case-insensitive/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-case-insensitive/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-local-changelog/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-local-changelog/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-local-changelog/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-local-changelog/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-local-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-local-version/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-local-version/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-local-version/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-multi-author/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-multi-author/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-multi-author/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-multi-author/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-not-a-nmu/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-not-a-nmu/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-not-a-nmu/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-not-a-nmu/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-qa-upload/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-qa-upload/build-spec/debian/control.in create mode 100644 t/recipes/checks/nmu/nmu-qa-upload/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-qa-upload/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-qa-upload/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-space-around-maintainer/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-space-around-maintainer/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-space-around-maintainer/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-space-around-maintainer/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-team-upload/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-team-upload/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-team-upload/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-team-upload/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-ubuntu-native/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-ubuntu-native/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-ubuntu-native/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-ubuntu-native/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-unnecessary-team-upload/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-unnecessary-team-upload/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-unnecessary-team-upload/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-unnecessary-team-upload/eval/hints create mode 100644 t/recipes/checks/nmu/nmu-with-maintainer-ack/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/nmu/nmu-with-maintainer-ack/build-spec/fill-values create mode 100644 t/recipes/checks/nmu/nmu-with-maintainer-ack/eval/desc create mode 100644 t/recipes/checks/nmu/nmu-with-maintainer-ack/eval/hints create mode 100644 t/recipes/checks/obsolete-sites/fields-cpan-homepage/build-spec/debian/control.in create mode 100644 t/recipes/checks/obsolete-sites/fields-cpan-homepage/build-spec/fill-values create mode 100644 t/recipes/checks/obsolete-sites/fields-cpan-homepage/eval/desc create mode 100644 t/recipes/checks/obsolete-sites/fields-cpan-homepage/eval/hints create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/build-spec/debian/control.in create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/build-spec/debian/copyright create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/build-spec/debian/upstream/metadata create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/build-spec/debian/watch create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/build-spec/fill-values create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/eval/desc create mode 100644 t/recipes/checks/obsolete-sites/obsolete-sites/eval/hints create mode 100644 t/recipes/checks/origtar/empty-orig-tarball/build-spec/fill-values create mode 100644 t/recipes/checks/origtar/empty-orig-tarball/eval/desc create mode 100644 t/recipes/checks/origtar/empty-orig-tarball/eval/hints create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/build-spec/debian/install create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/build-spec/fill-values create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/build-spec/orig/hello.c create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/eval/desc create mode 100644 t/recipes/checks/pe/missing-security-features-32-bit/eval/hints create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/build-spec/debian/install create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/build-spec/fill-values create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/build-spec/orig/Makefile create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/build-spec/orig/hello.c create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/eval/desc create mode 100644 t/recipes/checks/pe/missing-security-features-64-bit/eval/hints create mode 100644 t/recipes/checks/pe/missing-security-features-fp/build-spec/debian/install create mode 100644 t/recipes/checks/pe/missing-security-features-fp/build-spec/fill-values create mode 100644 t/recipes/checks/pe/missing-security-features-fp/build-spec/orig/.coverage create mode 100644 t/recipes/checks/pe/missing-security-features-fp/build-spec/orig/gdbreplay-pe32+.exe create mode 100644 t/recipes/checks/pe/missing-security-features-fp/build-spec/orig/gdbreplay-pe32.exe create mode 100644 t/recipes/checks/pe/missing-security-features-fp/eval/desc create mode 100644 t/recipes/checks/pe/missing-security-features-fp/eval/hints create mode 100644 t/recipes/checks/script/deprecated/chown/recursive-chown-with-dot/build-spec/debian/install create mode 100644 t/recipes/checks/script/deprecated/chown/recursive-chown-with-dot/build-spec/fill-values create mode 100755 t/recipes/checks/script/deprecated/chown/recursive-chown-with-dot/build-spec/orig/bin/deprecated-usage create mode 100644 t/recipes/checks/script/deprecated/chown/recursive-chown-with-dot/eval/desc create mode 100644 t/recipes/checks/script/deprecated/chown/recursive-chown-with-dot/eval/hints create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/script/syntax/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/script/syntax/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/script/syntax/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/phpfoo create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/py3.Xfoo create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/py3foo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/script/syntax/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/script/syntax/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/script/syntax/scripts-bashisms/build-spec/debian/postinst create mode 100644 t/recipes/checks/script/syntax/scripts-bashisms/build-spec/debian/prerm create mode 100644 t/recipes/checks/script/syntax/scripts-bashisms/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/scripts-bashisms/eval/desc create mode 100644 t/recipes/checks/script/syntax/scripts-bashisms/eval/hints create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/debian/control.in create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/debian/examples create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/debian/install create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/debian/links create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/debian/manpages create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/bin-env create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/csh-shell create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/cwl-runner create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/interpreters.1 create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/no-interpreter create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/not-absolute create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/python2.7 create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/syntax create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/unusual create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/unversioned-pike create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/usr-bin-env-perl create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/usr-local create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/usr-local-bin-perl create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/versioned-pike create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/build-spec/orig/wrong-perl-path create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/eval/desc create mode 100644 t/recipes/checks/script/syntax/scripts-interpreters/eval/hints create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/script/syntax/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/NEWS.Debian create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/README.Debian create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/conffiles create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/control create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/copyright create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/doc-base create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/goodbye.desktop create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/hello.desktop create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/menu create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/menu-method create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/postinst create mode 100755 t/recipes/checks/scripts/legacy-binary/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/debian/templates create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/orig/INSTALL create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/orig/Makefile create mode 100644 t/recipes/checks/scripts/legacy-binary/build-spec/orig/hello.c create mode 100644 t/recipes/checks/scripts/legacy-binary/eval/desc create mode 100644 t/recipes/checks/scripts/legacy-binary/eval/hints create mode 100644 t/recipes/checks/scripts/legacy-binary/eval/post-test create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/compat.in create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/control create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/copyright create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/dev.postinst create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/dev.prerm create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/lib.postinst create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/lib.prerm create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/lib.shlibs create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/lib.symbols create mode 100755 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/orig/Makefile create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/orig/baz.c create mode 100644 t/recipes/checks/scripts/legacy-libbaz/build-spec/orig/extra.c create mode 100644 t/recipes/checks/scripts/legacy-libbaz/eval/desc create mode 100644 t/recipes/checks/scripts/legacy-libbaz/eval/hints create mode 100755 t/recipes/checks/scripts/legacy-libbaz/eval/post-test create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/scripts/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/phpfoo create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/py3.Xfoo create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/py3foo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/scripts/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/scripts/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/scripts/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/scripts/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/scripts/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/scripts/scripts-bashisms/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-bashisms/build-spec/debian/prerm create mode 100644 t/recipes/checks/scripts/scripts-bashisms/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-bashisms/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-bashisms/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/fill-values create mode 100755 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/bad create mode 100755 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/other-action create mode 100755 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/self-invoke create mode 100755 t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-calls-init-script/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/po/POTFILES.in create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/po/de.po create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/po/templates.pot create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-forbidden.config create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-forbidden.postinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-forbidden.postrm create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-forbidden.templates create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.postinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.preinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-paths.prerm create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-prepython.postinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-prepython.preinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-python.postinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-python.preinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/debian/scripts-control-interpreters-unknown.postinst create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-control-interpreters/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/orig/orphan create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/build-spec/orig/some-file create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-diversions-variables/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/orig/file.1 create mode 100755 t/recipes/checks/scripts/scripts-diversions/build-spec/orig/foo create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/orig/foo.1p create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/orig/orphan create mode 100644 t/recipes/checks/scripts/scripts-diversions/build-spec/orig/some-file create mode 100644 t/recipes/checks/scripts/scripts-diversions/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-diversions/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/debian/postrm create mode 100755 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/orig/true.c create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-does-not-start-with-shebang/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/debian/clean create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/debian/manpages create mode 100755 t/recipes/checks/scripts/scripts-exec/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/orig/01-normal-script create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/orig/02-no-exec-script create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/orig/03-hardlink-script create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/orig/04-not-a-script create mode 100644 t/recipes/checks/scripts/scripts-exec/build-spec/orig/script.pod create mode 100644 t/recipes/checks/scripts/scripts-exec/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-exec/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/examples create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/links create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/manpages create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/interpreters.1 create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-node create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-nodejs create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/debian/examples create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/debian/links create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/debian/manpages create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/bin-env create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/csh-shell create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/cwl-runner create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/interpreters.1 create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/no-interpreter create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/not-absolute create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/python2.7 create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/syntax create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/unusual create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/unversioned-pike create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/usr-bin-env-perl create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/usr-local create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/usr-local-bin-perl create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/versioned-pike create mode 100644 t/recipes/checks/scripts/scripts-interpreters/build-spec/orig/wrong-perl-path create mode 100644 t/recipes/checks/scripts/scripts-interpreters/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-interpreters/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-killall/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-killall/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-killall/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-killall/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/debian/maintscript create mode 100755 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/debian/prerm create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-maintainer-general/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/build-spec/debian/prerm create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-empty/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-invalid-update-inetd-options/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-invalid-update-inetd-options/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-invalid-update-inetd-options/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-invalid-update-inetd-options/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-set-e/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-set-e/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-set-e/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-maintainer-script-set-e/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-dpkg-maintscript-helper/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-dpkg-maintscript-helper/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-dpkg-maintscript-helper/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts-unrel/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages create mode 100755 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/fill-values create mode 100755 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python2-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/python3-script create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/orig/script.pod create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-dep-fp/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/clean create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/install create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/manpages create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/postinst create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/debian/rules create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/fill-values create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/gawk-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/mawk-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/php-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python2-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/python3-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/ruby-script create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/script.pod create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/tclsh-script create mode 100755 t/recipes/checks/scripts/scripts-missing-dep/build-spec/orig/wish-script create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-dep/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/build-spec/debian/scripts-missing-versioned-depends-on-init-system-helpers-with.postinst create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/build-spec/debian/scripts-missing-versioned-depends-on-init-system-helpers-without.postinst create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-missing-versioned-depends-on-init-system-helpers/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-multi-arch-same-calls-pycompile/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-multi-arch-same-calls-pycompile/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-multi-arch-same-calls-pycompile/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-multi-arch-same-calls-pycompile/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-multi-arch-same-calls-pycompile/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/build-spec/orig/Makefile create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/build-spec/orig/script1 create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-ocamlrun/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-with.postinst create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-without.postinst create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-skip-systemd-native/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-supports-ancient-package-version/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/scripts/scripts-supports-ancient-package-version/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-supports-ancient-package-version/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-supports-ancient-package-version/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-supports-ancient-package-version/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/control.in create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/build-spec/debian/postrm create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/build-spec/debian/prerm create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-udevadm-called-without-guard/eval/hints create mode 100644 t/recipes/checks/scripts/scripts-unconditional-use-of-dpkg-statoverride/build-spec/debian/postinst create mode 100644 t/recipes/checks/scripts/scripts-unconditional-use-of-dpkg-statoverride/build-spec/debian/preinst create mode 100644 t/recipes/checks/scripts/scripts-unconditional-use-of-dpkg-statoverride/build-spec/fill-values create mode 100644 t/recipes/checks/scripts/scripts-unconditional-use-of-dpkg-statoverride/eval/desc create mode 100644 t/recipes/checks/scripts/scripts-unconditional-use-of-dpkg-statoverride/eval/hints create mode 100644 t/recipes/checks/shell/bash/completion/bash-completion-with-hashbang/build-spec/debian/install create mode 100644 t/recipes/checks/shell/bash/completion/bash-completion-with-hashbang/build-spec/fill-values create mode 100644 t/recipes/checks/shell/bash/completion/bash-completion-with-hashbang/build-spec/orig/has-hashbang create mode 100644 t/recipes/checks/shell/bash/completion/bash-completion-with-hashbang/eval/desc create mode 100644 t/recipes/checks/shell/bash/completion/bash-completion-with-hashbang/eval/hints create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/debian/control.in create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/debian/examples create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/debian/install create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/debian/links create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/debian/manpages create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/fill-values create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/bin-env create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/csh-shell create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/cwl-runner create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/interpreters.1 create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/no-interpreter create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/not-absolute create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/python2.7 create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/syntax create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/unusual create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/unversioned-pike create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/usr-bin-env-perl create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/usr-local create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/usr-local-bin-perl create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/versioned-pike create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/build-spec/orig/wrong-perl-path create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/eval/desc create mode 100644 t/recipes/checks/shell/csh/scripts-interpreters/eval/hints create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/config create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/build-spec/debian/install create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/build-spec/fill-values create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/build-spec/orig/scripts/one create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/build-spec/orig/scripts/two create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/eval/desc create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/regular-shipped/eval/hints create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/scripts-bashisms/build-spec/debian/postinst create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/scripts-bashisms/build-spec/debian/prerm create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/scripts-bashisms/build-spec/fill-values create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/scripts-bashisms/eval/desc create mode 100644 t/recipes/checks/shell/non-posix/bash-centric/scripts-bashisms/eval/hints create mode 100644 t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/debian/control.in create mode 100644 t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/fill-values create mode 100644 t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/desc create mode 100644 t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/hints create mode 100644 t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/debian/control.in create mode 100644 t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/fill-values create mode 100644 t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/desc create mode 100644 t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/hints create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general-bugs.init create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general-bugs.postinst create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general-interpreter-in-usr-dir.init create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general-new-style.init create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general-sourcing-without-test.init create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general.default create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/debian/init.d-general.init create mode 100644 t/recipes/checks/systemd/init.d-general/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/init.d-general/eval/desc create mode 100644 t/recipes/checks/systemd/init.d-general/eval/hints create mode 100644 t/recipes/checks/systemd/kill-mode-none/build-spec/debian/service create mode 100644 t/recipes/checks/systemd/kill-mode-none/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/kill-mode-none/eval/desc create mode 100644 t/recipes/checks/systemd/kill-mode-none/eval/hints create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/copyright create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/00list create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/00list.sparc create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/00options create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/preinst create mode 100755 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/scripts.conffiles create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/csh-foo create mode 100755 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/envfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/fish-foo create mode 100755 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/gccbug.dpatch create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/guile-bizarre create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/init-lsb-broken create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/init-lsb-other create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/init-no-lsb create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/init-skeleton create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/jruby-broken create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/lefty-foo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/make-foo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/perl-bizarre-1 create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/perl-bizarre-2 create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/perl-bizarre-3 create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/perlfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/phpenvfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/phpfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/rubyfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/sh-broken create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/suidperlfoo create mode 100755 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/tkfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/wishfoo create mode 100644 t/recipes/checks/systemd/legacy-scripts/build-spec/orig/xsession-test create mode 100755 t/recipes/checks/systemd/legacy-scripts/build-spec/pre-build create mode 100644 t/recipes/checks/systemd/legacy-scripts/eval/desc create mode 100644 t/recipes/checks/systemd/legacy-scripts/eval/hints create mode 100644 t/recipes/checks/systemd/legacy-scripts/eval/post-test create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-with.postinst create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-without.postinst create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/eval/desc create mode 100644 t/recipes/checks/systemd/native/prerequisites/scripts-skip-systemd-native/eval/hints create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/debian/init create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/debian/no-systemd-service-for-init-script.other.init create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/debian/no-systemd-service-for-init-script.service create mode 100755 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/debian/rules create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/eval/desc create mode 100644 t/recipes/checks/systemd/no-systemd-service-for-init-script/eval/hints create mode 100755 t/recipes/checks/systemd/no-systemd-timer-for-cron-script/build-spec/debian/rules create mode 100644 t/recipes/checks/systemd/no-systemd-timer-for-cron-script/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/no-systemd-timer-for-cron-script/eval/desc create mode 100644 t/recipes/checks/systemd/no-systemd-timer-for-cron-script/eval/hints create mode 100644 t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/install create mode 100644 t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/no-install.service create mode 100644 t/recipes/checks/systemd/service-file-no-install-key/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/service-file-no-install-key/eval/desc create mode 100644 t/recipes/checks/systemd/service-file-no-install-key/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/install create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test2.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test3.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test4.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test5.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test@.service create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-complex-service-file/eval/hints create mode 100755 t/recipes/checks/systemd/systemd-general/build-spec/debian/bootmisc.sh create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/init create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/install create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/links create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/postrm create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/rules create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/systemd-general.masked.init create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/systemd-general.sourced.service create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/systemd-general.sourced.sh.init create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/systemd-general.systemd-aliasd.init create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/systemd-general.test.service create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/debian/test.conf create mode 100644 t/recipes/checks/systemd/systemd-general/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-general/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-general/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-template.init create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-template@.service create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-with.init create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-with.service create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-without-rcs.init create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/debian/systemd-missing-services-without.init create mode 100644 t/recipes/checks/systemd/systemd-missing-services/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-missing-services/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-missing-services/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/build-spec/debian/systemd-service-file-refers-to-var-run-bad.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/build-spec/debian/systemd-service-file-refers-to-var-run-good.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-service-file-refers-to-var-run/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/build-spec/debian/systemd-service-file-shutdown-problems-bad.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/build-spec/debian/systemd-service-file-shutdown-problems-good.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-service-file-shutdown-problems/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/build-spec/debian/systemd-service-file-uses-deprecated-syslog-facility-bad.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/build-spec/debian/systemd-service-file-uses-deprecated-syslog-facility-good.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-deprecated-syslog-facility/eval/hints create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/build-spec/debian/control.in create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/build-spec/debian/systemd-service-file-uses-nobody-or-nogroup-bad.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/build-spec/debian/systemd-service-file-uses-nobody-or-nogroup-good.service create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/eval/desc create mode 100644 t/recipes/checks/systemd/systemd-service-file-uses-nobody-or-nogroup/eval/hints create mode 100644 t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/install create mode 100644 t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/test.conf create mode 100644 t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/desc create mode 100644 t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/hints create mode 100644 t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/install create mode 100644 t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/test.conf create mode 100644 t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/fill-values create mode 100644 t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/desc create mode 100644 t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/hints create mode 100644 t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/debian/install create mode 100644 t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/orig/nodejs/buffer.js create mode 100644 t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/desc create mode 100644 t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/hints create mode 100644 t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/fill-values create mode 100755 t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build create mode 100644 t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc create mode 100644 t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints create mode 100644 t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values create mode 100755 t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build create mode 100644 t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc create mode 100644 t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints create mode 100644 t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-js/vcs/personal-github/eval/desc create mode 100644 t/recipes/checks/team/pkg-js/vcs/personal-github/eval/hints create mode 100644 t/recipes/checks/team/pkg-js/vcs/svn/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-js/vcs/svn/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-js/vcs/svn/eval/desc create mode 100644 t/recipes/checks/team/pkg-js/vcs/svn/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/fill-values create mode 100755 t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/pre-build create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/fill-values create mode 100755 t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/pre-build create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/fill-values create mode 100755 t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/pre-build create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/vcs/personal-github/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-perl/vcs/personal-github/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-perl/vcs/personal-github/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/vcs/personal-github/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/vcs/svn/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-perl/vcs/svn/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-perl/vcs/svn/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/vcs/svn/eval/hints create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/build-spec/debian/control.in create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/build-spec/debian/install create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/build-spec/fill-values create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/build-spec/orig/perl5/Legacy/Module.pm create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/eval/desc create mode 100644 t/recipes/checks/team/pkg-perl/xs-abi/ships-legacy-vendorarch/eval/hints create mode 100644 t/recipes/checks/template/dh-make/control/vcs/control-file-general/build-spec/debian/control.in create mode 100644 t/recipes/checks/template/dh-make/control/vcs/control-file-general/build-spec/debian/rules create mode 100644 t/recipes/checks/template/dh-make/control/vcs/control-file-general/build-spec/fill-values create mode 100644 t/recipes/checks/template/dh-make/control/vcs/control-file-general/eval/desc create mode 100644 t/recipes/checks/template/dh-make/control/vcs/control-file-general/eval/hints create mode 100644 t/recipes/checks/testsuite/all-superficial/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/all-superficial/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/all-superficial/build-spec/debian/tests/test-2 create mode 100644 t/recipes/checks/testsuite/all-superficial/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/all-superficial/eval/desc create mode 100644 t/recipes/checks/testsuite/all-superficial/eval/hints create mode 100644 t/recipes/checks/testsuite/command-with-ampersand/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/command-with-ampersand/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/command-with-ampersand/eval/desc create mode 100644 t/recipes/checks/testsuite/command-with-ampersand/eval/hints create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/control.in create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/script create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/eval/desc create mode 100644 t/recipes/checks/testsuite/does-not-query-declared-python-versions/eval/hints create mode 100644 t/recipes/checks/testsuite/empty-tests-control/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/empty-tests-control/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/empty-tests-control/eval/desc create mode 100644 t/recipes/checks/testsuite/empty-tests-control/eval/hints create mode 100644 t/recipes/checks/testsuite/missing-tests-control/build-spec/debian/control.in create mode 100644 t/recipes/checks/testsuite/missing-tests-control/build-spec/fill-values create mode 100755 t/recipes/checks/testsuite/missing-tests-control/build-spec/pre-build create mode 100644 t/recipes/checks/testsuite/missing-tests-control/eval/desc create mode 100644 t/recipes/checks/testsuite/missing-tests-control/eval/hints create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/debian/tests/control.autodep8 create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/debian/tests/test-2 create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/debian/tests/under_score create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/national-encoding/build-spec/orig/subdir/test-in-subdir create mode 100755 t/recipes/checks/testsuite/national-encoding/build-spec/pre-build create mode 100644 t/recipes/checks/testsuite/national-encoding/eval/desc create mode 100644 t/recipes/checks/testsuite/national-encoding/eval/hints create mode 100644 t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/script create mode 100644 t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/desc create mode 100644 t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/hints create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-installed-python-versions/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-installed-python-versions/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-installed-python-versions/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-installed-python-versions/eval/desc create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-installed-python-versions/eval/hints create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-supported-python-versions-without-test-depends/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-supported-python-versions-without-test-depends/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-supported-python-versions-without-test-depends/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-supported-python-versions-without-test-depends/eval/desc create mode 100644 t/recipes/checks/testsuite/runtime-test-file-uses-supported-python-versions-without-test-depends/eval/hints create mode 100644 t/recipes/checks/testsuite/should-query-all-python-versions/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/should-query-all-python-versions/build-spec/debian/tests/some-python create mode 100644 t/recipes/checks/testsuite/should-query-all-python-versions/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/should-query-all-python-versions/eval/desc create mode 100644 t/recipes/checks/testsuite/should-query-all-python-versions/eval/hints create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/debian/tests/control.autodep8 create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/debian/tests/test-2 create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/debian/tests/under_score create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/testsuite-general/build-spec/orig/subdir/test-in-subdir create mode 100755 t/recipes/checks/testsuite/testsuite-general/build-spec/pre-build create mode 100644 t/recipes/checks/testsuite/testsuite-general/eval/desc create mode 100644 t/recipes/checks/testsuite/testsuite-general/eval/hints create mode 100644 t/recipes/checks/testsuite/testsuite-no-op/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/testsuite-no-op/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/testsuite-no-op/eval/desc create mode 100644 t/recipes/checks/testsuite/testsuite-no-op/eval/hints create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/control.in create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/control create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/test-1 create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/eval/desc create mode 100644 t/recipes/checks/testsuite/testsuite-unknown-suite/eval/hints create mode 100644 t/recipes/checks/testsuite/unnecessary-testsuite-autopkgtest-field/build-spec/debian/control.in create mode 100644 t/recipes/checks/testsuite/unnecessary-testsuite-autopkgtest-field/build-spec/fill-values create mode 100644 t/recipes/checks/testsuite/unnecessary-testsuite-autopkgtest-field/eval/desc create mode 100644 t/recipes/checks/testsuite/unnecessary-testsuite-autopkgtest-field/eval/hints create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/control.in create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/postinst create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/postrm create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/preinst create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/prerm create mode 100755 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/rules create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/triggers create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/debian/watch create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/build-spec/fill-values create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/eval/desc create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/eval/hints create mode 100644 t/recipes/checks/triggers/legacy-maintainer-scripts/eval/post-test create mode 100644 t/recipes/checks/triggers/triggers-general/build-spec/debian/triggers create mode 100644 t/recipes/checks/triggers/triggers-general/build-spec/fill-values create mode 100644 t/recipes/checks/triggers/triggers-general/eval/desc create mode 100644 t/recipes/checks/triggers/triggers-general/eval/hints create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/udev/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/udev/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/udev/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/udev/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/udev/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/checks/udev/udev-rules/build-spec/debian/rules create mode 100644 t/recipes/checks/udev/udev-rules/build-spec/debian/udev-rules.dirs create mode 100644 t/recipes/checks/udev/udev-rules/build-spec/debian/udev-rules.metadata.xml create mode 100644 t/recipes/checks/udev/udev-rules/build-spec/debian/udev-rules.udev create mode 100644 t/recipes/checks/udev/udev-rules/build-spec/fill-values create mode 100644 t/recipes/checks/udev/udev-rules/eval/desc create mode 100644 t/recipes/checks/udev/udev-rules/eval/hints create mode 100644 t/recipes/checks/unpack/ancient-source/build-spec/debian/watch create mode 100644 t/recipes/checks/unpack/ancient-source/build-spec/fill-values create mode 100644 t/recipes/checks/unpack/ancient-source/build-spec/orig/README create mode 100755 t/recipes/checks/unpack/ancient-source/build-spec/pre-orig create mode 100644 t/recipes/checks/unpack/ancient-source/eval/desc create mode 100644 t/recipes/checks/unpack/ancient-source/eval/hints create mode 100644 t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/fill-values create mode 100755 t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/tar-data create mode 100644 t/recipes/checks/unpack/tar-removing-leading-slash/eval/desc create mode 100644 t/recipes/checks/unpack/tar-removing-leading-slash/eval/hints create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing-dfsg/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing-dfsg/build-spec/fill-values create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing-dfsg/eval/desc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing-dfsg/eval/hints create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/fill-values create mode 100755 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/build-spec/pre-build create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/desc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-missing/eval/hints create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/build-spec/fill-values create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/build-spec/orig/some-file create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/build-spec/upstream/private-key.asc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/eval/desc create mode 100644 t/recipes/checks/upstream-signature/control-file-upstream-signature-not-missing/eval/hints create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/build-spec/fill-values create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/build-spec/orig/some-file create mode 100755 t/recipes/checks/upstream-signature/doubly-armored-signature/build-spec/pre-build.in create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/build-spec/upstream/private-key.asc create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/eval/desc create mode 100644 t/recipes/checks/upstream-signature/doubly-armored-signature/eval/hints create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/build-spec/fill-values create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/build-spec/orig/some-file create mode 100755 t/recipes/checks/upstream-signature/explicit-armor-header/build-spec/pre-build.in create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/build-spec/upstream/private-key.asc create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/eval/desc create mode 100644 t/recipes/checks/upstream-signature/explicit-armor-header/eval/hints create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/build-spec/debian/upstream/signing-key.asc create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/build-spec/fill-values create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/build-spec/orig/some-file create mode 100755 t/recipes/checks/upstream-signature/repeated-signature/build-spec/pre-build.in create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/build-spec/upstream/private-key.asc create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/eval/desc create mode 100644 t/recipes/checks/upstream-signature/repeated-signature/eval/hints create mode 100644 t/recipes/checks/usrmerge/usrmerge-bin/build-spec/debian/install create mode 100755 t/recipes/checks/usrmerge/usrmerge-bin/build-spec/debian/script create mode 100644 t/recipes/checks/usrmerge/usrmerge-bin/build-spec/fill-values create mode 100644 t/recipes/checks/usrmerge/usrmerge-bin/eval/desc create mode 100644 t/recipes/checks/usrmerge/usrmerge-bin/eval/hints create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/debian/compat.in create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/debian/control.in create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/debian/rules create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/fill-values create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/orig/Makefile create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/build-spec/orig/basic.c create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/eval/desc create mode 100644 t/recipes/checks/usrmerge/usrmerge-lib/eval/hints create mode 100644 t/recipes/checks/vim/addons/depends-on-vim-addon-manager/build-spec/debian/control.in create mode 100644 t/recipes/checks/vim/addons/depends-on-vim-addon-manager/build-spec/fill-values create mode 100644 t/recipes/checks/vim/addons/depends-on-vim-addon-manager/eval/desc create mode 100644 t/recipes/checks/vim/addons/depends-on-vim-addon-manager/eval/hints create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/debian/clean create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/debian/dirs create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/debian/install create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/debian/manpages create mode 100755 t/recipes/checks/vim/files-foo-in-bar/build-spec/debian/rules create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/fill-values create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/orig/bar create mode 100644 t/recipes/checks/vim/files-foo-in-bar/build-spec/orig/bar.pod create mode 100644 t/recipes/checks/vim/files-foo-in-bar/eval/desc create mode 100644 t/recipes/checks/vim/files-foo-in-bar/eval/hints create mode 100644 t/recipes/checks/vim/files-foo-in-bar/eval/post-test create mode 100644 t/recipes/general-false-positives/basic-native-1.0/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-native-1.0/eval/desc create mode 100644 t/recipes/general-false-positives/basic-native-1.0/eval/hints create mode 100644 t/recipes/general-false-positives/basic-native-3.0-with-epoch/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-native-3.0-with-epoch/eval/desc create mode 100644 t/recipes/general-false-positives/basic-native-3.0-with-epoch/eval/hints create mode 100644 t/recipes/general-false-positives/basic-native-3.0/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-native-3.0/eval/desc create mode 100644 t/recipes/general-false-positives/basic-native-3.0/eval/hints create mode 100644 t/recipes/general-false-positives/basic-non-native-1.0/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-non-native-1.0/build-spec/orig/some-file create mode 100644 t/recipes/general-false-positives/basic-non-native-1.0/eval/desc create mode 100644 t/recipes/general-false-positives/basic-non-native-1.0/eval/hints create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/debian/patches/extra-readme create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/debian/patches/series create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/diff/README create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/orig/README create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/orig/debian/basic-quilt-updeb.doc-base.EX create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/build-spec/orig/debian/postinst.ex create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/eval/desc create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-purge-debian/eval/hints create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-with-epoch/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-with-epoch/build-spec/orig/some-file create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-with-epoch/eval/desc create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0-with-epoch/eval/hints create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/build-spec/debian/patches/extra-readme create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/build-spec/debian/patches/series create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/build-spec/fill-values create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/build-spec/orig/README create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/eval/desc create mode 100644 t/recipes/general-false-positives/basic-non-native-3.0/eval/hints create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/debian/patches/series create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/fill-values create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/desc create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/literal create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error/build-spec/debian/patches/series create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error/build-spec/fill-values create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error/eval/desc create mode 100644 t/recipes/lintian-features/exit-status/fail-on-error/eval/literal create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/build-spec/debian/manpages create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/build-spec/fill-values create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/build-spec/orig/man/lsmod.8 create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/eval/desc create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/eval/hints create mode 100644 t/recipes/lintian-features/exit-status/fail-on-info/eval/literal create mode 100644 t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/debian/manpages create mode 100644 t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/fill-values create mode 100644 t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/orig/man/lsmod.8 create mode 100644 t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/desc create mode 100644 t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/literal create mode 100644 t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/install create mode 100644 t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/lintian-overrides create mode 100644 t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/fill-values create mode 100755 t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/orig/file create mode 100644 t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/desc create mode 100644 t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/literal create mode 100644 t/recipes/lintian-features/html-output/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/html-output/build-spec/debian/dirs create mode 100644 t/recipes/lintian-features/html-output/build-spec/debian/examples create mode 100644 t/recipes/lintian-features/html-output/build-spec/debian/install create mode 100755 t/recipes/lintian-features/html-output/build-spec/debian/rules create mode 100644 t/recipes/lintian-features/html-output/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/lintian-features/html-output/build-spec/diff/Changes create mode 100644 t/recipes/lintian-features/html-output/build-spec/fill-values create mode 100755 t/recipes/lintian-features/html-output/build-spec/orig/example create mode 100755 t/recipes/lintian-features/html-output/build-spec/orig/script create mode 100644 t/recipes/lintian-features/html-output/build-spec/orig/script.desktop create mode 100644 t/recipes/lintian-features/html-output/eval/desc create mode 100644 t/recipes/lintian-features/html-output/eval/literal create mode 100644 t/recipes/lintian-features/html-output/eval/post-test create mode 100644 t/recipes/lintian-features/json-output/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/json-output/build-spec/debian/dirs create mode 100644 t/recipes/lintian-features/json-output/build-spec/debian/examples create mode 100644 t/recipes/lintian-features/json-output/build-spec/debian/install create mode 100755 t/recipes/lintian-features/json-output/build-spec/debian/rules create mode 100644 t/recipes/lintian-features/json-output/build-spec/debian/source.lintian-overrides create mode 100644 t/recipes/lintian-features/json-output/build-spec/diff/Changes create mode 100644 t/recipes/lintian-features/json-output/build-spec/fill-values create mode 100755 t/recipes/lintian-features/json-output/build-spec/orig/example create mode 100755 t/recipes/lintian-features/json-output/build-spec/orig/script create mode 100644 t/recipes/lintian-features/json-output/build-spec/orig/script.desktop create mode 100644 t/recipes/lintian-features/json-output/eval/desc create mode 100644 t/recipes/lintian-features/json-output/eval/literal create mode 100644 t/recipes/lintian-features/json-output/eval/post-test create mode 100644 t/recipes/lintian-features/lintian-check-tags-file/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/lintian-check-tags-file/build-spec/fill-values create mode 100644 t/recipes/lintian-features/lintian-check-tags-file/eval/desc create mode 100644 t/recipes/lintian-features/lintian-check-tags-file/eval/literal create mode 100644 t/recipes/lintian-features/lintian-check-tags-file/eval/tag-list create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/debian/dirs create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/debian/examples create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/debian/install create mode 100755 t/recipes/lintian-features/lintian-display-level/build-spec/debian/rules create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/diff/Changes create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/fill-values create mode 100755 t/recipes/lintian-features/lintian-display-level/build-spec/orig/example create mode 100755 t/recipes/lintian-features/lintian-display-level/build-spec/orig/script create mode 100644 t/recipes/lintian-features/lintian-display-level/build-spec/orig/script.desktop create mode 100644 t/recipes/lintian-features/lintian-display-level/eval/desc create mode 100644 t/recipes/lintian-features/lintian-display-level/eval/literal create mode 100644 t/recipes/lintian-features/lintian-ftp-rejects/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/lintian-ftp-rejects/build-spec/debian/dirs create mode 100755 t/recipes/lintian-features/lintian-ftp-rejects/build-spec/debian/rules create mode 100644 t/recipes/lintian-features/lintian-ftp-rejects/build-spec/fill-values create mode 100644 t/recipes/lintian-features/lintian-ftp-rejects/eval/desc create mode 100644 t/recipes/lintian-features/lintian-ftp-rejects/eval/literal create mode 100644 t/recipes/lintian-features/lintian-no-override/build-spec/debian/dirs create mode 100644 t/recipes/lintian-features/lintian-no-override/build-spec/debian/lintian-no-override.lintian-overrides create mode 100644 t/recipes/lintian-features/lintian-no-override/build-spec/fill-values create mode 100644 t/recipes/lintian-features/lintian-no-override/eval/desc create mode 100644 t/recipes/lintian-features/lintian-no-override/eval/literal create mode 100644 t/recipes/lintian-features/lintian-suppress-tags/build-spec/debian/control.in create mode 100644 t/recipes/lintian-features/lintian-suppress-tags/build-spec/fill-values create mode 100644 t/recipes/lintian-features/lintian-suppress-tags/eval/desc create mode 100644 t/recipes/lintian-features/lintian-suppress-tags/eval/literal create mode 100644 t/recipes/lintian-features/lintian-suppress-tags/eval/suppress create mode 100644 t/recipes/odd-inputs/file-info-errors/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/file-info-errors/build-spec/orig/README create mode 100644 t/recipes/odd-inputs/file-info-errors/build-spec/orig/split.clam.ole.docaa create mode 100644 t/recipes/odd-inputs/file-info-errors/eval/desc create mode 100644 t/recipes/odd-inputs/file-info-errors/eval/literal create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-1/build-spec/dpkg-overrides create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-1/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-1/eval/desc create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-1/eval/literal create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-2/build-spec/dpkg-overrides create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-2/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-2/eval/desc create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-2/eval/hints create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-3/build-spec/dpkg-overrides create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-3/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-3/eval/desc create mode 100644 t/recipes/odd-inputs/source/control-field-traversal-3/eval/literal create mode 100644 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/build-spec/debian/README.source create mode 100644 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/build-spec/debian/patches/series create mode 100644 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/build-spec/fill-values create mode 100755 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/build-spec/pre-build create mode 100644 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/eval/desc create mode 100644 t/recipes/odd-inputs/source/debian-source-dir-traversal-1/eval/hints create mode 100644 t/recipes/odd-inputs/source/debian-symlink/build-spec/fill-values create mode 100755 t/recipes/odd-inputs/source/debian-symlink/build-spec/post-clean create mode 100644 t/recipes/odd-inputs/source/debian-symlink/eval/desc create mode 100644 t/recipes/odd-inputs/source/debian-symlink/eval/hints create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/debian/watch create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/README create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.c create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.h create mode 100755 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/tar-orig create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/eval/desc create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/eval/hints create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/README create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/debian/watch create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.c create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.h create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/orig/some-file create mode 100755 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/tar-orig create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/eval/desc create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/eval/hints create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/debian/watch create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/README create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h create mode 100755 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/tar-orig create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/desc create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/hints create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/build-spec/debian/README.source create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/build-spec/debian/watch create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/build-spec/fill-values create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/build-spec/orig/README create mode 100755 t/recipes/odd-inputs/source/unpack-srcpkg-xz/build-spec/tar-orig create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/eval/desc create mode 100644 t/recipes/odd-inputs/source/unpack-srcpkg-xz/eval/hints create mode 100644 t/recipes/runner-features/runtests-arch-amd64/build-spec/debian/install create mode 100644 t/recipes/runner-features/runtests-arch-amd64/build-spec/fill-values create mode 100644 t/recipes/runner-features/runtests-arch-amd64/build-spec/orig/dummy create mode 100644 t/recipes/runner-features/runtests-arch-amd64/eval/desc create mode 100644 t/recipes/runner-features/runtests-arch-amd64/eval/literal create mode 100644 t/recipes/runner-features/runtests-arch-i386/build-spec/debian/install create mode 100644 t/recipes/runner-features/runtests-arch-i386/build-spec/fill-values create mode 100644 t/recipes/runner-features/runtests-arch-i386/build-spec/orig/dummy create mode 100644 t/recipes/runner-features/runtests-arch-i386/eval/desc create mode 100644 t/recipes/runner-features/runtests-arch-i386/eval/literal create mode 100644 t/recipes/runner-features/runtests-calibration/build-spec/fill-values create mode 100644 t/recipes/runner-features/runtests-calibration/eval/desc create mode 100644 t/recipes/runner-features/runtests-calibration/eval/hints create mode 100755 t/recipes/runner-features/runtests-calibration/eval/test-calibration create mode 100644 t/recipes/runner-features/runtests-options/build-spec/debian/compat.in create mode 100644 t/recipes/runner-features/runtests-options/build-spec/debian/control.in create mode 100644 t/recipes/runner-features/runtests-options/build-spec/fill-values create mode 100644 t/recipes/runner-features/runtests-options/eval/desc create mode 100644 t/recipes/runner-features/runtests-options/eval/literal create mode 100644 t/recipes/runner-features/runtests-todo/build-spec/debian/install create mode 100644 t/recipes/runner-features/runtests-todo/build-spec/fill-values create mode 100644 t/recipes/runner-features/runtests-todo/build-spec/orig/dummy create mode 100644 t/recipes/runner-features/runtests-todo/eval/desc create mode 100644 t/recipes/runner-features/runtests-todo/eval/literal create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/README.Debian create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/changelog.in create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/compat.in create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/control.in create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/copyright create mode 100755 t/recipes/tracking/generic-dh-make-2005/build-spec/debian/rules create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/fill-values create mode 100644 t/recipes/tracking/generic-dh-make-2005/build-spec/orig/README create mode 100755 t/recipes/tracking/generic-dh-make-2005/build-spec/pre-build.in create mode 100644 t/recipes/tracking/generic-dh-make-2005/eval/desc create mode 100644 t/recipes/tracking/generic-dh-make-2005/eval/hints create mode 100644 t/recipes/tracking/generic-dh-make-2005/eval/post-test create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/README.Debian create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/changelog.in create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/compat.in create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/control.in create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/copyright create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/cron.d.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/dirs create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/docs create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/emacsen-install.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/init.d.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/manpage.1.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/manpage.xml.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/menu.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/postinst.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/postrm.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/preinst.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/prerm.ex create mode 100755 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/rules create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/debian/watch.ex create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/fill-values create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/orig/Makefile create mode 100644 t/recipes/tracking/generic-dh-make-2008/build-spec/orig/README create mode 100755 t/recipes/tracking/generic-dh-make-2008/build-spec/pre-build.in create mode 100644 t/recipes/tracking/generic-dh-make-2008/eval/desc create mode 100644 t/recipes/tracking/generic-dh-make-2008/eval/hints create mode 100644 t/recipes/tracking/generic-dh-make-2008/eval/post-test create mode 120000 t/scripts/01-critic/bin.t create mode 120000 t/scripts/01-critic/lib.t create mode 120000 t/scripts/01-critic/private.t create mode 100755 t/scripts/01-critic/runner.pl create mode 120000 t/scripts/01-critic/test-scripts.t create mode 120000 t/scripts/02-minimum-version/bin.t create mode 120000 t/scripts/02-minimum-version/lib.t create mode 120000 t/scripts/02-minimum-version/private.t create mode 100755 t/scripts/02-minimum-version/runner.pl create mode 120000 t/scripts/02-minimum-version/test-scripts.t create mode 120000 t/scripts/03-strict/bin.t create mode 120000 t/scripts/03-strict/lib.t create mode 120000 t/scripts/03-strict/private.t create mode 100755 t/scripts/03-strict/runner.pl create mode 120000 t/scripts/03-strict/test-scripts.t create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.10_amd64.changes create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.10_source.changes create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.11_amd64.changes create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.7_amd64.changes create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.8_amd64.changes create mode 100644 t/scripts/Lintian/Lab/data/changes/lintian_2.5.9_amd64.changes create mode 100755 t/scripts/Lintian/Relation/01-basic.t create mode 100755 t/scripts/Lintian/Relation/02-architecture.t create mode 100755 t/scripts/Lintian/Relation/03-duplicates.t create mode 100755 t/scripts/Lintian/Relation/04-multiarch.t create mode 100755 t/scripts/Lintian/Relation/05-invalid.t create mode 100755 t/scripts/Lintian/Relation/06-build-profiles.t create mode 100644 t/scripts/Lintian/Relation/07-implies.t create mode 100644 t/scripts/Lintian/Util/data/pgp-eof-missing-sign create mode 100644 t/scripts/Lintian/Util/data/pgp-leading-unsigned create mode 100644 t/scripts/Lintian/Util/data/pgp-malformed-header create mode 100644 t/scripts/Lintian/Util/data/pgp-no-end-pgp-header create mode 100644 t/scripts/Lintian/Util/data/pgp-sig-before-start create mode 100644 t/scripts/Lintian/Util/data/pgp-trailing-unsigned create mode 100644 t/scripts/Lintian/Util/data/pgp-two-signatures create mode 100644 t/scripts/Lintian/Util/data/pgp-two-signed-msgs create mode 100644 t/scripts/Lintian/Util/data/pgp-unexpected-header create mode 100755 t/scripts/Lintian/Util/dctrl-parser.t create mode 100755 t/scripts/Lintian/Util/path.t create mode 100755 t/scripts/check-load.t create mode 100644 t/scripts/harness/calibrated.t create mode 100644 t/scripts/harness/check-result.t create mode 100644 t/scripts/harness/desc-fields.t create mode 100644 t/scripts/harness/diagnostic-value.t create mode 100644 t/scripts/harness/get-tagnames.t create mode 100644 t/scripts/harness/hintdiff.t create mode 100644 t/scripts/harness/hintextract.t create mode 100644 t/scripts/harness/match-glob.t create mode 100644 t/scripts/harness/no-watch-file-in-native.t create mode 100644 t/scripts/harness/prepare.t create mode 100644 t/scripts/harness/sort-order.t create mode 100644 t/scripts/harness/tag-coverage.t create mode 100644 t/scripts/harness/watch-file-in-non-native.t create mode 100755 t/scripts/pod-coverage.t create mode 100755 t/scripts/pod-spelling.t create mode 100755 t/scripts/pod-synopsis.t create mode 100755 t/scripts/pod.t create mode 100755 t/scripts/profile-load.t create mode 100755 t/scripts/profiles-coverage.t create mode 100644 t/scripts/run-private-scripts.t create mode 100644 t/scripts/spellintian-textual-content.t create mode 100755 t/scripts/spellintian.t create mode 100644 t/scripts/tags/fields.t create mode 100755 t/scripts/version.t create mode 100644 t/skeletons/changes create mode 100644 t/skeletons/deb create mode 100644 t/skeletons/source-native create mode 100644 t/skeletons/source-non-native create mode 100644 t/skeletons/testing create mode 100644 t/skeletons/upload-builder-only create mode 100644 t/skeletons/upload-native create mode 100644 t/skeletons/upload-non-native create mode 100644 t/templates/binary-control/control.in create mode 100644 t/templates/changes-simple-filler/Makefile.in create mode 100644 t/templates/changes-simple-filler/fill-values.d/changes-simple-filler.values create mode 100644 t/templates/deb-make-builder/Makefile.in create mode 100644 t/templates/deb-make-builder/control-members create mode 100644 t/templates/deb-make-builder/deb-members create mode 100644 t/templates/deb-make-builder/fill-values.d/deb-make-builder.values create mode 100644 t/templates/deb-make-builder/members/debian-binary create mode 100755 t/templates/deb-make-builder/tar-control create mode 100755 t/templates/deb-make-builder/tar-data create mode 100644 t/templates/debian-extra-non-native/upstream/metadata create mode 100644 t/templates/debian-extra-non-native/watch create mode 100644 t/templates/debian-native/changelog.in create mode 100644 t/templates/debian-native/control.in create mode 100644 t/templates/debian-native/copyright create mode 100755 t/templates/debian-native/rules create mode 100644 t/templates/debian-native/source/format.in create mode 100644 t/templates/debian-native/tests/control create mode 100755 t/templates/debian-native/tests/test create mode 100644 t/templates/lintian-invocation/fill-values.d/lintian-invocation.values create mode 100644 t/templates/mandatory-docs/changelog.in create mode 100644 t/templates/mandatory-docs/copyright create mode 100644 t/templates/source-make-builder/Makefile.in create mode 100644 t/templates/source-make-builder/fill-values.d/source-make-builder.values create mode 100755 t/templates/source-make-builder/tar-orig create mode 100644 t/templates/test-runner-tags/generic.t create mode 100644 t/templates/upload-make-builder/Makefile.in create mode 100644 t/templates/upload-make-builder/fill-values.d/upload-make-builder.values create mode 100644 t/whitelists/binary-control create mode 100644 t/whitelists/debian-packaging create mode 100644 t/whitelists/make-builder create mode 100644 t/whitelists/mandatory-docs (limited to 't') diff --git a/t/COVERAGE b/t/COVERAGE new file mode 100644 index 0000000..0f5f3d1 --- /dev/null +++ b/t/COVERAGE @@ -0,0 +1,162 @@ +Last generated 2016-10-22 +Coverage (Tags): 1106/1170 (94.53%), w. legacy tests: 1161/1170 (99.23%) +Coverage (Checks): 41/50 (82.00%), w. legacy tests: 45/50 (90.00%) + +The following tags are not tested by the test suite: + +deb-format tar-errors-from-control + +debhelper debhelper-compatibility-level-not-a-number + +files udeb-contains-documentation-file + +menu-format menu-item-contains-unknown-tag +menu-format menu-item-needs-dwww +menu-format old-format-menu-file +menu-format whitespace-after-continuation-character + +menus executable-in-usr-share-docbase +menus executable-menu-file + +The following tags are only tested by the legacy test suite: + +binaries binary-has-unneeded-section +binaries binary-with-bad-dynamic-table + +files desktop-file-in-wrong-dir +files package-contains-devhelp-file-without-symlink +files package-contains-upstream-installation-documentation +files script-in-usr-share-doc +files script-with-language-extension +files use-of-compat-symlink + +init.d duplicate-updaterc.d-calls-in-postrm +init.d init.d-script-has-bad-lsb-line +init.d init.d-script-has-duplicate-lsb-section +init.d init.d-script-has-unknown-lsb-keyword +init.d init.d-script-has-unterminated-lsb-section +init.d init.d-script-missing-lsb-keyword +init.d init.d-script-not-included-in-package +init.d init.d-script-not-marked-as-conffile +init.d output-of-updaterc.d-not-redirected-to-dev-null +init.d postrm-contains-additional-updaterc.d-calls +init.d postrm-does-not-call-updaterc.d-for-init.d-script +init.d preinst-calls-updaterc.d +init.d prerm-calls-updaterc.d + +menu-format desktop-contains-deprecated-key +menu-format desktop-entry-missing-required-key +menu-format menu-item-missing-required-tag +menu-format menu-item-needs-tag-has-unknown-value +menu-format non-wm-module-in-wm-modules-menu-section +menu-format su-to-root-with-usr-sbin +menu-format su-wrapper-not-su-to-root +menu-format su-wrapper-without--c +menu-format unquoted-string-in-menu-item + +menus bad-menu-file-name +menus doc-base-document-field-ends-in-whitespace +menus doc-base-file-duplicated-format +menus doc-base-file-lacks-required-field +menus doc-base-file-no-format +menus doc-base-file-no-format-section +menus doc-base-file-no-index +menus doc-base-file-references-missing-file +menus doc-base-file-unknown-field +menus doc-base-file-unknown-format +menus doc-base-file-uses-obsolete-national-encoding +menus doc-base-index-references-multiple-files +menus doc-base-invalid-document-field +menus doc-base-unknown-section +menus menu-file-in-usr-lib +menus menu-method-should-include-menu-h +menus postinst-does-not-call-updatemenus +menus postrm-does-not-call-updatemenus + +po-debconf newer-debconf-templates +po-debconf unknown-encoding-in-po-file + +shared-libs symbols-declared-but-not-shlib +shared-libs symbols-declares-dependency-on-other-package +shared-libs udeb-postinst-must-not-call-ldconfig +shared-libs unknown-meta-field-in-symbols-file +shared-libs unused-shlib-entry-in-symbols-control-file + +Breakdown of remaining tags in legacy test suite by test case: + +binary + binary-has-unneeded-section + desktop-contains-deprecated-key + desktop-entry-missing-required-key + doc-base-document-field-ends-in-whitespace + doc-base-file-duplicated-format + doc-base-file-lacks-required-field + doc-base-file-no-format + doc-base-file-no-format-section + doc-base-file-no-index + doc-base-file-references-missing-file + doc-base-file-unknown-field + doc-base-file-unknown-format + doc-base-file-uses-obsolete-national-encoding + doc-base-index-references-multiple-files + doc-base-invalid-document-field + doc-base-unknown-section + menu-file-in-usr-lib + menu-item-missing-required-tag + menu-item-needs-tag-has-unknown-value + menu-method-should-include-menu-h + non-wm-module-in-wm-modules-menu-section + package-contains-upstream-installation-documentation + postinst-does-not-call-updatemenus + postrm-does-not-call-updatemenus + su-to-root-with-usr-sbin + su-wrapper-not-su-to-root + su-wrapper-without--c + unquoted-string-in-menu-item + +debconf + newer-debconf-templates + udeb-postinst-must-not-call-ldconfig + unknown-encoding-in-po-file + +debug + binary-with-bad-dynamic-table + symbols-declared-but-not-shlib + symbols-declares-dependency-on-other-package + unknown-meta-field-in-symbols-file + unused-shlib-entry-in-symbols-control-file + +etcfiles + +fields + +filenames + bad-menu-file-name + desktop-file-in-wrong-dir + package-contains-devhelp-file-without-symlink + use-of-compat-symlink + +foo++ + +libbaz + +maintainer-scripts + init.d-script-not-included-in-package + init.d-script-not-marked-as-conffile + output-of-updaterc.d-not-redirected-to-dev-null + postrm-contains-additional-updaterc.d-calls + postrm-does-not-call-updaterc.d-for-init.d-script + preinst-calls-updaterc.d + prerm-calls-updaterc.d + +relations + +scripts + duplicate-updaterc.d-calls-in-postrm + init.d-script-has-bad-lsb-line + init.d-script-has-duplicate-lsb-section + init.d-script-has-unknown-lsb-keyword + init.d-script-has-unterminated-lsb-section + init.d-script-missing-lsb-keyword + script-in-usr-share-doc + script-with-language-extension diff --git a/t/defaults/desc b/t/defaults/desc new file mode 100644 index 0000000..87cd740 --- /dev/null +++ b/t/defaults/desc @@ -0,0 +1,9 @@ +Check: all +Fill-Values-Folder: fill-values.d +Runner: generic.t +Profile: debian +Output-Format: universal +Skeleton: testing +Match-Strategy: hints +Default-Lintian-Options: --pedantic --display-info --display-experimental --display-level +classification --show-overrides --check-part [% $check %] +Test-Architectures: any diff --git a/t/defaults/files b/t/defaults/files new file mode 100644 index 0000000..f526e54 --- /dev/null +++ b/t/defaults/files @@ -0,0 +1,6 @@ +Test-Specification: desc +Test-Constraints: constraints +Test-Options: test-options +Fill-Values: fill-values +Builder: builder +Log: log diff --git a/t/defaults/fill-values b/t/defaults/fill-values new file mode 100644 index 0000000..58590ca --- /dev/null +++ b/t/defaults/fill-values @@ -0,0 +1,11 @@ +Description: No Description Available +Author: Debian Lintian Maintainers +Check: all +Section: devel +Priority: optional +Distribution: unstable +Package-Architecture: all +Fill-Values-Folder: fill-values.d +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Prev-Date: Mon, 01 Jan 1990 00:00:00 +0100 diff --git a/t/recipes/README b/t/recipes/README new file mode 100644 index 0000000..196953c --- /dev/null +++ b/t/recipes/README @@ -0,0 +1,359 @@ +WRITING A TEST +============== + +A test in this framework is a directory containing a desc file, providing +metadata about the test, and other files used to build the test package. + +Naming conventions +------------------ + +Each test name should begin with the name of the part tested, e.g. + +-... +-... +lintian-... +lintian-info-... + +Use generic- as a prefix for test cases that don't cover a specific +portion of Lintian but instead test Lintian's behavior on a useful special +case of package (such as a generic dh-make template). + +The desc file +------------- + +The desc file is formatted like a Debian control file. The required +fields are: + + Testname: + Version: + Description: + +In addition, the tags (if any) that the test case is testing for should be +listed in a Test-For key. If the test case is expecting some tags to not +be issued (checking against false positives), those tags should be listed in a +Test-Against key. In both cases, the tags should be separated by +whitespace. The following format is suggested for multiple tags: + + Test-For: + lintian-tag-1 + lintian-tag-2 + +with the tags listed in alphabetical order. + +The default lintian command-line options are -I -E. You can change these +options with an Options field specifying the lintian options to use. This +overrides the default, so add -I -E if you want to include those options. +For example, to test --show-overrides with the -T option, use: + + Options: --show-overrides -T no-copyright-file + +Lintian is run in the test's directory. Please use a local, relative +reference to the file or list the tags explicitly with '--suppress-tags'. + +By default, the Lintian output is sorted before comparing it to the 'hints' +file. To suppress the sort (when, for instance, checking non-standard +output formats), use: + + Sort: no + +By default, all tests are built as native Debian packages. To build +the test case as a non-native package, add: + + Type: non-native + +to the 'desc' file. You will also want to change the version number to +be non-native unless you're testing a mismatch. + +By default all tests are run with the default Lintian profile. If a +different profile is needed it can be specified via: + + Profile: test/profile + +The value will be passed to Lintian via the --profile parameter. + +There are times when one wants to add a test for something that needs +to be done. To mark it as such, preventing the test suite from +failing, use: + + Todo: yes + +Test cases marked as 'Todo: yes' will succeed if they fail _the testing step_ +and fail if they succeed. Although this option can be very useful to +document what needs to be done, the ideal situation is to have none of +them :) + +Unless you're writing a test case just to improve Lintian's test coverage, +you will normally want to add a References field giving the source of the +test or the bug that you're testing for. This should be one of "Debian +Bug#nnnn" for a bug report, a URL into the debian-lint-maint mailing list +archives, or a message ID for the message to the list. + +The meaning of skeleton has changed in newer versions of the test runner. +Previously a skeleton indicated a template set, but now it refers to a +complete layout of the test working directory. It also defines the +builder. Please look in t/skeletons for examples. + +There are currently two fields available when defining skeletons: + + Template-Sets: DEST_DIR (TEMPLATE_SET) + +populates DEST_DIR with the files from TEMPLATE_SET. Please use only +relative paths. To install into the root of the test working directory +(which you can find somewhere in ./debian/test-out/) please use a dot. +multiple declarations must be separated by commas. Continuation lines +are okay. + + Fill-Targets: DEST_FILE + Fill-Targets: DEST_DIR (WHITE_LIST) + +In the file form, the declaration allows the filling of the file +DEST_FILE through the use of DEST_FILE.in. This does not mean that the +template is always filled. The algorithm considers other factors. No +filling takes place, for example, when the fill data and the file +modification time of the template are older than the generated file. + +In the directory form, the declaration requires a named template +whitelist in parentheses. In that case, the template whitelist will +give the filenames to fill. Please separate multiple declaration with +a comma. It it okay to use indented continuation lines. + +The general order is: + +1. Copy template sets to the destinations in the working directory. +2. Copy the original test details into the working directory. +3. Delete templates for which originals are present. +4. Fill whitelisted templates if the generated files are dated. + +To use a skeleton, please use: + + Skeleton: + +Whitelists only have one field, 'May-Generate:'. It permits the +generation of the listed file through template completion. Please list +the generated file and not the template. Multiple files must be +separated by spaces. + +Sometimes tests require the presence of certain packages. Please use +Extra-Build-Depends in most cases. The specified packages will be +added to Build-Depends when building the package. + +Please use Test-Depends only in cases when packages must not (or do +not need to) be added to Build-Depends. That can be helpful when +testing for missing build dependencies, or when the standard builder +is overridden and requires other software. The field Test-Depends +should probably be renamed. + +Sometimes tests fail if certain non-required packages are installed. +If you notice such a case, you can use: + + Test-Conflicts: + +If any of the dependencies are unavailable or conflicts are present, +the test will be skipped. + +All other fields in the desc file are optional and control the values +filled into the template control and changelog files by the test suite +harness. The following additional fields are currently supported: + + Date: + Author: + Section:
+ Standards-Version: + +The Architecture: field cannot be overridden. It is automatically set +to equal the host architecture. If you require packages built with +Architecture: all, please make a copy of the particular template and +set Architecture: all manually. + +See t/runtests and t/templates/default/{control,changelog}.in for how +they're used. + +The test directory +------------------ + +The test directory should contain the following files and directories: + +debian + The Debian packaging files. This directory will form the ./debian + subdirectory in the completed package. During the build process, it + will be filled with heavily parameterized templates that are best + controlled via settings in 'desc'. You can override both the + templates (*.in) and the plain files (but using templates is + probably better) by placing files directly into this directory. + +diff + Files that override those in 'orig' if necessary. This directory + should normally not have a debian subdirectory. It is mostly + useful when testing patch systems. Very few tests need to use + this directory. + +orig + For a non-native package, this is the file tree that goes into the + upstream tarball. The files here should also be present with the + same contents in the debian directory unless you're intentionally + creating a diff. However, as normal with a Debian package, you + can omit files entirely from the debian directory and the + deletions will be ignored by dpkg-buildpackage. + +tags + The expected output of Lintian when run on the package, including + info and experimental tags. The Lintian output will be + lexicographically sorted before comparing it with tags. This file + may be empty if the test case should produce no Lintian output. + +pre_upstream + If present and executable, this script is run for a non-native test + type after preparing the upstream directory but before creating the + tarball. It receives the path to the package directory as its first + argument and can make any modifications that can't easily be + represented in the template system (such as creating files that + shouldn't be stored in a revision control system). + +pre_build + If present and executable, this script is run after preparing the + upstream tarball (if any) and the package directory, but before + running dpkg-buildpackage or lintian. It receives the path to the + package directory as its first argument and can make any + modifications that can't otherwise be represented in the template + system (such as deleting files from the template that aren't + desired). + +post_test + If present, assumed to be a sed script that is run on the output + of Lintian before comparing it to the tags file. The most common + use for this script is to remove the architecture from tags + produced on the .changes file with a line like: + + s/_[^ _]* changes/_arch changes/ + + but it may be useful for other cases where the output of Lintian + may change on different systems. + +test_calibration + If present and executable, this script is run after the Lintian + output has been generated and after post_test (if present). The + script can be used to calibrate the expected output or actual + output. + + It is useful for cases the expected output is architecture + dependent beyond what the post_test script can handle. + + The script will be passed 3 arguments, the "expected output" file, + the "actual output" file and file name to write the "calibrated + expected output". The script may modify the "actual output" file + and create the calibration file, which (if it is created) will + be used instead of the original "expected output" file. + + +Be aware that Git doesn't track directories, only files, so any +directory must contain at least one file to exist in a fresh Git +checkout. + + +RUNNING THE TEST SUITE +====================== + +The complete test suite will be run with private/runtests, but +this can take quite a lot of time. Normally this is only necessary +after significant structural changes or before a release as a final +check. + +To run a specific test case, run: + + private/runtests onlyrun=test: + +You can also run groups of tests defined by selectors such as: + + suite: runs all tests in the named suite + tag: runs all tests that relate to the named tag + check: runs all tests that relate to the named Lintian check + script: runs the named code quality script + minimal: runs only required internal tests + +The internal tests cannot be disabled. They make sure that essential +components behave as expected. + +The runner provides a detailed log for each test. For details +please look at ./debian/test-out/${testpath}/log. + + +TEST WRITING TIPS +================= + +Please keep each test case focused. One of the problems that +developed with the old test suite is that each test was serving many +separate purposes and testing large swaths of Lintian, which made it +difficult to know what could be changed and what would destroy some +other useful test. Test cases should only test a set of closely +related tags and new tests should be added for new issues that aren't +part of that closely-related set. + +Test cases should be as Lintian-clean as possible except for the tags +that they're testing for. The template is intended to help with this. +It generates a Lintian-clean basic package for you to start with. You +should override only the minimal required to trigger your test, and +try to fix any unrelated problems. Sometimes this won't be possible +and the only way to trigger a tag is to also trigger another tag, and +that's fine, but it shouldn't be the normal case. + +Test cases should only be listed in Test-For or Test-Against if +they're a target of that test case. Tags that are triggered as a side +effect of setting up the desired test case should not be listed, since +later changes or reworkings may cause those tags to no longer be +issued. + +Be sure to use Test-For and Test-Against for tags that are targets of +a particular test case. The test harness will ensure that the test +case behaves correctly, and that metadata is used for the runtests +target (when called with the onlyrun=tag: filter) and when checking test +coverage. + +The test template uses debhelper 7. Use debhelper 7 features whenever +possible rather than replacing the rules file with a more verbose one. +In other words, if you want to skip a particular debhelper program, do +something like: + + %: + dh $@ + + override_dh_install: + # Skip dh_install + +rather than adding in all of the traditional targets. All you have to +do is make dpkg-buildpackage happy (which means that in practice you +could just override binary, not binary-arch and binary-indep, but +doing it this way may provide some future-proofing). + +Tests will generally fall into one of four basic types: + +1. Tests for a specific tag. To keep the overall size (and therefore + run time) of the test suite down, consider combining a test for a + new tag into a general test (see below) if it's just another simple + addition that's very similar to what's being checked by another + test. However, be sure to keep all test cases tightly focused and + err on the side of creating new tests. + +2. Tests against a specific tag, generally as regression tests for + false positives. + +3. General tests of a set of closely-related tags. For example, + there's no need to create a test case for every weird file in a + Debian package that files checks for; one test case that installs a + lot of weird files can easily test multiple tags at once without + any confusion. Similarly, there's no need to create a separate + test case for every type of cruft that could exist in a source + package; one test case could contain, for instance, metadata files + for every major VCS. Conventionally, these test case names often + end in -general. + +4. Generic test cases that provide an interesting representative of a + type of package and thereby test a lot of tags (possibly from + multiple checks scripts) that trigger on that type of package. For + example, see generic-dh-make-2008 (the results of running dh_make + on an empty source package) or generic-empty (a package missing + everything that dpkg-buildpackage will let one get away with + missing). + +If you by any reason need to write an architecture-specific test case, +make sure the target architectures are properly listed _in the desc +file_. runtests will in then handle this special test correctly. diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/control.in b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/control.in new file mode 100644 index 0000000..bebecc3 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/control.in @@ -0,0 +1,45 @@ +Source: [% $source %] +Section: httpd +Priority: optional +Maintainer: Big Kahuna +Uploaders: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libapache2-mod-foo +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2-api-19700101 +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: libapache2-modbaz +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2.2-common, +Description: [% $description %] don't care + 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. + . + To avoid duplicate description warnings this line differs. Ignore me. + +Package: libapache2-mod-foo2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2-api-19700101, +Description: [% $description %] still don't care + 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. + . + To avoid duplicate description warnings this line differs. Still ignore me. diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.dirs b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.dirs new file mode 100644 index 0000000..871a471 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.dirs @@ -0,0 +1,2 @@ +etc/apache2/mods-available +usr/lib/apache2/modules diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.install b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.install new file mode 100644 index 0000000..ac8f7f1 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo.install @@ -0,0 +1,4 @@ +foo.load /etc/apache2/mods-available +foo /etc/apache2/mods-available +foo.conf /etc/apache2/mods-available +mod_foo.so /usr/lib/apache2/modules/ diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.dirs b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.dirs new file mode 100644 index 0000000..aec19ee --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.dirs @@ -0,0 +1,2 @@ +etc/apache2/mods-enabled +usr/lib/apache2/modules diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.install b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.install new file mode 100644 index 0000000..8aab3d1 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.install @@ -0,0 +1,2 @@ +foo.conf /etc/apache2/mods-enabled +mod_foo2.so /usr/lib/apache2/modules/ diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postinst b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postinst new file mode 100644 index 0000000..8f6847d --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postinst @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +if [ "$1" = 'configure' ] ; then + a2enmod -q foo2 +fi + +#DEBHELPER# diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postrm b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postrm new file mode 100644 index 0000000..a4c83a6 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-mod-foo2.postrm @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +if [ "$1" = 'remove' ] ; then + a2dismod -q foo2 +fi + +#DEBHELPER# diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.dirs b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.dirs new file mode 100644 index 0000000..871a471 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.dirs @@ -0,0 +1,2 @@ +etc/apache2/mods-available +usr/lib/apache2/modules diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.install b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.install new file mode 100644 index 0000000..5f2e1f9 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/debian/libapache2-modbaz.install @@ -0,0 +1,2 @@ +baz.load /etc/apache2/mods-available +mod_baz.so /usr/lib/apache2/modules/ diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/fill-values b/t/recipes/checks/apache2/apache2-modules-general/build-spec/fill-values new file mode 100644 index 0000000..608adaa --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: apache2-modules-general +Description: Several tests related to Apache2 module packages diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/Makefile b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/Makefile new file mode 100644 index 0000000..4ce37c0 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + touch mod_baz.so mod_foo2.so mod_foo.so + +clean: + rm -f *.so diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/baz.load b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/baz.load new file mode 100644 index 0000000..cb28fab --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/baz.load @@ -0,0 +1 @@ +LoadModule baz_module /usr/lib/apache2/modules/mod_baz.so diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo new file mode 100644 index 0000000..2cc691e --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.conf b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.conf new file mode 100644 index 0000000..bcbc503 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.conf @@ -0,0 +1,5 @@ +# Depends: notsupportedhere + + + WithDirectives + diff --git a/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.load b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.load new file mode 100644 index 0000000..7f1659f --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/build-spec/orig/foo.load @@ -0,0 +1,5 @@ +# Depends: baz +# Depends: baz baz2 mod_baz3 baz4.load +# Conflicts: baz baz2 + +LoadModule foo_module /usr/lib/apache2/modules/mod_foo.so diff --git a/t/recipes/checks/apache2/apache2-modules-general/eval/desc b/t/recipes/checks/apache2/apache2-modules-general/eval/desc new file mode 100644 index 0000000..673e5a3 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/eval/desc @@ -0,0 +1,2 @@ +Testname: apache2-modules-general +Check: apache2 diff --git a/t/recipes/checks/apache2/apache2-modules-general/eval/hints b/t/recipes/checks/apache2/apache2-modules-general/eval/hints new file mode 100644 index 0000000..42c6401 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-modules-general/eval/hints @@ -0,0 +1,9 @@ +libapache2-modbaz (binary): non-standard-apache2-module-package-name libapache2-modbaz != libapache2-mod-baz [usr/lib/apache2/modules/mod_baz.so] +libapache2-modbaz (binary): apache2-module-does-not-depend-on-apache2-api [usr/lib/apache2/modules/mod_baz.so] +libapache2-mod-foo2 (binary): apache2-reverse-dependency-ships-file-in-not-allowed-directory [etc/apache2/mods-enabled/foo.conf] +libapache2-mod-foo2 (binary): apache2-reverse-dependency-calls-wrapper-script a2enmod [postinst:6] +libapache2-mod-foo2 (binary): apache2-reverse-dependency-calls-wrapper-script a2dismod [postrm:6] +libapache2-mod-foo2 (binary): apache2-module-does-not-ship-load-file etc/apache2/mods-available/foo2.load [usr/lib/apache2/modules/mod_foo2.so] +libapache2-mod-foo (binary): apache2-unparsable-dependency mod_baz3 [etc/apache2/mods-available/foo.load:2] +libapache2-mod-foo (binary): apache2-unparsable-dependency baz4.load [etc/apache2/mods-available/foo.load:2] +libapache2-mod-foo (binary): apache2-configuration-files-need-conf-suffix [etc/apache2/mods-available/foo] diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/control.in b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/control.in new file mode 100644 index 0000000..35a5386 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/control.in @@ -0,0 +1,48 @@ +Source: [% $source %] +Section: web +Priority: optional +Maintainer: Big Kahuna +Uploaders: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: phpmyfoo +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2, + apache2-bin +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: phpmyfoo2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2 | httpd +Description: [% $description %] - ignore me + 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. + . + Ignore me. + +Package: phpmyfoo3 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, + ${misc:Depends}, + apache2 | lighttpd | httpd +Description: [% $description %] - another ignore me + 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. + . + Yet another ignore me. + + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.dirs b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.dirs new file mode 100644 index 0000000..31e10a9 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.dirs @@ -0,0 +1 @@ +etc/apache2/conf-available diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.install b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.install new file mode 100644 index 0000000..2789400 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.install @@ -0,0 +1 @@ +phpmyfoo.conf /etc/apache2/conf-available diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst new file mode 100644 index 0000000..c4a1988 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +if [ "$1" = 'configure' ] ; then + a2enconf -q phpmyfoo +fi + +invoke-rc.d apache2 reload + +#DEBHELPER# diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postrm b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postrm new file mode 100644 index 0000000..d0db12e --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = 'configure' ] ; then + a2disconf -q phpmyfoo +fi + +invoke-rc.d apache2 reload + +#DEBHELPER# + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.dirs b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.dirs new file mode 100644 index 0000000..31e10a9 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.dirs @@ -0,0 +1 @@ +etc/apache2/conf-available diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.install b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.install new file mode 100644 index 0000000..b2da1d6 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo2.install @@ -0,0 +1,3 @@ +phpmyfoo2 /etc/apache2/conf-available +local-phpmyfoo2.conf /etc/apache2/conf-available +false-positives.conf /etc/apache2/conf-available diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.dirs b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.dirs new file mode 100644 index 0000000..e9286b0 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.dirs @@ -0,0 +1 @@ +etc/apache2/conf.d/ diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.install b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.install new file mode 100644 index 0000000..30fb624 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo3.install @@ -0,0 +1 @@ +phpmyfoo.conf /etc/apache2/conf.d/ diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/fill-values b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/fill-values new file mode 100644 index 0000000..4bff8b5 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: apache2-webapplications-general +Description: Several tests related to Apache2 web application packages diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/false-positives.conf b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/false-positives.conf new file mode 100644 index 0000000..e54f470 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/false-positives.conf @@ -0,0 +1,12 @@ +Alias /foo /usr/share/foo + + + + Order deny, allow + Require valid-user + + + Order deny, allow + Require valid-user + + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/local-phpmyfoo2.conf b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/local-phpmyfoo2.conf new file mode 100644 index 0000000..2cc691e --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/local-phpmyfoo2.conf @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo.conf b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo.conf new file mode 100644 index 0000000..1e3c4e3 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo.conf @@ -0,0 +1,14 @@ +# Depends: bar bar2.conf php7.0 +# Conflicts: notsupportedhere + +Alias /foo /usr/share/foo + + + WebAppConf + + Order deny, allow + Require valid-user + + AllowOverride None + + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo2 b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo2 new file mode 100644 index 0000000..2cc691e --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/orig/phpmyfoo2 @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/eval/desc b/t/recipes/checks/apache2/apache2-webapplications-general/eval/desc new file mode 100644 index 0000000..5769247 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/eval/desc @@ -0,0 +1,2 @@ +Testname: apache2-webapplications-general +Check: apache2 diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/eval/hints b/t/recipes/checks/apache2/apache2-webapplications-general/eval/hints new file mode 100644 index 0000000..6c17227 --- /dev/null +++ b/t/recipes/checks/apache2/apache2-webapplications-general/eval/hints @@ -0,0 +1,22 @@ +phpmyfoo3 (binary): non-standard-apache2-configuration-name phpmyfoo.conf != phpmyfoo3.conf [etc/apache2/conf.d/phpmyfoo.conf] +phpmyfoo3 (binary): apache2-unsupported-dependency Conflicts [etc/apache2/conf.d/phpmyfoo.conf:2] +phpmyfoo3 (binary): apache2-unparsable-dependency bar2.conf [etc/apache2/conf.d/phpmyfoo.conf:1] +phpmyfoo3 (binary): apache2-reverse-dependency-uses-obsolete-directory [etc/apache2/conf.d/phpmyfoo.conf] +phpmyfoo3 (binary): apache2-deprecated-auth-config Order [etc/apache2/conf.d/phpmyfoo.conf:9] +phpmyfoo3 (binary): apache2-deprecated-auth-config [etc/apache2/conf.d/phpmyfoo.conf:8] +phpmyfoo3 (binary): apache2-deprecated-auth-config [etc/apache2/conf.d/phpmyfoo.conf:11] +phpmyfoo2 (binary): non-standard-apache2-configuration-name phpmyfoo2 != phpmyfoo2.conf [etc/apache2/conf-available/phpmyfoo2] +phpmyfoo2 (binary): non-standard-apache2-configuration-name local-phpmyfoo2.conf != phpmyfoo2.conf [etc/apache2/conf-available/local-phpmyfoo2.conf] +phpmyfoo2 (binary): non-standard-apache2-configuration-name false-positives.conf != phpmyfoo2.conf [etc/apache2/conf-available/false-positives.conf] +phpmyfoo2 (binary): apache2-configuration-files-need-conf-suffix [etc/apache2/conf-available/phpmyfoo2] +phpmyfoo (binary): web-application-works-only-with-apache phpmyfoo.conf [etc/apache2/conf-available/phpmyfoo.conf] +phpmyfoo (binary): web-application-depends-on-apache2-data-package apache2-bin phpmyfoo.conf [etc/apache2/conf-available/phpmyfoo.conf] +phpmyfoo (binary): apache2-unsupported-dependency Conflicts [etc/apache2/conf-available/phpmyfoo.conf:2] +phpmyfoo (binary): apache2-unparsable-dependency bar2.conf [etc/apache2/conf-available/phpmyfoo.conf:1] +phpmyfoo (binary): apache2-reverse-dependency-calls-wrapper-script a2enconf [postinst:6] +phpmyfoo (binary): apache2-reverse-dependency-calls-wrapper-script a2disconf [postrm:6] +phpmyfoo (binary): apache2-reverse-dependency-calls-invoke-rc.d [postrm:9] +phpmyfoo (binary): apache2-reverse-dependency-calls-invoke-rc.d [postinst:9] +phpmyfoo (binary): apache2-deprecated-auth-config Order [etc/apache2/conf-available/phpmyfoo.conf:9] +phpmyfoo (binary): apache2-deprecated-auth-config [etc/apache2/conf-available/phpmyfoo.conf:8] +phpmyfoo (binary): apache2-deprecated-auth-config [etc/apache2/conf-available/phpmyfoo.conf:11] diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in new file mode 100644 index 0000000..977a45c --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in @@ -0,0 +1,87 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libapp-something-perl +Architecture: any +Section: perl +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] libapp + This is an App:: 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: libapp-some-app-helper-module-perl +Architecture: any +Section: perl +Depends: ${misc:Depends}, ${shlib:Depends} +Description: libapp false positive test + This is an App:: test package designed to check if Lintian reports + false positives. 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: libsomething-else-perl +Architecture: any +Section: perl +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] else + This is a perl 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: python-something +Architecture: any +Section: python +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] py + This is a Python 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: ruby-something +Architecture: any +Section: ruby +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] rb + This is a ruby 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: unspecified-something-pl +Architecture: any +Section: perl +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] pl + This is a perl-ish 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: unspecified-something-py +Architecture: any +Section: python +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] py2 + This is a python-ish 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: unspecified-something-rb +Architecture: any +Section: ruby +Depends: ${misc:Depends}, ${shlib:Depends} +Description: [% $description %] rb2 + This is a ruby-ish (rubbish? ;-) 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. diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install new file mode 100644 index 0000000..388bdbd --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install @@ -0,0 +1 @@ +bin/libapp-something-perl usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages new file mode 100644 index 0000000..58d812c --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages @@ -0,0 +1 @@ +man/libapp-something-perl.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install new file mode 100644 index 0000000..2a4ae74 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install @@ -0,0 +1 @@ +bin/libsomething-else-perl usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages new file mode 100644 index 0000000..881b7a5 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages @@ -0,0 +1 @@ +man/libsomething-else-perl.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install new file mode 100644 index 0000000..ef65bd8 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install @@ -0,0 +1 @@ +bin/python-something usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages new file mode 100644 index 0000000..faae0d5 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages @@ -0,0 +1 @@ +man/python-something.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install new file mode 100644 index 0000000..b4178bb --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install @@ -0,0 +1 @@ +bin/ruby-something usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages new file mode 100644 index 0000000..ada2f8d --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages @@ -0,0 +1 @@ +man/ruby-something.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install new file mode 100644 index 0000000..bfbc4a0 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install @@ -0,0 +1 @@ +bin/unspecified-something-pl usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages new file mode 100644 index 0000000..01bebce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages @@ -0,0 +1 @@ +man/unspecified-something-pl.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install new file mode 100644 index 0000000..9615ca0 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install @@ -0,0 +1 @@ +bin/unspecified-something-py usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages new file mode 100644 index 0000000..d8e6db5 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages @@ -0,0 +1 @@ +man/unspecified-something-py.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install new file mode 100644 index 0000000..9502f60 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install @@ -0,0 +1 @@ +bin/unspecified-something-rb usr/bin diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages new file mode 100644 index 0000000..3f89156 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages @@ -0,0 +1 @@ +man/unspecified-something-rb.1 diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values b/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values new file mode 100644 index 0000000..cb8b119 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: application-not-library +Description: Test cases where packages look like libraries but are applications diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb new file mode 100755 index 0000000..733bbce --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Foobar diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1 new file mode 100644 index 0000000..00d58c9 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1 @@ -0,0 +1,6 @@ +.TH YES "1" "April 2015" "Foobar" "User Commands" +.SH NAME +foobar \- fnords something until killes +.SH SYNOPSIS +.B foobar +[\fISOMETHING\fR]... diff --git a/t/recipes/checks/application-not-library/application-not-library/eval/desc b/t/recipes/checks/application-not-library/application-not-library/eval/desc new file mode 100644 index 0000000..58a9992 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/eval/desc @@ -0,0 +1,2 @@ +Testname: application-not-library +Check: application-not-library diff --git a/t/recipes/checks/application-not-library/application-not-library/eval/hints b/t/recipes/checks/application-not-library/application-not-library/eval/hints new file mode 100644 index 0000000..ebae992 --- /dev/null +++ b/t/recipes/checks/application-not-library/application-not-library/eval/hints @@ -0,0 +1,11 @@ +unspecified-something-rb (binary): application-in-library-section ruby [usr/bin/unspecified-something-rb] +unspecified-something-py (binary): application-in-library-section python [usr/bin/unspecified-something-py] +unspecified-something-pl (binary): application-in-library-section perl [usr/bin/unspecified-something-pl] +ruby-something (binary): library-package-name-for-application [usr/bin/ruby-something] +ruby-something (binary): application-in-library-section ruby [usr/bin/ruby-something] +python-something (binary): library-package-name-for-application [usr/bin/python-something] +python-something (binary): application-in-library-section python [usr/bin/python-something] +libsomething-else-perl (binary): library-package-name-for-application [usr/bin/libsomething-else-perl] +libsomething-else-perl (binary): application-in-library-section perl [usr/bin/libsomething-else-perl] +libapp-something-perl (binary): libapp-perl-package-name [usr/bin/libapp-something-perl] +libapp-something-perl (binary): application-in-library-section perl [usr/bin/libapp-something-perl] diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml new file mode 100644 index 0000000..a823b8d --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml @@ -0,0 +1 @@ +This is not a valid XML document. diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml new file mode 100644 index 0000000..31d281e --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml @@ -0,0 +1,2 @@ + + diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.desktop b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.desktop new file mode 100644 index 0000000..4c91430 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=appstream-udev-data +Terminal=true +Exec=true +Categories=ConsoleOnly;Game; +Keywords=Text; diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.dirs b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.dirs new file mode 100644 index 0000000..402f5d5 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.dirs @@ -0,0 +1,2 @@ +usr/share/metainfo +usr/share/appdata diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml new file mode 100644 index 0000000..82294c1 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml @@ -0,0 +1,22 @@ + + + appstream-udev-data + MIT + lintian appstream-udev-data + Test AppStream and udev related checks in lintian + +

+ 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. +

+
+ + usb:v0000p0001d* + usb:v0000p0002d* + usb:v0000p0003d* + usb:v0000p0004d* + usb:v0000p000ad* + +
diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.udev b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.udev new file mode 100644 index 0000000..e2f2841 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/appstream-metadata.udev @@ -0,0 +1,14 @@ +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0001", \ + MODE="0666" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0002", \ + MODE="0660", GROUP="plugdev" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0003", \ + TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0004", \ + MODE="0660", GROUP="plugdev", TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="000a", \ + ID_TEST_DEVICE="1" diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/rules b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/rules new file mode 100644 index 0000000..5fb0c35 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +DESTDIR = debian/$(shell dh_listpackages) +APPSYNC_DIR=$(DESTDIR)/usr/share/metainfo/ +OBSOLETE_APPSYNC_DIR=$(DESTDIR)/usr/share/appdata/ +UDEV_DIR=$(DESTDIR)/lib/udev/rules.d/ + +%: + dh $@ + +override_dh_install: + dh_install + install -m 0644 debian/appstream-metadata.metadata.xml $(APPSYNC_DIR) + install -m 0644 debian/appstream-metadata-invalid.metadata.xml $(APPSYNC_DIR) + install -m 0644 debian/appstream-metadata-obsolete.metadata.xml $(OBSOLETE_APPSYNC_DIR) diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/fill-values b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/fill-values new file mode 100644 index 0000000..cfd5595 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: appstream-metadata +Description: Test AppStream and udev metadata in binary package diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/eval/desc b/t/recipes/checks/appstream-metadata/appstream-metadata/eval/desc new file mode 100644 index 0000000..0482336 --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/eval/desc @@ -0,0 +1,2 @@ +Testname: appstream-metadata +Check: appstream-metadata diff --git a/t/recipes/checks/appstream-metadata/appstream-metadata/eval/hints b/t/recipes/checks/appstream-metadata/appstream-metadata/eval/hints new file mode 100644 index 0000000..530dfca --- /dev/null +++ b/t/recipes/checks/appstream-metadata/appstream-metadata/eval/hints @@ -0,0 +1,5 @@ +appstream-metadata (binary): appstream-metadata-missing-modalias-provide match rule usb:v0000p000Ad* [usr/lib/udev/rules.d/60-appstream-metadata.rules:13] +appstream-metadata (binary): appstream-metadata-malformed-modalias-provide include non-valid hex digit in USB matching rule 'usb:v0000p000ad*' [usr/share/metainfo/appstream-metadata.metadata.xml] +appstream-metadata (binary): appstream-metadata-legacy-format [usr/share/appdata/appstream-metadata-obsolete.metadata.xml] +appstream-metadata (binary): appstream-metadata-invalid [usr/share/metainfo/appstream-metadata-invalid.metadata.xml] +appstream-metadata (binary): appstream-metadata-in-legacy-location [usr/share/appdata/appstream-metadata-obsolete.metadata.xml] diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/clean b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/clean new file mode 100644 index 0000000..be4ae72 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/clean @@ -0,0 +1,5 @@ +bar.1* +Bar.pm +bar.png +perllocal.pod +preferences diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/dirs b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/dirs new file mode 100644 index 0000000..e8759c9 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/dirs @@ -0,0 +1,15 @@ +etc/apt/preferences.d +etc/apt +etc/init +bin/foo +mnt/foo +tmp/foo +usr/bin/foo +usr/foo +usr/lib/debug +usr/local/foo +usr/lib/site-python/foo +usr/share/doc/files-foo-in-bar/examples/examples +var/foo +var/lock/foo +var/run/foo diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/install b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/install new file mode 100644 index 0000000..ba46865 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/install @@ -0,0 +1,61 @@ +bar bin/foo +bar emul +bar etc/apt/preferences.d +bar etc/apt/sources.list.d +bar etc/apt/trusted.gpg.d +bar etc/gconf/schemas/ +bar etc/init +bar etc/rc.boot +bar etc/rc.d +bar etc/udev/rules.d +bar lib32 +bar lib64 +bar libx32 +bar mnt/foo +bar run/foo +bar srv/foo +bar tmp/foo +bar usr/bin/foo +bar usr/foo +bar usr/lib/debug/ +bar usr/lib32 +bar usr/lib64 +bar usr/libexec +bar usr/libx32 +bar usr/lib/perl/ +bar usr/lib/python2.7/ +bar usr/lib/sgml +bar usr/lib/site-python/foo +bar usr/local/foo +bar usr/share +bar usr/share/doc +bar usr/share/doc/files-foo-in-bar/.xvpics/ +bar usr/share/doc/files-foo-in-bar/.thumbnails/ +bar usr/share/doc/files-foo-in-bar/examples/examples +bar usr/share/mime/foo/ +bar usr/share/mime/packages/ +bar usr/share/perl/ +bar usr/share/vim/vimcurrent/ +bar usr/share/vim/vim73/ +bar usr/X11R6/bin +bar usr/X11R6/lib/X11/fonts/ +bar var/foo +bar var/lock/foo +bar var/run/foo +bar var/www/foo +bar home/johndoe +bar root +bar etc/opt +bar var/cache/pbuilder/build +bar var/lib/sbuild +bar var/lib/buildd +bar build/dir/foo +bar tmp/buildd/dir/foo +bar etc/dhcp3 + +Bar.pm usr/lib/perl5/Foo +bar.png usr/lib/files-foo-in-bar + +perllocal.pod usr/lib/perl-foo +.packlist usr/lib/perl5 +preferences etc/apt diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/manpages b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/manpages new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/rules b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/rules new file mode 100755 index 0000000..69a61df --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_build: + pod2man --section 1 bar.pod > bar.1 + gzip -n --best bar.1 + cp bar Bar.pm + cp bar bar.png + cp bar perllocal.pod + touch .packlist + touch preferences + +override_dh_auto_install: + dh_install bar.1.gz usr/X11R6/man/man1/ + +# skip +override_dh_usrlocal override_dh_gconf: diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/fill-values b/t/recipes/checks/apt/files-foo-in-bar/build-spec/fill-values new file mode 100644 index 0000000..17ea927 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-foo-in-bar +Description: Test tags about files or dirs in given paths diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar b/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar @@ -0,0 +1 @@ +Hello World! diff --git a/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar.pod b/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar.pod new file mode 100644 index 0000000..4144a36 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/build-spec/orig/bar.pod @@ -0,0 +1,18 @@ + +=head1 NAME + +bar - does stuff + +=head1 SYNOPSIS + +bar + +=head1 DESCRIPTION + +Does nothing. + +=head1 AUTHOR + +Niels Thykier + +=cut diff --git a/t/recipes/checks/apt/files-foo-in-bar/eval/desc b/t/recipes/checks/apt/files-foo-in-bar/eval/desc new file mode 100644 index 0000000..50af70a --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/eval/desc @@ -0,0 +1,2 @@ +Testname: files-foo-in-bar +Check: apt diff --git a/t/recipes/checks/apt/files-foo-in-bar/eval/hints b/t/recipes/checks/apt/files-foo-in-bar/eval/hints new file mode 100644 index 0000000..f3d213b --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/eval/hints @@ -0,0 +1,4 @@ +files-foo-in-bar (binary): package-installs-apt-sources [etc/apt/sources.list.d/bar] +files-foo-in-bar (binary): package-installs-apt-preferences [etc/apt/preferences] +files-foo-in-bar (binary): package-installs-apt-preferences [etc/apt/preferences.d/bar] +files-foo-in-bar (binary): package-installs-apt-keyring [etc/apt/trusted.gpg.d/bar] diff --git a/t/recipes/checks/apt/files-foo-in-bar/eval/post-test b/t/recipes/checks/apt/files-foo-in-bar/eval/post-test new file mode 100644 index 0000000..5af7ea2 --- /dev/null +++ b/t/recipes/checks/apt/files-foo-in-bar/eval/post-test @@ -0,0 +1,2 @@ +# Ignore all duplicate-files tags +/[^ ]* \([^)]*\): duplicate-files .*/ d diff --git a/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/build-spec/fill-values b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/build-spec/fill-values new file mode 100644 index 0000000..7121e0b --- /dev/null +++ b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: filename-length-really-really-really-really-long-package-name +Version: 1.0.and.a.really.long.version.too-1 +Skeleton: upload-non-native +Description: General length of package file names diff --git a/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/desc b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/desc new file mode 100644 index 0000000..4bf733d --- /dev/null +++ b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/desc @@ -0,0 +1,2 @@ +Testname: filename-length-really-really-really-really-long-package-name +Check: archive/file/name/length diff --git a/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/hints b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/hints new file mode 100644 index 0000000..c1a0b80 --- /dev/null +++ b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/hints @@ -0,0 +1,6 @@ +filename-length-really-really-really-really-long-package-name (source): source-package-component-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too.orig.tar.gz +filename-length-really-really-really-really-long-package-name (source): source-package-component-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1.debian.tar.xz +filename-length-really-really-really-really-long-package-name (source): package-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1.dsc +filename-length-really-really-really-really-long-package-name (changes): package-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1_ARCHITECTURE.changes +filename-length-really-really-really-really-long-package-name (buildinfo): package-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1_ARCHITECTURE.buildinfo +filename-length-really-really-really-really-long-package-name (binary): package-has-long-file-name filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1_all.deb diff --git a/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/post-test b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/post-test new file mode 100644 index 0000000..52f65a6 --- /dev/null +++ b/t/recipes/checks/archive/file/name/length/filename-length-really-really-really-really-long-package-name/eval/post-test @@ -0,0 +1,2 @@ +s/_[[:alnum:]]*.changes$/_ARCHITECTURE.changes/ +s/_[[:alnum:]]*.buildinfo$/_ARCHITECTURE.buildinfo/ diff --git a/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/debian/control.in b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/debian/control.in new file mode 100644 index 0000000..25106b7 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/debian/control.in @@ -0,0 +1,31 @@ +Source: [% $source %] +Priority: optional +Section: contrib/[% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Section: contrib/dveel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (typo) + 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. + . + This package has a typo in its section fields. + +Package: [% $source %]-main +Architecture: all +Section: [% $section %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (main) + 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. + . + This package can go to main. diff --git a/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/fill-values b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/fill-values new file mode 100644 index 0000000..f8cf9f7 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-section-general +Description: Test for general section/area issues diff --git a/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/desc b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/desc new file mode 100644 index 0000000..b374791 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-section-general +Check: archive/liberty/mismatch diff --git a/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/hints b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/hints new file mode 100644 index 0000000..77d1d3e --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/fields-section-general/eval/hints @@ -0,0 +1 @@ +fields-section-general (source): archive-liberty-mismatch (in section for fields-section-general-main) main vs contrib [debian/control:23] diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/control b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/rules b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/fill-values b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/desc b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/desc new file mode 100644 index 0000000..f20046e --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: archive/liberty/mismatch diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/hints b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/hints new file mode 100644 index 0000000..d6aba64 --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/hints @@ -0,0 +1 @@ +relations (source): archive-liberty-mismatch (in section for relations-multiple-libs) non-free vs main [debian/control:36] diff --git a/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/post-test b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/archive/liberty/mismatch/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in new file mode 100644 index 0000000..0d31cce --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: non-free/[% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +XS-Autobuild: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values new file mode 100644 index 0000000..07d27d1 --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-source-upload-to-non-free-without-autobuild +Description: Check for source-only uploads to non-free without autobuild diff --git a/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/desc b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/desc new file mode 100644 index 0000000..50ada9d --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/desc @@ -0,0 +1,4 @@ +Testname: control-file-source-upload-to-non-free-without-autobuild +Check: archive/non-free/autobuild +Test-Against: + source-only-upload-to-non-free-without-autobuild diff --git a/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/hints b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/control-file-source-upload-to-non-free-without-autobuild/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/build-spec/fill-values b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/build-spec/fill-values new file mode 100644 index 0000000..909efef --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: source-only-upload-to-non-free-without-autobuild +Skeleton: upload-native +Section: non-free/devel +Upload-Type: source +Description: This source-only upload to non-free will never appear in the archive diff --git a/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/desc b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/desc new file mode 100644 index 0000000..0e2a6b5 --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/desc @@ -0,0 +1,2 @@ +Testname: source-only-upload-to-non-free-without-autobuild +Check: archive/non-free/autobuild diff --git a/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/hints b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/hints new file mode 100644 index 0000000..6615c85 --- /dev/null +++ b/t/recipes/checks/archive/non-free/autobuild/source-only-upload-to-non-free-without-autobuild/eval/hints @@ -0,0 +1 @@ +source-only-upload-to-non-free-without-autobuild (source): source-only-upload-to-non-free-without-autobuild (in the source paragraph) XS-Autobuild [debian/control] diff --git a/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/debian/rules b/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/debian/rules new file mode 100755 index 0000000..a3ab46d --- /dev/null +++ b/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +pkg=binaries-misplaced +%: + dh $@ + +override_dh_install: + mkdir -p debian/$(pkg)/etc/ + cp -a /bin/true debian/$(pkg)/etc/foo + # explicitly call dh_shlibdeps since debhelper is being + # "smart" and not calling it in newer versions (8.9.something) + dh_shlibdeps + dh_install diff --git a/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/fill-values b/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/fill-values new file mode 100644 index 0000000..6f79eab --- /dev/null +++ b/t/recipes/checks/binaries/architecture/binaries-misplaced/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: binaries-misplaced +Description: Test binaries in /etc diff --git a/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/desc b/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/desc new file mode 100644 index 0000000..4b25873 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-misplaced +Check: binaries/architecture diff --git a/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/hints b/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/hints new file mode 100644 index 0000000..e724861 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/binaries-misplaced/eval/hints @@ -0,0 +1 @@ +binaries-misplaced (binary): arch-independent-package-contains-binary-or-object [etc/foo] diff --git a/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/dumpobj b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/dumpobj new file mode 100644 index 0000000..afdf68e --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/debian/dumpobj @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +DEB_BUILD_GNU_TYPE="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)" + +case $DEB_BUILD_GNU_TYPE in +i486-linux-gnu|i586-linux-gnu|i686-linux-gnu|x86_64-linux-gnu) + base64 -d < debian/elfobject + sh debian/dumpobj > debian/fake-guile-object.go + dh binary diff --git a/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/fill-values b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/fill-values new file mode 100644 index 0000000..d765ecd --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-from-other-arch +Package-Architecture: any +Dh-Compat-Level: 10 +Description: Test package with a pseudo binary from a different architecture +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/desc b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/desc new file mode 100644 index 0000000..6f04e39 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/desc @@ -0,0 +1,4 @@ +Testname: binaries-from-other-arch +Test-Architectures: amd64 i386 +Check: binaries/architecture/other +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/hints b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/hints new file mode 100644 index 0000000..fd7b1d8 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/hints @@ -0,0 +1 @@ +binaries-from-other-arch (binary): binary-from-other-architecture [usr/bin/elfobject] diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/install b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/install new file mode 100644 index 0000000..c10e578 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/install @@ -0,0 +1 @@ +foreign-binary usr/bin diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/rules b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/rules new file mode 100755 index 0000000..2ce6f53 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + # do not try to strip cross-compiled binaries with native tooling + +override_dh_shlibdeps: + # do not try to include missing libraries + +override_dh_dwz: + # cross-compiled binaries do not always seem to have a debug section + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/fill-values b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/fill-values new file mode 100644 index 0000000..24f607a --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: wrong-binary-architecture +Description: Binary architecture does not match package declaration +Package-Architecture: any +Extra-Build-Depends: + gcc-arm-linux-gnueabihf [amd64 i386], gcc-x86-64-linux-gnu [!amd64 !i386] diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/Makefile b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/Makefile new file mode 100644 index 0000000..bf92eaf --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/Makefile @@ -0,0 +1,37 @@ +# This test works on amd64 when the cross-compiler for armhf is installed. +# +# The build prerequisite was not added to Lintian, however, since it was +# not clear how the architecture would be enabled in the Gitlab CI +# runner. +# +# On amd64 or i386, please follow these steps to run the test: +# +# dpkg --add-architecture armhf +# apt update +# apt install gcc-arm-linux-gnueabihf +# +# On all other architectures this may work, but was not tested: +# +# dpkg --add-architecture amd64 +# apt update +# apt install gcc-x86-64-linux-gnu +# +# (Taken from: https://wiki.debian.org/CrossToolchains) + +ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(ARCH),amd64) +CC := arm-linux-gnueabihf-gcc +else +CC := x86_64-linux-gnu-gcc +endif + +foreign-binary: hello.c + $(CC) $^ -o $@ + +.PHONY: clean +clean: + rm -f foreign-binary + +.PHONY: clean +distclean: clean diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/hello.c b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/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/binaries/architecture/other/wrong-binary-architecture/eval/desc b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/desc new file mode 100644 index 0000000..8bd95a8 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/desc @@ -0,0 +1,2 @@ +Testname: wrong-binary-architecture +Check: binaries/architecture/other diff --git a/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/hints b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/hints new file mode 100644 index 0000000..e2251b3 --- /dev/null +++ b/t/recipes/checks/binaries/architecture/other/wrong-binary-architecture/eval/hints @@ -0,0 +1 @@ +wrong-binary-architecture (binary): binary-from-other-architecture [usr/bin/foreign-binary] diff --git a/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/dumpobj b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/dumpobj new file mode 100644 index 0000000..afdf68e --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/debian/dumpobj @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +DEB_BUILD_GNU_TYPE="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)" + +case $DEB_BUILD_GNU_TYPE in +i486-linux-gnu|i586-linux-gnu|i686-linux-gnu|x86_64-linux-gnu) + base64 -d < debian/elfobject + sh debian/dumpobj > debian/fake-guile-object.go + dh binary diff --git a/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/fill-values b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/fill-values new file mode 100644 index 0000000..d765ecd --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-from-other-arch +Package-Architecture: any +Dh-Compat-Level: 10 +Description: Test package with a pseudo binary from a different architecture +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/desc b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/desc new file mode 100644 index 0000000..65502f9 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/desc @@ -0,0 +1,4 @@ +Testname: binaries-from-other-arch +Test-Architectures: amd64 i386 +Check: binaries/corrupted +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/hints b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/hints new file mode 100644 index 0000000..54909bb --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/hints @@ -0,0 +1,4 @@ +binaries-from-other-arch (binary): elf-error In ELF header: Section headers are not available! [usr/lib/foo/binaries-from-other-arch/guile/2.2/fake-guile-object.go] +binaries-from-other-arch (binary): elf-error In ELF header: Section headers are not available! [usr/bin/elfobject] +binaries-from-other-arch (binary): elf-error In ELF header: Reading 1080 bytes extends past end of file for section headers [usr/lib/foo/binaries-from-other-arch/guile/2.2/fake-guile-object.go] +binaries-from-other-arch (binary): elf-error In ELF header: Reading 1080 bytes extends past end of file for section headers [usr/bin/elfobject] diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/control b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/rules b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/fill-values b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..e2f713c --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/fill-values @@ -0,0 +1,8 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: + debhelper (>= 9.20151004~), + binutils (>= 2.37.50.20211102) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/eval/desc b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/desc new file mode 100644 index 0000000..a55c905 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debug +Check: binaries/corrupted diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/eval/hints b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/hints new file mode 100644 index 0000000..0b0b081 --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/hints @@ -0,0 +1,3 @@ +libhello0-dbg (binary): binary-with-bad-dynamic-table [usr/lib/libhello.so.dbg] +hello (binary): binary-with-bad-dynamic-table [usr/bin/hello.dbg] +hello (binary): elf-error In program headers: Unable to find program interpreter name [usr/bin/hello.dbg] diff --git a/t/recipes/checks/binaries/corrupted/legacy-debug/eval/post-test b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/binaries/corrupted/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/desc b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/desc new file mode 100644 index 0000000..3ead276 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/debug-symbols diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/hints b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/hints new file mode 100644 index 0000000..5a3ede3 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/hints @@ -0,0 +1 @@ +binaries-general (binary): unstripped-binary-or-object [usr/bin/unstripped] diff --git a/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/post-test b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/desc b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/desc new file mode 100644 index 0000000..e94b7c0 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/debug-symbols/detached diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/hints b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/hints new file mode 100644 index 0000000..849ff30 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/hints @@ -0,0 +1,4 @@ +binaries-general (binary): debug-symbols-not-detached [usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug] +binaries-general (binary): debug-symbols-directly-in-usr-lib-debug [usr/lib/debug/basic] +binaries-general (binary): debug-symbols-directly-in-usr-lib-debug [usr/lib/debug/basic.static] +binaries-general (binary): debug-file-with-no-debug-symbols [usr/lib/debug/usr/share/foo/basic] diff --git a/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/post-test b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/control b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..79eebf1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/desc b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/desc new file mode 100644 index 0000000..d606fde --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debug +Check: binaries/debug-symbols/detached diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/hints b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/hints new file mode 100644 index 0000000..d524d8e --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/hints @@ -0,0 +1,5 @@ +libhello0-dbg (binary): debug-symbols-not-detached [usr/lib/debug/lib/libhello.so.0.0] +libhello0-dbg (binary): debug-symbols-directly-in-usr-lib-debug [usr/lib/debug/libhello.so.0.0] +libhello0-dbg (binary): debug-file-with-no-debug-symbols [usr/lib/debug/usr/lib/libhello.so.0.0] +libhello0-dbg (binary): debug-file-with-no-debug-symbols [usr/lib/debug/lib/libhello.so.0.0] +hello-dbg (binary): debug-file-with-no-debug-symbols [usr/lib/debug/usr/bin/hello] diff --git a/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/post-test b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/detached/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/control b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/menu b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/debian/templates b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/binaries/debug-symbols/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-binary/eval/desc b/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/desc new file mode 100644 index 0000000..28e4772 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: binaries/debug-symbols diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/hints b/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/hints new file mode 100644 index 0000000..19858fb --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (binary): unstripped-binary-or-object [usr/bin/hello] diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/post-test b/t/recipes/checks/binaries/debug-symbols/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/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/binaries/debug-symbols/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/control b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..79eebf1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/desc b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/desc new file mode 100644 index 0000000..2d3463a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debug +Check: binaries/debug-symbols diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/hints b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/hints new file mode 100644 index 0000000..44d7a55 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/hints @@ -0,0 +1 @@ +hello (binary): unstripped-binary-or-object [usr/bin/hello.dbg] diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/post-test b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/binaries/debug-symbols/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/desc b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/desc new file mode 100644 index 0000000..27226a5 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: binaries/debug-symbols diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/hints b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/hints new file mode 100644 index 0000000..1215594 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/hints @@ -0,0 +1,3 @@ +libbaz1 (binary): unstripped-binary-or-object [usr/lib/libfoo2.so.1.0.3b] +libbaz1 (binary): unstripped-binary-or-object [usr/lib/libbaz3.so.1.0.3b] +libbaz1 (binary): unstripped-binary-or-object [usr/lib/libbaz1.so.1.0.3b] diff --git a/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/post-test b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/install b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/install new file mode 100644 index 0000000..c10e578 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/install @@ -0,0 +1 @@ +foreign-binary usr/bin diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/rules b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/rules new file mode 100755 index 0000000..2ce6f53 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + # do not try to strip cross-compiled binaries with native tooling + +override_dh_shlibdeps: + # do not try to include missing libraries + +override_dh_dwz: + # cross-compiled binaries do not always seem to have a debug section + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/fill-values b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/fill-values new file mode 100644 index 0000000..24f607a --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: wrong-binary-architecture +Description: Binary architecture does not match package declaration +Package-Architecture: any +Extra-Build-Depends: + gcc-arm-linux-gnueabihf [amd64 i386], gcc-x86-64-linux-gnu [!amd64 !i386] diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/Makefile b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/Makefile new file mode 100644 index 0000000..bf92eaf --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/Makefile @@ -0,0 +1,37 @@ +# This test works on amd64 when the cross-compiler for armhf is installed. +# +# The build prerequisite was not added to Lintian, however, since it was +# not clear how the architecture would be enabled in the Gitlab CI +# runner. +# +# On amd64 or i386, please follow these steps to run the test: +# +# dpkg --add-architecture armhf +# apt update +# apt install gcc-arm-linux-gnueabihf +# +# On all other architectures this may work, but was not tested: +# +# dpkg --add-architecture amd64 +# apt update +# apt install gcc-x86-64-linux-gnu +# +# (Taken from: https://wiki.debian.org/CrossToolchains) + +ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(ARCH),amd64) +CC := arm-linux-gnueabihf-gcc +else +CC := x86_64-linux-gnu-gcc +endif + +foreign-binary: hello.c + $(CC) $^ -o $@ + +.PHONY: clean +clean: + rm -f foreign-binary + +.PHONY: clean +distclean: clean diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/hello.c b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/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/binaries/debug-symbols/wrong-binary-architecture/eval/desc b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/desc new file mode 100644 index 0000000..382b802 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/desc @@ -0,0 +1,2 @@ +Testname: wrong-binary-architecture +Check: binaries/debug-symbols diff --git a/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/hints b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/hints new file mode 100644 index 0000000..1116da1 --- /dev/null +++ b/t/recipes/checks/binaries/debug-symbols/wrong-binary-architecture/eval/hints @@ -0,0 +1 @@ +wrong-binary-architecture (binary): unstripped-binary-or-object [usr/bin/foreign-binary] diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/fill-values b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/fill-values new file mode 100644 index 0000000..96dea07 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-hardening +Description: Check for missing hardening features +Package-Architecture: any diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/Makefile b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/Makefile new file mode 100644 index 0000000..f1e06f8 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/Makefile @@ -0,0 +1,35 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell ${CC} -no-pie 2>&1)),) + CCWEAK := ${CC} +else + CCWEAK := ${CC} -fno-pie -no-pie +endif + +all: weak.1 strong.1 + # Build without dpkg-buildflags. + $(CCWEAK) -o weak -g \ + -fno-stack-protector \ + -Wl,-z,norelro \ + -U_FORTIFY_SOURCE \ + hello.c + $(CC) -o strong \ + $(shell dpkg-buildflags --get CPPFLAGS) \ + $(shell dpkg-buildflags --get CFLAGS) \ + $(shell dpkg-buildflags --get LDFLAGS) \ + hello.c +%.1: base.pod + sed s/@NAME@/$(basename $@)/g < $< | \ + pod2man --name $(basename $@) --section 1 > $@ + +install: + install -d $(DESTDIR)/usr/bin/ + install -d $(DESTDIR)/usr/share/man/man1 + install -m 755 -c weak $(DESTDIR)/usr/bin/weak + install -m 755 -c strong $(DESTDIR)/usr/bin/strong + install -m 644 -c weak.1 $(DESTDIR)/usr/share/man/man1/weak.1 + install -m 644 -c strong.1 $(DESTDIR)/usr/share/man/man1/strong.1 + +clean distclean: + rm -f weak strong *.1 + +check test: diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/base.pod b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/base.pod new file mode 100644 index 0000000..1e900d7 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/base.pod @@ -0,0 +1,12 @@ +=head1 NAME + +@NAME@ -- binary that does something + +=head1 SYNOPSIS + + @NAME@ [options] + +=head1 DESCRIPTION + +@NAME@ does something very useful. + diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/hello.c b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/hello.c new file mode 100644 index 0000000..7b87bd7 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/build-spec/orig/hello.c @@ -0,0 +1,17 @@ +#include + +void +report(char *string) +{ + char buf[80]; + int len; + + strcpy(buf, string); + fprintf(stdout, "Hello world from %s!\n%n", buf, &len); +} + +int +main(int argc, char *argv[]) +{ + report(argv[0]); +} diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/eval/desc b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/desc new file mode 100644 index 0000000..92ef00e --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/desc @@ -0,0 +1,3 @@ +Testname: binaries-hardening +Test-Architectures: amd64 i386 armhf arm64 +Check: binaries/hardening diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/eval/hints b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/hints new file mode 100644 index 0000000..43f2544 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/hints @@ -0,0 +1,4 @@ +binaries-hardening (binary): hardening-no-relro [usr/bin/weak] +binaries-hardening (binary): hardening-no-pie [usr/bin/weak] +binaries-hardening (binary): hardening-no-fortify-functions [usr/bin/weak] +binaries-hardening (binary): hardening-no-bindnow [usr/bin/weak] diff --git a/t/recipes/checks/binaries/hardening/binaries-hardening/eval/test-calibration b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/test-calibration new file mode 100755 index 0000000..89c85ec --- /dev/null +++ b/t/recipes/checks/binaries/hardening/binaries-hardening/eval/test-calibration @@ -0,0 +1,53 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use lib "$ENV{LINTIAN_BASE}/lib"; + +use Lintian::Profile; + +my $PROFILE = Lintian::Profile->new; +$PROFILE->load('debian/main', [$ENV{'LINTIAN_BASE'}]); + +my %recommended_hardening_features + = %{$PROFILE->data->hardening_buildflags->recommended_features}; + +my ($expected, undef, $calibrated) = @ARGV; + +my $arch = `dpkg-architecture -qDEB_HOST_ARCH`; +chomp $arch; + +die "Unknown architecture: $arch" + unless exists $recommended_hardening_features{$arch}; + +open my $cfd, '>', $calibrated or die "open $calibrated: $!"; +open my $efd, '<', $expected or die "open $expected: $!"; + +while (my $line = <$efd>) { + my $dp = 0; + if ($line =~ m/^.: [^:]+: hardening-no-(\S+)/) { + + # hardening flag, but maybe not for this architecture + my $feature = $1; + + my %renames = ('fortify-functions' => 'fortify'); + my $renamed_feature = $renames{$feature} // $feature; + + $dp = 1 if $recommended_hardening_features{$arch}{$renamed_feature}; + } else { + # only calibrate hardening flags. + $dp = 1; + } + + print $cfd $line if $dp; +} + +close $efd; +close $cfd or die "close $expected: $!"; + +# Local Variables: +# indent-tabs-mode: nil +# cperl-indent-level: 4 +# End: +# vim: syntax=perl sw=4 sts=4 sr et diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/install b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/install new file mode 100644 index 0000000..c10e578 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/install @@ -0,0 +1 @@ +foreign-binary usr/bin diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/rules b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/rules new file mode 100755 index 0000000..2ce6f53 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + # do not try to strip cross-compiled binaries with native tooling + +override_dh_shlibdeps: + # do not try to include missing libraries + +override_dh_dwz: + # cross-compiled binaries do not always seem to have a debug section + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/fill-values b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/fill-values new file mode 100644 index 0000000..24f607a --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: wrong-binary-architecture +Description: Binary architecture does not match package declaration +Package-Architecture: any +Extra-Build-Depends: + gcc-arm-linux-gnueabihf [amd64 i386], gcc-x86-64-linux-gnu [!amd64 !i386] diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/Makefile b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/Makefile new file mode 100644 index 0000000..bf92eaf --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/Makefile @@ -0,0 +1,37 @@ +# This test works on amd64 when the cross-compiler for armhf is installed. +# +# The build prerequisite was not added to Lintian, however, since it was +# not clear how the architecture would be enabled in the Gitlab CI +# runner. +# +# On amd64 or i386, please follow these steps to run the test: +# +# dpkg --add-architecture armhf +# apt update +# apt install gcc-arm-linux-gnueabihf +# +# On all other architectures this may work, but was not tested: +# +# dpkg --add-architecture amd64 +# apt update +# apt install gcc-x86-64-linux-gnu +# +# (Taken from: https://wiki.debian.org/CrossToolchains) + +ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(ARCH),amd64) +CC := arm-linux-gnueabihf-gcc +else +CC := x86_64-linux-gnu-gcc +endif + +foreign-binary: hello.c + $(CC) $^ -o $@ + +.PHONY: clean +clean: + rm -f foreign-binary + +.PHONY: clean +distclean: clean diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/hello.c b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/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/binaries/hardening/wrong-binary-architecture/eval/desc b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/desc new file mode 100644 index 0000000..b5d2db5 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/desc @@ -0,0 +1,2 @@ +Testname: wrong-binary-architecture +Check: binaries/hardening diff --git a/t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/hints b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/hints new file mode 100644 index 0000000..68d4010 --- /dev/null +++ b/t/recipes/checks/binaries/hardening/wrong-binary-architecture/eval/hints @@ -0,0 +1 @@ +wrong-binary-architecture (binary): hardening-no-bindnow [usr/bin/foreign-binary] diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/compat.in b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/control.in b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/control.in new file mode 100644 index 0000000..1c522b3 --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Section: libs +Depends: ${misc:Depends}, ${shlibs: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. It may + be an empty package. diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/libbasic2.symbols b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c67f613 --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/debian/libbasic2.symbols @@ -0,0 +1,4 @@ +libbasic.so.2 libbasic2 #MINVER# + do_open@Base 1.0 + lib_interface@Base 1.0 + zz_open@Base 1.0 diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/fill-values b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/fill-values new file mode 100644 index 0000000..b6b9ca6 --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-missing-lfs +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing lfs +Package-Architecture: any diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/Makefile b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/Makefile new file mode 100644 index 0000000..637a9ca --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 lfs.c basic.c + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/basic.c b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/basic.c new file mode 100644 index 0000000..3d12fde --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/basic.c @@ -0,0 +1,27 @@ +#include +#include +#include +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} + +int +do_open (char *file) { + return open (file, O_RDONLY); +} diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/lfs.c b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/lfs.c new file mode 100644 index 0000000..04fe113 --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/build-spec/orig/lfs.c @@ -0,0 +1,10 @@ +#define _FILE_OFFSET_BITS 64 + +#include +#include +#include + +int +zz_open (char *file) { + return open (file, O_RDONLY); +} diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/desc b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/desc new file mode 100644 index 0000000..65404ca --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/desc @@ -0,0 +1,3 @@ +Testname: binaries-missing-lfs +Test-Architectures: i386 armhf +Check: binaries/large-file-support diff --git a/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/hints b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/hints new file mode 100644 index 0000000..beba8ae --- /dev/null +++ b/t/recipes/checks/binaries/large-file-support/binaries-missing-lfs/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): binary-file-built-without-LFS-support [usr/lib/libbasic.so.2] diff --git a/t/recipes/checks/binaries/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/binaries/legacy-binary/build-spec/debian/control b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/binaries/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/binaries/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/menu b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/rules b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/debian/templates b/t/recipes/checks/binaries/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/fill-values b/t/recipes/checks/binaries/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/binaries/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/binaries/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/binaries/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-binary/eval/desc b/t/recipes/checks/binaries/legacy-binary/eval/desc new file mode 100644 index 0000000..849f27d --- /dev/null +++ b/t/recipes/checks/binaries/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: binaries diff --git a/t/recipes/checks/binaries/legacy-binary/eval/hints b/t/recipes/checks/binaries/legacy-binary/eval/hints new file mode 100644 index 0000000..472a768 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (binary): binary-has-unneeded-section .comment [usr/bin/hello-static] diff --git a/t/recipes/checks/binaries/legacy-binary/eval/post-test b/t/recipes/checks/binaries/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/binaries/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/binaries/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/binaries/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/binaries/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/binaries/legacy-libbaz/eval/desc b/t/recipes/checks/binaries/legacy-libbaz/eval/desc new file mode 100644 index 0000000..4f8811d --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: binaries diff --git a/t/recipes/checks/binaries/legacy-libbaz/eval/hints b/t/recipes/checks/binaries/legacy-libbaz/eval/hints new file mode 100644 index 0000000..7f3f70c --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/eval/hints @@ -0,0 +1,2 @@ +libbaz1-dev (binary): binary-has-unneeded-section .comment [usr/lib/ma-dir/perl/version/auto/Foo/Foo.so] +libbaz1 (binary): binary-has-unneeded-section .comment [usr/lib/ma-dir/perl/version/auto/Foo/Foo.so] diff --git a/t/recipes/checks/binaries/legacy-libbaz/eval/post-test b/t/recipes/checks/binaries/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/binaries/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/compat.in b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/control.in b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/control.in new file mode 100644 index 0000000..91b453f --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/control.in @@ -0,0 +1,53 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libmultiarch-none-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (M-A: none) + 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. + . + This package does not specify a Multi-Arch field. + +Package: libmultiarch-foreign-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] (M-A: foreign) + 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. + . + This package specifies Multi-Arch: foreign. + +Package: libmultiarch-same-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Description: [% $description %] (M-A: same) + 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. + . + This package specifies Multi-Arch: same. + +Package: libmultiarch-contrib-dev +Architecture: any +Section: contrib/libdevel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (contrib) + 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. + . + This package is in the contrib/libdevel section. diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/rules b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/rules new file mode 100755 index 0000000..fe4db63 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ + +override_dh_auto_install: + set -e; for X in none same foreign contrib; do \ + install -d debian/libmultiarch-$$X-dev/usr/bin; \ + install -d debian/libmultiarch-$$X-dev/var/lib/private; \ + install -m 755 true debian/libmultiarch-$$X-dev/usr/bin/$$X; \ + install -m 755 true debian/libmultiarch-$$X-dev/var/lib/private/$$X; \ + install -m 755 script debian/libmultiarch-$$X-dev/usr/bin/$$X-script; \ + install -m 755 script debian/libmultiarch-$$X-dev/var/lib/private/$$X-script; \ + done + +override_dh_strip: + # Avoid symbol conflicts warnings + dh_strip --no-automatic-dbgsym diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/fill-values b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/fill-values new file mode 100644 index 0000000..929c501 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: binaries-development-package-ships-elf-binary-in-path +Description: Test for development packages shipping ELF binaries in $PATH +Default-Build-Depends: debhelper (>= 9.20160114~) +Dh-Compat-Level: 9 diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/Makefile b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/Makefile new file mode 100644 index 0000000..a877dfd --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/Makefile @@ -0,0 +1,7 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o true true.c + +clean distclean: + rm -f true + +check test: diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/script b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/script new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/script @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/true.c b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/true.c new file mode 100644 index 0000000..8479e67 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/true.c @@ -0,0 +1,5 @@ +int +main(void) +{ + return 0; +} diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/desc b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/desc new file mode 100644 index 0000000..0d0db95 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-development-package-ships-elf-binary-in-path +Check: binaries/location diff --git a/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/hints b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/hints new file mode 100644 index 0000000..ad80dad --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-development-package-ships-elf-binary-in-path/eval/hints @@ -0,0 +1,5 @@ +libmultiarch-same-dev (binary): development-package-ships-elf-binary-in-path [usr/bin/same] +libmultiarch-same-dev (binary): arch-dependent-file-not-in-arch-specific-directory [var/lib/private/same] +libmultiarch-same-dev (binary): arch-dependent-file-not-in-arch-specific-directory [usr/bin/same] +libmultiarch-none-dev (binary): development-package-ships-elf-binary-in-path [usr/bin/none] +libmultiarch-contrib-dev (binary): development-package-ships-elf-binary-in-path [usr/bin/contrib] diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/location/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/location/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/location/binaries-general/eval/desc b/t/recipes/checks/binaries/location/binaries-general/eval/desc new file mode 100644 index 0000000..74bbf38 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/location diff --git a/t/recipes/checks/binaries/location/binaries-general/eval/hints b/t/recipes/checks/binaries/location/binaries-general/eval/hints new file mode 100644 index 0000000..ae43fff --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/eval/hints @@ -0,0 +1,2 @@ +binaries-general (binary): arch-dependent-file-in-usr-share [usr/share/foo/basicdebug] +binaries-general (binary): arch-dependent-file-in-usr-share [usr/share/foo/basic] diff --git a/t/recipes/checks/binaries/location/binaries-general/eval/post-test b/t/recipes/checks/binaries/location/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/debian/rules b/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/debian/rules new file mode 100755 index 0000000..a3ab46d --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +pkg=binaries-misplaced +%: + dh $@ + +override_dh_install: + mkdir -p debian/$(pkg)/etc/ + cp -a /bin/true debian/$(pkg)/etc/foo + # explicitly call dh_shlibdeps since debhelper is being + # "smart" and not calling it in newer versions (8.9.something) + dh_shlibdeps + dh_install diff --git a/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/fill-values b/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/fill-values new file mode 100644 index 0000000..6f79eab --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-misplaced/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: binaries-misplaced +Description: Test binaries in /etc diff --git a/t/recipes/checks/binaries/location/binaries-misplaced/eval/desc b/t/recipes/checks/binaries/location/binaries-misplaced/eval/desc new file mode 100644 index 0000000..5e2795a --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-misplaced/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-misplaced +Check: binaries/location diff --git a/t/recipes/checks/binaries/location/binaries-misplaced/eval/hints b/t/recipes/checks/binaries/location/binaries-misplaced/eval/hints new file mode 100644 index 0000000..91f0ef7 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-misplaced/eval/hints @@ -0,0 +1 @@ +binaries-misplaced (binary): binary-in-etc [etc/foo] diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/compat.in b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/control.in b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/control.in new file mode 100644 index 0000000..2efaa33 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/control.in @@ -0,0 +1,25 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends}, multiarch-support +Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same +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. + . + Note there is an explicitly pre-depends on multiarch-support, since + older versions of debhelper might not use it yet. dpkg-dev will + remove the duplicate entry (if any). + + + diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/libbasic2.symbols b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c2b8fb3 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/debian/libbasic2.symbols @@ -0,0 +1,2 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/fill-values b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/fill-values new file mode 100644 index 0000000..c508b75 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-multiarch-same +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test of multiarch same package with unsafe binaries diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/Makefile b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/Makefile new file mode 100644 index 0000000..ad7783b --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/Makefile @@ -0,0 +1,12 @@ + +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + +install: + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/basic.c b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/desc b/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/desc new file mode 100644 index 0000000..50a4f57 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-multiarch-same +Check: binaries/location diff --git a/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/hints b/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/hints new file mode 100644 index 0000000..b482a07 --- /dev/null +++ b/t/recipes/checks/binaries/location/binaries-multiarch-same/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): arch-dependent-file-not-in-arch-specific-directory [usr/lib/libbasic.so.2] diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/fill-values b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/fill-values new file mode 100644 index 0000000..b7493a0 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-obsolete-des +Description: Check detection of obsolete DES functions +Package-Architecture: any diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/Makefile b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/Makefile new file mode 100644 index 0000000..99409d2 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/Makefile @@ -0,0 +1,52 @@ +# Makefile for the obsolete-des tests. + +# glibc 2.28 and greater try to prevent new programs from being linked +# against the obsolete functions we're testing for. This can be worked +# around, but we have to know the exact "symbol version" associated with +# the obsolete functions, which has to be dug out of libcrypt.so with nm. + +LIBCRYPT_FILE := $(shell $(CC) $(CFLAGS) $(LDFLAGS) -print-file-name=libcrypt.so) + +SYMVER := $(shell nm --dynamic --with-symbol-versions $(LIBCRYPT_FILE) | \ + grep ' setkey@' | cut -d@ -f2) + +# The output of the above nm | grep | cut pipeline will be the empty string +# if it is possible to link programs against 'setkey' without special magic, +# and a nonempty string if special magic is required. All five of the +# functions we are testing were introduced in the same release of glibc and +# disabled for new programs as a group in a single release of glibc, so it +# is only necessary to check how one of them is handled. +ifneq "$(SYMVER)" "" +SYMVER_DEFINE := -DSYMVER=\"$(SYMVER)\" +else +SYMVER_DEFINE := -USYMVER +endif + +CFLAGS := $(shell dpkg-buildflags --get CFLAGS) +CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) $(SYMVER_DEFINE) +LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) + +PROGRAMS := uses-fcrypt uses-encrypt uses-encrypt_r uses-setkey uses-setkey_r +MANPAGES := $(PROGRAMS:=.1) + +all: $(PROGRAMS) $(MANPAGES) + +uses-%: uses-%.o + $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ -lcrypt + +%.1: dummy.pod + sed s/@NAME@/$(@F)/g < $< | \ + pod2man --name $(@F) --section 1 > $@ + +install: all + $(INSTALL) -d $(DESTDIR)/usr/bin + $(INSTALL) -d $(DESTDIR)/usr/share/man/man1 + $(INSTALL) -m 755 $(PROGRAMS) $(DESTDIR)/usr/bin + $(INSTALL) -m 644 $(MANPAGES) $(DESTDIR)/usr/share/man/man1 + +clean distclean: + -rm -f *.o $(PROGRAMS) $(MANPAGES) + +check test: + +.PRECIOUS: $(PROGRAMS:=.o) diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/dummy.pod b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/dummy.pod new file mode 100644 index 0000000..224df4a --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/dummy.pod @@ -0,0 +1,11 @@ +=head1 NAME + +@NAME@ -- binary that does something + +=head1 SYNOPSIS + + @NAME@ [options] + +=head1 DESCRIPTION + +@NAME@ does something very useful. diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt.c b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt.c new file mode 100644 index 0000000..b6ca062 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt.c @@ -0,0 +1,30 @@ +/* This program uses the obsolete function 'encrypt', which performs + DES encryption. */ + +#define _GNU_SOURCE 1 +#include +#include +#include + +/* The prototype of 'encrypt' may already have been removed from + unistd.h. */ +extern void encrypt(char block[64], int edflag); + +/* It may already not be possible to link new programs that use + 'encrypt' without special magic. */ +#ifdef SYMVER +__asm__ (".symver encrypt, encrypt@" SYMVER); +#endif + +int +main(void) +{ + char block[64]; + memset(block, 0, sizeof block); + encrypt(block, 0); + for (size_t i = 0; i < sizeof block; i++) { + putchar(block[i] ? '1' : '0'); + } + putchar('\n'); + return 0; +} diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c new file mode 100644 index 0000000..a382624 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c @@ -0,0 +1,33 @@ +/* This program uses the obsolete function 'encrypt_r', which performs + DES encryption. */ + +#define _GNU_SOURCE 1 +#include +#include +#include + +/* The prototype of 'encrypt_r' may already have been removed from + crypt.h. */ +extern void encrypt_r(char block[64], int edflag, struct crypt_data *data); + +/* It may already not be possible to link new programs that use + 'encrypt_r' without special magic. */ +#ifdef SYMVER +__asm__ (".symver encrypt_r, encrypt_r@" SYMVER); +#endif + +int +main(void) +{ + struct crypt_data data; + char block[64]; + + memset(&data, 0, sizeof data); + memset(block, 0, sizeof block); + encrypt_r(block, 0, &data); + for (size_t i = 0; i < sizeof block; i++) { + putchar(block[i] ? '1' : '0'); + } + putchar('\n'); + return 0; +} diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-fcrypt.c b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-fcrypt.c new file mode 100644 index 0000000..d71a837 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-fcrypt.c @@ -0,0 +1,21 @@ +/* This program uses the obsolete function 'fcrypt', + which is an alias for 'crypt'. */ + +#include +#include + +/* The prototype may already have been removed from crypt.h. */ +extern char *fcrypt(const char *, const char *); + +/* It may already not be possible to link new programs that use + 'fcrypt' without special magic. */ +#ifdef SYMVER +__asm__ (".symver fcrypt, fcrypt@" SYMVER); +#endif + +int +main(void) +{ + puts(fcrypt("password", "Dn")); + return 0; +} diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey.c b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey.c new file mode 100644 index 0000000..bdf70b0 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey.c @@ -0,0 +1,45 @@ +/* This program uses the obsolete function 'setkey', which sets a key for + DES encryption. */ + +#define _GNU_SOURCE 1 +#include +#include +#include + +/* The prototype of 'setkey' may already have been removed from + stdlib.h. */ +extern void setkey(const char *); + + +/* It may already not be possible to link new programs that use + 'setkey' without special magic. */ +#ifdef SYMVER +__asm__ (".symver setkey, setkey@" SYMVER); +#endif + +/* setkey uses a 1-bit-per-byte representation of a DES key. + Yes, really. */ +const char key[64] = { + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, +}; + +int +main(void) +{ + /* The primary effects of calling 'setkey' are only visible by + calling 'encrypt', and we don't want to call 'encrypt' in this + program because we want to make sure Lintian detects programs + that call 'setkey' but not 'encrypt', even though that doesn't + make a whole lot of sense. So we just call it and then check + whether it changed errno, which is the documented way to check + whether it failed. */ + errno = 0; + setkey(key); + if (errno) { + perror("setkey"); + } + return 0; +} diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c new file mode 100644 index 0000000..3ad3f35 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c @@ -0,0 +1,48 @@ +/* This program uses the obsolete function 'setkey_r', which sets a key for + DES encryption. */ + +#define _GNU_SOURCE 1 +#include +#include +#include +#include + +/* The prototype of 'setkey_r' may already have been removed from + crypt.h. */ +extern void setkey_r(const char *, struct crypt_data *); + +/* It may already not be possible to link new programs that use + 'setkey_r' without special magic. */ +#ifdef SYMVER +__asm__ (".symver setkey_r, setkey_r@" SYMVER); +#endif + +/* setkey_r uses a 1-bit-per-byte representation of a DES key. + Yes, really. */ +const char key[64] = { + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, +}; + +int +main(void) +{ + struct crypt_data data; + memset(&data, 0, sizeof data); + + /* The primary effects of calling 'setkey_r' are only visible by + calling 'encrypt_r', and we don't want to call 'encrypt_r' in + this program because we want to make sure Lintian detects + programs that call 'setkey_r' but not 'encrypt_r', even though + that doesn't make a whole lot of sense. So we just call it and + then check whether it changed errno, which is the documented + way to check whether it failed. */ + errno = 0; + setkey_r(key, &data); + if (errno) { + perror("setkey_r"); + } + return 0; +} diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/desc b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/desc new file mode 100644 index 0000000..0ceced0 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-obsolete-des +Check: binaries/obsolete/crypt diff --git a/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/hints b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/hints new file mode 100644 index 0000000..a49c520 --- /dev/null +++ b/t/recipes/checks/binaries/obsolete/crypt/binaries-obsolete-des/eval/hints @@ -0,0 +1,5 @@ +binaries-obsolete-des (binary): obsolete-des-encryption setkey_r [usr/bin/uses-setkey_r] +binaries-obsolete-des (binary): obsolete-des-encryption setkey [usr/bin/uses-setkey] +binaries-obsolete-des (binary): obsolete-des-encryption encrypt_r [usr/bin/uses-encrypt_r] +binaries-obsolete-des (binary): obsolete-des-encryption encrypt [usr/bin/uses-encrypt] +binaries-obsolete-des (binary): obsolete-crypt-alias fcrypt [usr/bin/uses-fcrypt] diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/debian/rules new file mode 100755 index 0000000..fab80fa --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +# dwz errors out; no .debug_info section present due to -nostdlib +override_dh_dwz: diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/fill-values new file mode 100644 index 0000000..88f75cb --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-libc-link +Description: Binaries not linked against libc +Package-Architecture: any diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/Makefile new file mode 100644 index 0000000..daa4159 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/Makefile @@ -0,0 +1,35 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +LINKER_FLAGS := -Wl,--no-copy-dt-needed-entries,--no-as-needed + +all: basic basic.1 libbasic-nodeps libbasic-nolibc + +basic.1: basic.pod + pod2man --section 1 $< > $@ + +basic: basic.o + $(CC) -nostdlib -o$@ $< $(LINKER_FLAGS) -lm $(LFLAGS) + +libbasic-nodeps: basic.o + $(CC) -nostdlib --shared -o$@ $< + +libbasic-nolibc: basic.o + $(CC) -nostdlib --shared -o$@ $< $(LINKER_FLAGS) -lm + +install: + install -d $(DESTDIR)/usr/bin + install -d $(DESTDIR)/usr/lib/basic + install -d $(DESTDIR)/usr/share/man/man1 + install -m 755 -c basic $(DESTDIR)/usr/bin/basic + install -m 755 -c libbasic-* $(DESTDIR)/usr/lib/basic + install -m 644 -c basic.1 $(DESTDIR)/usr/share/man/man1 + +clean distclean: + rm -f basic libbasic-* basic.1 + +check test: diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.c new file mode 100644 index 0000000..77bc677 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.c @@ -0,0 +1,5 @@ +int +main(void) +{ + return 0; +} diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.pod b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.pod new file mode 100644 index 0000000..d395e96 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/build-spec/orig/basic.pod @@ -0,0 +1,14 @@ +=head1 NAME + +basic -- segfaults + +=head1 SYNOPSIS + + basic + +=head1 DESCRIPTION + +It tends to seg. fault, but if it doesn't it will return 0 like +/bin/true. + +=cut diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/desc b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/desc new file mode 100644 index 0000000..66097cf --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-libc-link +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/hints b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/hints new file mode 100644 index 0000000..59ab437 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/hints @@ -0,0 +1,3 @@ +binaries-libc-link (binary): shared-library-lacks-prerequisites [usr/lib/basic/libbasic-nodeps] +binaries-libc-link (binary): program-not-linked-against-libc [usr/bin/basic] +binaries-libc-link (binary): library-not-linked-against-libc [usr/lib/basic/libbasic-nolibc] diff --git a/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/post-test b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/post-test new file mode 100644 index 0000000..c156be8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-libc-link/eval/post-test @@ -0,0 +1,3 @@ +# The LDFLAGS parts of the hardening flags are a bit difficult to pass +# to the linker so just drop them. +/hardening-no-/ d diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/compat.in b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/control.in b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/control.in new file mode 100644 index 0000000..d8adb1b --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libbasic2 +Section: libs +Architecture: [% $package_architecture %] +Depends: some-pkg, ${misc:Depends}, ${shlib: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. It may + be an empty package. diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..0119bca --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols @@ -0,0 +1,4 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 +libbasic++.so.2 libbasic2 #MINVER# + (c++)cxx_lib_interface@Base 1.0 diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/rules new file mode 100644 index 0000000..188f490 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +# Make sure the C++ library actually links to libc +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed + +%: + dh $@ + +override_dh_gencontrol: + # Remove the shlib:Depends since it will contain libc + sed -i '/shlib:Depends=/ d' debian/libbasic2.substvars + echo "shlib:depends=" >> debian/libbasic2.substvars + dh_gencontrol diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/fill-values new file mode 100644 index 0000000..0f58398 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-missing-depends-on-libc +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing libc depends +Package-Architecture: any diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/Makefile new file mode 100644 index 0000000..fcf25f4 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/Makefile @@ -0,0 +1,14 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + g++ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs \ + -Wl,-soname,libbasic++.so.2 -olibbasic++.so.2 cpp.cxx + +install: + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + install -m 644 -c -s libbasic++.so.2 $(DESTDIR)/usr/lib/libbasic++.so.2 + +clean distclean: + rm -f libbasic.so.2 libbasic++.so.2 + +check test: diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx new file mode 100644 index 0000000..1338e40 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx @@ -0,0 +1,14 @@ +#include +#include + +using namespace std; + +template T +cxx_lib_interface(vector &v) +{ + cout << ":-) hello world" << endl; + return v[0]; +} + + + diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/desc b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/desc new file mode 100644 index 0000000..88d5fa2 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends-on-libc +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/hints b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/hints new file mode 100644 index 0000000..5c512f2 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends-on-libc/eval/hints @@ -0,0 +1,2 @@ +libbasic2 (binary): missing-dependency-on-libstdc++ needed by usr/lib/libbasic++.so.2 +libbasic2 (binary): missing-dependency-on-libc needed by usr/lib/libbasic++.so.2 and 1 others diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/compat.in b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/control.in b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/control.in new file mode 100644 index 0000000..3b37179 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Section: libs +Depends: ${misc:Depends}, ${shlib: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. It may + be an empty package. diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/libbasic2.symbols b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c2b8fb3 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/libbasic2.symbols @@ -0,0 +1,2 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/rules new file mode 100644 index 0000000..8a83255 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_builddeb: + sed -i '/Depends:/ d' debian/libbasic2/DEBIAN/control + dh_builddeb diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/fill-values new file mode 100644 index 0000000..b1caef8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-missing-depends +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing depends line +Package-Architecture: any diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/Makefile new file mode 100644 index 0000000..6fc3968 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/desc b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/desc new file mode 100644 index 0000000..6ad9fdd --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/hints b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/hints new file mode 100644 index 0000000..db69d51 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/binaries-missing-depends/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/libbasic.so.2] diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/control b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..79eebf1 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/desc b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/desc new file mode 100644 index 0000000..772ec4e --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debug +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/hints b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/hints new file mode 100644 index 0000000..7cbded8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/hints @@ -0,0 +1,2 @@ +libhello0-dbg (binary): shared-library-lacks-prerequisites [usr/lib/libhello.so.dbg] +libhello0-dbg (binary): missing-dependency-on-libc needed by usr/lib/debug/lib/libhello.so.0.0 and 1 others diff --git a/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/post-test b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/binaries/prerequisites/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/desc b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/desc new file mode 100644 index 0000000..f229b04 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/hints b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/hints new file mode 100644 index 0000000..0a04cbb --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/hints @@ -0,0 +1,6 @@ +libbaz1-dev (binary): missing-dependency-on-libc needed by usr/lib/ma-dir/perl/version/auto/Foo/Foo.so +libbaz1 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/ma-dir/perl/version/auto/Foo/Foo.so] +libbaz1 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/libfoo2.so.1.0.3b] +libbaz1 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/libbaz3.so.1.0.3b] +libbaz1 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/libbaz1.so.1.0.3b] +libbaz1 (binary): undeclared-elf-prerequisites (libc.so.6) [usr/lib/libbaz.so] diff --git a/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/post-test b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/debian/rules new file mode 100644 index 0000000..f7cfef1 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed + +%: + dh $@ --buildsystem pybuild diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/fill-values new file mode 100644 index 0000000..a8b1cea --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: binaries-missing-depends-on-numpy-abi +Description: Test for missing dependency on python3-numpy-abiN +Package-Architecture: any +Extra-Build-Depends: python3-all-dev, python3-numpy, dh-python, python3-setuptools diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c new file mode 100644 index 0000000..9bb2221 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c @@ -0,0 +1,21 @@ +#include +#include +#include +#include + +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +void do_import_array(void) +{ + import_array(); + hardening_trigger(NULL, 0, NULL); +} diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/setup.py b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/setup.py new file mode 100644 index 0000000..675a9ea --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/build-spec/orig/setup.py @@ -0,0 +1,9 @@ +import setuptools +import numpy + +setuptools.setup( + ext_modules=[ + setuptools.Extension('basic', ['basic.c'], + include_dirs=[numpy.get_include()]), + ], +) diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/desc b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/desc new file mode 100644 index 0000000..2702447 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends-on-numpy-abi +Check: binaries/prerequisites/numpy diff --git a/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/hints b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/hints new file mode 100644 index 0000000..feadb98 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/numpy/binaries-missing-depends-on-numpy-abi/eval/hints @@ -0,0 +1 @@ +binaries-missing-depends-on-numpy-abi (binary): missing-dependency-on-numpy-abi diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/debian/rules new file mode 100644 index 0000000..7b55940 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_perl: + +override_dh_builddeb: + # Work around debhelper bug (triggers useless call to ldconfig) + rm -f debian/*/DEBIAN/postinst debian/*/DEBIAN/postrm + rm -f debian/*/DEBIAN/triggers + dh_builddeb + +# errors out with: objcopy: '.../binaries-missing-depends-on-xapi.debug': No such file +override_dh_dwz: diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/fill-values new file mode 100644 index 0000000..bf3682a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-missing-depends-on-xapi +Description: Test for missing perlapi depends +Package-Architecture: any diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/Makefile new file mode 100644 index 0000000..5c9cbaf --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/Makefile @@ -0,0 +1,16 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so basic.c + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/$(VENDORARCH) + install -m 644 -c -s libbasic.so $(DESTDIR)/$(VENDORARCH)/libbasic.so + install -d $(DESTDIR)/usr/lib/php5 + install -m 644 -c -s libbasic.so $(DESTDIR)/usr/lib/php5/libbasic.so + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/desc b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/desc new file mode 100644 index 0000000..288238f --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends-on-xapi +Check: binaries/prerequisites/perl diff --git a/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/hints b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/hints new file mode 100644 index 0000000..6d97760 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/binaries-missing-depends-on-xapi/eval/hints @@ -0,0 +1 @@ +binaries-missing-depends-on-xapi (binary): missing-dependency-on-perlapi diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/desc b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/desc new file mode 100644 index 0000000..0b65f95 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: binaries/prerequisites/perl diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/hints b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/hints new file mode 100644 index 0000000..423e913 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/hints @@ -0,0 +1 @@ +libbaz1 (binary): missing-dependency-on-perlapi diff --git a/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/post-test b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/perl/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/debian/rules new file mode 100644 index 0000000..7b55940 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_perl: + +override_dh_builddeb: + # Work around debhelper bug (triggers useless call to ldconfig) + rm -f debian/*/DEBIAN/postinst debian/*/DEBIAN/postrm + rm -f debian/*/DEBIAN/triggers + dh_builddeb + +# errors out with: objcopy: '.../binaries-missing-depends-on-xapi.debug': No such file +override_dh_dwz: diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/fill-values new file mode 100644 index 0000000..bf3682a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-missing-depends-on-xapi +Description: Test for missing perlapi depends +Package-Architecture: any diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/Makefile new file mode 100644 index 0000000..5c9cbaf --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/Makefile @@ -0,0 +1,16 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so basic.c + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/$(VENDORARCH) + install -m 644 -c -s libbasic.so $(DESTDIR)/$(VENDORARCH)/libbasic.so + install -d $(DESTDIR)/usr/lib/php5 + install -m 644 -c -s libbasic.so $(DESTDIR)/usr/lib/php5/libbasic.so + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/basic.c b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/desc b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/desc new file mode 100644 index 0000000..1f5f111 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends-on-xapi +Check: binaries/prerequisites/php diff --git a/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/hints b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/hints new file mode 100644 index 0000000..0791fd8 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/php/binaries-missing-depends-on-xapi/eval/hints @@ -0,0 +1 @@ +binaries-missing-depends-on-xapi (binary): missing-dependency-on-phpapi diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/install b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/install new file mode 100644 index 0000000..c10e578 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/install @@ -0,0 +1 @@ +foreign-binary usr/bin diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/rules b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/rules new file mode 100755 index 0000000..2ce6f53 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + # do not try to strip cross-compiled binaries with native tooling + +override_dh_shlibdeps: + # do not try to include missing libraries + +override_dh_dwz: + # cross-compiled binaries do not always seem to have a debug section + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/fill-values b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/fill-values new file mode 100644 index 0000000..24f607a --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: wrong-binary-architecture +Description: Binary architecture does not match package declaration +Package-Architecture: any +Extra-Build-Depends: + gcc-arm-linux-gnueabihf [amd64 i386], gcc-x86-64-linux-gnu [!amd64 !i386] diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/Makefile b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/Makefile new file mode 100644 index 0000000..bf92eaf --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/Makefile @@ -0,0 +1,37 @@ +# This test works on amd64 when the cross-compiler for armhf is installed. +# +# The build prerequisite was not added to Lintian, however, since it was +# not clear how the architecture would be enabled in the Gitlab CI +# runner. +# +# On amd64 or i386, please follow these steps to run the test: +# +# dpkg --add-architecture armhf +# apt update +# apt install gcc-arm-linux-gnueabihf +# +# On all other architectures this may work, but was not tested: +# +# dpkg --add-architecture amd64 +# apt update +# apt install gcc-x86-64-linux-gnu +# +# (Taken from: https://wiki.debian.org/CrossToolchains) + +ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(ARCH),amd64) +CC := arm-linux-gnueabihf-gcc +else +CC := x86_64-linux-gnu-gcc +endif + +foreign-binary: hello.c + $(CC) $^ -o $@ + +.PHONY: clean +clean: + rm -f foreign-binary + +.PHONY: clean +distclean: clean diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/hello.c b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/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/binaries/prerequisites/wrong-binary-architecture/eval/desc b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/desc new file mode 100644 index 0000000..5c454dc --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/desc @@ -0,0 +1,2 @@ +Testname: wrong-binary-architecture +Check: binaries/prerequisites diff --git a/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/hints b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/hints new file mode 100644 index 0000000..d0ee0e7 --- /dev/null +++ b/t/recipes/checks/binaries/prerequisites/wrong-binary-architecture/eval/hints @@ -0,0 +1 @@ +wrong-binary-architecture (binary): undeclared-elf-prerequisites (libc.so.6) [usr/bin/foreign-binary] diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/profiling/binaries-general/eval/desc b/t/recipes/checks/binaries/profiling/binaries-general/eval/desc new file mode 100644 index 0000000..8bbea38 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/profiling diff --git a/t/recipes/checks/binaries/profiling/binaries-general/eval/hints b/t/recipes/checks/binaries/profiling/binaries-general/eval/hints new file mode 100644 index 0000000..c85e300 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/eval/hints @@ -0,0 +1 @@ +binaries-general (binary): binary-compiled-with-profiling-enabled [usr/share/foo/basic] diff --git a/t/recipes/checks/binaries/profiling/binaries-general/eval/post-test b/t/recipes/checks/binaries/profiling/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/profiling/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/rpath/binaries-general/eval/desc b/t/recipes/checks/binaries/rpath/binaries-general/eval/desc new file mode 100644 index 0000000..6e7e185 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/rpath diff --git a/t/recipes/checks/binaries/rpath/binaries-general/eval/hints b/t/recipes/checks/binaries/rpath/binaries-general/eval/hints new file mode 100644 index 0000000..367a9a3 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/eval/hints @@ -0,0 +1,3 @@ +binaries-general (binary): custom-library-search-path RUNPATH /usr/share/foo [usr/lib/foo/basicshippedrpath] +binaries-general (binary): custom-library-search-path RUNPATH /usr/local/lib [usr/share/foo/basic] +binaries-general (binary): custom-library-search-path RUNPATH /usr/lib [usr/lib/foo/basiclibrpath] diff --git a/t/recipes/checks/binaries/rpath/binaries-general/eval/post-test b/t/recipes/checks/binaries/rpath/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/debian/rules b/t/recipes/checks/binaries/rpath/quoted/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/fill-values b/t/recipes/checks/binaries/rpath/quoted/build-spec/fill-values new file mode 100644 index 0000000..e5a7a3e --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: quoted +Description: RPATH in double quotes +Package-Architecture: any diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/Makefile b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/Makefile new file mode 100644 index 0000000..f2eed80 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,\"/usr/local/lib\" + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,\"/usr/lib\" + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,\"/usr/share/foo\" + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,\"/usr/lib/binaries-general\":\"/usr/lib/binaries-general/bar\" + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/basic.c b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/getbuildid b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/rpath/quoted/eval/desc b/t/recipes/checks/binaries/rpath/quoted/eval/desc new file mode 100644 index 0000000..64ca820 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/eval/desc @@ -0,0 +1,2 @@ +Testname: quoted +Check: binaries/rpath diff --git a/t/recipes/checks/binaries/rpath/quoted/eval/hints b/t/recipes/checks/binaries/rpath/quoted/eval/hints new file mode 100644 index 0000000..074ceeb --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/eval/hints @@ -0,0 +1,5 @@ +quoted (binary): relative-library-search-path RUNPATH "/usr/share/foo" [usr/lib/foo/basicshippedrpath] +quoted (binary): relative-library-search-path RUNPATH "/usr/local/lib" [usr/share/foo/basic] +quoted (binary): relative-library-search-path RUNPATH "/usr/lib/binaries-general/bar" [usr/lib/foo/basicshippedrpathmore] +quoted (binary): relative-library-search-path RUNPATH "/usr/lib/binaries-general" [usr/lib/foo/basicshippedrpathmore] +quoted (binary): relative-library-search-path RUNPATH "/usr/lib" [usr/lib/foo/basiclibrpath] diff --git a/t/recipes/checks/binaries/rpath/quoted/eval/post-test b/t/recipes/checks/binaries/rpath/quoted/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/quoted/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/debian/rules b/t/recipes/checks/binaries/rpath/relative/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/fill-values b/t/recipes/checks/binaries/rpath/relative/build-spec/fill-values new file mode 100644 index 0000000..9d8fdc2 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: relative +Description: Relative RPATH +Package-Architecture: any diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/orig/Makefile b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/Makefile new file mode 100644 index 0000000..b7758c6 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,usr/lib/binaries-general:usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/orig/basic.c b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/orig/getbuildid b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/rpath/relative/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/rpath/relative/eval/desc b/t/recipes/checks/binaries/rpath/relative/eval/desc new file mode 100644 index 0000000..159b77a --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/eval/desc @@ -0,0 +1,2 @@ +Testname: relative +Check: binaries/rpath diff --git a/t/recipes/checks/binaries/rpath/relative/eval/hints b/t/recipes/checks/binaries/rpath/relative/eval/hints new file mode 100644 index 0000000..3151df2 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/eval/hints @@ -0,0 +1,5 @@ +relative (binary): relative-library-search-path RUNPATH usr/share/foo [usr/lib/foo/basicshippedrpath] +relative (binary): relative-library-search-path RUNPATH usr/local/lib [usr/share/foo/basic] +relative (binary): relative-library-search-path RUNPATH usr/lib/binaries-general/bar [usr/lib/foo/basicshippedrpathmore] +relative (binary): relative-library-search-path RUNPATH usr/lib/binaries-general [usr/lib/foo/basicshippedrpathmore] +relative (binary): relative-library-search-path RUNPATH usr/lib [usr/lib/foo/basiclibrpath] diff --git a/t/recipes/checks/binaries/rpath/relative/eval/post-test b/t/recipes/checks/binaries/rpath/relative/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/rpath/relative/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/fill-values b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/fill-values new file mode 100644 index 0000000..df21847 --- /dev/null +++ b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-spelling +Description: Spelling errors in binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/Makefile b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/Makefile new file mode 100644 index 0000000..0c85616 --- /dev/null +++ b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/Makefile @@ -0,0 +1,11 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o basic basic.c + +install: + install -d $(DESTDIR)/usr/bin + install -m 755 -c basic $(DESTDIR)/usr/bin/basic + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/basic.c b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/basic.c new file mode 100644 index 0000000..2cec53e --- /dev/null +++ b/t/recipes/checks/binaries/spelling/binaries-spelling/build-spec/orig/basic.c @@ -0,0 +1,23 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +main(void) +{ + printf("I iz an exprimental speling error!\n"); + printf("I also have teh broken teh!\n"); + printf("But tEH non-broken tEh needs to be on its own line!\n"); + printf("res.size is okay!\n"); /* #818003 */ + printf("Georg Nees was early pioneer of computer art and generative graphics.\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/binaries/spelling/binaries-spelling/eval/desc b/t/recipes/checks/binaries/spelling/binaries-spelling/eval/desc new file mode 100644 index 0000000..527386d --- /dev/null +++ b/t/recipes/checks/binaries/spelling/binaries-spelling/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-spelling +Check: binaries/spelling diff --git a/t/recipes/checks/binaries/spelling/binaries-spelling/eval/hints b/t/recipes/checks/binaries/spelling/binaries-spelling/eval/hints new file mode 100644 index 0000000..49c0ea4 --- /dev/null +++ b/t/recipes/checks/binaries/spelling/binaries-spelling/eval/hints @@ -0,0 +1,3 @@ +binaries-spelling (binary): spelling-error-in-binary teh the [usr/bin/basic] +binaries-spelling (binary): spelling-error-in-binary speling spelling [usr/bin/basic] +binaries-spelling (binary): spelling-error-in-binary exprimental experimental [usr/bin/basic] diff --git a/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/dumpobj b/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/dumpobj new file mode 100644 index 0000000..afdf68e --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/debian/dumpobj @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +DEB_BUILD_GNU_TYPE="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)" + +case $DEB_BUILD_GNU_TYPE in +i486-linux-gnu|i586-linux-gnu|i686-linux-gnu|x86_64-linux-gnu) + base64 -d < debian/elfobject + sh debian/dumpobj > debian/fake-guile-object.go + dh binary diff --git a/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/fill-values b/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/fill-values new file mode 100644 index 0000000..d765ecd --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-from-other-arch/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-from-other-arch +Package-Architecture: any +Dh-Compat-Level: 10 +Description: Test package with a pseudo binary from a different architecture +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/desc b/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/desc new file mode 100644 index 0000000..d599961 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/desc @@ -0,0 +1,4 @@ +Testname: binaries-from-other-arch +Test-Architectures: amd64 i386 +Check: binaries/static +# since debhelper 12.5.2, objdump no longer fails silently for compat > 10, need better binary diff --git a/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/hints b/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/hints new file mode 100644 index 0000000..1de058b --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-from-other-arch/eval/hints @@ -0,0 +1,2 @@ +binaries-from-other-arch (binary): statically-linked-binary [usr/lib/foo/binaries-from-other-arch/guile/2.2/fake-guile-object.go] +binaries-from-other-arch (binary): statically-linked-binary [usr/bin/elfobject] diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/debian/rules b/t/recipes/checks/binaries/static/binaries-general/build-spec/debian/rules new file mode 100644 index 0000000..3ea7a63 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_strip: + dh_strip -X usr/lib/debug -X unstripped -X ocaml + +override_dh_dwz: + # Can error with "deadbeefdeadbeef.debug: Found compressed .debug_info section, not attempting dwz compression" diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/fill-values b/t/recipes/checks/binaries/static/binaries-general/build-spec/fill-values new file mode 100644 index 0000000..a24247d --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: binaries-general +Description: Misc errors related to binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/Makefile b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/Makefile new file mode 100644 index 0000000..cf0f211 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/Makefile @@ -0,0 +1,64 @@ +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +COMPILE_NOPIE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) +# extract from readelf +GETBUILDID:=./getbuildid + +all: + # rpath not matching any of the exceptions to the rpath checks + # - with profiling enabled. + $(COMPILE_NOPIE) -o basic basic.c -pg -Wl,--rpath,/usr/local/lib + # rpath shipped in the package, but one of {/usr}?/lib + $(COMPILE) -o basiclibrpath basic.c -Wl,--rpath,/usr/lib + # non-special rpath shipped in the package + $(COMPILE) -o basicshippedrpath basic.c -Wl,--rpath,/usr/share/foo + # special rpath shipped in the package, multiple paths + $(COMPILE) -o basicshippedrpathmore basic.c -Wl,--rpath,/usr/lib/binaries-general:/usr/lib/binaries-general/bar + # static version of basic for debugging checks + $(COMPILE_NOPIE) -static -o basic.static basic.c + # static executable to trigger ocaml check + $(COMPILE_NOPIE) -o ocaml-exec ocaml.c + # version with debug + $(COMPILE) -o basicdebug -g3 -Wl,--build-id basic.c + +install: + # according to local debian rules /usr/lib/debug is unstripped + install -d $(DESTDIR)/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/debug/usr/share/foo/ + install -d $(DESTDIR)/usr/lib/foo/ + install -d $(DESTDIR)/usr/bin + + install -m 755 -c basic $(DESTDIR)/usr/share/foo/basic + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + strip -s $(DESTDIR)/usr/lib/debug/usr/share/foo/basic + install -m 755 -c basiclibrpath $(DESTDIR)/usr/lib/foo/basiclibrpath + install -m 755 -c basicshippedrpath $(DESTDIR)/usr/lib/foo/basicshippedrpath + install -m 755 -c ocaml-exec $(DESTDIR)/usr/lib/foo/ocaml-exec + install -m 744 -c basicshippedrpathmore $(DESTDIR)/usr/lib/foo/basicshippedrpathmore + objcopy --only-keep-debug basic $(DESTDIR)/usr/lib/debug/basic + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + install -m 755 -c basicdebug $(DESTDIR)/usr/share/foo/basicdebug + # force fake buildid in order to have tag matching ok (deadbeefdeadbeef) + install -d "$(DESTDIR)/usr/lib/debug/.build-id/de" + objcopy --compress-debug-sections basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug" + install -d "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug` + objcopy --compress-debug-sections --only-keep-debug basicdebug \ + "$(DESTDIR)/usr/lib/debug/.build-id/"`$(GETBUILDID) -s basicdebug`"/"`$(GETBUILDID) -f basicdebug`.debug + install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/ + # according to local debian rules unstripped in name avoid dh_strip to do the work + install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped + install -m 755 basic.static $(DESTDIR)/usr/bin/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/basic.c b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/basic.c new file mode 100644 index 0000000..3618004 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include +#include + +int +main(int argc, char *argv[]) +{ + char t[10]; + printf("Hello world!\n"); + /* forces a stack protector */ + (void) strcpy(t,argv[0]); + return (int) t[0]; +} diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/getbuildid b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/getbuildid new file mode 100755 index 0000000..0060d2b --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/getbuildid @@ -0,0 +1,30 @@ +#!/bin/sh +# get build-id of binary + +set -e + +usage() { + echo "Usage: getbuildid [flag] file"; + echo " print build-id of an object file" + echo "flags:" + echo " -f : full build-id (default)." + echo " -s : short build-id aka the first two characters." +} + +if test $# -lt 1; then usage; exit 77; fi +if test $# -gt 3; then usage; exit 77; fi + +if test $# -eq 1; then + LC_ALL=C readelf -n "$1" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' +else + case "x$1" in + 'x-f') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]*\).*/\1/g' ;; + 'x-s') + LC_ALL=C readelf -n "$2" | grep -i 'Build Id:' | sed 's/.*:[[:blank:]]*\([[:digit:]|abcdef]\{2\}\).*/\1/g' ;; + *) + exit 2; + esac +fi + +exit 0; diff --git a/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/ocaml.c b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/ocaml.c new file mode 100644 index 0000000..370d17d --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/build-spec/orig/ocaml.c @@ -0,0 +1,11 @@ +#include + +int +main(int argc, char **argv) +{ + if (argc > 2) { + puts("Caml1999X000"); + } + puts("\n"); + return 0; +} diff --git a/t/recipes/checks/binaries/static/binaries-general/eval/desc b/t/recipes/checks/binaries/static/binaries-general/eval/desc new file mode 100644 index 0000000..41f333c --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-general +Check: binaries/static diff --git a/t/recipes/checks/binaries/static/binaries-general/eval/hints b/t/recipes/checks/binaries/static/binaries-general/eval/hints new file mode 100644 index 0000000..3e9929d --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/eval/hints @@ -0,0 +1 @@ +binaries-general (binary): statically-linked-binary [usr/bin/static] diff --git a/t/recipes/checks/binaries/static/binaries-general/eval/post-test b/t/recipes/checks/binaries/static/binaries-general/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-general/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/binaries/static/binaries-golang/build-spec/fill-values b/t/recipes/checks/binaries/static/binaries-golang/build-spec/fill-values new file mode 100644 index 0000000..20669e9 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-golang/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: binaries-golang +Extra-Build-Depends: golang-go (>= 2:1.1.1-4) +Description: Misc errors related to golang binaries +Package-Architecture: any diff --git a/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/Makefile b/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/Makefile new file mode 100644 index 0000000..f04b342 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/Makefile @@ -0,0 +1,16 @@ +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) + +all: + # static version + $(COMPILE) -static -o basic.static basic.c + +install: + install -d $(DESTDIR)/usr/lib/foo/ + install -m 755 basic.static $(DESTDIR)/usr/lib/foo/static + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/basic.c b/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/basic.c new file mode 100644 index 0000000..7dea5a0 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-golang/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include + +int +main(void) +{ + char t[10]; + printf("Hello world!\n"); + /* Bad choice for reading from stdin, but it forces a stack + protector, so meh. + */ + gets (t); +} diff --git a/t/recipes/checks/binaries/static/binaries-golang/eval/desc b/t/recipes/checks/binaries/static/binaries-golang/eval/desc new file mode 100644 index 0000000..97800d6 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-golang/eval/desc @@ -0,0 +1,3 @@ +Testname: binaries-golang +Test-Against: statically-linked-binary +Check: binaries/static diff --git a/t/recipes/checks/binaries/static/binaries-golang/eval/hints b/t/recipes/checks/binaries/static/binaries-golang/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/binaries/static/binaries-golang/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/control b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/binaries/static/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/menu b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/rules b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/debian/templates b/t/recipes/checks/binaries/static/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/fill-values b/t/recipes/checks/binaries/static/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/binaries/static/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-binary/eval/desc b/t/recipes/checks/binaries/static/legacy-binary/eval/desc new file mode 100644 index 0000000..cadb9b2 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: binaries/static diff --git a/t/recipes/checks/binaries/static/legacy-binary/eval/hints b/t/recipes/checks/binaries/static/legacy-binary/eval/hints new file mode 100644 index 0000000..6f29ed7 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (binary): statically-linked-binary [usr/bin/static-hello] diff --git a/t/recipes/checks/binaries/static/legacy-binary/eval/post-test b/t/recipes/checks/binaries/static/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/binaries/static/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/binaries/static/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/control b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/rules b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/fill-values b/t/recipes/checks/binaries/static/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..79eebf1 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/binaries/static/legacy-debug/eval/desc b/t/recipes/checks/binaries/static/legacy-debug/eval/desc new file mode 100644 index 0000000..2ec70bd --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debug +Check: binaries/static diff --git a/t/recipes/checks/binaries/static/legacy-debug/eval/hints b/t/recipes/checks/binaries/static/legacy-debug/eval/hints new file mode 100644 index 0000000..0e446ad --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/eval/hints @@ -0,0 +1 @@ +hello (binary): statically-linked-binary [usr/bin/hello.dbg] diff --git a/t/recipes/checks/binaries/static/legacy-debug/eval/post-test b/t/recipes/checks/binaries/static/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/binaries/static/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/build-systems/automake/automake-general/build-spec/fill-values b/t/recipes/checks/build-systems/automake/automake-general/build-spec/fill-values new file mode 100644 index 0000000..5752e5e --- /dev/null +++ b/t/recipes/checks/build-systems/automake/automake-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: automake-general +Description: Test if the package uses the deprecated configure.in for automake diff --git a/t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/Makefile.am b/t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/Makefile.am new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/configure.in b/t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/configure.in new file mode 100644 index 0000000..575a30d --- /dev/null +++ b/t/recipes/checks/build-systems/automake/automake-general/build-spec/orig/configure.in @@ -0,0 +1 @@ +AC_INIT diff --git a/t/recipes/checks/build-systems/automake/automake-general/eval/desc b/t/recipes/checks/build-systems/automake/automake-general/eval/desc new file mode 100644 index 0000000..1ff6707 --- /dev/null +++ b/t/recipes/checks/build-systems/automake/automake-general/eval/desc @@ -0,0 +1,2 @@ +Testname: automake-general +Check: build-systems/automake diff --git a/t/recipes/checks/build-systems/automake/automake-general/eval/hints b/t/recipes/checks/build-systems/automake/automake-general/eval/hints new file mode 100644 index 0000000..4d3dfa6 --- /dev/null +++ b/t/recipes/checks/build-systems/automake/automake-general/eval/hints @@ -0,0 +1 @@ +automake-general (source): deprecated-configure-filename [configure.in] diff --git a/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/fill-values b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/fill-values new file mode 100644 index 0000000..b153334 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: cruft-general-test-suite +Skeleton: upload-non-native +Description: Check that cruft in test suites is okay diff --git a/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/orig/hello.c b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/orig/hello.c new file mode 100644 index 0000000..1b47b80 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include + +int +main(void) +{ + printf("Hello world!\n"); + return 0; +} diff --git a/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/pre-upstream b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/pre-upstream new file mode 100755 index 0000000..8665c92 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/build-spec/pre-upstream @@ -0,0 +1,35 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist upstream. We do much of it +# here rather than in the template so that Lintian itself can be imported into +# revision control systems. + +set -e +dir="$1" + +mkdir -p "${dir}/t/CVS" +echo 'source-contains-cvs-control-dir' > "${dir}/t/CVS/Entries" +mkdir -p "${dir}/foo/t/.svn" +echo 'source-contains-svn-control-dir' > "${dir}/foo/t/.svn/format" +mkdir -p "${dir}/test/.bzr" +echo 'source-contains-bzr-control-dir' > "${dir}/test/.bzr/foo" +mkdir -p "${dir}/bar/test/{arch}" +echo 'source-contains-arch-control-dir' > "${dir}/bar/test/{arch}/foo" +mkdir -p "${dir}/tests/.git" +echo 'source-contains-git-control-dir' > "${dir}/tests/.git/foo" +mkdir -p "${dir}/baz/foo/tests/.hg" +echo 'source-contains-hg-control-dir' > "${dir}/baz/foo/tests/.hg/foo" +mkdir -p "${dir}/testset/.be" +echo 'source-contains-bts-control-dir' > "${dir}/testset/.be/foo" + +echo 'source-contains-svn-commit-file' > "${dir}/t/svn-commit.tmp" +echo 'source-contains-svk-commit-file' > "${dir}/t/svk-commit444.tmp" +echo 'source-contains-arch-inventory-file' > "${dir}/t/.arch-inventory" +echo 'source-contains-hg-tags-file' > "${dir}/t/.hgtags" +echo 'source-contains-cvs-conflict-copy' > "${dir}/t/.#foo.1.1" +echo 'source-contains-svn-conflict-file' > "${dir}/t/foo.r1352" + +echo 'configure-generated-file-in-source' > "${dir}/tests/config.cache" + +cd "$1" +gcc -o t/hello hello.c diff --git a/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/desc b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/desc new file mode 100644 index 0000000..2da240a --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-general-test-suite +Test-Against: + configure-generated-file-in-source +Check: build-systems/autotools diff --git a/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/hints b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/hints new file mode 100644 index 0000000..5f7a858 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/cruft-general-test-suite/eval/hints @@ -0,0 +1 @@ +cruft-general-test-suite (source): configure-generated-file-in-source [tests/config.cache] diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/fill-values b/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/fill-values new file mode 100644 index 0000000..b6419d2 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-ancient-libtool-2 +Description: Test that an old (1.5.2) ltmain.sh is detected correctly diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/orig/ltmain.sh b/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/orig/ltmain.sh new file mode 100644 index 0000000..662c6f0 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/libtool/cruft-ancient-libtool-2/build-spec/orig/ltmain.sh @@ -0,0 +1,62 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <, 1996 +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <, 1996 +# +# 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION="1.5.24 Debian 1.5.24-1ubuntu1" +TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" + diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/desc b/t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/desc new file mode 100644 index 0000000..1d949a7 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-current-libtool +Test-Against: ancient-libtool +See-Also: Debian Bug#293296 +Check: build-systems/autotools/libtool diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/hints b/t/recipes/checks/build-systems/autotools/libtool/cruft-current-libtool/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/fill-values b/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/fill-values new file mode 100644 index 0000000..7040ad7 --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-updated-libtool +Extra-Build-Depends: libtool +Description: Old ltmain.sh/ltconfig is fine with build-depend diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltconfig b/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltconfig new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltmain.sh b/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltmain.sh new file mode 100644 index 0000000..c7b800b --- /dev/null +++ b/t/recipes/checks/build-systems/autotools/libtool/cruft-updated-libtool/build-spec/orig/ltmain.sh @@ -0,0 +1,59 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun ltconfig. +# +# Copyright (C) 1996-1999 Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat < "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" +mkdir "${dir}/.pc" +echo 'diff-contains-quilt-control-dir' > "${dir}/.pc/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/desc b/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/desc new file mode 100644 index 0000000..da239ce --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-general-diff +See-Also: Debian Bug#598251 +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/hints b/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/hints new file mode 100644 index 0000000..483fd14 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-diff/eval/hints @@ -0,0 +1 @@ +cruft-general-diff (source): source-contains-cmake-cache-file [CMakeCache.txt] diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values new file mode 100644 index 0000000..8460259 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-general-native +Description: Check for cruft in a native package diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build new file mode 100755 index 0000000..c594074 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc new file mode 100644 index 0000000..b61ccf2 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-native +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints new file mode 100644 index 0000000..352bbe8 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints @@ -0,0 +1 @@ +cruft-general-native (source): source-contains-cmake-cache-file [CMakeCache.txt] diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/README.source b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/README.source new file mode 100644 index 0000000..0bbaa60 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/README.source @@ -0,0 +1 @@ +Some information about the patch system diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/rules b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/somepackage.substvars b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/somepackage.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/somepackage.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/substvars b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/fill-values b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/fill-values new file mode 100644 index 0000000..01bda9c --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-quilt +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Check for cruft added in a 3.0 (quilt) package diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/pre-build b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/pre-build new file mode 100755 index 0000000..53e0ddd --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/build-spec/pre-build @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" +mkdir "${dir}/.pc" +echo 'diff-contains-quilt-control-dir' > "${dir}/.pc/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/desc b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/desc new file mode 100644 index 0000000..609f223 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-general-quilt +See-Also: Debian Bug#598251 +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/hints b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/hints new file mode 100644 index 0000000..f47e7ff --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-quilt/eval/hints @@ -0,0 +1 @@ +cruft-general-quilt (source): source-contains-cmake-cache-file [debian/CMakeCache.txt] diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/patches/wig-pen b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/patches/wig-pen new file mode 100644 index 0000000..a452b53 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/patches/wig-pen @@ -0,0 +1,5 @@ +--- upstream/README ++++ debian/README +@@ -1 +1 @@ +-README ++README for wig&pen diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/rules b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/substvars b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/fill-values b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/fill-values new file mode 100644 index 0000000..edb39d9 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-wig-pen +Skeleton: upload-non-native +Source-Format: 2.0 +Description: Check for cruft added in a 2.0 package diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/orig/README b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/orig/README new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/orig/README @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/pre-build b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/pre-build new file mode 100755 index 0000000..78f359c --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/desc b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/desc new file mode 100644 index 0000000..e0df7ff --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-wig-pen +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/hints b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/hints new file mode 100644 index 0000000..00b6c07 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-wig-pen/eval/hints @@ -0,0 +1 @@ +cruft-general-wig-pen (source): source-contains-cmake-cache-file [debian/CMakeCache.txt] diff --git a/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/debian/rules b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/debian/rules new file mode 100644 index 0000000..8e0b207 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f + +PKG :=$(shell dh_listpackages) +SHARE:= debian/$(PKG)/usr/share +DATA := $(SHARE)/$(PKG) +DOC := $(SHARE)/doc/$(PKG) + +%: + dh $@ + +override_dh_install: + dh_install + mkdir -p $(DOC) $(DATA) + + # Vcs stuff + mkdir $(DATA)/.svn $(DATA)/.git + touch $(DATA)/.svn/file + touch $(DATA)/.git/file + touch $(DATA)/.gitignore + touch $(DATA)/.git_ignore + mkdir $(DATA)/sub-git1/ + echo '*.old' | gzip -9n > $(DATA)/sub-git1/.gitignore.gz + touch $(DATA)/sub-git1/.gitattributes + touch $(DATA)/sub-git1/.gitmodules + + touch $(DATA)/svn-commit-yeehaa.tmp + touch $(DATA)/svk-commit-yeehaa.tmp + + # bts control dir + mkdir $(DATA)/.be + touch $(DATA)/.be/file + + # macos stuff + touch $(DATA)/.DS_Store + touch $(DATA)/._stuff + + # windows + touch $(DATA)/Thumbs.db + + # Foreign READMEs + echo "Hallo World Mac" > $(DOC)/README.mac + echo "Hallo World Win" > $(DOC)/README.windows + + # Linda override + mkdir -p $(SHARE)/linda/overrides + touch $(SHARE)/linda/overrides/$(PKG) + + # CMake private files + mkdir -p $(SHARE)/cmake-3.1/Modules + touch $(SHARE)/cmake-3.1/FindFoo.cmake + touch $(SHARE)/cmake-3.1/Modules/FindVar.cmake + + # Ignored Cargo sources + mkdir -p $(SHARE)/cargo/registry/crate-1.0.0/templates + touch $(SHARE)/cargo/registry/crate-1.0.0/.gitignore + touch $(SHARE)/cargo/registry/crate-1.0.0/LICENSE + touch $(SHARE)/cargo/registry/crate-1.0.0/templates/readme.tmpl + mkdir -p $(SHARE)/cargo/registry/crate-1.0.0/foo_templates + touch $(SHARE)/cargo/registry/crate-1.0.0/foo_templates/readme.tmpl + mkdir -p $(SHARE)/cargo/registry/crate-1.0.0/my-templates.d + touch $(SHARE)/cargo/registry/crate-1.0.0/my-templates.d/readme.tmpl + echo '#!/bin/sh' > $(SHARE)/cargo/registry/crate-1.0.0/test.sh + + # Documentation outside /usr/share/doc + touch $(DATA)/readme.txt + touch $(DATA)/readme1.1.txt + touch $(DATA)/readme1.1.txt + touch $(DATA)/readme_1.1.txt + touch $(DATA)/readme-1.1.txt + touch $(DATA)/readmefirst.txt + touch $(DATA)/readMesh_off.m # False-positive from #914500 diff --git a/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/fill-values b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/fill-values new file mode 100644 index 0000000..b55ed53 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-package-contains-foo +Description: Test tags about cruft in binary packages diff --git a/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/desc b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/desc new file mode 100644 index 0000000..e0da977 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/desc @@ -0,0 +1,2 @@ +Testname: files-package-contains-foo +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/hints b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/hints new file mode 100644 index 0000000..92de498 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/files-package-contains-foo/eval/hints @@ -0,0 +1,2 @@ +files-package-contains-foo (binary): package-contains-cmake-private-file [usr/share/cmake-3.1/Modules/FindVar.cmake] +files-package-contains-foo (binary): package-contains-cmake-private-file [usr/share/cmake-3.1/FindFoo.cmake] diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..ef39375 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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: python3 (>= 3.1), python3 (<< 3.2), 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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..dc6b7d5 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/rules @@ -0,0 +1,111 @@ +#!/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 py3.Xfoo $(tmp)/usr/bin/ +# This uses "env" and should trigger script-in-usr-share-doc + install -m 755 py3.Xfoo $(tmp)/usr/share/doc/scripts/ + install -m 755 py3foo $(tmp)/usr/bin/ +# This uses "env" and should trigger script-in-usr-share-doc + install -m 755 py3foo $(tmp)/usr/share/doc/scripts/ + 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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/fill-values b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3.Xfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3.Xfoo new file mode 100755 index 0000000..7f105e6 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3.Xfoo @@ -0,0 +1,4 @@ +#! /usr/bin/env python3.7 + +if __name__ == '__main__': + print 'Hi there' diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3foo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3foo new file mode 100755 index 0000000..02b0444 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/py3foo @@ -0,0 +1,4 @@ +#! /usr/bin/env python3 + +if __name__ == '__main__': + print 'Hi there' diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/pre-build b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/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/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/desc b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/desc new file mode 100644 index 0000000..1072404 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: build-systems/debhelper/maintainer-script/token diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/hints b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/hints new file mode 100644 index 0000000..9fe82fb --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/hints @@ -0,0 +1 @@ +scripts (binary): maintainer-script-has-unexpanded-debhelper-token #DEBHELPER# [preinst:13] diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/post-test b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/maintscript b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/maintscript new file mode 100644 index 0000000..c3dcfac --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/maintscript @@ -0,0 +1 @@ +mv_conffile /etc/foo/old.conf /etc/foo/new.conf 0~ diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postinst b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postinst new file mode 100755 index 0000000..492f84a --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postinst @@ -0,0 +1,255 @@ +#!/bin/sh + +# This file contains a pile of random junk in maintainer scripts that we +# should be checking for in checks/scripts. Don't put bashisms in this file, +# though; those should go into scripts-bashisms. + +set -e + +print "Hit enter to continue" +read foo + +echo Please use update-rc.d or invoke-rc.d to set up blah blah. + +chown root.root /usr/share/doc/maintainer-scripts/changelog +chown root:root /usr/share/doc/maintainer-scripts/changelog + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated and not allowed except the second one. +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# Calling start-stop-daemon directly in an init script. +start-stop-daemon --start --quiet --name foo --startas /usr/bin/foo + +# But stopping it is fine -- we may be working around something else. +start-stop-daemon --stop --quiet --name foo --startas /usr/bin/foo + +# Deprecated chown use with flags. +chown -R root.root /usr/share/doc/maintainer-scripts + +# The first should not trigger an error about a command with a path, but the +# second should. +case $mainscript in + /usr/bin/foo) foobarbaz;; +esac +/usr/bin/baz; echo bar + +# fc-cache shouldn't be called directly, but make sure we don't see it in a +# heredoc. +fc-cache +cat <> /etc/ld.so.conf +( cat /etc/ld.so.conf ; echo '/usr/local/lib' ) > /etc/ld.so.conf.new +mv /etc/ld.so.conf.new /etc/ld.so.conf + +# Further tests for commands with paths in maintainer scripts. The following +# should not trigger a tag (Bug#536397). +chmod `dpkg-statoverride --list /usr/sbin/apache2 | cut -f 3` /usr/sbin/apache2 + +# These, however, should. +true `basename "$0"` `/usr/bin/foo bar` +true `/usr/bin/foo "$0"` + +# This line should not trigger a warning about no dependency on ucf because of +# the || true. (Bug#541372) +ucf -p /etc/sensors3.conf || true + +if false ; then + mknod some thing +fi + +# Calling update alternative --set see #643602 +update-alternatives --set editor /usr/bin/nano + +# false positive +start-stop-daemon--stop --quiet --name foo --startas /usr/bin/foo + +# false positive +start-stop-daemon --quiet --stop --name foo --startas /usr/bin/foo + +# false negative +start-stop-daemon --quiet --start --name foo --startas /usr/bin/foo + +# remove device file +rm /dev/null + +# false positive +rm /dev/shm/test +rm /dev/.hiddenfile + +# adduser system +adduser --system foo +adduser --system foo2 --home /home/foo2 +adduser --system bar --home /var/lib/bar +adduser --home /var/lib/fnord --system fnord +adduser --home /home/fnord2 --system fnord2 + +# other test case for gconftool +/usr/bin/gconftool-2 --makefile-install-rule foo.schema + +# service +service apache2 start + +# adduser through variable +DEVNULL=/dev/null +adduser --system bar1 --home $DEVNULL +adduser --system bar2 --home ${DEVNULL} + +# this is a false positive due to quoting +adduser --system bar2 --home "${DEVNULL}" +adduser --system --ingroup smmta --home "/var/lib/sendmail" \ + --disabled-password \ + --quiet --gecos 'Mail Transfer Agent' smmta; + +# false positive +echo "You can use update-alternatives --config runsystem to select" +echo "the runsystem to use." + +# false negative +DIVERSIONS=`env LC_ALL=C /usr/sbin/dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true +DIVERSIONS=`env LC_ALL="C" /usr/sbin/dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true +DIVERSIONS=`env LC_ALL='C' /usr/sbin/dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true + +if [ ! -x /usr/sbin/dpkg-state-override ] || \ + ! dpkg-state-override > /dev/null +then + true; +fi + +# bad +dpkg-maintscript-helper symlink_to_dir \ + /usr/share/autoconf-archive/html/ \ + ../../autoconf-archive/html \ + 20111221-2~ -- "$@" + +# good +dpkg-maintscript-helper symlink_to_dir \ + /usr/share/autoconf-archive/html \ + ../../autoconf-archive/html \ + 20111221-2~ -- "$@" + +# true positive +adduser --system --quiet --ingroup ntp --no-create-home ntp +adduser festival --quiet --system --ingroup audio --no-create-home + +# detect usage that could be replaced by dpkg-maintscript-helper +if [ -d /usr/share/doc/tworld ]; then + if rmdir /usr/share/doc/tworld 2>/dev/null; then + ln -s tworld-data /usr/share/doc/tworld + fi +fi + +chown root:root /good +chmod 777 /good +chown -R root:root /bad +chown root:root -R /bad +chown root:root --recursive /bad +chown --recursive root:root /bad +chmod -R 777 /bad +chmod 777 -R /bad +chmod 777 --recursive /bad +chmod --recursive 777 /bad +find /bad -maxdepth 2 -type d -exec chown root:root {} \; # (#895370) +find /bad -maxdepth 2 -type d -exec chmod 777 # (#895370) + +echo /var/lib/dpkg/info/other-package.conffiles +echo /var/lib/dpkg/info/other-package.md5sums +echo /var/lib/dpkg/info/other-package.shlibs +echo /var/lib/dpkg/info/other-package.postinst +echo /var/lib/dpkg/info/other-package.preinst +echo /var/lib/dpkg/info/other-package.list +echo /var/lib/dpkg/triggers/other-package + +getent passwd good || true +getent group good || true +getent passwd good || true # grep /etc/passwd false-positive +getent group good || true # grep /etc/group false-positive +grep bad /etc/passwd || true +grep bad /etc/group || true +grep -E bad /etc/passwd || true +grep -E bad /etc/passwd || true +grep -F bad /etc/group || true +grep -F bad /etc/group || true +# grep /etc/passwd false-positive +# grep /etc/group false-positive + +echo $PIUPARTS_TEST # bad +echo ${PIUPARTS_OBJECTS} +echo ${PIUPARTS_PHASE} +echo ${PIUPARTS_DISTRIBUTION} +echo ${PIUPARTS_DISTRIBUTION_NEXT} +echo ${PIUPARTS_DISTRIBUTION_PREV} +echo $PIUPARTS_IS_AWESOME # good + +#DEBHELPER# + +# Automatically added by dh_dummy/12 +true `/usr/bin/false-positive "$0"` +# End automatically added section diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postrm b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postrm new file mode 100644 index 0000000..21ce89e --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh +# we do not set -e + +echo "ok" > /dev/null + +# not allowed +update-alternatives --remove foo + +#DEBHELPER# \ No newline at end of file diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/prerm b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/prerm new file mode 100644 index 0000000..fcbd64e --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# This script should fail a syntax check + +if [ "$1" = configure ] then # oh look - I forgot a ; + echo "Hallo world" +fi + +#DEBHELPER# diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/rules b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/rules new file mode 100644 index 0000000..6f66b82 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installdeb: + dh_installdeb + echo "#DEBHELPER#" >> debian/$(shell dh_listpackages)/DEBIAN/postinst diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/fill-values b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/fill-values new file mode 100644 index 0000000..111edec --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: scripts-maintainer-general +Distribution: precise +Description: Check general problems in maintainer scripts diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/desc b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/desc new file mode 100644 index 0000000..09af74a --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/desc @@ -0,0 +1,5 @@ +Testname: scripts-maintainer-general +Profile: ubuntu/main +Check: build-systems/debhelper/maintainer-script/token +See-Also: + Bug#532984 diff --git a/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/hints b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/hints new file mode 100644 index 0000000..bdf2623 --- /dev/null +++ b/t/recipes/checks/build-systems/debhelper/maintainer-script/token/scripts-maintainer-general/eval/hints @@ -0,0 +1 @@ +scripts-maintainer-general (binary): maintainer-script-has-unexpanded-debhelper-token #DEBHELPER# [postinst:259] diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/install b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/install new file mode 100644 index 0000000..fdf1d81 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/install @@ -0,0 +1,4 @@ +dependency_libs.la usr/lib +kio_locate.la usr/lib/kde3 +trailing-slash.la usr/lib/lintian +_python_module.la usr/share/pyshared diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/links b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/links new file mode 100644 index 0000000..c34baaf --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/debian/links @@ -0,0 +1 @@ +var/lib/kde3/kio_locate.la var/lib/kde3/foo.la diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/fill-values b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/fill-values new file mode 100644 index 0000000..44b70c6 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: shared-libs-la-files +Description: Test checks related to libtool .la files diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/Makefile b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/Makefile new file mode 100644 index 0000000..b490041 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/Makefile @@ -0,0 +1,9 @@ +LA_FILES:=kio_locate.la _python_module.la trailing-slash.la dependency_libs.la + +%.la: %.txt + cp "$<" "$@" + +all: $(LA_FILES) + +clean: + rm -f $(LA_FILES) diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/_python_module.txt b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/_python_module.txt new file mode 100644 index 0000000..6b425c0 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/_python_module.txt @@ -0,0 +1,12 @@ +dlname='_python_module.so' +library_names='_python_module.so' +old_library='' +dependency_libs='' +current=0 +age=0 +revision=0 +installed=yes +shouldnotlink=no +dlopen='' +dlpreopen='' +libdir='/usr/lib/python2.5/site-packages' diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/dependency_libs.txt b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/dependency_libs.txt new file mode 100644 index 0000000..34b0863 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/dependency_libs.txt @@ -0,0 +1,15 @@ +# Generated by ltmain.sh - GNU libtool 1.5.18 - (pwn3d by bksys) +# +# +dlname='dependency_libs.so' +library_names='dependency_libs.so' +old_library='' +dependency_libs='/usr/lib/libdep.la' +current=0 +age=0 +revision=0 +installed=yes +shouldnotlink=no +dlopen='' +dlpreopen='' +libdir='/usr/lib' diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/kio_locate.txt b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/kio_locate.txt new file mode 100644 index 0000000..4391635 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/kio_locate.txt @@ -0,0 +1,15 @@ +# Generated by ltmain.sh - GNU libtool 1.5.18 - (pwn3d by bksys) +# +# +dlname='kio_locate.so' +library_names='kio_locate.so kio_locate.so kio_locate.so' +old_library='' +dependency_libs='' +current=0 +age=0 +revision=0 +installed=yes +shouldnotlink=no +dlopen='' +dlpreopen='' +libdir='/build/buildd/kio-locate-0.4.5+ds/debian/kio-locate/usr/lib/kde3' \ No newline at end of file diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/trailing-slash.txt b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/trailing-slash.txt new file mode 100644 index 0000000..736610e --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/build-spec/orig/trailing-slash.txt @@ -0,0 +1,12 @@ +dlname='trailing-slash.so' +library_names='trailing-slash.so' +old_library='' +dependency_libs='' +current=0 +age=0 +revision=0 +installed=yes +shouldnotlink=no +dlopen='' +dlpreopen='' +libdir='/usr/lib/lintian/' diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/desc b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/desc new file mode 100644 index 0000000..280c5ed --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-la-files +Check: build-systems/libtool/la-file diff --git a/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/hints b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/hints new file mode 100644 index 0000000..cf80cd0 --- /dev/null +++ b/t/recipes/checks/build-systems/libtool/la-file/shared-libs-la-files/eval/hints @@ -0,0 +1,2 @@ +shared-libs-la-files (binary): non-empty-dependency_libs-in-la-file /usr/lib/libdep.la [usr/lib/dependency_libs.la:7] +shared-libs-la-files (binary): incorrect-libdir-in-la-file build/buildd/kio-locate-0.4.5+ds/debian/kio-locate/usr/lib/kde3/ != usr/lib/kde3/ [usr/lib/kde3/kio_locate.la:15] diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/fill-values b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/fill-values new file mode 100644 index 0000000..b25f0cb --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: cruft-contains-waf-stripped +Skeleton: upload-non-native +Description: Check for sources with waf diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/orig/waf b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/orig/waf new file mode 100644 index 0000000..1f95f10 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/build-spec/orig/waf @@ -0,0 +1,15 @@ +#!/usr/bin/python3 +# encoding: ISO-8859-1 +# + +# We just do a little python... for the show + +import os, sys +if sys.hexversion<0x203000f: raise ImportError("Waf requires python >= 2.3") + # and we are pretending to be a waf script + +# okay, that's enough... + +#==> +# Here one would expect to find a tar.bz2 file... +#<== diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/desc b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/desc new file mode 100644 index 0000000..7cd19ad --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-contains-waf-stripped +Test-Against: source-contains-waf-binary +Check: build-systems/waf diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/hints b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf-stripped/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/fill-values b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/fill-values new file mode 100644 index 0000000..772b2f0 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: cruft-contains-waf +Skeleton: upload-non-native +Description: Check for sources with waf diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/some-source.c b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/some-source.c new file mode 100644 index 0000000..6691108 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/some-source.c @@ -0,0 +1,5 @@ +int fun(int a) { + /* There is a valid use for this... probably */ + return (a * a) >> a; +} + diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/waf.in b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/waf.in new file mode 100644 index 0000000..4fc0412 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/orig/waf.in @@ -0,0 +1,13 @@ +#!/usr/bin/python3 +# encoding: ISO-8859-1 +# + +# We just do a little python... for the show + +import os, sys +if sys.hexversion<0x203000f: raise ImportError("Waf requires python >= 2.3") + # and we are pretending to be a waf script + +# okay, that's enough... below we will include a binary tarball... +# That is as fun as it sounds (which is to say not a lot). + diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/pre-upstream b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/pre-upstream new file mode 100755 index 0000000..12db812 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/build-spec/pre-upstream @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Time to create a waf binary... + +set -e + +dir="$1" + +cd "$dir" + +tar cjf waf-bin.tar.bz2 some-source.c +cp waf.in waf +echo "#==>" >> waf +echo -n "#" >> waf +perl -pe 's,\n,\#\*,go; s,\r,\#\%,go;' waf-bin.tar.bz2 >> waf +echo >> waf +echo "#<==" >> waf +rm waf-bin.tar.bz2 diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/desc b/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/desc new file mode 100644 index 0000000..2a6e758 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-contains-waf +Check: build-systems/waf diff --git a/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/hints b/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/hints new file mode 100644 index 0000000..4ae22a2 --- /dev/null +++ b/t/recipes/checks/build-systems/waf/cruft-contains-waf/eval/hints @@ -0,0 +1 @@ +cruft-contains-waf (source): source-contains-waf-binary [waf] diff --git a/t/recipes/checks/changes-file/changed-by-localhost/eval/hints b/t/recipes/checks/changes-file/changed-by-localhost/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changed-by-localhost/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changed-by-malformed/eval/hints b/t/recipes/checks/changes-file/changed-by-malformed/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changed-by-malformed/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changed-by-no-name/eval/hints b/t/recipes/checks/changes-file/changed-by-no-name/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changed-by-no-name/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changed-by-root-email/eval/hints b/t/recipes/checks/changes-file/changed-by-root-email/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changed-by-root-email/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changed-by-root/eval/hints b/t/recipes/checks/changes-file/changed-by-root/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changed-by-root/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-bad-ubuntu-distribution/eval/hints b/t/recipes/checks/changes-file/changes-bad-ubuntu-distribution/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-bad-ubuntu-distribution/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-distribution-mismatch/eval/hints b/t/recipes/checks/changes-file/changes-distribution-mismatch/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-distribution-mismatch/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-experimental-mismatch/eval/hints b/t/recipes/checks/changes-file/changes-experimental-mismatch/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-experimental-mismatch/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/fill-values b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/fill-values new file mode 100644 index 0000000..ecce948 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-file-bad-section +Description: Test for bad section in changes file diff --git a/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/referenced-files/__some-file__ b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/referenced-files/__some-file__ new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/referenced-files/__some-file__ @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/test.changes.in b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/test.changes.in new file mode 100644 index 0000000..721e067 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-bad-section/build-spec/test.changes.in @@ -0,0 +1,18 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Files: + 8de2b87704ef0a11144b57d243db88ec 12 non-free optional __some-file__ +Checksums-Sha1: + c54c65218154f15c32ca252946786e0ad09aa99b 12 __some-file__ +Checksums-Sha256: + e6c1396639c0b79bebc94e4448cfe2700b871d45d0d38d98df6ee9da3f09d35c 12 __some-file__ +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/changes-file/changes-file-bad-section/eval/desc b/t/recipes/checks/changes-file/changes-file-bad-section/eval/desc new file mode 100644 index 0000000..50b8d02 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-bad-section/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-file-bad-section +Check: changes-file diff --git a/t/recipes/checks/changes-file/changes-file-bad-section/eval/hints b/t/recipes/checks/changes-file/changes-file-bad-section/eval/hints new file mode 100644 index 0000000..bb1591b --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-bad-section/eval/hints @@ -0,0 +1 @@ +changes-file-bad-section (changes): bad-section-in-changes-file __some-file__ non-free diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values new file mode 100644 index 0000000..74f84be --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-file-size-checksum-mismatch +Description: Test for file size and checksums check diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..c61138b --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in @@ -0,0 +1,18 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Files: + d41d8cd98f00b204e9800998ecf8427e 0 devel optional __some-file__ +Checksums-Sha1: + da39a3ee5e6b4b0d3255bfef95601890afd80709 0 __some-file__ +Checksums-Sha256: + e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 __some-file__ +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc new file mode 100644 index 0000000..0a4c5d0 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-file-size-checksum-mismatch +Check: changes-file diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints new file mode 100644 index 0000000..f614fbe --- /dev/null +++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints @@ -0,0 +1,4 @@ +changes-file-size-checksum-mismatch (changes): file-size-mismatch-in-changes-file __some-file__ 0 != 12 +changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Sha256 __some-file__ +changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Sha1 __some-file__ +changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Md5 __some-file__ diff --git a/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in new file mode 100644 index 0000000..0312410 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in @@ -0,0 +1,36 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbg package + 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbgsym package + 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 + even be an empty package. diff --git a/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values new file mode 100644 index 0000000..4d83180 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Package-Architecture: any +Description: Package builds -dbg and -dbgsym diff --git a/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc new file mode 100644 index 0000000..5f66600 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Check: changes-file diff --git a/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints new file mode 100644 index 0000000..3a2ae57 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints @@ -0,0 +1 @@ +changes-files-package-builds-dbg-and-dbgsym-variants (changes): package-builds-dbg-and-dbgsym-variants changes-files-package-builds-dbg-and-dbgsym-variants-dbg changes-files-package-builds-dbg-and-dbgsym-variants-dbgsym diff --git a/t/recipes/checks/changes-file/changes-missing-fields/eval/hints b/t/recipes/checks/changes-file/changes-missing-fields/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-missing-fields/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-missing-format/eval/hints b/t/recipes/checks/changes-file/changes-missing-format/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-missing-format/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-unreleased/eval/hints b/t/recipes/checks/changes-file/changes-unreleased/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-unreleased/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/changes-upload-has-backports-version-number/eval/hints b/t/recipes/checks/changes-file/changes-upload-has-backports-version-number/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/changes-upload-has-backports-version-number/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/fill-values b/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/fill-values new file mode 100644 index 0000000..3fe5f1f --- /dev/null +++ b/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: checksum-count-mismatch +Skeleton: upload-native +Description: Check for changes file with missing checksum entry diff --git a/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/post-build.in b/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/post-build.in new file mode 100755 index 0000000..4665a7a --- /dev/null +++ b/t/recipes/checks/changes-file/checksum-count-mismatch/build-spec/post-build.in @@ -0,0 +1,3 @@ +#!/bin/sh + +perl -0777 -pi -e 's/(\nChecksums-Sha256:\n)[^\n]*\n/$1/' [% $build_product %] diff --git a/t/recipes/checks/changes-file/checksum-count-mismatch/eval/desc b/t/recipes/checks/changes-file/checksum-count-mismatch/eval/desc new file mode 100644 index 0000000..5866afe --- /dev/null +++ b/t/recipes/checks/changes-file/checksum-count-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: checksum-count-mismatch +Check: changes-file diff --git a/t/recipes/checks/changes-file/checksum-count-mismatch/eval/hints b/t/recipes/checks/changes-file/checksum-count-mismatch/eval/hints new file mode 100644 index 0000000..b493656 --- /dev/null +++ b/t/recipes/checks/changes-file/checksum-count-mismatch/eval/hints @@ -0,0 +1 @@ +checksum-count-mismatch (changes): checksum-count-mismatch-in-changes-file 3 Checksum-Sha256 checksums != 4 files diff --git a/t/recipes/checks/changes-file/distribution-multiple-bad/eval/hints b/t/recipes/checks/changes-file/distribution-multiple-bad/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/distribution-multiple-bad/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/generic-empty/eval/hints b/t/recipes/checks/changes-file/generic-empty/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/generic-empty/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/changes-file/legacy-foo++/eval/hints b/t/recipes/checks/changes-file/legacy-foo++/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/changes-file/legacy-foo++/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles new file mode 100644 index 0000000..bcbd369 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles @@ -0,0 +1 @@ +remove-on-upgrade /etc/some.config diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install new file mode 100644 index 0000000..ee19d5d --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install @@ -0,0 +1 @@ +etc diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules new file mode 100755 index 0000000..c8e5e69 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +pkg=conffile-removed-but-present + +%: + dh $@ + +override_dh_builddeb: + mkdir -p debian/$(pkg)/DEBIAN + cp debian/conffiles debian/$(pkg)/DEBIAN + dpkg-deb --nocheck --build debian/$(pkg) ../$(pkg)_1.0-1_all.deb diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values new file mode 100644 index 0000000..46ce4f3 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: conffile-removed-but-present +Package-Architecture: all +Description: Instruction 'remove-on-upgrade' in DEBIAN/conffiles but file shipped diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config new file mode 100644 index 0000000..75e946e --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config @@ -0,0 +1 @@ +A CONFIGURATION. diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc new file mode 100644 index 0000000..41d0905 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc @@ -0,0 +1,2 @@ +Testname: conffile-removed-but-present +Check: conffiles diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints new file mode 100644 index 0000000..5b746d6 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints @@ -0,0 +1 @@ +conffile-removed-but-present (binary): unexpected-conffile etc/some.config [conffiles:1] diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install new file mode 100644 index 0000000..ec665e8 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install @@ -0,0 +1 @@ +something.conf etc/ diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules new file mode 100644 index 0000000..5afe3f7 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + DIR=$$(find -name 'DEBIAN'); \ + rm "$$DIR/conffiles" && \ + md5sum something.conf | sed 's/ s/ etc\/s/' >> "$$DIR/md5sums" + dh_builddeb + diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values new file mode 100644 index 0000000..63dd144 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: conffiles-etc-not-marked +Description: Test checking etc files not being marked as conffiles diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf new file mode 100644 index 0000000..432ea47 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf @@ -0,0 +1 @@ +hello=world diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc new file mode 100644 index 0000000..4d117c3 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc @@ -0,0 +1,2 @@ +Testname: conffiles-etc-not-marked +Check: conffiles diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints new file mode 100644 index 0000000..6415828 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints @@ -0,0 +1 @@ +conffiles-etc-not-marked (binary): file-in-etc-not-marked-as-conffile [etc/something.conf] diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/conffiles b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/conffiles new file mode 100644 index 0000000..51222d6 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/conffiles @@ -0,0 +1,9 @@ +/etc/foo +/etc/rc2.d/file +/etc/symlink +/usr/share/foo +/var/cache/foo +etc/foo +/etc/thin-air +/usr/gone +/var/bye diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/install b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/install new file mode 100644 index 0000000..46dd330 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/install @@ -0,0 +1,3 @@ +usr +var +etc diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/links b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/links new file mode 100644 index 0000000..01a5497 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/links @@ -0,0 +1 @@ +etc/foo etc/symlink diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/rules b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/rules new file mode 100755 index 0000000..02d8017 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +pkg=conffiles-general + +%: + dh $@ + +override_dh_builddeb: + mkdir -p debian/$(pkg)/etc/ + echo "Hallo World" > debian/$(pkg)/etc/foo + mkdir -p debian/$(pkg)/DEBIAN + cp debian/conffiles debian/$(pkg)/DEBIAN + dpkg-deb --nocheck --build debian/$(pkg) ../$(pkg)_1.0-1_all.deb diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/fill-values b/t/recipes/checks/conffiles/conffiles-general/build-spec/fill-values new file mode 100644 index 0000000..03c9386 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: conffiles-general +Package-Architecture: all +Description: Test for conffile-related checks diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/etc/rc2.d/file b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/etc/rc2.d/file new file mode 100644 index 0000000..87eb780 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/etc/rc2.d/file @@ -0,0 +1 @@ +DUMMY INIT. diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/usr/share/foo b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/usr/share/foo new file mode 100644 index 0000000..563ac09 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/usr/share/foo @@ -0,0 +1 @@ +MEANINGFUL CONTENTS. diff --git a/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/var/cache/foo b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/var/cache/foo new file mode 100644 index 0000000..59a262a --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/build-spec/orig/var/cache/foo @@ -0,0 +1 @@ +ALSO MEANINGFUL. diff --git a/t/recipes/checks/conffiles/conffiles-general/eval/desc b/t/recipes/checks/conffiles/conffiles-general/eval/desc new file mode 100644 index 0000000..c927c96 --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/eval/desc @@ -0,0 +1,2 @@ +Testname: conffiles-general +Check: conffiles diff --git a/t/recipes/checks/conffiles/conffiles-general/eval/hints b/t/recipes/checks/conffiles/conffiles-general/eval/hints new file mode 100644 index 0000000..44959bb --- /dev/null +++ b/t/recipes/checks/conffiles/conffiles-general/eval/hints @@ -0,0 +1,13 @@ +conffiles-general (binary): relative-conffile etc/foo [conffiles:6] +conffiles-general (binary): non-etc-file-marked-as-conffile var/cache/foo [conffiles:5] +conffiles-general (binary): non-etc-file-marked-as-conffile var/bye [conffiles:9] +conffiles-general (binary): non-etc-file-marked-as-conffile usr/share/foo [conffiles:4] +conffiles-general (binary): non-etc-file-marked-as-conffile usr/gone [conffiles:8] +conffiles-general (binary): missing-conffile var/bye [conffiles:9] +conffiles-general (binary): missing-conffile usr/gone [conffiles:8] +conffiles-general (binary): missing-conffile etc/thin-air [conffiles:7] +conffiles-general (binary): file-in-usr-marked-as-conffile usr/share/foo [conffiles:4] +conffiles-general (binary): file-in-usr-marked-as-conffile usr/gone [conffiles:8] +conffiles-general (binary): file-in-etc-rc.d-marked-as-conffile etc/rc2.d/file [conffiles:2] +conffiles-general (binary): duplicate-conffile etc/foo (lines 1 6) [conffiles] +conffiles-general (binary): conffile-has-bad-file-type [etc/symlink] diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles new file mode 100644 index 0000000..6bac7c1 --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles @@ -0,0 +1 @@ +chicken-soup /etc/some.config diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install new file mode 100644 index 0000000..ee19d5d --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install @@ -0,0 +1 @@ +etc diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules new file mode 100755 index 0000000..9de9df4 --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +pkg=instruction-chicken-soup + +%: + dh $@ + +override_dh_builddeb: + mkdir -p debian/$(pkg)/DEBIAN + cp debian/conffiles debian/$(pkg)/DEBIAN + dpkg-deb --nocheck --build debian/$(pkg) ../$(pkg)_1.0-1_all.deb diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values new file mode 100644 index 0000000..98f4bab --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: instruction-chicken-soup +Package-Architecture: all +Description: Instruction 'chicken-soup' in DEBIAN/conffiles diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config new file mode 100644 index 0000000..75e946e --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config @@ -0,0 +1 @@ +A CONFIGURATION. diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/eval/desc b/t/recipes/checks/conffiles/instruction-chicken-soup/eval/desc new file mode 100644 index 0000000..e545522 --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/eval/desc @@ -0,0 +1,2 @@ +Testname: instruction-chicken-soup +Check: conffiles diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/eval/hints b/t/recipes/checks/conffiles/instruction-chicken-soup/eval/hints new file mode 100644 index 0000000..07fcbcb --- /dev/null +++ b/t/recipes/checks/conffiles/instruction-chicken-soup/eval/hints @@ -0,0 +1 @@ +instruction-chicken-soup (binary): unknown-conffile-instruction chicken-soup [conffiles:1] diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc b/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..0c3423e --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: conffiles diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints b/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..b5286d9 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints @@ -0,0 +1,3 @@ +etcfiles (binary): non-etc-file-marked-as-conffile var/lib/foo [conffiles:2] +etcfiles (binary): file-in-etc-not-marked-as-conffile [etc/improper] +etcfiles (binary): file-in-etc-not-marked-as-conffile [etc/improper-link] diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test b/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/conffiles/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/conffiles/legacy-filenames/build-spec/debian/control b/t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/conffiles/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/conffiles/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/conffiles/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/conffiles/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/conffiles/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/conffiles/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/bokmål + 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/conffiles/legacy-filenames/build-spec/fill-values b/t/recipes/checks/conffiles/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/conffiles/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/conffiles/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/conffiles/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/conffiles/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/conffiles/legacy-filenames/eval/desc b/t/recipes/checks/conffiles/legacy-filenames/eval/desc new file mode 100644 index 0000000..e5013ae --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: conffiles diff --git a/t/recipes/checks/conffiles/legacy-filenames/eval/hints b/t/recipes/checks/conffiles/legacy-filenames/eval/hints new file mode 100644 index 0000000..fbb5997 --- /dev/null +++ b/t/recipes/checks/conffiles/legacy-filenames/eval/hints @@ -0,0 +1 @@ +filenames (binary): file-in-etc-not-marked-as-conffile [etc/gconf/schemas/test.schema] diff --git a/t/recipes/checks/conffiles/legacy-filenames/eval/post-test b/t/recipes/checks/conffiles/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/conffiles/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/continuous-integration/salsa/first-level-array/build-spec/debian/gitlab-ci.yml b/t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/debian/gitlab-ci.yml new file mode 100644 index 0000000..7205be0 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/debian/gitlab-ci.yml @@ -0,0 +1,5 @@ +# taken from ncurses_6.2-1.dsc + +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/fill-values b/t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/fill-values new file mode 100644 index 0000000..529bd21 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/first-level-array/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: first-level-array +Description: Salsa CI includes at the array level below root. diff --git a/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/desc b/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/desc new file mode 100644 index 0000000..d01c601 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/desc @@ -0,0 +1,2 @@ +Testname: first-level-array +Check: continuous-integration/salsa diff --git a/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/hints b/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/hints new file mode 100644 index 0000000..5bb5889 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/first-level-array/eval/hints @@ -0,0 +1,3 @@ +first-level-array (source): continuous-integration/salsa/specification [debian/gitlab-ci.yml] +first-level-array (source): continuous-integration/salsa/include https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml [debian/gitlab-ci.yml] +first-level-array (source): continuous-integration/salsa/include https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml [debian/gitlab-ci.yml] diff --git a/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/debian/gitlab-ci.yml b/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/debian/gitlab-ci.yml new file mode 100644 index 0000000..d15ffba --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/debian/gitlab-ci.yml @@ -0,0 +1 @@ +include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml diff --git a/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/fill-values b/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/fill-values new file mode 100644 index 0000000..352cf3e --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/root-scalar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: root-scalar +Description: Salsa CI include as scalar at root level diff --git a/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/desc b/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/desc new file mode 100644 index 0000000..adc82e0 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/desc @@ -0,0 +1,2 @@ +Testname: root-scalar +Check: continuous-integration/salsa diff --git a/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/hints b/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/hints new file mode 100644 index 0000000..6059644 --- /dev/null +++ b/t/recipes/checks/continuous-integration/salsa/root-scalar/eval/hints @@ -0,0 +1,2 @@ +root-scalar (source): continuous-integration/salsa/specification [debian/gitlab-ci.yml] +root-scalar (source): continuous-integration/salsa/include https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml [debian/gitlab-ci.yml] diff --git a/t/recipes/checks/control-files/control-field-traversal-4/build-spec/DEBIAN/control.in b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..3c0318e --- /dev/null +++ b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: [% $package_architecture %] +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Source: ../binary/control-field-traversal-4 +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. diff --git a/t/recipes/checks/control-files/control-field-traversal-4/build-spec/fill-values b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/fill-values new file mode 100644 index 0000000..b8508ba --- /dev/null +++ b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: control-field-traversal-4 +Description: Test for directory traversal issues via field names or values diff --git a/t/recipes/checks/control-files/control-field-traversal-4/build-spec/pre-data b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/pre-data new file mode 100755 index 0000000..c14dcc8 --- /dev/null +++ b/t/recipes/checks/control-files/control-field-traversal-4/build-spec/pre-data @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +rootdir="$1" +name="$2" + +docdir="$rootdir/usr/share/doc" + +rm -rf "$docdir" + +mkdir -p "$docdir/dpkg" +ln -sf dpkg "$docdir/$name" diff --git a/t/recipes/checks/control-files/control-field-traversal-4/eval/desc b/t/recipes/checks/control-files/control-field-traversal-4/eval/desc new file mode 100644 index 0000000..f31ff4d --- /dev/null +++ b/t/recipes/checks/control-files/control-field-traversal-4/eval/desc @@ -0,0 +1,4 @@ +Testname: control-field-traversal-4 +Check: control-files +Output-Format: EWI +Match-Strategy: literal diff --git a/t/recipes/checks/control-files/control-field-traversal-4/eval/literal b/t/recipes/checks/control-files/control-field-traversal-4/eval/literal new file mode 100644 index 0000000..c1dd694 --- /dev/null +++ b/t/recipes/checks/control-files/control-field-traversal-4/eval/literal @@ -0,0 +1 @@ +warning: tainted binary package 'control-field-traversal-4', skipping diff --git a/t/recipes/checks/control-files/control-files-bad/build-spec/fill-values b/t/recipes/checks/control-files/control-files-bad/build-spec/fill-values new file mode 100644 index 0000000..9800fe7 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-bad/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: control-files-bad +Description: Test for bad owner of control files diff --git a/t/recipes/checks/control-files/control-files-bad/build-spec/pre-control b/t/recipes/checks/control-files/control-files-bad/build-spec/pre-control new file mode 100755 index 0000000..d504a1b --- /dev/null +++ b/t/recipes/checks/control-files/control-files-bad/build-spec/pre-control @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +builddir="$1" + +chmod 755 "$builddir/md5sums" diff --git a/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control b/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control new file mode 100755 index 0000000..2188e24 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +controlmembers="$2" + +tar --create --file members/control.tar.gz --gzip --owner=nobody --directory "$debiandir" $controlmembers diff --git a/t/recipes/checks/control-files/control-files-bad/eval/desc b/t/recipes/checks/control-files/control-files-bad/eval/desc new file mode 100644 index 0000000..3d2b85d --- /dev/null +++ b/t/recipes/checks/control-files/control-files-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: control-files-bad +Check: control-files diff --git a/t/recipes/checks/control-files/control-files-bad/eval/hints b/t/recipes/checks/control-files/control-files-bad/eval/hints new file mode 100644 index 0000000..513dd43 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-bad/eval/hints @@ -0,0 +1,3 @@ +control-files-bad (binary): ctrl-script [md5sums] +control-files-bad (binary): control-file-has-bad-permissions 0755 != 0644 [md5sums] +control-files-bad (binary): control-file-has-bad-owner nobody/root != root/root (or 0/0) [md5sums] diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst new file mode 100644 index 0000000..690173c --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] && which bar 2>/dev/null >/dev/null; then + bar configure +fi + +#DEBHELPER# diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm new file mode 100644 index 0000000..a166618 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ] && which bar 2>/dev/null >/dev/null; then + bar remove +fi + +#DEBHELPER# diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/fill-values b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/fill-values new file mode 100644 index 0000000..903df89 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-files-classifications-ctrl-script +Description: Test for control-files classifications diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/desc b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/desc new file mode 100644 index 0000000..480baee --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/desc @@ -0,0 +1,2 @@ +Testname: control-files-classifications-ctrl-script +Check: control-files diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/hints b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/hints new file mode 100644 index 0000000..70e73ea --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/eval/hints @@ -0,0 +1,2 @@ +control-files-classifications-ctrl-script (binary): ctrl-script [prerm] +control-files-classifications-ctrl-script (binary): ctrl-script [postinst] diff --git a/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/build-spec/fill-values b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/build-spec/fill-values new file mode 100644 index 0000000..fccd640 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-files-classifications-no-ctrl-scripts +Description: Test for control-files classifications diff --git a/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/desc b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/desc new file mode 100644 index 0000000..31c1524 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: control-files-classifications-no-ctrl-scripts +Check: control-files diff --git a/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/hints b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/hints new file mode 100644 index 0000000..5edb006 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-no-ctrl-scripts/eval/hints @@ -0,0 +1 @@ +control-files-classifications-no-ctrl-scripts (binary): no-ctrl-scripts diff --git a/t/recipes/checks/control-files/control-files-traversal/build-spec/control-members b/t/recipes/checks/control-files/control-files-traversal/build-spec/control-members new file mode 100644 index 0000000..092c411 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-traversal/build-spec/control-members @@ -0,0 +1,3 @@ +conffiles +control +md5sums diff --git a/t/recipes/checks/control-files/control-files-traversal/build-spec/fill-values b/t/recipes/checks/control-files/control-files-traversal/build-spec/fill-values new file mode 100644 index 0000000..cce1fb0 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-traversal/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: control-files-traversal +Description: Test for bad owner of control files diff --git a/t/recipes/checks/control-files/control-files-traversal/build-spec/pre-control b/t/recipes/checks/control-files/control-files-traversal/build-spec/pre-control new file mode 100755 index 0000000..bc2cf15 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-traversal/build-spec/pre-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +name="$2" + +ln -sf ../md5sums "$debiandir/conffiles" diff --git a/t/recipes/checks/control-files/control-files-traversal/eval/desc b/t/recipes/checks/control-files/control-files-traversal/eval/desc new file mode 100644 index 0000000..fb32936 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-traversal/eval/desc @@ -0,0 +1,2 @@ +Testname: control-files-traversal +Check: control-files diff --git a/t/recipes/checks/control-files/control-files-traversal/eval/hints b/t/recipes/checks/control-files/control-files-traversal/eval/hints new file mode 100644 index 0000000..1fbc94b --- /dev/null +++ b/t/recipes/checks/control-files/control-files-traversal/eval/hints @@ -0,0 +1,2 @@ +control-files-traversal (binary): no-ctrl-scripts +control-files-traversal (binary): control-file-is-not-a-file [conffiles] diff --git a/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/isinstallable b/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/isinstallable new file mode 100644 index 0000000..3123e82 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/isinstallable @@ -0,0 +1 @@ +This is a udeb file and should be in a binary package. diff --git a/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/special-file b/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/special-file new file mode 100644 index 0000000..77d9abd --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/special-file @@ -0,0 +1 @@ +This is an unknown control file. diff --git a/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/triggers b/t/recipes/checks/control-files/control-files-weird-files/build-spec/DEBIAN/triggers new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/control-files/control-files-weird-files/build-spec/control-members b/t/recipes/checks/control-files/control-files-weird-files/build-spec/control-members new file mode 100644 index 0000000..1811cf0 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/build-spec/control-members @@ -0,0 +1,5 @@ +control +triggers +special-file +isinstallable +md5sums diff --git a/t/recipes/checks/control-files/control-files-weird-files/build-spec/fill-values b/t/recipes/checks/control-files/control-files-weird-files/build-spec/fill-values new file mode 100644 index 0000000..380bd5c --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: control-files-weird-files +Description: Test for bad owner of control files diff --git a/t/recipes/checks/control-files/control-files-weird-files/eval/desc b/t/recipes/checks/control-files/control-files-weird-files/eval/desc new file mode 100644 index 0000000..d7af633 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/eval/desc @@ -0,0 +1,2 @@ +Testname: control-files-weird-files +Check: control-files diff --git a/t/recipes/checks/control-files/control-files-weird-files/eval/hints b/t/recipes/checks/control-files/control-files-weird-files/eval/hints new file mode 100644 index 0000000..b763cb1 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-weird-files/eval/hints @@ -0,0 +1,4 @@ +control-files-weird-files (binary): unknown-control-file [special-file] +control-files-weird-files (binary): not-allowed-control-file [isinstallable] +control-files-weird-files (binary): no-ctrl-scripts +control-files-weird-files (binary): control-file-is-empty [triggers] diff --git a/t/recipes/checks/control-files/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/control-files/legacy-binary/build-spec/debian/control b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/control-files/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/control-files/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/menu b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/rules b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/debian/templates b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/fill-values b/t/recipes/checks/control-files/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/control-files/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/control-files/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/control-files/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-binary/eval/desc b/t/recipes/checks/control-files/legacy-binary/eval/desc new file mode 100644 index 0000000..64f5f41 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-binary/eval/desc @@ -0,0 +1,3 @@ +Testname: legacy-binary +Test-Against: control-file-is-empty +Check: control-files diff --git a/t/recipes/checks/control-files/legacy-binary/eval/hints b/t/recipes/checks/control-files/legacy-binary/eval/hints new file mode 100644 index 0000000..aa51beb --- /dev/null +++ b/t/recipes/checks/control-files/legacy-binary/eval/hints @@ -0,0 +1,2 @@ +binary-data (binary): no-ctrl-scripts +binary (binary): ctrl-script [postinst] diff --git a/t/recipes/checks/control-files/legacy-binary/eval/post-test b/t/recipes/checks/control-files/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/control-files/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/control-files/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/desc b/t/recipes/checks/control-files/legacy-libbaz/eval/desc new file mode 100644 index 0000000..fda1fde --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: control-files diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/hints b/t/recipes/checks/control-files/legacy-libbaz/eval/hints new file mode 100644 index 0000000..83003be --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/eval/hints @@ -0,0 +1,11 @@ +libbaz2-dev (binary): no-ctrl-scripts +libbaz2-dbg (binary): no-ctrl-scripts +libbaz2 (binary): no-ctrl-scripts +libbaz1-dev (binary): ctrl-script [prerm] +libbaz1-dev (binary): ctrl-script [postinst] +libbaz1 (binary): ctrl-script [symbols] +libbaz1 (binary): ctrl-script [shlibs] +libbaz1 (binary): ctrl-script [prerm] +libbaz1 (binary): ctrl-script [postinst] +libbaz1 (binary): control-file-has-bad-permissions 0755 != 0644 [symbols] +libbaz1 (binary): control-file-has-bad-permissions 0755 != 0644 [shlibs] diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/post-test b/t/recipes/checks/control-files/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/control-files/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/control-files/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/control-files/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/control-files/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/control-files/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/control-files/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/control-files/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/fill-values b/t/recipes/checks/control-files/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/control-files/legacy-scripts/build-spec/pre-build b/t/recipes/checks/control-files/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/control-files/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/control-files/legacy-scripts/eval/desc b/t/recipes/checks/control-files/legacy-scripts/eval/desc new file mode 100644 index 0000000..b7106ef --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: control-files diff --git a/t/recipes/checks/control-files/legacy-scripts/eval/hints b/t/recipes/checks/control-files/legacy-scripts/eval/hints new file mode 100644 index 0000000..8e2a570 --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/eval/hints @@ -0,0 +1,5 @@ +scripts (binary): ctrl-script [prerm] +scripts (binary): ctrl-script [preinst] +scripts (binary): ctrl-script [postrm] +scripts (binary): ctrl-script [postinst] +scripts (binary): control-file-is-empty [prerm] diff --git a/t/recipes/checks/control-files/legacy-scripts/eval/post-test b/t/recipes/checks/control-files/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/control-files/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/control-files/md5sums-empty/build-spec/debian/rules b/t/recipes/checks/control-files/md5sums-empty/build-spec/debian/rules new file mode 100644 index 0000000..2bcc816 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-empty/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +TMP=debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_builddeb: + :>$(TMP)/DEBIAN/md5sums + dh_builddeb diff --git a/t/recipes/checks/control-files/md5sums-empty/build-spec/fill-values b/t/recipes/checks/control-files/md5sums-empty/build-spec/fill-values new file mode 100644 index 0000000..231501f --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-empty/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: md5sums-empty +Description: Test of empty md5sums file diff --git a/t/recipes/checks/control-files/md5sums-empty/eval/desc b/t/recipes/checks/control-files/md5sums-empty/eval/desc new file mode 100644 index 0000000..505d262 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-empty/eval/desc @@ -0,0 +1,4 @@ +Testname: md5sums-empty +Test-Against: + control-file-is-empty +Check: control-files diff --git a/t/recipes/checks/control-files/md5sums-empty/eval/hints b/t/recipes/checks/control-files/md5sums-empty/eval/hints new file mode 100644 index 0000000..77e5018 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-empty/eval/hints @@ -0,0 +1 @@ +md5sums-empty (binary): no-ctrl-scripts diff --git a/t/recipes/checks/control-files/md5sums-traversal/build-spec/fill-values b/t/recipes/checks/control-files/md5sums-traversal/build-spec/fill-values new file mode 100644 index 0000000..2c68cb6 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-traversal/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: md5sums-traversal +Description: Test for traversals via md5sums symlink diff --git a/t/recipes/checks/control-files/md5sums-traversal/build-spec/pre-control b/t/recipes/checks/control-files/md5sums-traversal/build-spec/pre-control new file mode 100755 index 0000000..3b97b53 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-traversal/build-spec/pre-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +builddir="$1" + +rm -f "$builddir/md5sums" +ln -sf ../copyright "$builddir/md5sums" diff --git a/t/recipes/checks/control-files/md5sums-traversal/eval/desc b/t/recipes/checks/control-files/md5sums-traversal/eval/desc new file mode 100644 index 0000000..5c8f928 --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-traversal/eval/desc @@ -0,0 +1,2 @@ +Testname: md5sums-traversal +Check: control-files diff --git a/t/recipes/checks/control-files/md5sums-traversal/eval/hints b/t/recipes/checks/control-files/md5sums-traversal/eval/hints new file mode 100644 index 0000000..ad4d53e --- /dev/null +++ b/t/recipes/checks/control-files/md5sums-traversal/eval/hints @@ -0,0 +1,2 @@ +md5sums-traversal (binary): no-ctrl-scripts +md5sums-traversal (binary): control-file-is-not-a-file [md5sums] diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values new file mode 100644 index 0000000..1197f5c --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: unpack-numerical-owner +Description: Test for tarballs with numerical owner only diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control new file mode 100755 index 0000000..19b6369 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +controlmembers="$2" + +tar --create --file members/control.tar.gz --gzip --numeric-owner --directory "$debiandir" $controlmembers diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data new file mode 100755 index 0000000..5659822 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar.gz --gzip --numeric-owner --directory "$rootdir" . diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc b/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc new file mode 100644 index 0000000..535eb15 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc @@ -0,0 +1,3 @@ +Testname: unpack-numerical-owner +Test-Against: control-file-has-bad-owner +Check: control-files diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints b/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints new file mode 100644 index 0000000..60d1461 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints @@ -0,0 +1 @@ +unpack-numerical-owner (binary): no-ctrl-scripts diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.docs b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.docs new file mode 100644 index 0000000..42f92ea --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.docs @@ -0,0 +1,3 @@ +read-only +README +some-file diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.init b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.init new file mode 100644 index 0000000..4ebbdf5 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.init @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +### BEGIN INIT INFO +# Provides: binary +# Required-Start: +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Useless +# Description: Does nothing +### END INIT INFO + +. /lib/lsb/init-functions + +case "$1" in + start|stop|force-reload|restart|status|*) + echo hello world + ;; +esac diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.install b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.install new file mode 100644 index 0000000..c759290 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.install @@ -0,0 +1,9 @@ +sample.ali usr/lib/some-where/ +script-uid usr/bin/ +script-ugid usr/bin/ +script-gid usr/bin/ +script-wexec usr/bin/ +script-wuid usr/bin/ +script-ro usr/bin/ +script etc/cron.d/ +script etc/emacs.d/ diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.manpages b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.manpages new file mode 100644 index 0000000..ad3e735 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/binary.manpages @@ -0,0 +1 @@ +script-*.1 diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/clean b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/clean new file mode 100644 index 0000000..1e7cec6 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/clean @@ -0,0 +1 @@ +script*.1 diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/control.in b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/control.in new file mode 100644 index 0000000..5c8703f --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets + +Package: binary +Architecture: all +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, lsb-base (>= 3.0-6) +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: game +Architecture: all +Section: games +Depends: ${misc:Depends} +Description: [% $description %] - game + 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. + . + Game package. + diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.install b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.install new file mode 100644 index 0000000..f708f99 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.install @@ -0,0 +1 @@ +script usr/games/ diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.manpages b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.manpages new file mode 100644 index 0000000..8d16fb4 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/game.manpages @@ -0,0 +1 @@ +script.1 diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/rules b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/rules new file mode 100644 index 0000000..951f84c --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +GPKG:=game +PKG:=binary + +%: + dh $@ + +override_dh_auto_build: + for N in uid gid ugid wexec wuid ro; do \ + sed s/script/script-$$N/ < script > script-$$N ; \ + pod2man --section 1 script-$$N > script-$$N.1 ; \ + done + pod2man --section 1 script > script.1 + +override_dh_fixperms: + dh_fixperms + + chmod 0444 debian/$(PKG)/usr/share/doc/$(PKG)/read-only + chmod 4755 debian/$(PKG)/usr/bin/script-uid + chmod 2755 debian/$(PKG)/usr/bin/script-gid + chmod 6755 debian/$(PKG)/usr/bin/script-ugid + chmod 0775 debian/$(PKG)/usr/bin/script-wexec + chmod 4744 debian/$(PKG)/usr/bin/script-wuid + chmod 0751 debian/$(PKG)/usr/bin/script-ro + chmod 0644 debian/$(PKG)/usr/lib/some-where/sample.ali + chmod 0744 debian/$(PKG)/usr/share/doc/$(PKG) + chmod 0755 debian/$(PKG)/usr/share/doc/$(PKG)/some-file + chmod 0755 debian/$(PKG)/etc/cron.d/script + chmod 0755 debian/$(PKG)/etc/emacs.d/script + chmod 0765 debian/$(PKG)/etc/init.d/binary diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/fill-values b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/fill-values new file mode 100644 index 0000000..c914891 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-bad-perm-owner +Description: General permissions and owner tests diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/README b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/README new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/README @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/read-only b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/read-only new file mode 100644 index 0000000..1a3fca1 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/read-only @@ -0,0 +1 @@ +Fadango on the core diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/sample.ali b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/sample.ali new file mode 100644 index 0000000..fec3fc8 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/sample.ali @@ -0,0 +1 @@ +This is not a valid ali file diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/script b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/script new file mode 100755 index 0000000..8521013 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/script @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +echo "Aloha" + +exit 0 + +=head1 NAME + +script -- prints Aloha to stdout + +=head1 SYNOPSIS + + script + +=head1 DESCRIPTION + +Prints Aloha to stdout and that is it. + diff --git a/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/some-file b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/some-file new file mode 100644 index 0000000..0dfa8ff --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This is executable and should not be. :) + - Unfortunately it triggers an extra tag... oh well. diff --git a/t/recipes/checks/cron/files-bad-perm-owner/eval/desc b/t/recipes/checks/cron/files-bad-perm-owner/eval/desc new file mode 100644 index 0000000..952600a --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/eval/desc @@ -0,0 +1,2 @@ +Testname: files-bad-perm-owner +Check: cron diff --git a/t/recipes/checks/cron/files-bad-perm-owner/eval/hints b/t/recipes/checks/cron/files-bad-perm-owner/eval/hints new file mode 100644 index 0000000..c371cc7 --- /dev/null +++ b/t/recipes/checks/cron/files-bad-perm-owner/eval/hints @@ -0,0 +1 @@ +binary (binary): bad-permissions-for-etc-cron.d-script 0755 != 0644 [etc/cron.d/script] diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install new file mode 100644 index 0000000..02c3f92 --- /dev/null +++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install @@ -0,0 +1,2 @@ +_bad-pkcs11.module usr/share/p11-kit/modules/ +cron-script.hourly etc/cron.hourly/ diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values new file mode 100644 index 0000000..abbdaca --- /dev/null +++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-foo-violates-expected-naming +Description: Test naming conventions not being followed diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly new file mode 100755 index 0000000..ad6e129 --- /dev/null +++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Hallo World" diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc new file mode 100644 index 0000000..9b3431a --- /dev/null +++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc @@ -0,0 +1,2 @@ +Testname: files-foo-violates-expected-naming +Check: cron diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints new file mode 100644 index 0000000..7d9bb33 --- /dev/null +++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints @@ -0,0 +1 @@ +files-foo-violates-expected-naming (binary): run-parts-cron-filename-contains-illegal-chars [etc/cron.hourly/cron-script.hourly] diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/cron/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/cron/legacy-etcfiles/eval/desc b/t/recipes/checks/cron/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..0432bda --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: cron diff --git a/t/recipes/checks/cron/legacy-etcfiles/eval/hints b/t/recipes/checks/cron/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..733886c --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (binary): run-parts-cron-filename-contains-illegal-chars [etc/cron.daily/cronfile-contains.fullstop] diff --git a/t/recipes/checks/cron/legacy-etcfiles/eval/post-test b/t/recipes/checks/cron/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/cron/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/fill-values b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/fill-values new file mode 100644 index 0000000..3dcc6e0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-autogenerated +Description: Check for autogenerated file diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.c b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.c new file mode 100644 index 0000000..115d756 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.c @@ -0,0 +1 @@ +/* ANSI-C code produced by gperf version 2.7.2 */ diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.cpp b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.cpp new file mode 100644 index 0000000..8971eaf --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.cpp @@ -0,0 +1 @@ +/* C++ code produced by gperf version 3.0.3 */ diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/oui.db/oui.db b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/oui.db/oui.db new file mode 100644 index 0000000..ebf4106 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/oui.db/oui.db @@ -0,0 +1,20 @@ +# part of oui database + +00-00-56 (hex) DR. B. STRUCK +000056 (base 16) DR. B. STRUCK + POB 1147 BAECKERBARG 6 + D-2000 TANGSTEDT/HAMBURG + W-GERMANY + GERMANY + +00-00-57 (hex) SCITEX CORPORATION LTD. +000057 (base 16) SCITEX CORPORATION LTD. + P.O. BOX 330 + 46103 HERZLIA B + ISRAEL + +00-00-58 (hex) RACORE COMPUTER PRODUCTS INC. +000058 (base 16) RACORE COMPUTER PRODUCTS INC. + 2355 SOUTH 1070 WEST + SALT LAKE CITY UT 84119 + UNITED STATES \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/negative.py b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/negative.py new file mode 100644 index 0000000..3c7da65 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/negative.py @@ -0,0 +1,5 @@ +def realwork(vars, moddefns, target): + version_suffix = "%r%r" % sys.version_info[:2] + print "# Makefile for Microsoft Visual C++ generated by freeze.py script" + print + print 'target = %s' % target \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/positive.cpp b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/positive.cpp new file mode 100644 index 0000000..5d3f004 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/positive.cpp @@ -0,0 +1,4 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by vtkDLG.rc +// \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-autogenerated/eval/desc b/t/recipes/checks/cruft/cruft-autogenerated/eval/desc new file mode 100644 index 0000000..a3c70f4 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-autogenerated +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-autogenerated/eval/hints b/t/recipes/checks/cruft/cruft-autogenerated/eval/hints new file mode 100644 index 0000000..3003675 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-autogenerated/eval/hints @@ -0,0 +1,4 @@ +cruft-autogenerated (source): source-contains-data-from-ieee-data-oui-db [src/oui.db/oui.db] +cruft-autogenerated (source): source-contains-autogenerated-visual-c++-file [src/visualc++/positive.cpp] +cruft-autogenerated (source): source-contains-autogenerated-gperf-data [src/gperf/gperf.cpp] +cruft-autogenerated (source): source-contains-autogenerated-gperf-data [src/gperf/gperf.c] diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/debian/copyright b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/debian/copyright new file mode 100644 index 0000000..8513b32 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/debian/copyright @@ -0,0 +1,20 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://pecl.php.net/package/foo + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/fill-values b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/fill-values new file mode 100644 index 0000000..b7ea3b7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-bad-php-unrel +Description: Check for the bad php license (false-positives) diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_01.txt b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_01.txt new file mode 100644 index 0000000..0dc7725 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_01.txt @@ -0,0 +1,70 @@ +-------------------------------------------------------------------- + The PHP License, version 2.01 +Copyright (c) 1999 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. Permission to freely distribute and use Zend as an integrated + part of PHP is granted, under the conditions of version 0.91 + of the Zend License. + The license is bundled with the Zend engine, and is available + at http://www.zend.com/license/0_91.txt, or by contacting + license@zend.com. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at php-group@php.net. + +For more information on the PHP Group and the PHP project, +please see . diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_02.txt b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_02.txt new file mode 100644 index 0000000..af5b01c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/2_02.txt @@ -0,0 +1,75 @@ +-------------------------------------------------------------------- + The PHP License, version 2.02 +Copyright (c) 1999 - 2002 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. The software incorporates the Zend Engine, a product of Zend + Technologies, Ltd. ("Zend"). The Zend Engine is licensed to the + PHP Association (pursuant to a grant from Zend that can be + found at http://www.php.net/license/ZendGrant/) for + distribution to you under this license agreement, only as a + part of PHP. In the event that you separate the Zend Engine + (or any portion thereof) from the rest of the software, or + modify the Zend Engine, or any portion thereof, your use of the + separated or modified Zend Engine software shall not be governed + by this license, and instead shall be governed by the license + set forth at http://www.zend.com/license/ZendLicense/. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/3_01.txt b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/3_01.txt new file mode 100644 index 0000000..9fbf45f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/build-spec/orig/src/3_01.txt @@ -0,0 +1,55 @@ +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2012 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/eval/desc b/t/recipes/checks/cruft/cruft-bad-php-unrel/eval/desc new file mode 100644 index 0000000..951b329 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php-unrel/eval/desc @@ -0,0 +1,5 @@ +Testname: cruft-bad-php-unrel +Test-Against: + license-problem-php-license + license-problem-bad-php-license +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-bad-php-unrel/eval/hints b/t/recipes/checks/cruft/cruft-bad-php-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/cruft/cruft-bad-php/build-spec/fill-values b/t/recipes/checks/cruft/cruft-bad-php/build-spec/fill-values new file mode 100644 index 0000000..d54580a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-bad-php +Description: Check for the bad php license diff --git a/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_01.txt b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_01.txt new file mode 100644 index 0000000..0dc7725 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_01.txt @@ -0,0 +1,70 @@ +-------------------------------------------------------------------- + The PHP License, version 2.01 +Copyright (c) 1999 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. Permission to freely distribute and use Zend as an integrated + part of PHP is granted, under the conditions of version 0.91 + of the Zend License. + The license is bundled with the Zend engine, and is available + at http://www.zend.com/license/0_91.txt, or by contacting + license@zend.com. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at php-group@php.net. + +For more information on the PHP Group and the PHP project, +please see . diff --git a/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_02.txt b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_02.txt new file mode 100644 index 0000000..af5b01c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/2_02.txt @@ -0,0 +1,75 @@ +-------------------------------------------------------------------- + The PHP License, version 2.02 +Copyright (c) 1999 - 2002 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. The software incorporates the Zend Engine, a product of Zend + Technologies, Ltd. ("Zend"). The Zend Engine is licensed to the + PHP Association (pursuant to a grant from Zend that can be + found at http://www.php.net/license/ZendGrant/) for + distribution to you under this license agreement, only as a + part of PHP. In the event that you separate the Zend Engine + (or any portion thereof) from the rest of the software, or + modify the Zend Engine, or any portion thereof, your use of the + separated or modified Zend Engine software shall not be governed + by this license, and instead shall be governed by the license + set forth at http://www.zend.com/license/ZendLicense/. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . diff --git a/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/3_01.txt b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/3_01.txt new file mode 100644 index 0000000..9fbf45f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/build-spec/orig/src/3_01.txt @@ -0,0 +1,55 @@ +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2012 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-bad-php/eval/desc b/t/recipes/checks/cruft/cruft-bad-php/eval/desc new file mode 100644 index 0000000..93e4ccd --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-bad-php +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-bad-php/eval/hints b/t/recipes/checks/cruft/cruft-bad-php/eval/hints new file mode 100644 index 0000000..a674da0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-bad-php/eval/hints @@ -0,0 +1,3 @@ +cruft-bad-php (source): license-problem-php-license [src/3_01.txt] +cruft-bad-php (source): license-problem-bad-php-license [src/2_02.txt] +cruft-bad-php (source): license-problem-bad-php-license [src/2_01.txt] diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/fill-values b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/fill-values new file mode 100644 index 0000000..653eb5e --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-cc-by-nc-sa +Description: Check for the creative common cc by sa diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/ISI_export_format.html b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/ISI_export_format.html new file mode 100644 index 0000000..fd6df9c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/ISI_export_format.html @@ -0,0 +1,8 @@ + + + +Some title + + +Content is available under Attribution-NonCommercial-ShareAlike 3.0 Unported + diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/copyright-header.html b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/copyright-header.html new file mode 100644 index 0000000..67f778a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/copyright-header.html @@ -0,0 +1,9 @@ + + + +Test + + +test + + diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.svg b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.svg new file mode 100644 index 0000000..02796b5 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.svg @@ -0,0 +1,53 @@ + + + + File + + + + + image/svg+xml + + File + 2014-09-12 + + + Bastien Roucariès + + + + + + + + + + + + + + + + diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.xml b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.xml new file mode 100644 index 0000000..b0ca098 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/build-spec/orig/src/test.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/desc b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/desc new file mode 100644 index 0000000..5219716 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-cc-by-nc-sa +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/hints b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/hints new file mode 100644 index 0000000..60ac3e7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-cc-by-nc-sa/eval/hints @@ -0,0 +1,4 @@ +cruft-cc-by-nc-sa (source): license-problem-cc-by-nc-sa [src/test.xml] +cruft-cc-by-nc-sa (source): license-problem-cc-by-nc-sa [src/test.svg] +cruft-cc-by-nc-sa (source): license-problem-cc-by-nc-sa [src/copyright-header.html] +cruft-cc-by-nc-sa (source): license-problem-cc-by-nc-sa [src/ISI_export_format.html] diff --git a/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values b/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values new file mode 100644 index 0000000..215f18d --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-evil-json +Description: Check for the "Evil JSON" license diff --git a/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c b/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c new file mode 100644 index 0000000..e95dfd2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c @@ -0,0 +1,10 @@ +/** + * The non-free pet-phase in the JSON license that triggers + * the Lintian tag. + * + * "The software shall be used for good, not evil" + */ + +int main() { + return 0; +} diff --git a/t/recipes/checks/cruft/cruft-evil-json/eval/desc b/t/recipes/checks/cruft/cruft-evil-json/eval/desc new file mode 100644 index 0000000..deb7d73 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-evil-json +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-evil-json/eval/hints b/t/recipes/checks/cruft/cruft-evil-json/eval/hints new file mode 100644 index 0000000..a62e789 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-evil-json/eval/hints @@ -0,0 +1 @@ +cruft-evil-json (source): license-problem-json-evil [src/evil.c] diff --git a/t/recipes/checks/cruft/cruft-general-upstream/build-spec/fill-values b/t/recipes/checks/cruft/cruft-general-upstream/build-spec/fill-values new file mode 100644 index 0000000..7cfc324 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-general-upstream/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-upstream +Skeleton: upload-non-native +Extra-Build-Depends: zip +Description: Check for cruft in the upstream source diff --git a/t/recipes/checks/cruft/cruft-general-upstream/build-spec/pre-upstream b/t/recipes/checks/cruft/cruft-general-upstream/build-spec/pre-upstream new file mode 100755 index 0000000..827b002 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-general-upstream/build-spec/pre-upstream @@ -0,0 +1,61 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist upstream. We do much of it +# here rather than in the template so that Lintian itself can be imported into +# revision control systems. + +set -e +dir="$1" + + +EMPTY_OLE_OBJECT='\320\317\021\340\241\261\032\341' + +mkdir "${dir}/CVS" +echo 'source-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'source-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'source-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'source-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'source-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'source-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'source-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'source-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'source-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'source-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'source-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'source-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'source-contains-svn-conflict-file' > "${dir}/foo.r1352" + +echo 'configure-generated-file-in-source' > "${dir}/config.cache" + +printf "MZ\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x3c" > "${dir}/fake-win32-bin.exe" +# use old magic \001\000\000\000 part is optional but needed with old file +printf "ITSF\003\000\000\000\140\000\000\000\001\000\000\000" > "${dir}/fake-help-file.chm" +# .chm files with "Halibut" are probably generated by free software +printf "ITSF\003\000\000\000\140\000\000\000\001\000\000\000Halibut," > "${dir}/fake-help-file-halibut.chm" + +printf "CWS\011 x" > "${dir}/fakeflash.swf" +echo '//comment' > "${dir}/fake.min.js" +# Make python generate python bytecode files +# - more reliable than crafting them ourselves +echo '' > "${dir}/fake.py" +echo 'import fake' > "${dir}/main.py" +unset PYTHONDONTWRITEBYTECODE +PYTHONPATH="${dir}" python3 "${dir}/main.py" > /dev/null +PYTHONPATH="${dir}" python3 -O "${dir}/main.py" > /dev/null +rm -f "${dir}"/main.py* + +zip -q "${dir}/fake.jar" "${dir}/fake.min.js" +cp "${dir}/fake.jar" "${dir}/fakesilverlight.XAC" + +# need to pad +printf "\320\317\021\340\241\261\032\341" > "${dir}/fakefla.fla" +dd if=/dev/zero of="${dir}/fakefla.fla" count=1 bs=1 seek=2047 > /dev/null 2> /dev/null +cp "${dir}/fakefla.fla" "${dir}/fakeflasourced.fla" +printf '//fake .as flash' > "${dir}/fakeflasourced.as" diff --git a/t/recipes/checks/cruft/cruft-general-upstream/eval/desc b/t/recipes/checks/cruft/cruft-general-upstream/eval/desc new file mode 100644 index 0000000..598c670 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-general-upstream/eval/desc @@ -0,0 +1,5 @@ +Testname: cruft-general-upstream +Check: cruft +Todo: In unstable, file(1) cannot detect files byte-compiled by Python3. (Bug#950516) +# also update the version number below when Bug#950516 was fixed +Test-Depends: file (>= 1:5.38) diff --git a/t/recipes/checks/cruft/cruft-general-upstream/eval/hints b/t/recipes/checks/cruft/cruft-general-upstream/eval/hints new file mode 100644 index 0000000..43d5e56 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-general-upstream/eval/hints @@ -0,0 +1,26 @@ +cruft-general-upstream (source): source-is-missing fakeflash.swf +cruft-general-upstream (source): source-is-missing fakefla.fla +cruft-general-upstream (source): source-is-missing fake.min.js +cruft-general-upstream (source): source-contains-svn-control-dir .svn +cruft-general-upstream (source): source-contains-svn-conflict-file foo.r1352 +cruft-general-upstream (source): source-contains-svn-commit-file svn-commit.tmp +cruft-general-upstream (source): source-contains-svk-commit-file svk-commit444.tmp +cruft-general-upstream (source): source-contains-prebuilt-windows-binary fake-win32-bin.exe +cruft-general-upstream (source): source-contains-prebuilt-silverlight-object fakesilverlight.XAC +cruft-general-upstream (source): source-contains-prebuilt-python-object __pycache__/fake.cpython-38.pyc +cruft-general-upstream (source): source-contains-prebuilt-python-object __pycache__/fake.cpython-38.opt-1.pyc +cruft-general-upstream (source): source-contains-prebuilt-ms-help-file fake-help-file.chm +cruft-general-upstream (source): source-contains-prebuilt-javascript-object fake.min.js +cruft-general-upstream (source): source-contains-prebuilt-flash-project fakeflasourced.fla +cruft-general-upstream (source): source-contains-prebuilt-flash-project fakefla.fla +cruft-general-upstream (source): source-contains-prebuilt-flash-object fakeflash.swf +cruft-general-upstream (source): source-contains-hg-tags-file .hgtags +cruft-general-upstream (source): source-contains-hg-control-dir .hg +cruft-general-upstream (source): source-contains-git-control-dir .git +cruft-general-upstream (source): source-contains-cvs-control-dir CVS +cruft-general-upstream (source): source-contains-cvs-conflict-copy .#foo.1.1 +cruft-general-upstream (source): source-contains-bzr-control-dir .bzr +cruft-general-upstream (source): source-contains-bts-control-dir .be +cruft-general-upstream (source): source-contains-arch-inventory-file .arch-inventory +cruft-general-upstream (source): source-contains-arch-control-dir {arch} +cruft-general-upstream (source): configure-generated-file-in-source config.cache diff --git a/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/fill-values b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/fill-values new file mode 100644 index 0000000..85fc8d9 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-gfdl-fp-sliding-win +Description: Check for FP with GFDL invariants sections diff --git a/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/orig/src/normal.texi b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/orig/src/normal.texi new file mode 100644 index 0000000..d9c1b54 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/orig/src/normal.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, no Front-Cover Texts and +no Back-Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/pre-build b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/pre-build new file mode 100755 index 0000000..5ee6c94 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/build-spec/pre-build @@ -0,0 +1,45 @@ +#!/usr/bin/perl + +# Attempt to break the GFDL so that the "redeeming" part of the +# license gets in the window /after/ the triggering part. c/cruft +# handles this case correctly now and we don't want to mess that up +# later. + +use strict; +use warnings; + +# Keep in sync with checks/cruft +use constant BLOCK_SIZE => 16_384; + +my ($rootdir) = @ARGV; +my $dir = "$rootdir/debian/src"; +my $file = "$dir/good.texi"; + +unless (-d $dir) { + mkdir $dir or die "mkdir $dir: $!"; +} + +my $slash = '/'; +my $gfdl_start = <', $file or die "open $file: $!"; + +print {$fd} $prefix, "\n"; +print {$fd} $gfdl_start; +print {$fd} $gfdl_end; + +close $fd or die "close $file: $!"; diff --git a/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/desc b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/desc new file mode 100644 index 0000000..da0fce7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-gfdl-fp-sliding-win +Test-Against: license-problem-gfdl-invariants +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/hints b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-fp-sliding-win/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/fill-values b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/fill-values new file mode 100644 index 0000000..2c57a2a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-gfdl-invariants +Description: Check for GFDL invariants sections diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi new file mode 100644 index 0000000..ba8175d --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi @@ -0,0 +1,12 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the @acronym{GNU} Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, with the Front-Cover texts +being ``A @acronym{GNU} Manual,'' and with the Back-Cover Texts as in +(a) below. A copy of the license is included in the section entitled +``@acronym{GNU} Free Documentation License.'' + +(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and +modify this @acronym{GNU} manual. Buying copies from the @acronym{FSF} +supports it in developing @acronym{GNU} and promoting software +freedom.'' diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex new file mode 100644 index 0000000..a0a6634 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex @@ -0,0 +1,6 @@ +\section*{GNU Free Documentation License}\label{SEC:FDL} +\subsection*{GNU Free Documentation License}\label{SEC:FDL} + \subsubsection{GNU Free Documentation License}\label{SEC:FDL} + +This document is distributed under the term of the GNU Free Documentation +License. See, the attached file for copying conditions. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/empty.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/empty.texi new file mode 100644 index 0000000..8e87b5f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/empty.texi @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi new file mode 100644 index 0000000..7ad0640 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation. + +A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf new file mode 100644 index 0000000..19560b4 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf @@ -0,0 +1,125 @@ +{\rtf1\ansi\ansicpg1252\cocoartf102{\fonttbl\f2\fnil Bitstream Charter;\f0\fnil Droid Sans Mono;\f1\fnil FreeSans;} +{\colortbl;\red0\green0\blue200;\red0\green0\blue0;\red255\green0\blue0;} +{{\NeXTGraphic iconoGimp3.tif \width1816 \height1309}\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\f0\fs24 \'AC}\f1\fs48 \b\cf1 \'A1Welcome to FisicaLab!\cf0\fs24\b0\cf2 \par +\par +\fs20\i Copyright (C) 2009, 2010, 2012 German A. Arias.\par + Permission is granted to copy, distribute and/or modify this document\par + under the terms of the GNU Free Documentation License, Version 1.3\par + or any later version published by the Free Software Foundation;\par + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.\par + A copy of the license is included in the section entitled "GNU\par + Free Documentation License".\fs24\i0 \par +\par +\par +FisicaLab is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details (FisicaLab take care of them). This allows the user to become familiar with the physical concepts without running the risk of getting lost in mathematical details. And so, when the user gain confidence in applying physical concepts, will be better prepared to solve the problems by hand (with pen and paper). FisicaLab is easy to use and very intuitive. However, in order to take advantage of all its features, we recommend you read first these help files.\par +\par +FisicaLab display to two windows, one named \b Modules and elements\b0 and other named \b Chalkboard\b0 . The first of these windows, contain all modules that can be used to solve problems. These modules are grouped by: kinematics, static, dynamics, ... (see image below). You can select one of these groups with the buttons at the top of the window, marked with (1) in the image. When you leave the mouse\rquote s cursor above one of these buttons, a label with the group name is displayed. The buttons marked with (2) let you select the system of units, SI or English. You can see the modules of the selected group inside the box marked with (3). The tabs marked with (4) let you select one of the available modules. The elements of the selected module are displayed inside the box marked with (5). This elements let you set the problems. Inside the box marked with (6) you can write the element\rquote s data (if any element is selected, this box will be empty).\f2 \par +\par + \cf0\f0{{\NeXTGraphic FisicaLabPanel.jpg \width7680 \height10760}\'AC}\f2\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +\f1 The window named \b Chalkboard\b0 (see image below), have at the top two buttons, marked with (7). The button at the left let you solve the problem, and the other is to clean the chalkboard. The black box marked with (8) is the chalkboard, where you add the elements to set the problems. You need keep in mind, although you can\rquote t see, that the chalkboard is a grid formed with cells of 50x50 pixels. By default the chalkboard size is 26x18 cells. In \b Preferences\b0 panel you can change the size to a maximum of 100x100 cells (A greater size than the default could be useful for trusses problems). The text view marked with (9) is where FisicaLab show the answer and messages. The checkbox marked with (10) erase the content of the text view before show the next answer or message. If you want keep the previous content, unselect this checkbox. In this case you can add notes to identify the results of the different problems.\f2 \par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic FisicaLabPizarra.jpg \width8540 \height6680}\'AC}\f2\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +\par +\f1\fs28\b Handling the elements\f2\fs24\b0 \par + \par +\f1 To add elements at the chalkboard, do a click above the desired element. The mouse\rquote s cursor will become in an open hand, meaning this that we will add an element. Do a click above the chalkboard in the position where you want the element, the mouse\rquote s cursor will back at its original shape. Each time you add a new element, or select one different, a yellow square will be drawn around the current element. The data of the current element are displayed, for its edition, at panel \b Modules and elements\b0 . When you leave the mouse\rquote s cursor above one element in the chalkboard, a label with the element\rquote s data is displayed. In \b Preferences\b0 panel you can configure the font size of these labels.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic chalkboardProperties.jpg \width9020 \height4600}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +If you want move an element, click above it with the \b Control\b0 key pressed, the mouse\rquote s cursor will become in a close hand, meaning this that we are moving an element. Do click in the new position and the mouse\rquote s cursor will back at its original shape. In other hand, if you want delete an element, do click above it with the \b Shift\b0 key pressed.\par +\par +Keep in mind that FisicaLab don\rquote t let you combine elements from different modules. The elements in each module are enough to set a wide variety of problems.\f2 \par +\par +\par +\f1\fs28\b Element data\f2\fs24\b0 \par +\par +\f1 When you select an element in the chalkboard, or add a new element, you will see a table at the bottom of the window \b Modules and elements\b0 . With a double click above any field of the second column, you can write the data. FisicaLab supports scientific notation, to use this use the letter E. For example, to write the number 3.45x10-5, write:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 3.45E-5\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +All numerical data must be without spaces. For example, the following numbers are wrong:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc - 5.3\par +7.8E - 8\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Also, FisicaLab can use many conversion factors. To use these, add the character @ before the conversion. If you have selected the SI system, FisicaLab assumes that all data are in meters, kg, seconds, etc. With the English system, FisicaLab assumes that all data are in feet, pounds, slugs, seconds, etc. (in the English system the mass must be in slugs). For example, if you want write an speed of 75 km/h, use:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 75 @ km/h\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Here, we have one space before and after the character @, but these are for clarity, and are not required. Each module has its how conversion factors, as you can see in the sections that deal about these. \par +\par +You can use letters or words to represent the unknown data. If, for example, the final velocity is an unknown data, you can represent this like:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc fv\par +finalv\par +fvel\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql or any other combination. But, we recommend you use letters or words that are related with the unknown data. Also, the conversion factors can be used with the unknown data. For example, if the time is unknown, and you want this in minutes, write something like:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc t @ min\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql The scientific notation can be used with the unknowns, adding the characters #E at the end of the name. For example, for a coefficient of thermal expansion, that is a small value:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc coefficient#E\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Also, this can be used with a conversion factor. For example, for a very long distance that we want in kilometers:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc distance#E @ km\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +All the conversion factors are available in a contextual menu. After select the row of data where want add the factor, a right mouse click open a context menu with all available factors.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic menuContextual.jpg \width6120 \height5320}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +FisicaLab allows mathematical operations directly on the fields where you enter data. Can be carried out operations of addition (+), subtraction (-), multiplication (*) and division (/). Although not allowed to group operations by parentheses. It also provides some useful functions for certain calculations. These are listed below with its description:\par +\par +\b cos(ang)\tab \tab Calculates the cosine of the sexagesimal angle "ang".\par +sin(ang)\tab \tab Calculates the sine of the sexagesimal angle "ang".\par +tan(ang)\tab \tab Calculates the tangent of the sexagesimal angle "ang".\par +sqrt(x)\tab \tab Calculates the square root of the number "x".\par +hypot(a,b)\tab Calculates the hypotenuse of a right triangle whose legs are "a" and "b".\par +leg(c,a)\tab \tab Calculates the leg of the right triangle whose hypotenuse is "c" and the\par +\tab \tab \tab other leg is "a".\par +rd(m1,m2,d)\tab Calculates the distance of the mass "m1" to the center of mass of the\par +\tab \tab \tab system consisting of the masses "m1" and "m2", which are spaced a\par +\tab \tab \tab distance "d".\b0 \par +\par +The numbers that are passed as parameters to these functions must have consistent units. For example, in the \b hypot()\b0 function both legs must be in the same units, whether centimeters, meters, inches, etc. These functions can be used in operations of addition, subtraction, multiplication and division. In these operations blank spaces are not allowed. Here are some examples:\par +\par +\pard\ql\b\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 8*cos(34)\par +hypot(4,3)-2\par +rd(3,6,40)*sin(30) @ cm\par +15*8/hypot(13,8)\b0 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Once entered the operation, FisicaLab will do the calculation and will write the result in the entry. Note that is possible to apply conversion factors. Although these can also be applied after carrying out the calculation.\par +\par +The fields where you enter angles do not allow the operations and functions described above. This is because these fields have their own operations and functions. For example, FisicaLab allows write the angles as slopes (a/b), and automatically convert this to sexagesimal angles. What is very useful for problems of trusses.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic angulos.jpg \width5080 \height2660}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +For these fields are available two functions that calculates an angle from other relationships. These functions are:\par +\par +\b acos(a/c)\tab Calculates the sexagesimal angle whose cosine is the ratio "a/c".\par +asin(b/c)\tab \tab Calculates the sexagesimal angle whose sine is the ratio "b/c".\b0 \par +\par +If an operation is entered incorrectly, for example if it contains spaces or contains a function with an incorrect number of parameters, FisicaLab will do nothing and will take that string as an unknown.\par +\par +\par +\b Caution:\b0 \cf0\cf3 If, for example, you add a mass conversion factor in a time data, this will cause an error in the solution. And you will not get a message about this error.\cf0\f2\cf2 \par +\par +\par +\f1\fs28\b How it works\f2\fs24\b0 \par +\par +\f1 FisicaLab work over the base of \i number of equations = number of unknown data\i0 . In general you don\rquote t need worry about this. But in some cases you will see the error \b "The system is undetermined"\b0 . This occurs when you write numeric data in a field that must be an unknown data. The examples show this cases.\f2 \par +\par +\par +\f1\fs28\b Messages\f2\fs24\b0 \par +\par +\f1 FisicaLab write a wide variety of messages in the text view when a problem is wrong. However, you always will see a message about the calculation\rquote s status, as you can see in the following image:\par +\par +\pard\ql\f0\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0{{\NeXTGraphic cinema44.tif \width4760 \height800}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +The last line say \b "State = success"\b0 , meaning that the calculation was successful. Any other status different as \i success\i0 , mean that or the set problem don\rquote t have a solution, or an unexpected error occurred.\par +\par +} \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.html new file mode 100644 index 0000000..b8e14bc --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.html @@ -0,0 +1,56 @@ + + +Some title + + + +This is +
+
+Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, +1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +2010, 2011, 2012 + +

Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with the +Invariant Sections being “Funding Free Software”, the Front-Cover +Texts being (a) (see below), and with the Back-Cover Texts being (b) +(see below). A copy of the license is included in the section entitled +“GNU Free Documentation License”. + +

(a) The Front-Cover Text is: + +

A GNU Manual + +

(b) The Back-Cover Text is: + +

You have freedom to copy and modify this GNU Manual, like GNU + software. Copies published raises funds. +

+
+
+ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi new file mode 100644 index 0000000..aa1d8e0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, with the Front-Cover Texts being ``A Debian Manual'', +and with the Back-Cover Texts as in (a) below. A copy of the license +is included in the section entitled ``GNU Free Documentation +License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt new file mode 100644 index 0000000..e649d17 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with the Invariant Sections being just "GNU +Manifesto", with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the section +entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt new file mode 100644 index 0000000..8883cac --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt @@ -0,0 +1,25 @@ +ADDENDUM: How to use this License for your documents +==================================================== + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + + Copyright (C) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + + If you have Invariant Sections, Front-Cover Texts and Back-Cover +Texts, replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with + the Front-Cover Texts being LIST, and with the Back-Cover Texts + being LIST. + + If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt new file mode 100644 index 0000000..fd6ed32 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt @@ -0,0 +1,8 @@ +No ;after version +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 +with no Invariant Sections, no Front-Cover Texts and +no Back-Cover Texts; +A copy of the license is included in the section entitled +license GNU Free Documentation License + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi new file mode 100644 index 0000000..2be8767 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi @@ -0,0 +1,12 @@ +Published by the Free Software Foundation, +51 Franklin Street, Fifth Floor +Boston, MA 02110-1301, USA + +Copyright @copyright{} 2005, 2010, 2014-2016 Sergey Poznyakoff + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover and Back-Cover texts. A copy of +the license is included in the section entitled ``GNU Free Documentation +License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po new file mode 100644 index 0000000..73f9c3a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po @@ -0,0 +1,16 @@ +#: C/index.docbook:65(legalnotice/para) +msgid "" +"Permission is granted to copy, distribute and/or modify this document under " +"the terms of the GNU Free Documentation License, " +"Version 1.1 or any later version published by the Free Software Foundation " +"with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A " +"copy of the license is included." +msgstr "" +"Das vorliegende Dokument kann gemäß den Bedingungen der GNU Free " +"Documentation License (GFDL), Version 1.1 oder jeder späteren, von der Free " +"Software Foundation veröffentlichten Version ohne unveränderbare Abschnitte " +"sowie ohne Texte auf dem vorderen und hinteren Buchdeckel kopiert, verteilt " +"und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem " +"Link oder in der mit diesem " +"Handbuch gelieferten Datei COPYING-DOCS." + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt new file mode 100644 index 0000000..d3490c4 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt @@ -0,0 +1,9 @@ + +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License +(FDL), either version 1.2 of the license, +or (at your option) any later version published by the free software +foundation (FSF); with no invariant sections, +with no front-cover text, and with no back-cover texts +A copy of the license is included in the +section entitled "GNU Free Documentation License". \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml new file mode 100644 index 0000000..37449fb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml @@ -0,0 +1,6 @@ + This document documents free software; you can redistribute it + and/or modify it under the terms of the GNU General Public License + (&gpl;), either version 2 of the License, or (at your option) any + later version published by the &fsf;. + A copy of the license is included in . + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po new file mode 100644 index 0000000..d11e67b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po @@ -0,0 +1,9 @@ +# French translation for SANE backend options +# +# Permission is granted to copy, distribute and/or modify this document +# under the terms of the GNU Free Documentation License, Version 1.1 +# or any later version published by the Free Software Foundation; +# with no Invariant Sections, with no Front-Cover Texts, and with +# no Back-Cover. +# A copy of the license is included in the section entitled "GNU +# Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html new file mode 100644 index 0000000..6ace5df --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html @@ -0,0 +1,12 @@ + + + +
+

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant + Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix G, GNU Free Documentation License. +

+

The example programs in this book are free software; you can redistribute and/or modify them under the terms of the Python license as published by the Python Software Foundation. A copy of the license is included in Appendix H, Python license. +

+
+ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c new file mode 100644 index 0000000..5291fd3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c @@ -0,0 +1,15 @@ +/* false positive from some package */ + static const char *copy_para[]= + { + "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006," + ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc." + ,"" + ,"Permission is granted to copy, distribute and/or modify this document" + ,"under the terms of the GNU Free Documentation License, Version 1.3 or" + ,"any later version published by the Free Software Foundation; with no" + ,"Invariant\nSections, with no\nFront-Cover Texts,\nand with no Back-Cover" + ,"Texts. A copy of the license is included in the ``GNU Free" + ,"Documentation License'' file as part of this distribution." + "" + ,NULL + }; diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c new file mode 100644 index 0000000..23aa0af --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c @@ -0,0 +1,15 @@ +/* false positive from findutils */ + static const char *copy_para[]= + { + "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006," + ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc." + ,"" + ,"Permission is granted to copy, distribute and/or modify this document" + ,"under the terms of the GNU Free Documentation License, Version 1.3 or" + ,"any later version published by the Free Software Foundation; with no" + ,"Invariant Sections, with no Front-Cover Texts, and with no Back-Cover" + ,"Texts. A copy of the license is included in the ``GNU Free" + ,"Documentation License'' file as part of this distribution." + "" + ,NULL + }; diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html new file mode 100644 index 0000000..ee27a4f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html @@ -0,0 +1,9 @@ +

+Permission is granted to copy, distribute +and/or modify this document under the terms +of the GNU Free Documentation License, Version +1.1 or any later version published by the +Free Software Foundation; with the Invariant +Sections being LIST THEIR TITLES, with the +Front-Cover Texts being LIST, and with the +Back-Cover Texts being LIST.

\ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html new file mode 100644 index 0000000..426c273 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html @@ -0,0 +1 @@ +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html new file mode 100644 index 0000000..fffca61 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html @@ -0,0 +1,13 @@ + + +false positive found in license text: +
+Copyright (C)  year  your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the Invariant Sections being list their titles, with
+the Front-Cover Texts being list, and with the Back-Cover Texts
+being list.
+A copy of the license is included in the section entitled ``GNU Free Documentation License''.
+
diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
new file mode 100644
index 0000000..fc52ba9
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
@@ -0,0 +1,13 @@
+false positive found in license text:
+@smallexample
+@group
+  Copyright (C)  @var{year}  @var{your name}.
+  Permission is granted to copy, distribute and/or modify this document
+  under the terms of the GNU Free Documentation License, Version 1.3
+  or any later version published by the Free Software Foundation;
+  with the Invariant Sections being @var{list their titles}, with the
+  Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}.
+  A copy of the license is included in the section entitled ``GNU
+  Free Documentation License''.
+@end group
+@end smallexample
diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
new file mode 100644
index 0000000..46cbd2f
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
@@ -0,0 +1,13 @@
+
+
+false positive found in license text:
+
+Copyright (C)  year  your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the
Invariant Sections
being list their titles, with +the Front-Cover Texts being list, and with the Back-Cover Texts +being list. +A copy of the license is included in the section entitled ``GNU Free Documentation License''. + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex new file mode 100644 index 0000000..00e496c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex @@ -0,0 +1,7 @@ +% Permission is granted to copy, distribute and/or modify this document +% under the terms of the GNU Free Documentation License, Version 1.1 or +% any later version published by the Free Software Foundation; with no +% Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +% Texts. A copy of the license is included in the section entitled +% ``GNU Free Documentation License.'' +% diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html new file mode 100644 index 0000000..f01cd4c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html @@ -0,0 +1,15 @@ + + +

+ Copyright 2008, Free Software Foundation. +

+ Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, + and with no Back-Cover + Texts. A copy of the license is included in + the section entitled "GNU Free Documentation License". +

+ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info new file mode 100644 index 0000000..cc7a754 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info @@ -0,0 +1,14 @@ +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + +Copyright 2008, Free Software Foundation. + +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.1 or any later version published by the Free Software +Foundation; with noInvariant Sections (*note fdl-invariant::), +with no Front-Cover Texts (*note fdl-cover-texts::), and with no +Back-Cover Texts (*note fdl-cover-texts::). A copy of the license +is included in the section entitled "GNU Free Documentation +License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml new file mode 100644 index 0000000..9e77873 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml @@ -0,0 +1,15 @@ + + +

+ Copyright 2008, Free Software Foundation. +

+ Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, + and with no Back-Cover + Texts. A copy of the license is included in + the section entitled "GNU Free Documentation License". +

+ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po new file mode 100644 index 0000000..07b3003 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po @@ -0,0 +1,42 @@ +#: C/fdl-appendix.xml:79(sect1/para) +msgid "" +"A <_:quote-1/> is a named appendix or a front-matter section of the <_:" +"link-2/> that deals exclusively with the relationship of the publishers or " +"authors of the Document to the Document's overall subject (or to related " +"matters) and contains nothing that could fall directly within that overall " +"subject. (For example, if the Document is in part a textbook of mathematics, " +"a Secondary Section may not explain any mathematics.) The relationship could " +"be a matter of historical connection with the subject or with related " +"matters, or of legal, commercial, philosophical, ethical or political " +"position regarding them." +msgstr "" +"Une <_:quote-1/> désigne une annexe au <_:link-2/>, ou toute information " +"indiquant les rapports entre l'auteur ou l'éditeur et le sujet (ou tout " +"autre sujet connexe) du Document, sans toutefois être en rapport direct avec " +"le sujet lui-même (par exemple, si le Document est un manuel de " +"mathématiques, une Section secondaire ne traitera d'aucune notion " +"mathématique). Cette section peut contenir des informations relatives à " +"l'historique du Document, des sources documentaires, des dispositions " +"légales, commerciales, philosophiques, ou des positions éthiques ou " +"politiques susceptibles de concerner le sujet traité." + + +#: C/fdl-appendix.xml:632(blockquote/para) +#, fuzzy +msgid "" +"Permission is granted to copy, distribute and/or modify this document under " +"the terms of the GNU Free Documentation License, Version 1.1 or any later " +"version published by the Free Software Foundation; with the <_:link-1/> being " +"LIST THEIR TITLES, with the <_:link-2/> being LIST, and with the <_:link-3/> " +"being LIST. A copy of the license is included in the section entitled <_:" +"quote-4/>." +msgstr "" +"Es wird die Erlaubnis gegeben, dieses Dokument zu kopieren, verteilen und/" +"oder zu verändern unter den Bedingungen der GNU Free Documentation License, " +"Version 1.1 oder einer späteren, von der Free Software Foundation " +"veröffentlichten Version; mit den Unveränderlichen Abschnitten. DEREN TITEL AUFGEZÄHLT sind, mit den " +"Vorderseitentexten, die AUFGEZÄHLT " +"sind, und mit den Rückseitentexten, " +"die AUFGEZÄHLT sind. Eine Kopie dieser Lizenz ist in dem Abschnitt enthalten, " +"der mit GNU Free Documentation License betitelt ist." diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff new file mode 100644 index 0000000..ae8c973 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff @@ -0,0 +1,102 @@ +Description: hyphen-used-as-minus-sign + This manual page seems to contain a hyphen where a minus sign was + intended. +Author: Ruben Molina +Forwarded: no +Last-Update: 2011-06-25 + +Index: kst-2.0.3/src/kst/kst.1.txt +=================================================================== +--- kst-2.0.3.orig/src/kst/kst.1.txt ++++ kst-2.0.3/src/kst/kst.1.txt +@@ -47,7 +47,7 @@ kst may be run entirely from within its + command line arguments are needed. kst has a powerful wizard for + easily setting up new plots. + +-In the second invocation, kst loads pre-saved plot specifications from the ++In the second invocation, kst loads pre\-saved plot specifications from the + file + .I kstfile + and optionally may override some of the settings in that file. +@@ -64,7 +64,7 @@ plot all curves in separate plots + .TP + .B \-a\fR + average frames (simple mean) when plotting with +-.B -s\fR. ++.B \-s\fR. + .TP + .B \-\-A4\fR + use A4 sized paper for printing. Requires +@@ -90,7 +90,7 @@ and instead use + .B \-f\ STARTFRAME\fR + begin plotting at + .I STARTFRAME +-frames into the data. Set to -1 to start at ++frames into the data. Set to \-1 to start at + .I NUMFRAMES + from the end of the data. + .TP +@@ -112,7 +112,7 @@ use US Letter sized paper for printing. + .B \-n\ NUMFRAMES\fR + plot at most + .I NUMFRAMES +-frames of data. Set to -1 to indicate all of the data. ++frames of data. Set to \-1 to indicate all of the data. + .TP + .B \-P\ PLOTNAME\fR + plot all plots in the plot named +@@ -145,7 +145,7 @@ frames when plotting. + .B \-x\ FIELD\fR + use + .I FIELD +-as the X-axis vector. ++as the X\-axis vector. + .TP + .B \-y\ FIELD\fR + plot +@@ -158,30 +158,30 @@ plot + as an image. + .SH EXAMPLES + Plot all data in column 2 from data.dat. +- kst data.dat -y 2 ++ kst data.dat \-y 2 + + Same as above, except only read 20 lines, starting at line 10. +- kst data.dat -f 10 -n 20 -y 2 ++ kst data.dat \-f 10 \-n 20 \-y 2 + + also read col 1. One plot per curve. +- kst data.dat -f 10 -n 20 -y 1 -y 2 ++ kst data.dat \-f 10 \-n 20 \-y 1 \-y 2 + + Read col 1 from data2.dat and col 1 from data.dat +- kst data.dat -f 10 -n 20 -y 2 data2.dat -y 1 ++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-y 1 + + Same as above, except read 40 lines starting at 30 in data2.dat +- kst data.dat -f 10 -n 20 -y 2 data2.dat -f 30 -n 40 -y 1 ++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-f 30 \-n 40 \-y 1 + + Specify the X vector and error bars: + Plot x = col 1 and Y = col 2 and error flags = col 3 from data.dat +- kst data.dat -x 1 -e 3 -y 2 ++ kst data.dat \-x 1 \-e 3 \-y 2 + + Get the X vector from data1.dat, and the Y vector from data2.dat. +- kst data1.dat -x 1 data2.dat -y 1 ++ kst data1.dat \-x 1 data2.dat \-y 1 + + Placement: + Plot column 2 and column 3 in plot P1 and column 4 in plot P2 +- kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4 ++ kst data.dat \-P P1 \-y 2 \-y 3 \-P P2 \-y 4 + .SH BUGS + Please report bugs to either the kst mailing list at + .I kst@kde.org +@@ -198,6 +198,6 @@ Matthew Truch + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no ++Invariant Sections, with no Front\-Cover Texts, and with no Back\-Cover + Texts. A copy of the license is included in the `COPYING.DOC' file + as part of the kst distribution. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook new file mode 100644 index 0000000..0168da6 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.2 or any later version published by the Free Software +Foundation; with &FDLInvariantSections;, with &FDLFrontCoverText;, and +with &FDLBackCoverText;. A copy of the license is included in . + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader new file mode 100644 index 0000000..96f3be3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex new file mode 100644 index 0000000..d082bfc --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 +or any later version published by the +\href{http://www.fsf.org}{Free Software Foundation}; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled +``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex new file mode 100644 index 0000000..e193a16 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 +or any later version published by the +\hyperlink{http://www.fsf.org}{Free Software Foundation}; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled +``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex new file mode 100644 index 0000000..370ea73 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex @@ -0,0 +1,2 @@ +Copyright @sx(c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-\/Cover Texts, and no Back-\/Cover Texts. A copy of the license is included in the section entitled \char`\"{}GNU +Free Documentation License\char`\"{}. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex new file mode 100644 index 0000000..107d9fb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation +License\url{http://www.gnu.org/copyleft/fdl.html}, Version 1.1 or any +later version published by the Free Software Foundation; with no +Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the chapter entitled "GNU +Free Documentation License". \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml new file mode 100644 index 0000000..8a5eb6e --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml @@ -0,0 +1,7 @@ + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 or + any later version published by the Free Software Foundation. There + are no invariant sections. A copy of the license is included in the + section entitled "GNU Free Documentation License". + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi new file mode 100644 index 0000000..56939ee --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 +or any later version published by the Free Software Foundation; +with no Invariant Sections. +A copy of the license is included in the section entitled ``GNU +Free Documentation License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt new file mode 100644 index 0000000..4e66d64 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt @@ -0,0 +1,19 @@ +Permission is granted to copy, distribute and/or modify the +documentation for GNU LilyPond under the terms of the GNU Free +Documentation License as published by the Free Software Foundation, +either version 1.3, or (at your option) any later version; with no +Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. + +A copy of the license is contained in the file COPYING.FDL. + +The following exceptions apply: + + * It does not apply to input files (contained in the + directory tree Documentation/snippets/); these are in + the public domain. + + * It does not apply to any manual which explicitly states + another license. + + * It does not apply to the MusicXML unit test suite, + which is licensed under the MIT license. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi new file mode 100644 index 0000000..dffaccc --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover, and no Back-Cover texts. +A copy of the license is included in the section entitled ``GNU Free +Documentation License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html new file mode 100644 index 0000000..e1fd5a2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html @@ -0,0 +1,28 @@ + + +

Documentation files should have license notices also. Manuals should +use the GNU Free Documentation License. Following is an example of the +license notice to use after the copyright line(s) using all the +features of the GFDL. +

+
+
Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being ``GNU General Public License'', with the
+Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts
+as in (a) below.  A copy of the license is included in the section
+entitled ``GNU Free Documentation License''.
+
+(a) The FSF's Back-Cover Text is: ``You have the freedom to
+copy and modify this GNU manual.  Buying copies from the FSF
+supports it in developing GNU and promoting software freedom.''
+
+ +

If the FSF does not publish this manual on paper, then omit the last +sentence in (a) that talks about copies from GNU Press. If the FSF is +not the copyright holder, then replace ‘FSF’ with the appropriate +name. +

+ + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi new file mode 100644 index 0000000..633e758 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi @@ -0,0 +1,13 @@ +Documentation files should have license notices also. Manuals should +use the GNU Free Documentation License. Following is an example of the +license notice to use after the copyright line(s) using all the +features of the GFDL. + +@smallexample +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with the +Invariant Sections being ``GNU General Public License'', with the +Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts +as in (a) below. A copy of the license is included in the section +entitled ``GNU Free Documentation License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi new file mode 100644 index 0000000..b5c2685 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi @@ -0,0 +1,7 @@ +@c Permission is granted to copy, distribute and/or modify this document +@c under the terms of the GNU Free Documentation License, Version 1.1 +@c or any later version published by the Free Software Foundation; +@c with no Invariant Sections, with no +@c Front-Cover Texts, and with no Back-Cover Texts. +@c A copy of the license is included in the section entitled ``GNU +@c Free Documentation License''. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c new file mode 100644 index 0000000..a58e927 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c @@ -0,0 +1,13 @@ + /*****************************************************************************/ +/** \mainpage Cal3D API Reference + *
+ *

+ * Permission is granted to copy, distribute and/or modify this document + * under the terms of the GNU Free Documentation License, Version 1.1 or + * any later version published by the Free Software Foundation; + * with no Invariant Sections, no Front-Cover Texts and + * no Back-Cover Texts; + * A copy of the license is included in the section entitled + * \link license "GNU Free Documentation License" \endlink . + *

+ *****************************************************************************/ diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi new file mode 100644 index 0000000..d9c1b54 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, no Front-Cover Texts and +no Back-Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi new file mode 100644 index 0000000..dd888e2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; no Invariant Sections, no Front-Cover Texts, +no Back-Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html new file mode 100644 index 0000000..747d2e0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt new file mode 100644 index 0000000..f33dfcd --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt @@ -0,0 +1,7 @@ +.\" manual page for blaze, a command wrapper for BlazeBlogger +.\" +.\" Permission is granted to copy, distribute and/or modify this document +.\" under the terms of the GNU Free Documentation License, Version 1.3 or +.\" any later version published by the Free Software Foundation; with no +.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +.\" A copy of the license is included below. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi new file mode 100644 index 0000000..22ae575 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi @@ -0,0 +1,8 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, no Front- +Cover Texts and +no Back- +Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 new file mode 100644 index 0000000..5a4df93 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 @@ -0,0 +1,9 @@ +.\" Copyright (C) XXX +.\" +.\" Permission is granted to copy, distribute and/or modify this document +.\" under the terms of the GNU Free Documentation License, Version 1.1 +.\" or any later version published by the Free Software Foundation; +.\" with the Invariant Sections being no invariant sections, with the +.\" Front-Cover Texts being no front-cover texts, and with the Back-Cover +.\" Texts being no back-cover texts. A copy of the license is included with +.\" this package in the file "COPYING.DOC." \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt new file mode 100644 index 0000000..3241276 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, Front-Cover or Back-Cover texts. A copy of the license +is included in the section entitled ``GNU Free Documentation License''. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt new file mode 100644 index 0000000..950d936 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt @@ -0,0 +1,4 @@ +Permission is granted to copy, distribute and/or modify this document under \ +the terms of the GNU Free Documentation License, Version 1.1 or any later \ +version published by the Free Software Foundation; without any Invariant \ +Sections. A copy of the license is included in the file GFDL. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt new file mode 100644 index 0000000..96037ac --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt @@ -0,0 +1,8 @@ +Parted 2.13 version with strange grammar. + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with the no Invariant Sections, with the no Front-Cover Texts, and +with no Back-Cover Texts. A copy of the license is included in the +file, COPYING.DOC. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po new file mode 100644 index 0000000..f1d17a5 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po @@ -0,0 +1,15 @@ +För att använda GNU Free Documentation License för ett dokument du har skrivit, inkludera en kopia av licensen [det engelska originalet] i dokumentet och placera följande copyrightklausul omedelbart efter titelsidan: + +
+ + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with the Invariant Sections being LIST + THEIR TITLES, with the Front-Cover Texts being LIST, + and with the Back-Cover + Texts being LIST. A copy of the license is included in + the section entitled GNU Free Documentation + License. + +
diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff new file mode 100644 index 0000000..73e379b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff @@ -0,0 +1,7 @@ +1,6d0 +< Permission is granted to copy, distribute and/or modify this +< document under the terms of the GNU Free Documentation License, +< version 1.3 or any later version published by the Free Software +< Foundation; with no Invariant Sections, no Front-Cover Texts and +< no Back-Cover Texts. A copy of the license is included in the +< section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff new file mode 100644 index 0000000..600653e --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff @@ -0,0 +1,18 @@ +*** make-stds.texi 2013-02-17 21:44:05.485250349 +0100 +--- normal.texi 2012-12-20 21:23:22.829397718 +0100 +*************** +*** 1,7 **** +! @c Permission is granted to copy, distribute and/or modify this document +! @c under the terms of the GNU Free Documentation License, Version 1.1 +! @c or any later version published by the Free Software Foundation; +! @c with no Invariant Sections, with no +! @c Front-Cover Texts, and with no Back-Cover Texts. +! @c A copy of the license is included in the section entitled ``GNU +! @c Free Documentation License''. +--- 1,6 ---- +! Permission is granted to copy, distribute and/or modify this +! document under the terms of the GNU Free Documentation License, +! version 1.3 or any later version published by the Free Software +! Foundation; with no Invariant Sections, no Front-Cover Texts and +! no Back-Cover Texts. A copy of the license is included in the +! section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff new file mode 100644 index 0000000..db6e4f9 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff @@ -0,0 +1,9 @@ +--- /dev/null 2013-05-15 23:18:30.206386135 +0200 ++++ normal.texi 2012-12-20 21:23:22.829397718 +0100 +@@ -0,0 +1,6 @@ ++Permission is granted to copy, distribute and/or modify this ++document under the terms of the GNU Free Documentation License, ++version 1.3 or any later version published by the Free Software ++Foundation; with no Invariant Sections, no Front-Cover Texts and ++no Back-Cover Texts. A copy of the license is included in the ++section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff new file mode 100644 index 0000000..347adff --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff @@ -0,0 +1,9 @@ +--- normal.texi 2012-12-20 21:23:22.829397718 +0100 ++++ /dev/null 2013-05-15 23:18:30.206386135 +0200 +@@ -1,6 +0,0 @@ +-Permission is granted to copy, distribute and/or modify this +-document under the terms of the GNU Free Documentation License, +-version 1.3 or any later version published by the Free Software +-Foundation; with no Invariant Sections, no Front-Cover Texts and +-no Back-Cover Texts. A copy of the license is included in the +-section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff new file mode 100644 index 0000000..f64bfaf --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff @@ -0,0 +1,7 @@ +0a1,6 +> Permission is granted to copy, distribute and/or modify this +> document under the terms of the GNU Free Documentation License, +> version 1.3 or any later version published by the Free Software +> Foundation; with no Invariant Sections, no Front-Cover Texts and +> no Back-Cover Texts. A copy of the license is included in the +> section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi new file mode 100644 index 0000000..2ab3103 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi @@ -0,0 +1,19 @@ +@copying +This manual documents PHP mode version @value{version} for +use with GNU Emacs. + +Copyright @copyright{} 2008 Aaron S. Hawley + +@quotation +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, and no +Cover Texts. A copy of the license is included in the +section entitled ``Copying This Manual.'' + +A copy of the license is also available from the Free +Software Foundation Web site at +@url{http://www.gnu.org/licenses/fdl.html}. + +@end quotation \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt new file mode 100644 index 0000000..8a0594a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt @@ -0,0 +1,7 @@ +Some user ident with pipe (|) + | Permission is granted to copy, distribute and/or modify this + | document under the terms of the GNU Free Documentation License, + | version 1.3 or any later version published by the Free Software + | Foundation; with no Invariant Sections, no Front-Cover Texts and + | no Back-Cover Texts. A copy of the license is included in the + | section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml new file mode 100644 index 0000000..58edd5b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml @@ -0,0 +1,8 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, no +Front-Cover Texts, and no Back-Cover Texts. +A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml new file mode 100644 index 0000000..112c734 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml @@ -0,0 +1,9 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; +with no invariant sections, front-cover texts or back-cover texts, +each as defined in the license. +A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html new file mode 100644 index 0000000..ff31741 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html @@ -0,0 +1,11 @@ +
+Permission is granted to copy, distribute +and/or modify this document under the terms of the GNU Free +Documentation License, Version 1.2 or any later version published by +the Free Software Foundation; with no Invariant Sections Texts.
+ + +A copy of the license is included here below.
+ + +
diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi new file mode 100644 index 0000000..c803dc5 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi @@ -0,0 +1,9 @@ +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 or +any later version published by the Free Software Foundation; with the +Invariant Sections being ``GNU General Public License'' and ``GNU Free +Documentation License'', with no Front-Cover Texts, and with no +Back-Cover Texts. A copy of the license is included in the section +entitled ``GNU Free Documentation License''. +@end quotation \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po new file mode 100644 index 0000000..e0a41a6 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po @@ -0,0 +1,8 @@ +#~ "Permission is granted to copy, distribute and/or modify this document " +#~ "under the terms of the GNU Free Documentation License, Version 1.1 or any " +#~ "later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR " +#~ "TITLES, with the Front-Cover Texts being LIST, and with the Back-" +#~ "Cover Texts being LIST. A copy of the license is included in the " +#~ "section entitled GNU Free Documentation License." \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi new file mode 100644 index 0000000..9327024 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the @acronym{GNU} Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, with no Front-Cover texts +and with no Back-Cover Texts. A copy of the license is included in the section entitled +``@acronym{GNU} Free Documentation License.'' diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex new file mode 100644 index 0000000..b6e1240 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex @@ -0,0 +1,8 @@ +% note the end is not classical... +% Copyright (c) 2002--2004 Philipp Lehman +% Permission is granted to copy, distribute and/or modify this document under +% the terms of the GNU Free Documentation License, version 1.2, with no +% invariant sections, with no front-cover texts, and no back-cover texts. This +% document 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. diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex new file mode 100644 index 0000000..d4b872c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex @@ -0,0 +1,6 @@ +Copyright © 2002--2004 Philipp Lehman + +Permission is granted to copy, distribute and\slash or modify this document under the terms of the GNU Free Documentation License, version 1.2, with no invariant sections, no front-cover texts, and no back-cover texts. + +A copy of the license is included in the appendix. + diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt new file mode 100644 index 0000000..2043b26 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt @@ -0,0 +1,21 @@ +/* + * :permissions ("Permission is granted to copy, distribute and/or modify this document" + * "under the terms of the GNU Free Documentation License, Version 1.1" + * "or any later version published by the Free Software Foundation;" + * "with the Invariant Sections being:" + * "" + * " The GNU General Public License" + * " The GNU Free Documentation License" + * "" + * "with the Front-Cover Texts being" + * "" + * " (none)," + * "" + * "and with the Back-Cover Texts being" + * "" + * " (none)." + * "" + * "A copy of the license is included in the section entitled \"GNU" + * "Free Documentation License\".")) + * + */ \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml new file mode 100644 index 0000000..6f634a6 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, no +Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt new file mode 100644 index 0000000..8463a59 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt @@ -0,0 +1,7 @@ +This is ok + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with no Invariant Sections, Front- + or Back-Cover Texts. A copy of the license is included in the + section entitled "{GNU Free Documentation License}". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi new file mode 100644 index 0000000..8782eed --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Section, no Front-Cover Text and +no Back-Cover Text. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 new file mode 100644 index 0000000..83a4acf --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 @@ -0,0 +1,12 @@ +.\" +.\" Manpage example +.\" +.PP +Permission is granted to copy, distribute and/or modify this document +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with the +Invariant Sections being \*(L"\s-1GNU\s0 General Public License\*(R" and \*(L"Funding +Free Software\*(R", the Front-Cover texts being (a) (see below), and with +the Back-Cover Texts being (b) (see below). A copy of the license is +included in the \fIgfdl\fR\|(7) man page. +.PP diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/desc b/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/desc new file mode 100644 index 0000000..608adb5 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-gfdl-invariants +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/hints b/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/hints new file mode 100644 index 0000000..22e8bd3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-gfdl-invariants/eval/hints @@ -0,0 +1,37 @@ +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: without any invariant sections [src/oldfalsepositive/parsewiki.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with the no invariant sections, with the no front-cover texts, and with no back-cover texts [src/oldfalsepositive/partedvariant.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with the invariant sections being no invariant sections, with the front-cover texts being no front-cover texts, and with the back-cover texts being no back-cover texts [src/oldfalsepositive/oidentd.8] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with the front-cover texts being (none) and with the back-cover texts being (none) [src/oldfalsepositive/tla.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with noinvariant sections , with no front-cover texts , and with no back-cover texts [src/oldfalsepositive/gnashfalsepositive.info] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/patch-c0.diff] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/make-stds.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/latexurl.tex] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/hyphen-used-as-minus-sign.diff] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/gfdltexcomments.tex] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/findutilsok.c] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/findsutilsokinlinenewline.c] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and with no back-cover [src/oldfalsepositive/comments.po] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts, and no back-cover texts [src/oldfalsepositive/texlive.tex] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover texts and with no back-cover texts [src/oldfalsepositive/texignu.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, with no front-cover text, and with no back-cover texts [src/oldfalsepositive/clisp.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, no front-cover, and no back-cover texts [src/oldfalsepositive/mailutils.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, no front-cover and back-cover texts [src/oldfalsepositive/cflow.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, front-cover or back-cover texts [src/oldfalsepositive/opentoken.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, front- or back-cover texts [src/oldfalsepositive/variantdictfold.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections, and no cover texts [src/oldfalsepositive/php-elisp.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections texts [src/oldfalsepositive/sdlbasic.html] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections [src/oldfalsepositive/lilypond.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections , with no front-cover texts , and with no back-cover texts [src/oldfalsepositive/gnashfalsepositive.xml] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections , with no front-cover texts , and with no back-cover texts [src/oldfalsepositive/gnashfalsepositive.html] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant sections , front-cover texts or back-cover texts , each as defined in the license [src/oldfalsepositive/quoteswithasdefined.xml] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no invariant section, no front-cover text and no back-cover text [src/oldfalsepositive/zeroisnotplural.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: with no front-cover texts, and with no back-cover texts [src/oldfalsepositive/smbc.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: there are no invariant sections [src/oldfalsepositive/libnss-pgsql.xml] +cruft-gfdl-invariants (source): license-problem-gfdl-non-official-text invariant part is: no invariant sections, no front-cover texts, no back-cover texts [src/oldfalsepositive/normalbkchem.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants-empty [src/emptybis.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants-empty [src/empty.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants invariant part is: with the invariant sections being just gnu manifesto with no front-cover texts, and with no back-cover texts [src/invariant.txt] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants invariant part is: with the invariant sections being funding free software the front-cover texts being (a) (see below), and with the back-cover texts being (b) (see below) [src/frontback.html] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants invariant part is: with the invariant sections being (l gnu general public license (r and (l funding free software (r the front-cover texts being (a) (see below), and with the back-cover texts being (b) (see below) [src/oldmanpagesgfdlproblem.1] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants invariant part is: with no invariant sections, with the front-cover texts being a gnu manual, and with the back-cover texts as in (a) below [src/autoconf.texi] +cruft-gfdl-invariants (source): license-problem-gfdl-invariants invariant part is: with no invariant sections, with the front-cover texts being a debian manual , and with the back-cover texts as in (a) below [src/frontback.texi] diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/install b/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/install new file mode 100644 index 0000000..1b91047 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/install @@ -0,0 +1 @@ +usr/ diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/json.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/json.js new file mode 100644 index 0000000..9a338bf --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/json.js @@ -0,0 +1,529 @@ +/* + json.js + 2012-10-08 + + Public Domain + + No warranty expressed or implied. Use at your own risk. + + This file has been superceded by http://www.JSON.org/json2.js + + See http://www.JSON.org/js.html + + This code should be minified before deployment. + See http://javascript.crockford.com/jsmin.html + + USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO + NOT CONTROL. + + This file adds these methods to JavaScript: + + object.toJSONString(whitelist) + This method produce a JSON text from a JavaScript value. + It must not contain any cyclical references. Illegal values + will be excluded. + + The default conversion for dates is to an ISO string. You can + add a toJSONString method to any date object to get a different + representation. + + The object and array methods can take an optional whitelist + argument. A whitelist is an array of strings. If it is provided, + keys in objects not found in the whitelist are excluded. + + string.parseJSON(filter) + This method parses a JSON text to produce an object or + array. It can throw a SyntaxError exception. + + The optional filter parameter is a function which can filter and + transform the results. It receives each of the keys and values, and + its return value is used instead of the original value. If it + returns what it received, then structure is not modified. If it + returns undefined then the member is deleted. + + Example: + + // Parse the text. If a key contains the string 'date' then + // convert the value to a date. + + myData = text.parseJSON(function (key, value) { + return key.indexOf('date') >= 0 ? new Date(value) : value; + }); + + This file will break programs with improper for..in loops. See + http://yuiblog.com/blog/2006/09/26/for-in-intrigue/ + + This file creates a global JSON object containing two methods: stringify + and parse. + + JSON.stringify(value, replacer, space) + value any JavaScript value, usually an object or array. + + replacer an optional parameter that determines how object + values are stringified for objects. It can be a + function or an array of strings. + + space an optional parameter that specifies the indentation + of nested structures. If it is omitted, the text will + be packed without extra whitespace. If it is a number, + it will specify the number of spaces to indent at each + level. If it is a string (such as '\t' or ' '), + it contains the characters used to indent at each level. + + This method produces a JSON text from a JavaScript value. + + When an object value is found, if the object contains a toJSON + method, its toJSON method will be called and the result will be + stringified. A toJSON method does not serialize: it returns the + value represented by the name/value pair that should be serialized, + or undefined if nothing should be serialized. The toJSON method + will be passed the key associated with the value, and this will be + bound to the object holding the key. + + For example, this would serialize Dates as ISO strings. + + Date.prototype.toJSON = function (key) { + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + return this.getUTCFullYear() + '-' + + f(this.getUTCMonth() + 1) + '-' + + f(this.getUTCDate()) + 'T' + + f(this.getUTCHours()) + ':' + + f(this.getUTCMinutes()) + ':' + + f(this.getUTCSeconds()) + 'Z'; + }; + + You can provide an optional replacer method. It will be passed the + key and value of each member, with this bound to the containing + object. The value that is returned from your method will be + serialized. If your method returns undefined, then the member will + be excluded from the serialization. + + If the replacer parameter is an array of strings, then it will be + used to select the members to be serialized. It filters the results + such that only members with keys listed in the replacer array are + stringified. + + Values that do not have JSON representations, such as undefined or + functions, will not be serialized. Such values in objects will be + dropped; in arrays they will be replaced with null. You can use + a replacer function to replace those with JSON values. + JSON.stringify(undefined) returns undefined. + + The optional space parameter produces a stringification of the + value that is filled with line breaks and indentation to make it + easier to read. + + If the space parameter is a non-empty string, then that string will + be used for indentation. If the space parameter is a number, then + the indentation will be that many spaces. + + Example: + + text = JSON.stringify(['e', {pluribus: 'unum'}]); + // text is '["e",{"pluribus":"unum"}]' + + + text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t'); + // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' + + text = JSON.stringify([new Date()], function (key, value) { + return this[key] instanceof Date ? + 'Date(' + this[key] + ')' : value; + }); + // text is '["Date(---current time---)"]' + + + JSON.parse(text, reviver) + This method parses a JSON text to produce an object or array. + It can throw a SyntaxError exception. + + The optional reviver parameter is a function that can filter and + transform the results. It receives each of the keys and values, + and its return value is used instead of the original value. + If it returns what it received, then the structure is not modified. + If it returns undefined then the member is deleted. + + Example: + + // Parse the text. Values that look like ISO date strings will + // be converted to Date objects. + + myData = JSON.parse(text, function (key, value) { + var a; + if (typeof value === 'string') { + a = +/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); + if (a) { + return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], + +a[5], +a[6])); + } + } + return value; + }); + + myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { + var d; + if (typeof value === 'string' && + value.slice(0, 5) === 'Date(' && + value.slice(-1) === ')') { + d = new Date(value.slice(5, -1)); + if (d) { + return d; + } + } + return value; + }); + + + This is a reference implementation. You are free to copy, modify, or + redistribute. +*/ + +/*jslint evil: true, regexp: true, unparam: true */ + +/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply, + call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, + getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, + lastIndex, length, parse, parseJSON, prototype, push, replace, slice, + stringify, test, toJSON, toJSONString, toString, valueOf +*/ + + +// Create a JSON object only if one does not already exist. We create the +// methods in a closure to avoid creating global variables. + +if (typeof JSON !== 'object') { + JSON = {}; +} + +(function () { + 'use strict'; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + if (typeof Date.prototype.toJSON !== 'function') { + + Date.prototype.toJSON = function (key) { + + return isFinite(this.valueOf()) ? + this.getUTCFullYear() + '-' + + f(this.getUTCMonth() + 1) + '-' + + f(this.getUTCDate()) + 'T' + + f(this.getUTCHours()) + ':' + + f(this.getUTCMinutes()) + ':' + + f(this.getUTCSeconds()) + 'Z' : null; + }; + + String.prototype.toJSON = + Number.prototype.toJSON = + Boolean.prototype.toJSON = function (key) { + return this.valueOf(); + }; + } + + var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + gap, + indent, + meta = { // table of character substitutions + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"' : '\\"', + '\\': '\\\\' + }, + rep; + + + function quote(string) { + +// If the string contains no control characters, no quote characters, and no +// backslash characters, then we can safely slap some quotes around it. +// Otherwise we must also replace the offending characters with safe escape +// sequences. + + escapable.lastIndex = 0; + return escapable.test(string) ? '"' + string.replace(escapable, function (a) { + var c = meta[a]; + return typeof c === 'string' ? c : + '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + '"' : '"' + string + '"'; + } + + + function str(key, holder) { + +// Produce a string from holder[key]. + + var i, // The loop counter. + k, // The member key. + v, // The member value. + length, + mind = gap, + partial, + value = holder[key]; + +// If the value has a toJSON method, call it to obtain a replacement value. + + if (value && typeof value === 'object' && + typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + +// If we were called with a replacer function, then call the replacer to +// obtain a replacement value. + + if (typeof rep === 'function') { + value = rep.call(holder, key, value); + } + +// What happens next depends on the value's type. + + switch (typeof value) { + case 'string': + return quote(value); + + case 'number': + +// JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) ? String(value) : 'null'; + + case 'boolean': + case 'null': + +// If the value is a boolean or null, convert it to a string. Note: +// typeof null does not produce 'null'. The case is included here in +// the remote chance that this gets fixed someday. + + return String(value); + +// If the type is 'object', we might be dealing with an object or an array or +// null. + + case 'object': + +// Due to a specification blunder in ECMAScript, typeof null is 'object', +// so watch out for that case. + + if (!value) { + return 'null'; + } + +// Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + +// Is the value an array? + + if (Object.prototype.toString.apply(value) === '[object Array]') { + +// The value is an array. Stringify every element. Use null as a placeholder +// for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || 'null'; + } + +// Join all of the elements together, separated with commas, and wrap them in +// brackets. + + v = partial.length === 0 ? '[]' : gap ? + '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' : + '[' + partial.join(',') + ']'; + gap = mind; + return v; + } + +// If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === 'object') { + length = rep.length; + for (i = 0; i < length; i += 1) { + k = rep[i]; + if (typeof k === 'string') { + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } else { + +// Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } + +// Join all of the member texts together, separated with commas, +// and wrap them in braces. + + v = partial.length === 0 ? '{}' : gap ? + '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : + '{' + partial.join(',') + '}'; + gap = mind; + return v; + } + } + +// If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== 'function') { + JSON.stringify = function (value, replacer, space) { + +// The stringify method takes a value and an optional replacer, and an optional +// space parameter, and returns a JSON text. The replacer can be a function +// that can replace values, or an array of strings that will select the keys. +// A default replacer method can be provided. Use of the space parameter can +// produce text that is more easily readable. + + var i; + gap = ''; + indent = ''; + +// If the space parameter is a number, make an indent string containing that +// many spaces. + + if (typeof space === 'number') { + for (i = 0; i < space; i += 1) { + indent += ' '; + } + +// If the space parameter is a string, it will be used as the indent string. + + } else if (typeof space === 'string') { + indent = space; + } + +// If there is a replacer, it must be a function or an array. +// Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== 'function' && + (typeof replacer !== 'object' || + typeof replacer.length !== 'number')) { + throw new Error('JSON.stringify'); + } + +// Make a fake root object containing our value under the key of ''. +// Return the result of stringifying the value. + + return str('', {'': value}); + }; + } + + +// If the JSON object does not yet have a parse method, give it one. + + if (typeof JSON.parse !== 'function') { + JSON.parse = function (text, reviver) { + +// The parse method takes a text and an optional reviver function, and returns +// a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + +// The walk method is used to recursively walk the resulting structure so +// that modifications can be made. + + var k, v, value = holder[key]; + if (value && typeof value === 'object') { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + } + } + } + return reviver.call(holder, key, value); + } + + +// Parsing happens in four stages. In the first stage, we replace certain +// Unicode characters with escape sequences. JavaScript handles many characters +// incorrectly, either silently deleting them, or treating them as line endings. + + text = String(text); + cx.lastIndex = 0; + if (cx.test(text)) { + text = text.replace(cx, function (a) { + return '\\u' + + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }); + } + +// In the second stage, we run the text against regular expressions that look +// for non-JSON patterns. We are especially concerned with '()' and 'new' +// because they can cause invocation, and '=' because it can cause mutation. +// But just to be safe, we want to reject all unexpected forms. + +// We split the second stage into 4 regexp operations in order to work around +// crippling inefficiencies in IE's and Safari's regexp engines. First we +// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we +// replace all simple value tokens with ']' characters. Third, we delete all +// open brackets that follow a colon or comma or that begin the text. Finally, +// we look to see that the remaining characters are only whitespace or ']' or +// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. + + if (/^[\],:{}\s]*$/ + .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') + .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') + .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { + +// In the third stage we use the eval function to compile the text into a +// JavaScript structure. The '{' operator is subject to a syntactic ambiguity +// in JavaScript: it can begin a block or an object literal. We wrap the text +// in parens to eliminate the ambiguity. + + j = eval('(' + text + ')'); + +// In the optional fourth stage, we recursively walk the new structure, passing +// each name/value pair to a reviver function for possible transformation. + + return typeof reviver === 'function' ? + walk({'': j}, '') : j; + } + +// If the text is not JSON parseable, then a SyntaxError is thrown. + + throw new SyntaxError('JSON.parse'); + }; + } + +// Augment the basic prototypes if they have not already been augmented. +// These forms are obsolete. It is recommended that JSON.stringify and +// JSON.parse be used instead. + + if (!Object.prototype.toJSONString) { + Object.prototype.toJSONString = function (filter) { + return JSON.stringify(this, filter); + }; + Object.prototype.parseJSON = function (filter) { + return JSON.parse(this, filter); + }; + } +}()); diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/fill-values b/t/recipes/checks/cruft/cruft-minified-js/build-spec/fill-values new file mode 100644 index 0000000..5dd0aba --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-minified-js +Description: Misc errors related to minified javascript +Extra-Build-Depends: uglifyjs diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README new file mode 100644 index 0000000..914d120 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README @@ -0,0 +1 @@ +Here we test deploy java \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js new file mode 100644 index 0000000..aa511b3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js @@ -0,0 +1,19 @@ +(function(modules, cache, entry) { + req(entry); + function req(name) { + if (cache[name]) return cache[name].exports; + var m = cache[name] = {exports: {}}; + modules[name][0].call(m.exports, modRequire, m, m.exports, window); + return m.exports; + function modRequire(alias) { + var id = modules[name][1][alias]; + if (!id) throw new Error("Cannot find module " + alias); + return req(id); + } + } +})({0: [function(require,module,exports,global){ +var deployJava=function(){}; +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; + +}, {}],}, {}, 0); diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js new file mode 100644 index 0000000..2cb2fb3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js @@ -0,0 +1,3 @@ +var deployJava=function(){}; +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js new file mode 100644 index 0000000..4a35a5a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js @@ -0,0 +1 @@ +//the source diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js new file mode 100644 index 0000000..e1a0655 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js @@ -0,0 +1,4 @@ +// a very long javascript yuic compressed +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js new file mode 100644 index 0000000..620611a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js @@ -0,0 +1 @@ +//the source see zoneminder diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js new file mode 100644 index 0000000..e1a0655 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js @@ -0,0 +1,4 @@ +// a very long javascript yuic compressed +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js new file mode 100644 index 0000000..3fc1fc2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js @@ -0,0 +1 @@ +// this catch missing . in regexp \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js new file mode 100644 index 0000000..0668aa7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js @@ -0,0 +1,8 @@ +/* +CSS Browser Selector v0.4.0 (Nov 02, 2010) +Rafael Lima (http://rafael.adm.br) +http://rafael.adm.br/css_browser_selector +License: http://creativecommons.org/licenses/by/2.5/ +Contributors: http://rafael.adm.br/css_browser_selector#contributors +*/ +function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent); diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js new file mode 100644 index 0000000..a1c3620 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js @@ -0,0 +1 @@ +//the source found for instance in mono diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js new file mode 100644 index 0000000..fc9eb65 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js @@ -0,0 +1,4 @@ +// a very long javascript yuic compressed +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; var second='X'; + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js new file mode 100644 index 0000000..a0a67e8 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js @@ -0,0 +1,3 @@ +var deployJava=function(){}; +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt new file mode 100644 index 0000000..a701c9f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt @@ -0,0 +1 @@ +Here we test if source is available \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js new file mode 100644 index 0000000..7ab1dda --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js @@ -0,0 +1,104 @@ +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment +var longlonglong = 5; // comment diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js new file mode 100644 index 0000000..d2f68d3 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js @@ -0,0 +1,2 @@ +/*jslint evil: true, undef: true, browser: true */ +/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/ diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js new file mode 100644 index 0000000..66222ee --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js @@ -0,0 +1,30 @@ +/* long line in fake license */ +/* + * LICENSE + * + * POCKET MARKS + * + * Notwithstanding the permitted uses of the Software (as defined below) pursuant to the license set forth below, "Pocket," "Read It Later" and the Pocket icon and logos (collectively, the “Pocket Marksâ€) are registered and common law trademarks of Read It Later, Inc. This means that, while you have considerable freedom to redistribute and modify the Software, there are tight restrictions on your ability to use the Pocket Marks. This license does not grant you any rights to use the Pocket Marks except as they are embodied in the Software. + * + * --- + * + * SOFTWARE + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README new file mode 100644 index 0000000..2db2f0f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README @@ -0,0 +1 @@ +exercice missing dir in relative dir \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js new file mode 100644 index 0000000..3e0e3c2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js @@ -0,0 +1,2 @@ +// fake min.js +toto='1'; \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js new file mode 100644 index 0000000..772fe5c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js @@ -0,0 +1,2 @@ +// fake source +toto='1'; \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js new file mode 100644 index 0000000..077c6f7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js @@ -0,0 +1,4 @@ +var search_index = [ +'ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION',]; +var search_urls = [ +'config.html#allegro_config','config.html#allegro_config_section']; diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html new file mode 100644 index 0000000..7267c7f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html @@ -0,0 +1,7 @@ + +
+ +
+ \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js new file mode 100644 index 0000000..80e795f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js @@ -0,0 +1,3 @@ +/* simulate a long line by with only one ;*/ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js new file mode 100644 index 0000000..8e17061 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js @@ -0,0 +1 @@ +// this one catch lite suffix \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js new file mode 100644 index 0000000..d47653c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js @@ -0,0 +1,3 @@ +// a very long javascript yuic compressed +/* simulate a long line */ +var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js new file mode 100644 index 0000000..4a35a5a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js @@ -0,0 +1 @@ +//the source diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js new file mode 100644 index 0000000..cb851fb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js @@ -0,0 +1 @@ +# the source diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js new file mode 100644 index 0000000..d9fd3cb --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js @@ -0,0 +1,2 @@ +// a very long javascript yuic compressed + diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/pre-build b/t/recipes/checks/cruft/cruft-minified-js/build-spec/pre-build new file mode 100755 index 0000000..13f30ca --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/pre-build @@ -0,0 +1,52 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" +jsdir="$1/usr/share/javascript/" +srcdir="$1" +json="$srcdir/debian/missing-sources/json.js" +uglyjson="$jsdir/json/json.min.js" + +mkdir -p "$jsdir" +mkdir -p "$jsdir/minwithoutsource" +mkdir -p "$jsdir/jswithoutminext" +mkdir -p "$jsdir/json" +mkdir -p "$jsdir/sourced" +mkdir -p "$jsdir/sourced_variant" +mkdir -p "$jsdir/jswithoutminextwithoutsource/" +mkdir -p "$srcdir/src/js" +mkdir -p "$srcdir/build/js" + +# create a js file +uglifyjs -o "$uglyjson" "$json" +# fake install of minified js without min.js +cp "$uglyjson" "$jsdir/jswithoutminext/json.js" +# fake not sourced +cp "$uglyjson" "$jsdir/minwithoutsource/notsourced.min.js" +cp "$uglyjson" "$jsdir/minwithoutsource/subdir.min.js" +# fake install but not sourced +cp "$uglyjson" "$jsdir/jswithoutminextwithoutsource/jsonnotsourced.js" +# fake source and min alone +cp "$uglyjson" "$jsdir/sourced/sourced.min.js" +cp "$json" "$jsdir/sourced/sourced.js" +cp "$uglyjson" "$jsdir/sourced_variant/sourced.min.js" +cp "$json" "$jsdir/sourced_variant/sourced_orig.js" +# sourced in parent's parent +cp "$uglyjson" "$srcdir/build/js/foo.min.js" +cp "$json" "$srcdir/src/js/foo.js" + +cat > $srcdir/src/js/foo.html < + + + + +EOF diff --git a/t/recipes/checks/cruft/cruft-minified-js/eval/desc b/t/recipes/checks/cruft/cruft-minified-js/eval/desc new file mode 100644 index 0000000..190a0e8 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-minified-js +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-minified-js/eval/hints b/t/recipes/checks/cruft/cruft-minified-js/eval/hints new file mode 100644 index 0000000..09582a1 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/eval/hints @@ -0,0 +1,3 @@ +cruft-minified-js (source): source-contains-prebuilt-pandoc-documentation [oldfalsepositives/pandoc/] +cruft-minified-js (source): source-contains-browserified-javascript code fragment:CODE +cruft-minified-js (source): embedded-script-includes-copyright-statement extract of copyright statement: COPYRIGHT diff --git a/t/recipes/checks/cruft/cruft-minified-js/eval/post-test b/t/recipes/checks/cruft/cruft-minified-js/eval/post-test new file mode 100644 index 0000000..f1d2602 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-minified-js/eval/post-test @@ -0,0 +1,4 @@ +s/mean line length is about [0-9]+ characters$/mean line is about NUMBER characters/ +s/line [0-9]+ is [0-9]+ characters long \(>[0-9]+\)$/line POSITION is LENGTH characters long (>CUTOFF)/ +s/code fragment:.*$/code fragment:CODE/ +s/extract of copyright statement:.*/extract of copyright statement: COPYRIGHT/ diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/debian/copyright b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/debian/copyright new file mode 100644 index 0000000..f2134e7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/debian/copyright @@ -0,0 +1,25 @@ +(False positive; debian/copyright should be ignored) + +Copyright (C) The Internet Society (1999). All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works. However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/fill-values b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/fill-values new file mode 100644 index 0000000..ff7ae4d --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-non-free-rfc +Description: Check for the rfc diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/bcp78.txt b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/bcp78.txt new file mode 100644 index 0000000..066de8b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/bcp78.txt @@ -0,0 +1,3 @@ +This document is subject to the rights, licenses and restrictions +contained in BCP 78, and except as set forth therein, the authors +retain all their rights. \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc-3492.txt b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc-3492.txt new file mode 100644 index 0000000..6ab73b0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc-3492.txt @@ -0,0 +1,23 @@ +Copyright (C) The Internet Society (1999). All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works. However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc.txt b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc.txt new file mode 100644 index 0000000..6ab73b0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/build-spec/orig/src/rfc.txt @@ -0,0 +1,23 @@ +Copyright (C) The Internet Society (1999). All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works. However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/eval/desc b/t/recipes/checks/cruft/cruft-non-free-rfc/eval/desc new file mode 100644 index 0000000..cdb70b7 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-non-free-rfc +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-non-free-rfc/eval/hints b/t/recipes/checks/cruft/cruft-non-free-rfc/eval/hints new file mode 100644 index 0000000..9a2bd8a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-rfc/eval/hints @@ -0,0 +1,2 @@ +cruft-non-free-rfc (source): license-problem-non-free-RFC-BCP78 [src/bcp78.txt] +cruft-non-free-rfc (source): license-problem-non-free-RFC [src/rfc.txt] diff --git a/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/fill-values b/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/fill-values new file mode 100644 index 0000000..2f3af48 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-non-free-utf +Description: Check for non free utf diff --git a/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/orig/src/bad.c b/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/orig/src/bad.c new file mode 100644 index 0000000..753e63a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/orig/src/bad.c @@ -0,0 +1,18 @@ +/* --------------------------------------------------------------------- + + Note A. + The fall-through switches in UTF-8 reading code save a + temp variable, some decrements & conditionals. The switches + are equivalent to the following loop: + { + int tmpBytesToRead = extraBytesToRead+1; + do { + ch += *source++; + --tmpBytesToRead; + if (tmpBytesToRead) ch <<= 6; + } while (tmpBytesToRead > 0); + } + In UTF-8 writing code, the switches on "bytesToWrite" are + similarly unrolled loops. + + --------------------------------------------------------------------- */ diff --git a/t/recipes/checks/cruft/cruft-non-free-utf/eval/desc b/t/recipes/checks/cruft/cruft-non-free-utf/eval/desc new file mode 100644 index 0000000..d1fe3bd --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-utf/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-non-free-utf +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-non-free-utf/eval/hints b/t/recipes/checks/cruft/cruft-non-free-utf/eval/hints new file mode 100644 index 0000000..0df295b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-non-free-utf/eval/hints @@ -0,0 +1 @@ +cruft-non-free-utf (source): license-problem-convert-utf-code [src/bad.c] diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/fill-values b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/fill-values new file mode 100644 index 0000000..1b275b2 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-nvidia-intellectual +Description: Check for the Nvidia intellectual license diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv.c b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv.c new file mode 100644 index 0000000..2014f17 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv.c @@ -0,0 +1,12 @@ +/* + * Acme Corporation and its licensors retain all intellectual property and + * proprietary rights in and to this software and related documentation. + * Any use, reproduction, disclosure, or distribution of this software + * and related documentation without an express license agreement from + * Acme Corporation is strictly prohibited. + * + * Please refer to the applicable Acme end user license agreement (EULA) + * associated with this source code for terms and conditions that govern + * your use of this Acme software. + * + */ diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv2.c b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv2.c new file mode 100644 index 0000000..cbabced --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv2.c @@ -0,0 +1,10 @@ +/* + * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. + * + * NVIDIA Corporation and its licensors retain all intellectual + * property and proprietary rights in and to this software and + * related documentation and any modifications thereto. + * Any use, reproduction, disclosure, or distribution of this + * software and related documentation without an express license + * agreement from NVIDIA Corporation is strictly prohibited. + */ diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/falsepositive/allmankind.c b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/falsepositive/allmankind.c new file mode 100644 index 0000000..a2873ef --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/falsepositive/allmankind.c @@ -0,0 +1,12 @@ +/* + * The technologies, software, hardware, designs, drawings, scheumatics, board + * layouts and/or artwork, concepts, methodologies (including the use of all + * of these, and that which is derived from the use of all of these), all other + * intellectual properties contained herein, and all intellectual property + * rights have been and shall continue to be expressly for the benefit of all + * mankind, and are perpetually placed in the public domain, and may be used, + * copied, and/or modified by anyone, in any manner, for any legal purpose, + * without restriction. + * + * This module written by Stephen Underwood. + */ diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/desc b/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/desc new file mode 100644 index 0000000..7a959d5 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-nvidia-intellectual +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/hints b/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/hints new file mode 100644 index 0000000..8dbeba6 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-nvidia-intellectual/eval/hints @@ -0,0 +1,2 @@ +cruft-nvidia-intellectual (source): license-problem-nvidia-intellectual [src/badcv2.c] +cruft-nvidia-intellectual (source): license-problem-nvidia-intellectual [src/badcv.c] diff --git a/t/recipes/checks/cruft/cruft-python/build-spec/debian/missing-sources/fake.py b/t/recipes/checks/cruft/cruft-python/build-spec/debian/missing-sources/fake.py new file mode 100644 index 0000000..6e883de --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/build-spec/debian/missing-sources/fake.py @@ -0,0 +1 @@ +# a fake module source \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-python/build-spec/debian/pycompat b/t/recipes/checks/cruft/cruft-python/build-spec/debian/pycompat new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/cruft/cruft-python/build-spec/debian/pyversions b/t/recipes/checks/cruft/cruft-python/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/cruft/cruft-python/build-spec/fill-values b/t/recipes/checks/cruft/cruft-python/build-spec/fill-values new file mode 100644 index 0000000..37c65d1 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-python +Description: Misc errors related to Python +Extra-Build-Depends: python diff --git a/t/recipes/checks/cruft/cruft-python/build-spec/pre-build b/t/recipes/checks/cruft/cruft-python/build-spec/pre-build new file mode 100755 index 0000000..a5ee0a0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/build-spec/pre-build @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" +fake="$dir/debian/missing-sources/fake.py" + +cp "$fake" "$dir" +echo 'import fake' > "${dir}/main.py" +unset PYTHONDONTWRITEBYTECODE +PYTHONPATH="${dir}" python "${dir}/main.py" > /dev/null +PYTHONPATH="${dir}" python -O "${dir}/main.py" > /dev/null +# now remove source +rm -f "${dir}"/main.py +rm -f "${dir}"/fake.py + +cp "$fake" "$dir/fake2.py" +echo 'import fake2' > "${dir}/main.py" +unset PYTHONDONTWRITEBYTECODE +PYTHONPATH="${dir}" python "${dir}/main.py" > /dev/null +PYTHONPATH="${dir}" python -O "${dir}/main.py" > /dev/null +# now remove source +rm -f "${dir}"/main.py +rm -f "${dir}"/fake2.py + + + + + diff --git a/t/recipes/checks/cruft/cruft-python/eval/desc b/t/recipes/checks/cruft/cruft-python/eval/desc new file mode 100644 index 0000000..b3ba42b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-python +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-python/eval/hints b/t/recipes/checks/cruft/cruft-python/eval/hints new file mode 100644 index 0000000..6817461 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-python/eval/hints @@ -0,0 +1,6 @@ +cruft-python (source): source-is-missing fake2.pyo +cruft-python (source): source-is-missing fake2.pyc +cruft-python (source): source-contains-prebuilt-python-object fake2.pyo +cruft-python (source): source-contains-prebuilt-python-object fake2.pyc +cruft-python (source): source-contains-prebuilt-python-object fake.pyo +cruft-python (source): source-contains-prebuilt-python-object fake.pyc diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/fill-values b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/fill-values new file mode 100644 index 0000000..23de91f --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-sphinx-documentation +Description: Detect sphinx documentation diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/hello.c b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/hello.c new file mode 100644 index 0000000..ff2cb8d --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/hello.c @@ -0,0 +1,10 @@ +#include + +void hello() { + printf("hello"); +} + +int main() +{ + hello(); +} \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/Makefile b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/Makefile new file mode 100644 index 0000000..eb990fe --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/Makefile @@ -0,0 +1,177 @@ +# Makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build +PAPER = +BUILDDIR = _build + +# User-friendly check for sphinx-build +ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +endif + +# Internal variables. +PAPEROPT_a4 = -D latex_paper_size=a4 +PAPEROPT_letter = -D latex_paper_size=letter +ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +# the i18n builder cannot share the environment and doctrees with the others +I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . + +.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext + +help: + @echo "Please use \`make ' where is one of" + @echo " html to make standalone HTML files" + @echo " dirhtml to make HTML files named index.html in directories" + @echo " singlehtml to make a single large HTML file" + @echo " pickle to make pickle files" + @echo " json to make JSON files" + @echo " htmlhelp to make HTML files and a HTML help project" + @echo " qthelp to make HTML files and a qthelp project" + @echo " devhelp to make HTML files and a Devhelp project" + @echo " epub to make an epub" + @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" + @echo " latexpdf to make LaTeX files and run them through pdflatex" + @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" + @echo " text to make text files" + @echo " man to make manual pages" + @echo " texinfo to make Texinfo files" + @echo " info to make Texinfo files and run them through makeinfo" + @echo " gettext to make PO message catalogs" + @echo " changes to make an overview of all changed/added/deprecated items" + @echo " xml to make Docutils-native XML files" + @echo " pseudoxml to make pseudoxml-XML files for display purposes" + @echo " linkcheck to check all external links for integrity" + @echo " doctest to run all doctests embedded in the documentation (if enabled)" + +clean: + rm -rf $(BUILDDIR)/* + +html: + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." + +dirhtml: + $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." + +singlehtml: + $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml + @echo + @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." + +pickle: + $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle + @echo + @echo "Build finished; now you can process the pickle files." + +json: + $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json + @echo + @echo "Build finished; now you can process the JSON files." + +htmlhelp: + $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp + @echo + @echo "Build finished; now you can run HTML Help Workshop with the" \ + ".hhp project file in $(BUILDDIR)/htmlhelp." + +qthelp: + $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp + @echo + @echo "Build finished; now you can run "qcollectiongenerator" with the" \ + ".qhcp project file in $(BUILDDIR)/qthelp, like this:" + @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/hello.qhcp" + @echo "To view the help file:" + @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/hello.qhc" + +devhelp: + $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp + @echo + @echo "Build finished." + @echo "To view the help file:" + @echo "# mkdir -p $$HOME/.local/share/devhelp/hello" + @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/hello" + @echo "# devhelp" + +epub: + $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub + @echo + @echo "Build finished. The epub file is in $(BUILDDIR)/epub." + +latex: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo + @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." + @echo "Run \`make' in that directory to run these through (pdf)latex" \ + "(use \`make latexpdf' here to do that automatically)." + +latexpdf: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo "Running LaTeX files through pdflatex..." + $(MAKE) -C $(BUILDDIR)/latex all-pdf + @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." + +latexpdfja: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo "Running LaTeX files through platex and dvipdfmx..." + $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja + @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." + +text: + $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text + @echo + @echo "Build finished. The text files are in $(BUILDDIR)/text." + +man: + $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man + @echo + @echo "Build finished. The manual pages are in $(BUILDDIR)/man." + +texinfo: + $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo + @echo + @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." + @echo "Run \`make' in that directory to run these through makeinfo" \ + "(use \`make info' here to do that automatically)." + +info: + $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo + @echo "Running Texinfo files through makeinfo..." + make -C $(BUILDDIR)/texinfo info + @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." + +gettext: + $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale + @echo + @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." + +changes: + $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes + @echo + @echo "The overview file is in $(BUILDDIR)/changes." + +linkcheck: + $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck + @echo + @echo "Link check complete; look for any errors in the above output " \ + "or in $(BUILDDIR)/linkcheck/output.txt." + +doctest: + $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest + @echo "Testing of doctests in the sources finished, look at the " \ + "results in $(BUILDDIR)/doctest/output.txt." + +xml: + $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml + @echo + @echo "Build finished. The XML files are in $(BUILDDIR)/xml." + +pseudoxml: + $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml + @echo + @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/environment.pickle b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/environment.pickle new file mode 100644 index 0000000..1d38a66 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/environment.pickle differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/index.doctree b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/index.doctree new file mode 100644 index 0000000..c28b1f1 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/doctrees/index.doctree differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/.buildinfo b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/.buildinfo new file mode 100644 index 0000000..3a9d78b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 469b2f45b3fea98e5b770516c213cd8d +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_sources/index.txt b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_sources/index.txt new file mode 100644 index 0000000..778459b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_sources/index.txt @@ -0,0 +1,22 @@ +.. hello documentation master file, created by + sphinx-quickstart on Mon Mar 31 19:57:16 2014. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to hello's documentation! +================================= + +Contents: + +.. toctree:: + :maxdepth: 2 + + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/ajax-loader.gif b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/ajax-loader.gif new file mode 100644 index 0000000..61faf8c Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/ajax-loader.gif differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/basic.css b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/basic.css new file mode 100644 index 0000000..967e36c --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/basic.css @@ -0,0 +1,537 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 170px; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + width: 30px; +} + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlighted { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.optional { + font-size: 1.3em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +tt.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +tt.descclassname { + background-color: transparent; +} + +tt.xref, a tt { + background-color: transparent; + font-weight: bold; +} + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-bright.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-bright.png new file mode 100644 index 0000000..551517b Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-bright.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-close.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-close.png new file mode 100644 index 0000000..09b54be Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment-close.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment.png new file mode 100644 index 0000000..92feb52 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/comment.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/default.css b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/default.css new file mode 100644 index 0000000..5f1399a --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/default.css @@ -0,0 +1,256 @@ +/* + * default.css_t + * ~~~~~~~~~~~~~ + * + * Sphinx stylesheet -- default theme. + * + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: sans-serif; + font-size: 100%; + background-color: #11303d; + color: #000; + margin: 0; + padding: 0; +} + +div.document { + background-color: #1c4e63; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 230px; +} + +div.body { + background-color: #ffffff; + color: #000000; + padding: 0 20px 30px 20px; +} + +div.footer { + color: #ffffff; + width: 100%; + padding: 9px 0 9px 0; + text-align: center; + font-size: 75%; +} + +div.footer a { + color: #ffffff; + text-decoration: underline; +} + +div.related { + background-color: #133f52; + line-height: 30px; + color: #ffffff; +} + +div.related a { + color: #ffffff; +} + +div.sphinxsidebar { +} + +div.sphinxsidebar h3 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.4em; + font-weight: normal; + margin: 0; + padding: 0; +} + +div.sphinxsidebar h3 a { + color: #ffffff; +} + +div.sphinxsidebar h4 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.3em; + font-weight: normal; + margin: 5px 0 0 0; + padding: 0; +} + +div.sphinxsidebar p { + color: #ffffff; +} + +div.sphinxsidebar p.topless { + margin: 5px 10px 10px 10px; +} + +div.sphinxsidebar ul { + margin: 10px; + padding: 0; + color: #ffffff; +} + +div.sphinxsidebar a { + color: #98dbcc; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + + + +/* -- hyperlink styles ------------------------------------------------------ */ + +a { + color: #355f7c; + text-decoration: none; +} + +a:visited { + color: #355f7c; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + + + +/* -- body styles ----------------------------------------------------------- */ + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: 'Trebuchet MS', sans-serif; + background-color: #f2f2f2; + font-weight: normal; + color: #20435c; + border-bottom: 1px solid #ccc; + margin: 20px -20px 10px -20px; + padding: 3px 0 3px 10px; +} + +div.body h1 { margin-top: 0; font-size: 200%; } +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #c60f0f; + font-size: 0.8em; + padding: 0 4px 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + background-color: #c60f0f; + color: white; +} + +div.body p, div.body dd, div.body li { + text-align: justify; + line-height: 130%; +} + +div.admonition p.admonition-title + p { + display: inline; +} + +div.admonition p { + margin-bottom: 5px; +} + +div.admonition pre { + margin-bottom: 5px; +} + +div.admonition ul, div.admonition ol { + margin-bottom: 5px; +} + +div.note { + background-color: #eee; + border: 1px solid #ccc; +} + +div.seealso { + background-color: #ffc; + border: 1px solid #ff6; +} + +div.topic { + background-color: #eee; +} + +div.warning { + background-color: #ffe4e4; + border: 1px solid #f66; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre { + padding: 5px; + background-color: #eeffcc; + color: #333333; + line-height: 120%; + border: 1px solid #ac9; + border-left: none; + border-right: none; +} + +tt { + background-color: #ecf0f3; + padding: 0 1px 0 1px; + font-size: 0.95em; +} + +th { + background-color: #ede; +} + +.warning tt { + background: #efc2c2; +} + +.note tt { + background: #d6d6d6; +} + +.viewcode-back { + font-family: sans-serif; +} + +div.viewcode-block:target { + background-color: #f4debf; + border-top: 1px solid #ac9; + border-bottom: 1px solid #ac9; +} \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/doctools.js b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/doctools.js new file mode 100644 index 0000000..c5455c9 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/doctools.js @@ -0,0 +1,238 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s == 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node) { + if (node.nodeType == 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this); + }); + } + } + return this.each(function() { + highlight(this); + }); +}; + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down-pressed.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down-pressed.png new file mode 100644 index 0000000..6f7ad78 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down-pressed.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down.png new file mode 100644 index 0000000..3003a88 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/down.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/file.png b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/file.png new file mode 100644 index 0000000..d18082e Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/file.png differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/jquery.js b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/jquery.js new file mode 100644 index 0000000..25e1e33 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/_static/jquery.js @@ -0,0 +1,9404 @@ +/*! + * jQuery JavaScript Library v1.7.2 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Aug 1 23:20:30 BRT 2013 + */ +(function( window, undefined ) { + +// Use the correct document accordingly with window argument (sandbox) +var document = window.document, + navigator = window.navigator, + location = window.location; +var jQuery = (function() { + +// Define a local copy of jQuery +var jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // A central reference to the root jQuery(document) + rootjQuery, + + // A simple way to check for HTML strings or ID strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, + + // Check if a string has a non-whitespace character in it + rnotwhite = /\S/, + + // Used for trimming whitespace + trimLeft = /^\s+/, + trimRight = /\s+$/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, + rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + + // Useragent RegExp + rwebkit = /(webkit)[ \/]([\w.]+)/, + ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, + rmsie = /(msie) ([\w.]+)/, + rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, + + // Matches dashed string for camelizing + rdashAlpha = /-([a-z]|[0-9])/ig, + rmsPrefix = /^-ms-/, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return ( letter + "" ).toUpperCase(); + }, + + // Keep a UserAgent string for use with jQuery.browser + userAgent = navigator.userAgent, + + // For matching the engine and version of the browser + browserMatch, + + // The deferred used on DOM ready + readyList, + + // The ready event handler + DOMContentLoaded, + + // Save a reference to some core methods + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + push = Array.prototype.push, + slice = Array.prototype.slice, + trim = String.prototype.trim, + indexOf = Array.prototype.indexOf, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), or $(undefined) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // The body element only exists once, optimize finding it + if ( selector === "body" && !context && document.body ) { + this.context = document; + this[0] = document.body; + this.selector = selector; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + // Are we dealing with HTML string or an ID? + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = quickExpr.exec( selector ); + } + + // Verify a match, and that no context was specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + doc = ( context ? context.ownerDocument || context : document ); + + // If a single string is passed in and it's a single tag + // just do a createElement and skip the rest + ret = rsingleTag.exec( selector ); + + if ( ret ) { + if ( jQuery.isPlainObject( context ) ) { + selector = [ document.createElement( ret[1] ) ]; + jQuery.fn.attr.call( selector, context, true ); + + } else { + selector = [ doc.createElement( ret[1] ) ]; + } + + } else { + ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); + selector = ( ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment ).childNodes; + } + + return jQuery.merge( this, selector ); + + // HANDLE: $("#id") + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.7.2", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return slice.call( this, 0 ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + // Build a new jQuery matched element set + var ret = this.constructor(); + + if ( jQuery.isArray( elems ) ) { + push.apply( ret, elems ); + + } else { + jQuery.merge( ret, elems ); + } + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + ( this.selector ? " " : "" ) + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Attach the listeners + jQuery.bindReady(); + + // Add the callback + readyList.add( fn ); + + return this; + }, + + eq: function( i ) { + i = +i; + return i === -1 ? + this.slice( i ) : + this.slice( i, i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ), + "slice", slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + // Either a released hold or an DOMready/load event and not yet ready + if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.fireWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger( "ready" ).off( "ready" ); + } + } + }, + + bindReady: function() { + if ( readyList ) { + return; + } + + readyList = jQuery.Callbacks( "once memory" ); + + // Catch cases where $(document).ready() is called after the + // browser event has already occurred. + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + return setTimeout( jQuery.ready, 1 ); + } + + // Mozilla, Opera and webkit nightlies currently support this event + if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else if ( document.attachEvent ) { + // ensure firing before onload, + // maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", DOMContentLoaded ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var toplevel = false; + + try { + toplevel = window.frameElement == null; + } catch(e) {} + + if ( document.documentElement.doScroll && toplevel ) { + doScrollCheck(); + } + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + for ( var name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + parseJSON: function( data ) { + if ( typeof data !== "string" || !data ) { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + + } + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + if ( typeof data !== "string" || !data ) { + return null; + } + var xml, tmp; + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && rnotwhite.test( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); + }, + + // args is for internal usage only + each: function( object, callback, args ) { + var name, i = 0, + length = object.length, + isObj = length === undefined || jQuery.isFunction( object ); + + if ( args ) { + if ( isObj ) { + for ( name in object ) { + if ( callback.apply( object[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( object[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in object ) { + if ( callback.call( object[ name ], name, object[ name ] ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) { + break; + } + } + } + } + + return object; + }, + + // Use native String.trim function wherever possible + trim: trim ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); + }, + + // results is for internal usage only + makeArray: function( array, results ) { + var ret = results || []; + + if ( array != null ) { + // The window, strings (and functions) also have 'length' + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + var type = jQuery.type( array ); + + if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { + push.call( ret, array ); + } else { + jQuery.merge( ret, array ); + } + } + + return ret; + }, + + inArray: function( elem, array, i ) { + var len; + + if ( array ) { + if ( indexOf ) { + return indexOf.call( array, elem, i ); + } + + len = array.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in array && array[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var i = first.length, + j = 0; + + if ( typeof second.length === "number" ) { + for ( var l = second.length; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var ret = [], retVal; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( var i = 0, length = elems.length; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, key, ret = [], + i = 0, + length = elems.length, + // jquery objects are treated as arrays + isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( key in elems ) { + value = callback( elems[ key ], key, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + if ( typeof context === "string" ) { + var tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + var args = slice.call( arguments, 2 ), + proxy = function() { + return fn.apply( context, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; + + return proxy; + }, + + // Mutifunctional method to get and set values to a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, pass ) { + var exec, + bulk = key == null, + i = 0, + length = elems.length; + + // Sets many values + if ( key && typeof key === "object" ) { + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], 1, emptyGet, value ); + } + chainable = 1; + + // Sets one value + } else if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = pass === undefined && jQuery.isFunction( value ); + + if ( bulk ) { + // Bulk operations only iterate when executing function values + if ( exec ) { + exec = fn; + fn = function( elem, key, value ) { + return exec.call( jQuery( elem ), value ); + }; + + // Otherwise they run against the entire set + } else { + fn.call( elems, value ); + fn = null; + } + } + + if ( fn ) { + for (; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + } + + chainable = 1; + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + }, + + // Use of jQuery.browser is frowned upon. + // More details: http://docs.jquery.com/Utilities/jQuery.browser + uaMatch: function( ua ) { + ua = ua.toLowerCase(); + + var match = rwebkit.exec( ua ) || + ropera.exec( ua ) || + rmsie.exec( ua ) || + ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || + []; + + return { browser: match[1] || "", version: match[2] || "0" }; + }, + + sub: function() { + function jQuerySub( selector, context ) { + return new jQuerySub.fn.init( selector, context ); + } + jQuery.extend( true, jQuerySub, this ); + jQuerySub.superclass = this; + jQuerySub.fn = jQuerySub.prototype = this(); + jQuerySub.fn.constructor = jQuerySub; + jQuerySub.sub = this.sub; + jQuerySub.fn.init = function init( selector, context ) { + if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { + context = jQuerySub( context ); + } + + return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); + }; + jQuerySub.fn.init.prototype = jQuerySub.fn; + var rootjQuerySub = jQuerySub(document); + return jQuerySub; + }, + + browser: {} +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +browserMatch = jQuery.uaMatch( userAgent ); +if ( browserMatch.browser ) { + jQuery.browser[ browserMatch.browser ] = true; + jQuery.browser.version = browserMatch.version; +} + +// Deprecated, use jQuery.browser.webkit instead +if ( jQuery.browser.webkit ) { + jQuery.browser.safari = true; +} + +// IE doesn't match non-breaking spaces with \s +if ( rnotwhite.test( "\xA0" ) ) { + trimLeft = /^[\s\xA0]+/; + trimRight = /[\s\xA0]+$/; +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); + +// Cleanup functions for the document ready method +if ( document.addEventListener ) { + DOMContentLoaded = function() { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + }; + +} else if ( document.attachEvent ) { + DOMContentLoaded = function() { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( document.readyState === "complete" ) { + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }; +} + +// The DOM ready check for Internet Explorer +function doScrollCheck() { + if ( jQuery.isReady ) { + return; + } + + try { + // If IE is used, use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + document.documentElement.doScroll("left"); + } catch(e) { + setTimeout( doScrollCheck, 1 ); + return; + } + + // and execute any waiting functions + jQuery.ready(); +} + +return jQuery; + +})(); + + +// String to Object flags format cache +var flagsCache = {}; + +// Convert String-formatted flags into Object-formatted ones and store in cache +function createFlags( flags ) { + var object = flagsCache[ flags ] = {}, + i, length; + flags = flags.split( /\s+/ ); + for ( i = 0, length = flags.length; i < length; i++ ) { + object[ flags[i] ] = true; + } + return object; +} + +/* + * Create a callback list using the following parameters: + * + * flags: an optional list of space-separated flags that will change how + * the callback list behaves + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible flags: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( flags ) { + + // Convert flags from String-formatted to Object-formatted + // (we check in cache first) + flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {}; + + var // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = [], + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // Flag to know if list is currently firing + firing, + // First callback to fire (used internally by add and fireWith) + firingStart, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // Add one or several callbacks to the list + add = function( args ) { + var i, + length, + elem, + type, + actual; + for ( i = 0, length = args.length; i < length; i++ ) { + elem = args[ i ]; + type = jQuery.type( elem ); + if ( type === "array" ) { + // Inspect recursively + add( elem ); + } else if ( type === "function" ) { + // Add if not in unique mode and callback is not in + if ( !flags.unique || !self.has( elem ) ) { + list.push( elem ); + } + } + } + }, + // Fire callbacks + fire = function( context, args ) { + args = args || []; + memory = !flags.memory || [ context, args ]; + fired = true; + firing = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( context, args ) === false && flags.stopOnFalse ) { + memory = true; // Mark as halted + break; + } + } + firing = false; + if ( list ) { + if ( !flags.once ) { + if ( stack && stack.length ) { + memory = stack.shift(); + self.fireWith( memory[ 0 ], memory[ 1 ] ); + } + } else if ( memory === true ) { + self.disable(); + } else { + list = []; + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + var length = list.length; + add( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away, unless previous + // firing was halted (stopOnFalse) + } else if ( memory && memory !== true ) { + firingStart = length; + fire( memory[ 0 ], memory[ 1 ] ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + var args = arguments, + argIndex = 0, + argLength = args.length; + for ( ; argIndex < argLength ; argIndex++ ) { + for ( var i = 0; i < list.length; i++ ) { + if ( args[ argIndex ] === list[ i ] ) { + // Handle firingIndex and firingLength + if ( firing ) { + if ( i <= firingLength ) { + firingLength--; + if ( i <= firingIndex ) { + firingIndex--; + } + } + } + // Remove the element + list.splice( i--, 1 ); + // If we have some unicity property then + // we only need to do this once + if ( flags.unique ) { + break; + } + } + } + } + } + return this; + }, + // Control if a given callback is in the list + has: function( fn ) { + if ( list ) { + var i = 0, + length = list.length; + for ( ; i < length; i++ ) { + if ( fn === list[ i ] ) { + return true; + } + } + } + return false; + }, + // Remove all callbacks from the list + empty: function() { + list = []; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory || memory === true ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( stack ) { + if ( firing ) { + if ( !flags.once ) { + stack.push( [ context, args ] ); + } + } else if ( !( flags.once && memory ) ) { + fire( context, args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + + + +var // Static reference to slice + sliceDeferred = [].slice; + +jQuery.extend({ + + Deferred: function( func ) { + var doneList = jQuery.Callbacks( "once memory" ), + failList = jQuery.Callbacks( "once memory" ), + progressList = jQuery.Callbacks( "memory" ), + state = "pending", + lists = { + resolve: doneList, + reject: failList, + notify: progressList + }, + promise = { + done: doneList.add, + fail: failList.add, + progress: progressList.add, + + state: function() { + return state; + }, + + // Deprecated + isResolved: doneList.fired, + isRejected: failList.fired, + + then: function( doneCallbacks, failCallbacks, progressCallbacks ) { + deferred.done( doneCallbacks ).fail( failCallbacks ).progress( progressCallbacks ); + return this; + }, + always: function() { + deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments ); + return this; + }, + pipe: function( fnDone, fnFail, fnProgress ) { + return jQuery.Deferred(function( newDefer ) { + jQuery.each( { + done: [ fnDone, "resolve" ], + fail: [ fnFail, "reject" ], + progress: [ fnProgress, "notify" ] + }, function( handler, data ) { + var fn = data[ 0 ], + action = data[ 1 ], + returned; + if ( jQuery.isFunction( fn ) ) { + deferred[ handler ](function() { + returned = fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise().then( newDefer.resolve, newDefer.reject, newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] ); + } + }); + } else { + deferred[ handler ]( newDefer[ action ] ); + } + }); + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + if ( obj == null ) { + obj = promise; + } else { + for ( var key in promise ) { + obj[ key ] = promise[ key ]; + } + } + return obj; + } + }, + deferred = promise.promise({}), + key; + + for ( key in lists ) { + deferred[ key ] = lists[ key ].fire; + deferred[ key + "With" ] = lists[ key ].fireWith; + } + + // Handle state + deferred.done( function() { + state = "resolved"; + }, failList.disable, progressList.lock ).fail( function() { + state = "rejected"; + }, doneList.disable, progressList.lock ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( firstParam ) { + var args = sliceDeferred.call( arguments, 0 ), + i = 0, + length = args.length, + pValues = new Array( length ), + count = length, + pCount = length, + deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ? + firstParam : + jQuery.Deferred(), + promise = deferred.promise(); + function resolveFunc( i ) { + return function( value ) { + args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; + if ( !( --count ) ) { + deferred.resolveWith( deferred, args ); + } + }; + } + function progressFunc( i ) { + return function( value ) { + pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; + deferred.notifyWith( promise, pValues ); + }; + } + if ( length > 1 ) { + for ( ; i < length; i++ ) { + if ( args[ i ] && args[ i ].promise && jQuery.isFunction( args[ i ].promise ) ) { + args[ i ].promise().then( resolveFunc(i), deferred.reject, progressFunc(i) ); + } else { + --count; + } + } + if ( !count ) { + deferred.resolveWith( deferred, args ); + } + } else if ( deferred !== firstParam ) { + deferred.resolveWith( deferred, length ? [ firstParam ] : [] ); + } + return promise; + } +}); + + + + +jQuery.support = (function() { + + var support, + all, + a, + select, + opt, + input, + fragment, + tds, + events, + eventName, + i, + isSupported, + div = document.createElement( "div" ), + documentElement = document.documentElement; + + // Preliminary tests + div.setAttribute("className", "t"); + div.innerHTML = "
a"; + + all = div.getElementsByTagName( "*" ); + a = div.getElementsByTagName( "a" )[ 0 ]; + + // Can't get basic test support + if ( !all || !all.length || !a ) { + return {}; + } + + // First batch of supports tests + select = document.createElement( "select" ); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName( "input" )[ 0 ]; + + support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: ( div.firstChild.nodeType === 3 ), + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText instead) + style: /top/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: ( a.getAttribute("href") === "/a" ), + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.55/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: ( input.value === "on" ), + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + getSetAttribute: div.className !== "t", + + // Tests for enctype support on a form(#6743) + enctype: !!document.createElement("form").enctype, + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", + + // Will be defined later + submitBubbles: true, + changeBubbles: true, + focusinBubbles: false, + deleteExpando: true, + noCloneEvent: true, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableMarginRight: true, + pixelMargin: true + }; + + // jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead + jQuery.boxModel = support.boxModel = (document.compatMode === "CSS1Compat"); + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { + div.attachEvent( "onclick", function() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + support.noCloneEvent = false; + }); + div.cloneNode( true ).fireEvent( "onclick" ); + } + + // Check if a radio maintains its value + // after being appended to the DOM + input = document.createElement("input"); + input.value = "t"; + input.setAttribute("type", "radio"); + support.radioValue = input.value === "t"; + + input.setAttribute("checked", "checked"); + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + fragment = document.createDocumentFragment(); + fragment.appendChild( div.lastChild ); + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + fragment.removeChild( input ); + fragment.appendChild( div ); + + // Technique from Juriy Zaytsev + // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/ + // We only care about the case where non-standard event systems + // are used, namely in IE. Short-circuiting here helps us to + // avoid an eval call (in setAttribute) which can cause CSP + // to go haywire. See: https://developer.mozilla.org/en/Security/CSP + if ( div.attachEvent ) { + for ( i in { + submit: 1, + change: 1, + focusin: 1 + }) { + eventName = "on" + i; + isSupported = ( eventName in div ); + if ( !isSupported ) { + div.setAttribute( eventName, "return;" ); + isSupported = ( typeof div[ eventName ] === "function" ); + } + support[ i + "Bubbles" ] = isSupported; + } + } + + fragment.removeChild( div ); + + // Null elements to avoid leaks in IE + fragment = select = opt = div = input = null; + + // Run tests that need a body at doc ready + jQuery(function() { + var container, outer, inner, table, td, offsetSupport, + marginDiv, conMarginTop, style, html, positionTopLeftWidthHeight, + paddingMarginBorderVisibility, paddingMarginBorder, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + conMarginTop = 1; + paddingMarginBorder = "padding:0;margin:0;border:"; + positionTopLeftWidthHeight = "position:absolute;top:0;left:0;width:1px;height:1px;"; + paddingMarginBorderVisibility = paddingMarginBorder + "0;visibility:hidden;"; + style = "style='" + positionTopLeftWidthHeight + paddingMarginBorder + "5px solid #000;"; + html = "
" + + "" + + "
"; + + container = document.createElement("div"); + container.style.cssText = paddingMarginBorderVisibility + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px"; + body.insertBefore( container, body.firstChild ); + + // Construct the test element + div = document.createElement("div"); + container.appendChild( div ); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + div.innerHTML = "
t
"; + tds = div.getElementsByTagName( "td" ); + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE <= 8 fail this test) + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. For more + // info see bug #3333 + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + if ( window.getComputedStyle ) { + div.innerHTML = ""; + marginDiv = document.createElement( "div" ); + marginDiv.style.width = "0"; + marginDiv.style.marginRight = "0"; + div.style.width = "2px"; + div.appendChild( marginDiv ); + support.reliableMarginRight = + ( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0; + } + + if ( typeof div.style.zoom !== "undefined" ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.innerHTML = ""; + div.style.width = div.style.padding = "1px"; + div.style.border = 0; + div.style.overflow = "hidden"; + div.style.display = "inline"; + div.style.zoom = 1; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = "block"; + div.style.overflow = "visible"; + div.innerHTML = "
"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + } + + div.style.cssText = positionTopLeftWidthHeight + paddingMarginBorderVisibility; + div.innerHTML = html; + + outer = div.firstChild; + inner = outer.firstChild; + td = outer.nextSibling.firstChild.firstChild; + + offsetSupport = { + doesNotAddBorder: ( inner.offsetTop !== 5 ), + doesAddBorderForTableAndCells: ( td.offsetTop === 5 ) + }; + + inner.style.position = "fixed"; + inner.style.top = "20px"; + + // safari subtracts parent border width here which is 5px + offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 ); + inner.style.position = inner.style.top = ""; + + outer.style.overflow = "hidden"; + outer.style.position = "relative"; + + offsetSupport.subtractsBorderForOverflowNotVisible = ( inner.offsetTop === -5 ); + offsetSupport.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== conMarginTop ); + + if ( window.getComputedStyle ) { + div.style.marginTop = "1%"; + support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%"; + } + + if ( typeof container.style.zoom !== "undefined" ) { + container.style.zoom = 1; + } + + body.removeChild( container ); + marginDiv = div = container = null; + + jQuery.extend( support, offsetSupport ); + }); + + return support; +})(); + + + + +var rbrace = /^(?:{.*}|\[.*\])$/, + rmultiDash = /([A-Z])/g; + +jQuery.extend({ + cache: {}, + + // Please use with caution + uuid: 0, + + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var privateCache, thisCache, ret, + internalKey = jQuery.expando, + getByName = typeof name === "string", + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey, + isEvents = name === "events"; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + elem[ internalKey ] = id = ++jQuery.uuid; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + cache[ id ] = {}; + + // Avoids exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + privateCache = thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Users should not attempt to inspect the internal events object using jQuery.data, + // it is undocumented and subject to change. But does anyone listen? No. + if ( isEvents && !thisCache[ name ] ) { + return privateCache.events; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( getByName ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; + }, + + removeData: function( elem, name, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, l, + + // Reference to internal data cache key + internalKey = jQuery.expando, + + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + + // See jQuery.data for more information + id = isNode ? elem[ internalKey ] : internalKey; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split( " " ); + } + } + } + + for ( i = 0, l = name.length; i < l; i++ ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject(cache[ id ]) ) { + return; + } + } + + // Browsers that fail expando deletion also refuse to delete expandos on + // the window, but it will allow it on all other JS objects; other browsers + // don't care + // Ensure that `cache` is not a window object #10080 + if ( jQuery.support.deleteExpando || !cache.setInterval ) { + delete cache[ id ]; + } else { + cache[ id ] = null; + } + + // We destroyed the cache and need to eliminate the expando on the node to avoid + // false lookups in the cache for entries that no longer exist + if ( isNode ) { + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( jQuery.support.deleteExpando ) { + delete elem[ internalKey ]; + } else if ( elem.removeAttribute ) { + elem.removeAttribute( internalKey ); + } else { + elem[ internalKey ] = null; + } + } + }, + + // For internal use only. + _data: function( elem, name, data ) { + return jQuery.data( elem, name, data, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + if ( elem.nodeName ) { + var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; + + if ( match ) { + return !(match === true || elem.getAttribute("classid") !== match); + } + } + + return true; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var parts, part, attr, name, l, + elem = this[0], + i = 0, + data = null; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attr = elem.attributes; + for ( l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.substring(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + parts = key.split( ".", 2 ); + parts[1] = parts[1] ? "." + parts[1] : ""; + part = parts[1] + "!"; + + return jQuery.access( this, function( value ) { + + if ( value === undefined ) { + data = this.triggerHandler( "getData" + part, [ parts[0] ] ); + + // Try to fetch any internally stored data first + if ( data === undefined && elem ) { + data = jQuery.data( elem, key ); + data = dataAttr( elem, key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + } + + parts[1] = value; + this.each(function() { + var self = jQuery( this ); + + self.triggerHandler( "setData" + part, parts ); + jQuery.data( this, key, value ); + self.triggerHandler( "changeData" + part, parts ); + }); + }, null, value, arguments.length > 1, null, false ); + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + jQuery.isNumeric( data ) ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + for ( var name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + + + + +function handleQueueMarkDefer( elem, type, src ) { + var deferDataKey = type + "defer", + queueDataKey = type + "queue", + markDataKey = type + "mark", + defer = jQuery._data( elem, deferDataKey ); + if ( defer && + ( src === "queue" || !jQuery._data(elem, queueDataKey) ) && + ( src === "mark" || !jQuery._data(elem, markDataKey) ) ) { + // Give room for hard-coded callbacks to fire first + // and eventually mark/queue something else on the element + setTimeout( function() { + if ( !jQuery._data( elem, queueDataKey ) && + !jQuery._data( elem, markDataKey ) ) { + jQuery.removeData( elem, deferDataKey, true ); + defer.fire(); + } + }, 0 ); + } +} + +jQuery.extend({ + + _mark: function( elem, type ) { + if ( elem ) { + type = ( type || "fx" ) + "mark"; + jQuery._data( elem, type, (jQuery._data( elem, type ) || 0) + 1 ); + } + }, + + _unmark: function( force, elem, type ) { + if ( force !== true ) { + type = elem; + elem = force; + force = false; + } + if ( elem ) { + type = type || "fx"; + var key = type + "mark", + count = force ? 0 : ( (jQuery._data( elem, key ) || 1) - 1 ); + if ( count ) { + jQuery._data( elem, key, count ); + } else { + jQuery.removeData( elem, key, true ); + handleQueueMarkDefer( elem, type, "mark" ); + } + } + }, + + queue: function( elem, type, data ) { + var q; + if ( elem ) { + type = ( type || "fx" ) + "queue"; + q = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !q || jQuery.isArray(data) ) { + q = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + q.push( data ); + } + } + return q || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + fn = queue.shift(), + hooks = {}; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + } + + if ( fn ) { + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + jQuery._data( elem, type + ".run", hooks ); + fn.call( elem, function() { + jQuery.dequeue( elem, type ); + }, hooks ); + } + + if ( !queue.length ) { + jQuery.removeData( elem, type + "queue " + type + ".run", true ); + handleQueueMarkDefer( elem, type, "queue" ); + } + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, object ) { + if ( typeof type !== "string" ) { + object = type; + type = undefined; + } + type = type || "fx"; + var defer = jQuery.Deferred(), + elements = this, + i = elements.length, + count = 1, + deferDataKey = type + "defer", + queueDataKey = type + "queue", + markDataKey = type + "mark", + tmp; + function resolve() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + } + while( i-- ) { + if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) || + ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) || + jQuery.data( elements[ i ], markDataKey, undefined, true ) ) && + jQuery.data( elements[ i ], deferDataKey, jQuery.Callbacks( "once memory" ), true ) )) { + count++; + tmp.add( resolve ); + } + } + resolve(); + return defer.promise( object ); + } +}); + + + + +var rclass = /[\n\t\r]/g, + rspace = /\s+/, + rreturn = /\r/g, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea)?$/i, + rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute, + nodeHook, boolHook, fixSpecified; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classNames, i, l, elem, + setClass, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call(this, j, this.className) ); + }); + } + + if ( value && typeof value === "string" ) { + classNames = value.split( rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className && classNames.length === 1 ) { + elem.className = value; + + } else { + setClass = " " + elem.className + " "; + + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) { + setClass += classNames[ c ] + " "; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classNames, i, l, elem, className, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call(this, j, this.className) ); + }); + } + + if ( (value && typeof value === "string") || value === undefined ) { + classNames = ( value || "" ).split( rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 && elem.className ) { + if ( value ) { + className = (" " + elem.className + " ").replace( rclass, " " ); + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + className = className.replace(" " + classNames[ c ] + " ", " "); + } + elem.className = jQuery.trim( className ); + + } else { + elem.className = ""; + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( rspace ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space seperated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var hooks, ret, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var self = jQuery(this), val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, self.val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + }, + select: { + get: function( elem ) { + var value, i, max, option, + index = elem.selectedIndex, + values = [], + options = elem.options, + one = elem.type === "select-one"; + + // Nothing was selected + if ( index < 0 ) { + return null; + } + + // Loop through all the selected options + i = one ? index : 0; + max = one ? index + 1 : options.length; + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Don't return options that are disabled or in a disabled optgroup + if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && + (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + // Fixes Bug #2551 -- select.val() broken in IE after form.reset() + if ( one && !values.length && options.length ) { + return jQuery( options[ index ] ).val(); + } + + return values; + }, + + set: function( elem, value ) { + var values = jQuery.makeArray( value ); + + jQuery(elem).find("option").each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + attrFn: { + val: true, + css: true, + html: true, + text: true, + data: true, + width: true, + height: true, + offset: true + }, + + attr: function( elem, name, value, pass ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( pass && name in jQuery.attrFn ) { + return jQuery( elem )[ name ]( value ); + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( notxml ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + + } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, "" + value ); + return value; + } + + } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + + ret = elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return ret === null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var propName, attrNames, name, l, isBool, + i = 0; + + if ( value && elem.nodeType === 1 ) { + attrNames = value.toLowerCase().split( rspace ); + l = attrNames.length; + + for ( ; i < l; i++ ) { + name = attrNames[ i ]; + + if ( name ) { + propName = jQuery.propFix[ name ] || name; + isBool = rboolean.test( name ); + + // See #9699 for explanation of this approach (setting first, then removal) + // Do not do this for boolean attributes (see #10870) + if ( !isBool ) { + jQuery.attr( elem, name, "" ); + } + elem.removeAttribute( getSetAttribute ? name : propName ); + + // Set corresponding property to false for boolean attributes + if ( isBool && propName in elem ) { + elem[ propName ] = false; + } + } + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to it's default in case type is set after value + // This is for element creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + }, + // Use the value property for back compat + // Use the nodeHook for button elements in IE6/7 (#1954) + value: { + get: function( elem, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.get( elem, name ); + } + return name in elem ? + elem.value : + null; + }, + set: function( elem, value, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.set( elem, value, name ); + } + // Does not return so that setAttribute is also used + elem.value = value; + } + } + }, + + propFix: { + tabindex: "tabIndex", + readonly: "readOnly", + "for": "htmlFor", + "class": "className", + maxlength: "maxLength", + cellspacing: "cellSpacing", + cellpadding: "cellPadding", + rowspan: "rowSpan", + colspan: "colSpan", + usemap: "useMap", + frameborder: "frameBorder", + contenteditable: "contentEditable" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + return ( elem[ name ] = value ); + } + + } else { + if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + return elem[ name ]; + } + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + var attributeNode = elem.getAttributeNode("tabindex"); + + return attributeNode && attributeNode.specified ? + parseInt( attributeNode.value, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + } + } +}); + +// Add the tabIndex propHook to attrHooks for back-compat (different case is intentional) +jQuery.attrHooks.tabindex = jQuery.propHooks.tabIndex; + +// Hook for boolean attributes +boolHook = { + get: function( elem, name ) { + // Align boolean attributes with corresponding properties + // Fall back to attribute presence where some booleans are not supported + var attrNode, + property = jQuery.prop( elem, name ); + return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ? + name.toLowerCase() : + undefined; + }, + set: function( elem, value, name ) { + var propName; + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + // value is true since we know at this point it's type boolean and not false + // Set boolean attributes to the same name and set the DOM property + propName = jQuery.propFix[ name ] || name; + if ( propName in elem ) { + // Only set the IDL specifically if it already exists on the element + elem[ propName ] = true; + } + + elem.setAttribute( name, name.toLowerCase() ); + } + return name; + } +}; + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + fixSpecified = { + name: true, + id: true, + coords: true + }; + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = jQuery.valHooks.button = { + get: function( elem, name ) { + var ret; + ret = elem.getAttributeNode( name ); + return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ? + ret.nodeValue : + undefined; + }, + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + ret = document.createAttribute( name ); + elem.setAttributeNode( ret ); + } + return ( ret.nodeValue = value + "" ); + } + }; + + // Apply the nodeHook to tabindex + jQuery.attrHooks.tabindex.set = nodeHook.set; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }); + }); + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + get: nodeHook.get, + set: function( elem, value, name ) { + if ( value === "" ) { + value = "false"; + } + nodeHook.set( elem, value, name ); + } + }; +} + + +// Some attributes require a special call on IE +if ( !jQuery.support.hrefNormalized ) { + jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + get: function( elem ) { + var ret = elem.getAttribute( name, 2 ); + return ret === null ? undefined : ret; + } + }); + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Normalize to lowercase since IE uppercases css property names + return elem.style.cssText.toLowerCase() || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = "" + value ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }); +} + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +if ( !jQuery.support.checkOn ) { + jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + get: function( elem ) { + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + } + }; + }); +} +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }); +}); + + + + +var rformElems = /^(?:textarea|input|select)$/i, + rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/, + rhoverHack = /(?:^|\s)hover(\.\S+)?\b/, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rquickIs = /^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/, + quickParse = function( selector ) { + var quick = rquickIs.exec( selector ); + if ( quick ) { + // 0 1 2 3 + // [ _, tag, id, class ] + quick[1] = ( quick[1] || "" ).toLowerCase(); + quick[3] = quick[3] && new RegExp( "(?:^|\\s)" + quick[3] + "(?:\\s|$)" ); + } + return quick; + }, + quickIs = function( elem, m ) { + var attrs = elem.attributes || {}; + return ( + (!m[1] || elem.nodeName.toLowerCase() === m[1]) && + (!m[2] || (attrs.id || {}).value === m[2]) && + (!m[3] || m[3].test( (attrs[ "class" ] || {}).value )) + ); + }, + hoverHack = function( events ) { + return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" ); + }; + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + add: function( elem, types, handler, data, selector ) { + + var elemData, eventHandle, events, + t, tns, type, namespaces, handleObj, + handleObjIn, quick, handlers, special; + + // Don't attach events to noData or text/comment nodes (allow plain objects tho) + if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + events = elemData.events; + if ( !events ) { + elemData.events = events = {}; + } + eventHandle = elemData.handle; + if ( !eventHandle ) { + elemData.handle = eventHandle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = jQuery.trim( hoverHack(types) ).split( " " ); + for ( t = 0; t < types.length; t++ ) { + + tns = rtypenamespace.exec( types[t] ) || []; + type = tns[1]; + namespaces = ( tns[2] || "" ).split( "." ).sort(); + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: tns[1], + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + quick: selector && quickParse( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + handlers = events[ type ]; + if ( !handlers ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var elemData = jQuery.hasData( elem ) && jQuery._data( elem ), + t, tns, type, origType, namespaces, origCount, + j, events, special, handle, eventType, handleObj; + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = jQuery.trim( hoverHack( types || "" ) ).split(" "); + for ( t = 0; t < types.length; t++ ) { + tns = rtypenamespace.exec( types[t] ) || []; + type = origType = tns[1]; + namespaces = tns[2]; + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector? special.delegateType : special.bindType ) || type; + eventType = events[ type ] || []; + origCount = eventType.length; + namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.)?") + "(\\.|$)") : null; + + // Remove matching events + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !namespaces || namespaces.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + eventType.splice( j--, 1 ); + + if ( handleObj.selector ) { + eventType.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( eventType.length === 0 && origCount !== eventType.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + handle = elemData.handle; + if ( handle ) { + handle.elem = null; + } + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery.removeData( elem, [ "events", "handle" ], true ); + } + }, + + // Events that are safe to short-circuit if no handlers are attached. + // Native DOM events should not be added, they may have inline handlers. + customEvent: { + "getData": true, + "setData": true, + "changeData": true + }, + + trigger: function( event, data, elem, onlyHandlers ) { + // Don't do events on text and comment nodes + if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) { + return; + } + + // Event object or event type + var type = event.type || event, + namespaces = [], + cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType; + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "!" ) >= 0 ) { + // Exclusive events trigger only for the exact event (no namespaces) + type = type.slice(0, -1); + exclusive = true; + } + + if ( type.indexOf( "." ) >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + + if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { + // No jQuery handlers for this event type, and it can't have inline handlers + return; + } + + // Caller can pass in an Event, Object, or just an event type string + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + new jQuery.Event( type, event ) : + // Just the event type (string) + new jQuery.Event( type ); + + event.type = type; + event.isTrigger = true; + event.exclusive = exclusive; + event.namespace = namespaces.join( "." ); + event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)") : null; + ontype = type.indexOf( ":" ) < 0 ? "on" + type : ""; + + // Handle a global trigger + if ( !elem ) { + + // TODO: Stop taunting the data cache; remove global events and always attach to document + cache = jQuery.cache; + for ( i in cache ) { + if ( cache[ i ].events && cache[ i ].events[ type ] ) { + jQuery.event.trigger( event, data, cache[ i ].handle.elem, true ); + } + } + return; + } + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data != null ? jQuery.makeArray( data ) : []; + data.unshift( event ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + eventPath = [[ elem, special.bindType || type ]]; + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode; + old = null; + for ( ; cur; cur = cur.parentNode ) { + eventPath.push([ cur, bubbleType ]); + old = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( old && old === elem.ownerDocument ) { + eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]); + } + } + + // Fire handlers on the event path + for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) { + + cur = eventPath[i][0]; + event.type = eventPath[i][1]; + + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + // Note that this is a bare JS function and not a jQuery handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && + !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + // IE<9 dies on focus/blur to hidden element (#1486) + if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + old = elem[ ontype ]; + + if ( old ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + elem[ type ](); + jQuery.event.triggered = undefined; + + if ( old ) { + elem[ ontype ] = old; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event || window.event ); + + var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []), + delegateCount = handlers.delegateCount, + args = [].slice.call( arguments, 0 ), + run_all = !event.exclusive && !event.namespace, + special = jQuery.event.special[ event.type ] || {}, + handlerQueue = [], + i, j, cur, jqcur, ret, selMatch, matched, matches, handleObj, sel, related; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers that should run if there are delegated events + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && !(event.button && event.type === "click") ) { + + // Pregenerate a single jQuery object for reuse with .is() + jqcur = jQuery(this); + jqcur.context = this.ownerDocument || this; + + for ( cur = event.target; cur != this; cur = cur.parentNode || this ) { + + // Don't process events on disabled elements (#6911, #8165) + if ( cur.disabled !== true ) { + selMatch = {}; + matches = []; + jqcur[0] = cur; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + sel = handleObj.selector; + + if ( selMatch[ sel ] === undefined ) { + selMatch[ sel ] = ( + handleObj.quick ? quickIs( cur, handleObj.quick ) : jqcur.is( sel ) + ); + } + if ( selMatch[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, matches: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( handlers.length > delegateCount ) { + handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) }); + } + + // Run delegates first; they may want to stop propagation beneath us + for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) { + matched = handlerQueue[ i ]; + event.currentTarget = matched.elem; + + for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) { + handleObj = matched.matches[ j ]; + + // Triggered event must either 1) be non-exclusive and have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) { + + event.data = handleObj.data; + event.handleObj = handleObj; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + // *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 *** + props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, + originalEvent = event, + fixHook = jQuery.event.fixHooks[ event.type ] || {}, + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = jQuery.Event( originalEvent ); + + for ( i = copy.length; i; ) { + prop = copy[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Target should not be a text node (#504, Safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // For mouse/key events; add metaKey if it's not there (#3368, IE6/7/8) + if ( event.metaKey === undefined ) { + event.metaKey = event.ctrlKey; + } + + return fixHook.filter? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + ready: { + // Make sure the ready event is setup + setup: jQuery.bindReady + }, + + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + + focus: { + delegateType: "focusin" + }, + blur: { + delegateType: "focusout" + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +// Some plugins are using, but it's undocumented/deprecated and will be removed. +// The 1.7 special event interface should provide all the hooks needed now. +jQuery.event.handle = jQuery.event.dispatch; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + if ( elem.detachEvent ) { + elem.detachEvent( "on" + type, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var target = this, + related = event.relatedTarget, + handleObj = event.handleObj, + selector = handleObj.selector, + ret; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !form._submit_attached ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + form._submit_attached = true; + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + jQuery.event.simulate( "change", this, event, true ); + } + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !elem._change_attached ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + elem._change_attached = true; + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { // && selector != null + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + var handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( var type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + bind: function( types, data, fn ) { + return this.on( types, null, data, fn ); + }, + unbind: function( types, fn ) { + return this.off( types, null, fn ); + }, + + live: function( types, data, fn ) { + jQuery( this.context ).on( types, this.selector, data, fn ); + return this; + }, + die: function( types, fn ) { + jQuery( this.context ).off( types, this.selector || "**", fn ); + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.on( types, selector, data, fn ); + }, + undelegate: function( selector, types, fn ) { + // ( namespace ) or ( selector, types [, fn] ) + return arguments.length == 1? this.off( selector, "**" ) : this.off( types, selector, fn ); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + if ( this[0] ) { + return jQuery.event.trigger( type, data, this[0], true ); + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + guid = fn.guid || jQuery.guid++, + i = 0, + toggler = function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + }; + + // link all the functions, so any of them can unbind this click handler + toggler.guid = guid; + while ( i < args.length ) { + args[ i++ ].guid = guid; + } + + return this.click( toggler ); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.on( name, null, data, fn ) : + this.trigger( name ); + }; + + if ( jQuery.attrFn ) { + jQuery.attrFn[ name ] = true; + } + + if ( rkeyEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks; + } + + if ( rmouseEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks; + } +}); + + + +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){ + +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, + expando = "sizcache" + (Math.random() + '').replace('.', ''), + done = 0, + toString = Object.prototype.toString, + hasDuplicate = false, + baseHasDuplicate = true, + rBackslash = /\\/g, + rReturn = /\r\n/g, + rNonWord = /\W/; + +// Here we check if the JavaScript engine is using some sort of +// optimization where it does not always call our comparision +// function. If that is the case, discard the hasDuplicate value. +// Thus far that includes Google Chrome. +[0, 0].sort(function() { + baseHasDuplicate = false; + return 0; +}); + +var Sizzle = function( selector, context, results, seed ) { + results = results || []; + context = context || document; + + var origContext = context; + + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { + return []; + } + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + var m, set, checkSet, extra, ret, cur, pop, i, + prune = true, + contextXML = Sizzle.isXML( context ), + parts = [], + soFar = selector; + + // Reset the position of the chunker regexp (start from head) + do { + chunker.exec( "" ); + m = chunker.exec( soFar ); + + if ( m ) { + soFar = m[3]; + + parts.push( m[1] ); + + if ( m[2] ) { + extra = m[3]; + break; + } + } + } while ( m ); + + if ( parts.length > 1 && origPOS.exec( selector ) ) { + + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { + set = posProcess( parts[0] + parts[1], context, seed ); + + } else { + set = Expr.relative[ parts[0] ] ? + [ context ] : + Sizzle( parts.shift(), context ); + + while ( parts.length ) { + selector = parts.shift(); + + if ( Expr.relative[ selector ] ) { + selector += parts.shift(); + } + + set = posProcess( selector, set, seed ); + } + } + + } else { + // Take a shortcut and set the context if the root selector is an ID + // (but not if it'll be faster if the inner selector is an ID) + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { + + ret = Sizzle.find( parts.shift(), context, contextXML ); + context = ret.expr ? + Sizzle.filter( ret.expr, ret.set )[0] : + ret.set[0]; + } + + if ( context ) { + ret = seed ? + { expr: parts.pop(), set: makeArray(seed) } : + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); + + set = ret.expr ? + Sizzle.filter( ret.expr, ret.set ) : + ret.set; + + if ( parts.length > 0 ) { + checkSet = makeArray( set ); + + } else { + prune = false; + } + + while ( parts.length ) { + cur = parts.pop(); + pop = cur; + + if ( !Expr.relative[ cur ] ) { + cur = ""; + } else { + pop = parts.pop(); + } + + if ( pop == null ) { + pop = context; + } + + Expr.relative[ cur ]( checkSet, pop, contextXML ); + } + + } else { + checkSet = parts = []; + } + } + + if ( !checkSet ) { + checkSet = set; + } + + if ( !checkSet ) { + Sizzle.error( cur || selector ); + } + + if ( toString.call(checkSet) === "[object Array]" ) { + if ( !prune ) { + results.push.apply( results, checkSet ); + + } else if ( context && context.nodeType === 1 ) { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { + results.push( set[i] ); + } + } + + } else { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { + results.push( set[i] ); + } + } + } + + } else { + makeArray( checkSet, results ); + } + + if ( extra ) { + Sizzle( extra, origContext, results, seed ); + Sizzle.uniqueSort( results ); + } + + return results; +}; + +Sizzle.uniqueSort = function( results ) { + if ( sortOrder ) { + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( var i = 1; i < results.length; i++ ) { + if ( results[i] === results[ i - 1 ] ) { + results.splice( i--, 1 ); + } + } + } + } + + return results; +}; + +Sizzle.matches = function( expr, set ) { + return Sizzle( expr, null, null, set ); +}; + +Sizzle.matchesSelector = function( node, expr ) { + return Sizzle( expr, null, null, [node] ).length > 0; +}; + +Sizzle.find = function( expr, context, isXML ) { + var set, i, len, match, type, left; + + if ( !expr ) { + return []; + } + + for ( i = 0, len = Expr.order.length; i < len; i++ ) { + type = Expr.order[i]; + + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { + left = match[1]; + match.splice( 1, 1 ); + + if ( left.substr( left.length - 1 ) !== "\\" ) { + match[1] = (match[1] || "").replace( rBackslash, "" ); + set = Expr.find[ type ]( match, context, isXML ); + + if ( set != null ) { + expr = expr.replace( Expr.match[ type ], "" ); + break; + } + } + } + } + + if ( !set ) { + set = typeof context.getElementsByTagName !== "undefined" ? + context.getElementsByTagName( "*" ) : + []; + } + + return { set: set, expr: expr }; +}; + +Sizzle.filter = function( expr, set, inplace, not ) { + var match, anyFound, + type, found, item, filter, left, + i, pass, + old = expr, + result = [], + curLoop = set, + isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); + + while ( expr && set.length ) { + for ( type in Expr.filter ) { + if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { + filter = Expr.filter[ type ]; + left = match[1]; + + anyFound = false; + + match.splice(1,1); + + if ( left.substr( left.length - 1 ) === "\\" ) { + continue; + } + + if ( curLoop === result ) { + result = []; + } + + if ( Expr.preFilter[ type ] ) { + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); + + if ( !match ) { + anyFound = found = true; + + } else if ( match === true ) { + continue; + } + } + + if ( match ) { + for ( i = 0; (item = curLoop[i]) != null; i++ ) { + if ( item ) { + found = filter( item, match, i, curLoop ); + pass = not ^ found; + + if ( inplace && found != null ) { + if ( pass ) { + anyFound = true; + + } else { + curLoop[i] = false; + } + + } else if ( pass ) { + result.push( item ); + anyFound = true; + } + } + } + } + + if ( found !== undefined ) { + if ( !inplace ) { + curLoop = result; + } + + expr = expr.replace( Expr.match[ type ], "" ); + + if ( !anyFound ) { + return []; + } + + break; + } + } + } + + // Improper expression + if ( expr === old ) { + if ( anyFound == null ) { + Sizzle.error( expr ); + + } else { + break; + } + } + + old = expr; + } + + return curLoop; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Utility function for retreiving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +var getText = Sizzle.getText = function( elem ) { + var i, node, + nodeType = elem.nodeType, + ret = ""; + + if ( nodeType ) { + if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent || innerText for elements + if ( typeof elem.textContent === 'string' ) { + return elem.textContent; + } else if ( typeof elem.innerText === 'string' ) { + // Replace IE's carriage returns + return elem.innerText.replace( rReturn, '' ); + } else { + // Traverse it's children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + } else { + + // If no nodeType, this is expected to be an array + for ( i = 0; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + if ( node.nodeType !== 8 ) { + ret += getText( node ); + } + } + } + return ret; +}; + +var Expr = Sizzle.selectors = { + order: [ "ID", "NAME", "TAG" ], + + match: { + ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/, + TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, + CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, + PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ + }, + + leftMatch: {}, + + attrMap: { + "class": "className", + "for": "htmlFor" + }, + + attrHandle: { + href: function( elem ) { + return elem.getAttribute( "href" ); + }, + type: function( elem ) { + return elem.getAttribute( "type" ); + } + }, + + relative: { + "+": function(checkSet, part){ + var isPartStr = typeof part === "string", + isTag = isPartStr && !rNonWord.test( part ), + isPartStrNotTag = isPartStr && !isTag; + + if ( isTag ) { + part = part.toLowerCase(); + } + + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { + if ( (elem = checkSet[i]) ) { + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} + + checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? + elem || false : + elem === part; + } + } + + if ( isPartStrNotTag ) { + Sizzle.filter( part, checkSet, true ); + } + }, + + ">": function( checkSet, part ) { + var elem, + isPartStr = typeof part === "string", + i = 0, + l = checkSet.length; + + if ( isPartStr && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + var parent = elem.parentNode; + checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; + } + } + + } else { + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + checkSet[i] = isPartStr ? + elem.parentNode : + elem.parentNode === part; + } + } + + if ( isPartStr ) { + Sizzle.filter( part, checkSet, true ); + } + } + }, + + "": function(checkSet, part, isXML){ + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); + }, + + "~": function( checkSet, part, isXML ) { + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !rNonWord.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); + } + }, + + find: { + ID: function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }, + + NAME: function( match, context ) { + if ( typeof context.getElementsByName !== "undefined" ) { + var ret = [], + results = context.getElementsByName( match[1] ); + + for ( var i = 0, l = results.length; i < l; i++ ) { + if ( results[i].getAttribute("name") === match[1] ) { + ret.push( results[i] ); + } + } + + return ret.length === 0 ? null : ret; + } + }, + + TAG: function( match, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( match[1] ); + } + } + }, + preFilter: { + CLASS: function( match, curLoop, inplace, result, not, isXML ) { + match = " " + match[1].replace( rBackslash, "" ) + " "; + + if ( isXML ) { + return match; + } + + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { + if ( elem ) { + if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) { + if ( !inplace ) { + result.push( elem ); + } + + } else if ( inplace ) { + curLoop[i] = false; + } + } + } + + return false; + }, + + ID: function( match ) { + return match[1].replace( rBackslash, "" ); + }, + + TAG: function( match, curLoop ) { + return match[1].replace( rBackslash, "" ).toLowerCase(); + }, + + CHILD: function( match ) { + if ( match[1] === "nth" ) { + if ( !match[2] ) { + Sizzle.error( match[0] ); + } + + match[2] = match[2].replace(/^\+|\s*/g, ''); + + // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' + var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec( + match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); + + // calculate the numbers (first)n+(last) including if they are negative + match[2] = (test[1] + (test[2] || 1)) - 0; + match[3] = test[3] - 0; + } + else if ( match[2] ) { + Sizzle.error( match[0] ); + } + + // TODO: Move to normal caching system + match[0] = done++; + + return match; + }, + + ATTR: function( match, curLoop, inplace, result, not, isXML ) { + var name = match[1] = match[1].replace( rBackslash, "" ); + + if ( !isXML && Expr.attrMap[name] ) { + match[1] = Expr.attrMap[name]; + } + + // Handle if an un-quoted value was used + match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" ); + + if ( match[2] === "~=" ) { + match[4] = " " + match[4] + " "; + } + + return match; + }, + + PSEUDO: function( match, curLoop, inplace, result, not ) { + if ( match[1] === "not" ) { + // If we're dealing with a complex expression, or a simple one + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { + match[3] = Sizzle(match[3], null, null, curLoop); + + } else { + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); + + if ( !inplace ) { + result.push.apply( result, ret ); + } + + return false; + } + + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { + return true; + } + + return match; + }, + + POS: function( match ) { + match.unshift( true ); + + return match; + } + }, + + filters: { + enabled: function( elem ) { + return elem.disabled === false && elem.type !== "hidden"; + }, + + disabled: function( elem ) { + return elem.disabled === true; + }, + + checked: function( elem ) { + return elem.checked === true; + }, + + selected: function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + parent: function( elem ) { + return !!elem.firstChild; + }, + + empty: function( elem ) { + return !elem.firstChild; + }, + + has: function( elem, i, match ) { + return !!Sizzle( match[3], elem ).length; + }, + + header: function( elem ) { + return (/h\d/i).test( elem.nodeName ); + }, + + text: function( elem ) { + var attr = elem.getAttribute( "type" ), type = elem.type; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null ); + }, + + radio: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type; + }, + + checkbox: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type; + }, + + file: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "file" === elem.type; + }, + + password: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "password" === elem.type; + }, + + submit: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && "submit" === elem.type; + }, + + image: function( elem ) { + return elem.nodeName.toLowerCase() === "input" && "image" === elem.type; + }, + + reset: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && "reset" === elem.type; + }, + + button: function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && "button" === elem.type || name === "button"; + }, + + input: function( elem ) { + return (/input|select|textarea|button/i).test( elem.nodeName ); + }, + + focus: function( elem ) { + return elem === elem.ownerDocument.activeElement; + } + }, + setFilters: { + first: function( elem, i ) { + return i === 0; + }, + + last: function( elem, i, match, array ) { + return i === array.length - 1; + }, + + even: function( elem, i ) { + return i % 2 === 0; + }, + + odd: function( elem, i ) { + return i % 2 === 1; + }, + + lt: function( elem, i, match ) { + return i < match[3] - 0; + }, + + gt: function( elem, i, match ) { + return i > match[3] - 0; + }, + + nth: function( elem, i, match ) { + return match[3] - 0 === i; + }, + + eq: function( elem, i, match ) { + return match[3] - 0 === i; + } + }, + filter: { + PSEUDO: function( elem, match, i, array ) { + var name = match[1], + filter = Expr.filters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + + } else if ( name === "contains" ) { + return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0; + + } else if ( name === "not" ) { + var not = match[3]; + + for ( var j = 0, l = not.length; j < l; j++ ) { + if ( not[j] === elem ) { + return false; + } + } + + return true; + + } else { + Sizzle.error( name ); + } + }, + + CHILD: function( elem, match ) { + var first, last, + doneName, parent, cache, + count, diff, + type = match[1], + node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + /* falls through */ + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + + case "nth": + first = match[2]; + last = match[3]; + + if ( first === 1 && last === 0 ) { + return true; + } + + doneName = match[0]; + parent = elem.parentNode; + + if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) { + count = 0; + + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + node.nodeIndex = ++count; + } + } + + parent[ expando ] = doneName; + } + + diff = elem.nodeIndex - last; + + if ( first === 0 ) { + return diff === 0; + + } else { + return ( diff % first === 0 && diff / first >= 0 ); + } + } + }, + + ID: function( elem, match ) { + return elem.nodeType === 1 && elem.getAttribute("id") === match; + }, + + TAG: function( elem, match ) { + return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match; + }, + + CLASS: function( elem, match ) { + return (" " + (elem.className || elem.getAttribute("class")) + " ") + .indexOf( match ) > -1; + }, + + ATTR: function( elem, match ) { + var name = match[1], + result = Sizzle.attr ? + Sizzle.attr( elem, name ) : + Expr.attrHandle[ name ] ? + Expr.attrHandle[ name ]( elem ) : + elem[ name ] != null ? + elem[ name ] : + elem.getAttribute( name ), + value = result + "", + type = match[2], + check = match[4]; + + return result == null ? + type === "!=" : + !type && Sizzle.attr ? + result != null : + type === "=" ? + value === check : + type === "*=" ? + value.indexOf(check) >= 0 : + type === "~=" ? + (" " + value + " ").indexOf(check) >= 0 : + !check ? + value && result !== false : + type === "!=" ? + value !== check : + type === "^=" ? + value.indexOf(check) === 0 : + type === "$=" ? + value.substr(value.length - check.length) === check : + type === "|=" ? + value === check || value.substr(0, check.length + 1) === check + "-" : + false; + }, + + POS: function( elem, match, i, array ) { + var name = match[2], + filter = Expr.setFilters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } + } + } +}; + +var origPOS = Expr.match.POS, + fescape = function(all, num){ + return "\\" + (num - 0 + 1); + }; + +for ( var type in Expr.match ) { + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); +} +// Expose origPOS +// "global" as in regardless of relation to brackets/parens +Expr.match.globalPOS = origPOS; + +var makeArray = function( array, results ) { + array = Array.prototype.slice.call( array, 0 ); + + if ( results ) { + results.push.apply( results, array ); + return results; + } + + return array; +}; + +// Perform a simple check to determine if the browser is capable of +// converting a NodeList to an array using builtin methods. +// Also verifies that the returned array holds DOM nodes +// (which is not the case in the Blackberry browser) +try { + Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; + +// Provide a fallback method if it does not work +} catch( e ) { + makeArray = function( array, results ) { + var i = 0, + ret = results || []; + + if ( toString.call(array) === "[object Array]" ) { + Array.prototype.push.apply( ret, array ); + + } else { + if ( typeof array.length === "number" ) { + for ( var l = array.length; i < l; i++ ) { + ret.push( array[i] ); + } + + } else { + for ( ; array[i]; i++ ) { + ret.push( array[i] ); + } + } + } + + return ret; + }; +} + +var sortOrder, siblingCheck; + +if ( document.documentElement.compareDocumentPosition ) { + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { + return a.compareDocumentPosition ? -1 : 1; + } + + return a.compareDocumentPosition(b) & 4 ? -1 : 1; + }; + +} else { + sortOrder = function( a, b ) { + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Fallback to using sourceIndex (in IE) if it's available on both nodes + } else if ( a.sourceIndex && b.sourceIndex ) { + return a.sourceIndex - b.sourceIndex; + } + + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // If the nodes are siblings (or identical) we can do a quick check + if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + + siblingCheck = function( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; + }; +} + +// Check to see if the browser returns elements by name when +// querying by getElementById (and provide a workaround) +(function(){ + // We're going to inject a fake input element with a specified name + var form = document.createElement("div"), + id = "script" + (new Date()).getTime(), + root = document.documentElement; + + form.innerHTML = ""; + + // Inject it into the root element, check its status, and remove it quickly + root.insertBefore( form, root.firstChild ); + + // The workaround has to do additional checks after a getElementById + // Which slows things down for other browsers (hence the branching) + if ( document.getElementById( id ) ) { + Expr.find.ID = function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + + return m ? + m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? + [m] : + undefined : + []; + } + }; + + Expr.filter.ID = function( elem, match ) { + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); + + return elem.nodeType === 1 && node && node.nodeValue === match; + }; + } + + root.removeChild( form ); + + // release memory in IE + root = form = null; +})(); + +(function(){ + // Check to see if the browser returns only elements + // when doing getElementsByTagName("*") + + // Create a fake element + var div = document.createElement("div"); + div.appendChild( document.createComment("") ); + + // Make sure no comments are found + if ( div.getElementsByTagName("*").length > 0 ) { + Expr.find.TAG = function( match, context ) { + var results = context.getElementsByTagName( match[1] ); + + // Filter out possible comments + if ( match[1] === "*" ) { + var tmp = []; + + for ( var i = 0; results[i]; i++ ) { + if ( results[i].nodeType === 1 ) { + tmp.push( results[i] ); + } + } + + results = tmp; + } + + return results; + }; + } + + // Check to see if an attribute returns normalized href attributes + div.innerHTML = ""; + + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && + div.firstChild.getAttribute("href") !== "#" ) { + + Expr.attrHandle.href = function( elem ) { + return elem.getAttribute( "href", 2 ); + }; + } + + // release memory in IE + div = null; +})(); + +if ( document.querySelectorAll ) { + (function(){ + var oldSizzle = Sizzle, + div = document.createElement("div"), + id = "__sizzle__"; + + div.innerHTML = "

"; + + // Safari can't handle uppercase or unicode characters when + // in quirks mode. + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { + return; + } + + Sizzle = function( query, context, extra, seed ) { + context = context || document; + + // Only use querySelectorAll on non-XML documents + // (ID selectors don't work in non-HTML documents) + if ( !seed && !Sizzle.isXML(context) ) { + // See if we find a selector to speed up + var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query ); + + if ( match && (context.nodeType === 1 || context.nodeType === 9) ) { + // Speed-up: Sizzle("TAG") + if ( match[1] ) { + return makeArray( context.getElementsByTagName( query ), extra ); + + // Speed-up: Sizzle(".CLASS") + } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) { + return makeArray( context.getElementsByClassName( match[2] ), extra ); + } + } + + if ( context.nodeType === 9 ) { + // Speed-up: Sizzle("body") + // The body element only exists once, optimize finding it + if ( query === "body" && context.body ) { + return makeArray( [ context.body ], extra ); + + // Speed-up: Sizzle("#ID") + } else if ( match && match[3] ) { + var elem = context.getElementById( match[3] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id === match[3] ) { + return makeArray( [ elem ], extra ); + } + + } else { + return makeArray( [], extra ); + } + } + + try { + return makeArray( context.querySelectorAll(query), extra ); + } catch(qsaError) {} + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + var oldContext = context, + old = context.getAttribute( "id" ), + nid = old || id, + hasParent = context.parentNode, + relativeHierarchySelector = /^\s*[+~]/.test( query ); + + if ( !old ) { + context.setAttribute( "id", nid ); + } else { + nid = nid.replace( /'/g, "\\$&" ); + } + if ( relativeHierarchySelector && hasParent ) { + context = context.parentNode; + } + + try { + if ( !relativeHierarchySelector || hasParent ) { + return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra ); + } + + } catch(pseudoError) { + } finally { + if ( !old ) { + oldContext.removeAttribute( "id" ); + } + } + } + } + + return oldSizzle(query, context, extra, seed); + }; + + for ( var prop in oldSizzle ) { + Sizzle[ prop ] = oldSizzle[ prop ]; + } + + // release memory in IE + div = null; + })(); +} + +(function(){ + var html = document.documentElement, + matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector; + + if ( matches ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9 fails this) + var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ), + pseudoWorks = false; + + try { + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( document.documentElement, "[test!='']:sizzle" ); + + } catch( pseudoError ) { + pseudoWorks = true; + } + + Sizzle.matchesSelector = function( node, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + if ( !Sizzle.isXML( node ) ) { + try { + if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { + var ret = matches.call( node, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || !disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9, so check for that + node.document && node.document.nodeType !== 11 ) { + return ret; + } + } + } catch(e) {} + } + + return Sizzle(expr, null, null, [node]).length > 0; + }; + } +})(); + +(function(){ + var div = document.createElement("div"); + + div.innerHTML = "
"; + + // Opera can't find a second classname (in 9.6) + // Also, make sure that getElementsByClassName actually exists + if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { + return; + } + + // Safari caches class attributes, doesn't catch changes (in 3.2) + div.lastChild.className = "e"; + + if ( div.getElementsByClassName("e").length === 1 ) { + return; + } + + Expr.order.splice(1, 0, "CLASS"); + Expr.find.CLASS = function( match, context, isXML ) { + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { + return context.getElementsByClassName(match[1]); + } + }; + + // release memory in IE + div = null; +})(); + +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem[ expando ] === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 && !isXML ){ + elem[ expando ] = doneName; + elem.sizset = i; + } + + if ( elem.nodeName.toLowerCase() === cur ) { + match = elem; + break; + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem[ expando ] === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 ) { + if ( !isXML ) { + elem[ expando ] = doneName; + elem.sizset = i; + } + + if ( typeof cur !== "string" ) { + if ( elem === cur ) { + match = true; + break; + } + + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { + match = elem; + break; + } + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +if ( document.documentElement.contains ) { + Sizzle.contains = function( a, b ) { + return a !== b && (a.contains ? a.contains(b) : true); + }; + +} else if ( document.documentElement.compareDocumentPosition ) { + Sizzle.contains = function( a, b ) { + return !!(a.compareDocumentPosition(b) & 16); + }; + +} else { + Sizzle.contains = function() { + return false; + }; +} + +Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; + + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +var posProcess = function( selector, context, seed ) { + var match, + tmpSet = [], + later = "", + root = context.nodeType ? [context] : context; + + // Position selectors must be done after the filter + // And so must :not(positional) so we move all PSEUDOs to the end + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { + later += match[0]; + selector = selector.replace( Expr.match.PSEUDO, "" ); + } + + selector = Expr.relative[selector] ? selector + "*" : selector; + + for ( var i = 0, l = root.length; i < l; i++ ) { + Sizzle( selector, root[i], tmpSet, seed ); + } + + return Sizzle.filter( later, tmpSet ); +}; + +// EXPOSE +// Override sizzle attribute retrieval +Sizzle.attr = jQuery.attr; +Sizzle.selectors.attrMap = {}; +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.filters; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})(); + + +var runtil = /Until$/, + rparentsprev = /^(?:parents|prevUntil|prevAll)/, + // Note: This RegExp should be improved, or likely pulled from Sizzle + rmultiselector = /,/, + isSimple = /^.[^:#\[\.,]*$/, + slice = Array.prototype.slice, + POS = jQuery.expr.match.globalPOS, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var self = this, + i, l; + + if ( typeof selector !== "string" ) { + return jQuery( selector ).filter(function() { + for ( i = 0, l = self.length; i < l; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }); + } + + var ret = this.pushStack( "", "find", selector ), + length, n, r; + + for ( i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( n = length; n < ret.length; n++ ) { + for ( r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var targets = jQuery( target ); + return this.filter(function() { + for ( var i = 0, l = targets.length; i < l; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && ( + typeof selector === "string" ? + // If this is a positional selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + POS.test( selector ) ? + jQuery( selector, this.context ).index( this[0] ) >= 0 : + jQuery.filter( selector, this ).length > 0 : + this.filter( selector ).length > 0 ); + }, + + closest: function( selectors, context ) { + var ret = [], i, l, cur = this[0]; + + // Array (deprecated as of jQuery 1.7) + if ( jQuery.isArray( selectors ) ) { + var level = 1; + + while ( cur && cur.ownerDocument && cur !== context ) { + for ( i = 0; i < selectors.length; i++ ) { + + if ( jQuery( cur ).is( selectors[ i ] ) ) { + ret.push({ selector: selectors[ i ], elem: cur, level: level }); + } + } + + cur = cur.parentNode; + level++; + } + + return ret; + } + + // String + var pos = POS.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( i = 0, l = this.length; i < l; i++ ) { + cur = this[i]; + + while ( cur ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + + } else { + cur = cur.parentNode; + if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) { + break; + } + } + } + } + + ret = ret.length > 1 ? jQuery.unique( ret ) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + andSelf: function() { + return this.add( this.prevObject ); + } +}); + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return jQuery.nth( elem, 2, "nextSibling" ); + }, + prev: function( elem ) { + return jQuery.nth( elem, 2, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.makeArray( elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; + + if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, slice.call( arguments ).join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + nth: function( cur, result, dir, elem ) { + result = result || 1; + var num = 0; + + for ( ; cur; cur = cur[dir] ) { + if ( cur.nodeType === 1 && ++num === result ) { + break; + } + } + + return cur; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + + // Can't pass null or undefined to indexOf in Firefox 4 + // Set to 0 to skip string check + qualifier = qualifier || 0; + + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return ( elem === qualifier ) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; + }); +} + + + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, + rtagName = /<([\w:]+)/, + rtbody = /]", "i"), + // checked="checked" or checked + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, + rscriptType = /\/(java|ecma)script/i, + rcleanScript = /^\s*", "" ], + legend: [ 1, "
", "
" ], + thead: [ 1, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + col: [ 2, "", "
" ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }, + safeFragment = createSafeFragment( document ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE can't serialize and + + + + + + + + +
+
+
+
+ + +

Index

+ +
+ +
+ + +
+
+
+
+
+ + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/index.html b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/index.html new file mode 100644 index 0000000..2a7ee05 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/index.html @@ -0,0 +1,109 @@ + + + + + + + + Welcome to hello’s documentation! — hello 1 documentation + + + + + + + + + + + + + +
+
+
+
+ +
+

Welcome to hello’s documentation!¶

+

Contents:

+
+
    +
+
+
+
+

Indices and tables¶

+ +
+ + +
+
+
+
+
+

Table Of Contents

+ + +

This Page

+ + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/objects.inv b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/objects.inv new file mode 100644 index 0000000..c7be278 Binary files /dev/null and b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/objects.inv differ diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/search.html b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/search.html new file mode 100644 index 0000000..46a39e0 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/search.html @@ -0,0 +1,99 @@ + + + + + + + + Search — hello 1 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +

Search

+
+ +

+ Please activate JavaScript to enable the search + functionality. +

+
+

+ From here you can search these documents. Enter your search + words into the box below and click "search". Note that the search + function will automatically search for all of the words. Pages + containing fewer words won't appear in the result list. +

+
+ + + +
+ +
+ +
+ +
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/searchindex.js b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/searchindex.js new file mode 100644 index 0000000..6c954cd --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/_build/html/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({objtypes:{},objects:{},filenames:["index"],objnames:{},terms:{modul:0,index:0,content:0,page:0,search:0},titles:["Welcome to hello’s documentation!"],envversion:43,titleterms:{document:0,tabl:0,welcom:0,hello:0,indic:0}}) \ No newline at end of file diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/conf.py b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/conf.py new file mode 100644 index 0000000..af81b04 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/conf.py @@ -0,0 +1,259 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# hello documentation build configuration file, created by +# sphinx-quickstart on Mon Mar 31 19:57:16 2014. +# +# This file is execfile()d with the current directory set to its +# containing dir. +# +# Note that not all possible configuration values are present in this +# autogenerated file. +# +# All configuration values have a default; values that are commented out +# serve to show the default. + +import sys +import os + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +#sys.path.insert(0, os.path.abspath('.')) + +# -- General configuration ------------------------------------------------ + +# If your documentation needs a minimal Sphinx version, state it here. +#needs_sphinx = '1.0' + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix of source filenames. +source_suffix = '.rst' + +# The encoding of source files. +#source_encoding = 'utf-8-sig' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +project = 'hello' +copyright = '2014, lintian' + +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the +# built documents. +# +# The short X.Y version. +version = '1' +# The full version, including alpha/beta/rc tags. +release = '1' + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +#language = None + +# There are two options for replacing |today|: either, you set today to some +# non-false value, then it is used: +#today = '' +# Else, today_fmt is used as the format for a strftime call. +#today_fmt = '%B %d, %Y' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +exclude_patterns = ['_build'] + +# The reST default role (used for this markup: `text`) to use for all +# documents. +#default_role = None + +# If true, '()' will be appended to :func: etc. cross-reference text. +#add_function_parentheses = True + +# If true, the current module name will be prepended to all description +# unit titles (such as .. function::). +#add_module_names = True + +# If true, sectionauthor and moduleauthor directives will be shown in the +# output. They are ignored by default. +#show_authors = False + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +# A list of ignored prefixes for module index sorting. +#modindex_common_prefix = [] + +# If true, keep warnings as "system message" paragraphs in the built documents. +#keep_warnings = False + + +# -- Options for HTML output ---------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'default' + +# Theme options are theme-specific and customize the look and feel of a theme +# further. For a list of options available for each theme, see the +# documentation. +#html_theme_options = {} + +# Add any paths that contain custom themes here, relative to this directory. +#html_theme_path = [] + +# The name for this set of Sphinx documents. If None, it defaults to +# " v documentation". +#html_title = None + +# A shorter title for the navigation bar. Default is the same as html_title. +#html_short_title = None + +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +#html_logo = None + +# The name of an image file (within the static path) to use as favicon of the +# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 +# pixels large. +#html_favicon = None + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] + +# Add any extra paths that contain custom files (such as robots.txt or +# .htaccess) here, relative to this directory. These files are copied +# directly to the root of the documentation. +#html_extra_path = [] + +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +#html_last_updated_fmt = '%b %d, %Y' + +# If true, SmartyPants will be used to convert quotes and dashes to +# typographically correct entities. +#html_use_smartypants = True + +# Custom sidebar templates, maps document names to template names. +#html_sidebars = {} + +# Additional templates that should be rendered to pages, maps page names to +# template names. +#html_additional_pages = {} + +# If false, no module index is generated. +#html_domain_indices = True + +# If false, no index is generated. +#html_use_index = True + +# If true, the index is split into individual pages for each letter. +#html_split_index = False + +# If true, links to the reST sources are added to the pages. +#html_show_sourcelink = True + +# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. +#html_show_sphinx = True + +# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. +#html_show_copyright = True + +# If true, an OpenSearch description file will be output, and all pages will +# contain a tag referring to it. The value of this option must be the +# base URL from which the finished HTML is served. +#html_use_opensearch = '' + +# This is the file name suffix for HTML files (e.g. ".xhtml"). +#html_file_suffix = None + +# Output file base name for HTML help builder. +htmlhelp_basename = 'hellodoc' + + +# -- Options for LaTeX output --------------------------------------------- + +latex_elements = { +# The paper size ('letterpaper' or 'a4paper'). +#'papersize': 'letterpaper', + +# The font size ('10pt', '11pt' or '12pt'). +#'pointsize': '10pt', + +# Additional stuff for the LaTeX preamble. +#'preamble': '', +} + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, +# author, documentclass [howto, manual, or own class]). +latex_documents = [ + ('index', 'hello.tex', 'hello Documentation', + 'lintian', 'manual'), +] + +# The name of an image file (relative to this directory) to place at the top of +# the title page. +#latex_logo = None + +# For "manual" documents, if this is true, then toplevel headings are parts, +# not chapters. +#latex_use_parts = False + +# If true, show page references after internal links. +#latex_show_pagerefs = False + +# If true, show URL addresses after external links. +#latex_show_urls = False + +# Documents to append as an appendix to all manuals. +#latex_appendices = [] + +# If false, no module index is generated. +#latex_domain_indices = True + + +# -- Options for manual page output --------------------------------------- + +# One entry per manual page. List of tuples +# (source start file, name, description, authors, manual section). +man_pages = [ + ('index', 'hello', 'hello Documentation', + ['lintian'], 1) +] + +# If true, show URL addresses after external links. +#man_show_urls = False + + +# -- Options for Texinfo output ------------------------------------------- + +# Grouping the document tree into Texinfo files. List of tuples +# (source start file, target name, title, author, +# dir menu entry, description, category) +texinfo_documents = [ + ('index', 'hello', 'hello Documentation', + 'lintian', 'hello', 'One line description of project.', + 'Miscellaneous'), +] + +# Documents to append as an appendix to all manuals. +#texinfo_appendices = [] + +# If false, no module index is generated. +#texinfo_domain_indices = True + +# How to display URL addresses: 'footnote', 'no', or 'inline'. +#texinfo_show_urls = 'footnote' + +# If true, do not generate a @detailmenu in the "Top" node's menu. +#texinfo_no_detailmenu = False diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/index.rst b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/index.rst new file mode 100644 index 0000000..778459b --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/index.rst @@ -0,0 +1,22 @@ +.. hello documentation master file, created by + sphinx-quickstart on Mon Mar 31 19:57:16 2014. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to hello's documentation! +================================= + +Contents: + +.. toctree:: + :maxdepth: 2 + + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/make.bat b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/make.bat new file mode 100644 index 0000000..5d3e55e --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/sphinx-1.22/make.bat @@ -0,0 +1,242 @@ +@ECHO OFF + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set BUILDDIR=_build +set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . +set I18NSPHINXOPTS=%SPHINXOPTS% . +if NOT "%PAPER%" == "" ( + set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% + set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% +) + +if "%1" == "" goto help + +if "%1" == "help" ( + :help + echo.Please use `make ^` where ^ is one of + echo. html to make standalone HTML files + echo. dirhtml to make HTML files named index.html in directories + echo. singlehtml to make a single large HTML file + echo. pickle to make pickle files + echo. json to make JSON files + echo. htmlhelp to make HTML files and a HTML help project + echo. qthelp to make HTML files and a qthelp project + echo. devhelp to make HTML files and a Devhelp project + echo. epub to make an epub + echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter + echo. text to make text files + echo. man to make manual pages + echo. texinfo to make Texinfo files + echo. gettext to make PO message catalogs + echo. changes to make an overview over all changed/added/deprecated items + echo. xml to make Docutils-native XML files + echo. pseudoxml to make pseudoxml-XML files for display purposes + echo. linkcheck to check all external links for integrity + echo. doctest to run all doctests embedded in the documentation if enabled + goto end +) + +if "%1" == "clean" ( + for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i + del /q /s %BUILDDIR%\* + goto end +) + + +%SPHINXBUILD% 2> nul +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +if "%1" == "html" ( + %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/html. + goto end +) + +if "%1" == "dirhtml" ( + %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. + goto end +) + +if "%1" == "singlehtml" ( + %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. + goto end +) + +if "%1" == "pickle" ( + %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can process the pickle files. + goto end +) + +if "%1" == "json" ( + %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can process the JSON files. + goto end +) + +if "%1" == "htmlhelp" ( + %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can run HTML Help Workshop with the ^ +.hhp project file in %BUILDDIR%/htmlhelp. + goto end +) + +if "%1" == "qthelp" ( + %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can run "qcollectiongenerator" with the ^ +.qhcp project file in %BUILDDIR%/qthelp, like this: + echo.^> qcollectiongenerator %BUILDDIR%\qthelp\hello.qhcp + echo.To view the help file: + echo.^> assistant -collectionFile %BUILDDIR%\qthelp\hello.ghc + goto end +) + +if "%1" == "devhelp" ( + %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. + goto end +) + +if "%1" == "epub" ( + %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The epub file is in %BUILDDIR%/epub. + goto end +) + +if "%1" == "latex" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "latexpdf" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + cd %BUILDDIR%/latex + make all-pdf + cd %BUILDDIR%/.. + echo. + echo.Build finished; the PDF files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "latexpdfja" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + cd %BUILDDIR%/latex + make all-pdf-ja + cd %BUILDDIR%/.. + echo. + echo.Build finished; the PDF files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "text" ( + %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The text files are in %BUILDDIR%/text. + goto end +) + +if "%1" == "man" ( + %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The manual pages are in %BUILDDIR%/man. + goto end +) + +if "%1" == "texinfo" ( + %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. + goto end +) + +if "%1" == "gettext" ( + %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The message catalogs are in %BUILDDIR%/locale. + goto end +) + +if "%1" == "changes" ( + %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes + if errorlevel 1 exit /b 1 + echo. + echo.The overview file is in %BUILDDIR%/changes. + goto end +) + +if "%1" == "linkcheck" ( + %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck + if errorlevel 1 exit /b 1 + echo. + echo.Link check complete; look for any errors in the above output ^ +or in %BUILDDIR%/linkcheck/output.txt. + goto end +) + +if "%1" == "doctest" ( + %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest + if errorlevel 1 exit /b 1 + echo. + echo.Testing of doctests in the sources finished, look at the ^ +results in %BUILDDIR%/doctest/output.txt. + goto end +) + +if "%1" == "xml" ( + %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The XML files are in %BUILDDIR%/xml. + goto end +) + +if "%1" == "pseudoxml" ( + %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. + goto end +) + +:end diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/desc b/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/desc new file mode 100644 index 0000000..3b57794 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-sphinx-documentation +Check: cruft diff --git a/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/hints b/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/hints new file mode 100644 index 0000000..cd11c35 --- /dev/null +++ b/t/recipes/checks/cruft/cruft-sphinx-documentation/eval/hints @@ -0,0 +1 @@ +cruft-sphinx-documentation (source): source-contains-prebuilt-sphinx-documentation [src/sphinx-1.22/_build/html/] diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in new file mode 100644 index 0000000..9b17d19 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/rules b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/fill-values b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/fill-values new file mode 100644 index 0000000..f97b076 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-binary-targets +Description: Test for "Rules-Requires-Root: binary-targets" diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/desc b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/desc new file mode 100644 index 0000000..e6f5901 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-binary-targets +Check: deb-format diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/hints b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/hints new file mode 100644 index 0000000..d7a2b62 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-binary-targets/eval/hints @@ -0,0 +1,2 @@ +control-file-rules-requires-root-binary-targets (binary): data-tarball-compression-format gz +control-file-rules-requires-root-binary-targets (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/control.in b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/control.in new file mode 100644 index 0000000..503994d --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/rules b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/fill-values b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/fill-values new file mode 100644 index 0000000..7359a3f --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-no +Description: Test for "Rules-Requires-Root: no" diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/desc b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/desc new file mode 100644 index 0000000..ba24431 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-no +Check: deb-format diff --git a/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/hints b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/hints new file mode 100644 index 0000000..719dba0 --- /dev/null +++ b/t/recipes/checks/deb-format/control-file-rules-requires-root-no/eval/hints @@ -0,0 +1,2 @@ +control-file-rules-requires-root-no (binary): data-tarball-compression-format gz +control-file-rules-requires-root-no (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/fill-values new file mode 100644 index 0000000..48e956c --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-extra-member +Description: Test package for an ar archive in the wrong order diff --git a/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/members/extra-stuff b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/members/extra-stuff new file mode 100644 index 0000000..532a22a --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/members/extra-stuff @@ -0,0 +1 @@ +SOME CONTENTS diff --git a/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/post-build b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/post-build new file mode 100755 index 0000000..b133a2f --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-member/build-spec/post-build @@ -0,0 +1,5 @@ +#!/bin/sh + +name=$1 + +ar q $name.deb members/extra-stuff diff --git a/t/recipes/checks/deb-format/deb-format-extra-member/eval/desc b/t/recipes/checks/deb-format/deb-format-extra-member/eval/desc new file mode 100644 index 0000000..40f3b06 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-member/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-extra-member +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-extra-member/eval/hints b/t/recipes/checks/deb-format/deb-format-extra-member/eval/hints new file mode 100644 index 0000000..d7355dd --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-member/eval/hints @@ -0,0 +1,3 @@ +deb-format-extra-member (binary): misplaced-extra-member-in-deb extra-stuff (unexpected member at position 3) +deb-format-extra-member (binary): data-tarball-compression-format gz +deb-format-extra-member (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/deb-members new file mode 100644 index 0000000..a5a89b2 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/deb-members @@ -0,0 +1,4 @@ +members/debian-binary +members/_extra-stuff +members/control.tar.gz +members/data.tar.gz diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/fill-values new file mode 100644 index 0000000..948a3e2 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-extra-underscore-member-before-control +Description: Test package for a deb archive with an extra member with _ before control.tar diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/members/_extra-stuff b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/members/_extra-stuff new file mode 100644 index 0000000..2517541 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/build-spec/members/_extra-stuff @@ -0,0 +1 @@ +SOME CONTENT diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/desc b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/desc new file mode 100644 index 0000000..628ab3e --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-extra-underscore-member-before-control +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/hints b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/hints new file mode 100644 index 0000000..96f4f12 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-control/eval/hints @@ -0,0 +1,3 @@ +deb-format-extra-underscore-member-before-control (binary): misplaced-extra-member-in-deb _extra-stuff (unexpected _member at position 1) +deb-format-extra-underscore-member-before-control (binary): data-tarball-compression-format gz +deb-format-extra-underscore-member-before-control (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/deb-members new file mode 100644 index 0000000..80b1efc --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/deb-members @@ -0,0 +1,4 @@ +members/debian-binary +members/control.tar.gz +members/_extra-stuff +members/data.tar.gz diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/fill-values new file mode 100644 index 0000000..be97a37 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-extra-underscore-member-before-data +Description: Test package for a deb archive with an extra member with _ before data.tar diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/members/_extra-stuff b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/members/_extra-stuff new file mode 100644 index 0000000..2517541 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/build-spec/members/_extra-stuff @@ -0,0 +1 @@ +SOME CONTENT diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/desc b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/desc new file mode 100644 index 0000000..d122658 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-extra-underscore-member-before-data +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/hints b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/hints new file mode 100644 index 0000000..72b71d2 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-extra-underscore-member-before-data/eval/hints @@ -0,0 +1,3 @@ +deb-format-extra-underscore-member-before-data (binary): misplaced-extra-member-in-deb _extra-stuff (unexpected _member at position 2) +deb-format-extra-underscore-member-before-data (binary): data-tarball-compression-format gz +deb-format-extra-underscore-member-before-data (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-lzma/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/deb-members new file mode 100644 index 0000000..c27e67f --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/deb-members @@ -0,0 +1,3 @@ +members/debian-binary +members/control.tar.gz +members/data.tar.lzma diff --git a/t/recipes/checks/deb-format/deb-format-lzma/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/fill-values new file mode 100644 index 0000000..a12cfc9 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-lzma +Description: Test package with LZMA compression diff --git a/t/recipes/checks/deb-format/deb-format-lzma/build-spec/tar-data b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/tar-data new file mode 100755 index 0000000..01e430e --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-lzma/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar.lzma --use-compress-program=lzma --directory "$rootdir" . diff --git a/t/recipes/checks/deb-format/deb-format-lzma/eval/desc b/t/recipes/checks/deb-format/deb-format-lzma/eval/desc new file mode 100644 index 0000000..efc64a2 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-lzma/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-lzma +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-lzma/eval/hints b/t/recipes/checks/deb-format/deb-format-lzma/eval/hints new file mode 100644 index 0000000..a0617ed --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-lzma/eval/hints @@ -0,0 +1,4 @@ +deb-format-lzma (binary): uses-deprecated-compression-for-data-tarball lzma +deb-format-lzma (binary): lzma-deb-archive +deb-format-lzma (binary): data-tarball-compression-format lzma +deb-format-lzma (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/deb-members new file mode 100644 index 0000000..575150e --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/deb-members @@ -0,0 +1,3 @@ +members/debian-binary +members/control.tar +members/data.tar diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/fill-values new file mode 100644 index 0000000..8f89409 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: deb-format-no-compress +Description: Test package with no compression +Extra-Build-Depends: dpkg (>= 1.17.6) diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-control b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-control new file mode 100755 index 0000000..74dfa1d --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +controlmembers="$2" + +tar --create --file members/control.tar --directory "$debiandir" $controlmembers diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-data b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-data new file mode 100755 index 0000000..5ca2d90 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar --directory "$rootdir" . diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/eval/desc b/t/recipes/checks/deb-format/deb-format-no-compress/eval/desc new file mode 100644 index 0000000..f18b7f2 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-no-compress +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-no-compress/eval/hints b/t/recipes/checks/deb-format/deb-format-no-compress/eval/hints new file mode 100644 index 0000000..02397c6 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-no-compress/eval/hints @@ -0,0 +1,4 @@ +deb-format-no-compress (binary): uses-no-compression-for-data-tarball +deb-format-no-compress (binary): uses-no-compression-for-control-tarball +deb-format-no-compress (binary): data-tarball-compression-format (none) +deb-format-no-compress (binary): control-tarball-compression-format (none) diff --git a/t/recipes/checks/deb-format/deb-format-record-size/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/fill-values new file mode 100644 index 0000000..d7b73a5 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-record-size +Description: Test package with a non-standard tar record size diff --git a/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-control b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-control new file mode 100755 index 0000000..5f0a2f8 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +controlmembers="$2" + +tar --create --file members/control.tar.gz --gzip --record-size=4096 --directory "$debiandir" $controlmembers diff --git a/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-data b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-data new file mode 100755 index 0000000..ad41b09 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-record-size/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar.gz --gzip --record-size=4096 --directory "$rootdir" . diff --git a/t/recipes/checks/deb-format/deb-format-record-size/eval/desc b/t/recipes/checks/deb-format/deb-format-record-size/eval/desc new file mode 100644 index 0000000..2046118 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-record-size/eval/desc @@ -0,0 +1,2 @@ +Testname: deb-format-record-size +Check: deb-format diff --git a/t/recipes/checks/deb-format/deb-format-record-size/eval/hints b/t/recipes/checks/deb-format/deb-format-record-size/eval/hints new file mode 100644 index 0000000..4b7f610 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-record-size/eval/hints @@ -0,0 +1,2 @@ +deb-format-record-size (binary): data-tarball-compression-format gz +deb-format-record-size (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/control.in b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/control.in new file mode 100644 index 0000000..1c2ec56 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: debian-installer +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: some-udeb +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Package-Type: udeb +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. + diff --git a/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/rules b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/rules new file mode 100644 index 0000000..5287abb --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + # manually call dpkg-deb because dh_builddeb uses -Zxz and does + # not allow us to override it. + dpkg-deb -Zlzma --build debian/some-udeb ../some-udeb_1.0_all.udeb diff --git a/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/fill-values new file mode 100644 index 0000000..9a594b5 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-udeb-compression/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: deb-format-udeb-compression +Package-Architecture: all +Description: Test of compression of udeb data member +Extra-Build-Depends: dpkg (<< 1.18.11) +# dpkg 1.18.1 Will warn for us diff --git a/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/desc b/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/desc new file mode 100644 index 0000000..9b5961a --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/desc @@ -0,0 +1,3 @@ +Testname: deb-format-udeb-compression +Check: deb-format +# dpkg 1.18.1 Will warn for us diff --git a/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/hints b/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/hints new file mode 100644 index 0000000..529a7e3 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-udeb-compression/eval/hints @@ -0,0 +1 @@ +some-udeb (udeb): udeb-uses-unsupported-compression-for-data-tarball diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members new file mode 100644 index 0000000..58b239b --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members @@ -0,0 +1,3 @@ +members/debian-binary +members/data.tar.gz +members/control.tar.gz diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values new file mode 100644 index 0000000..2468c16 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: deb +Testname: deb-format-wrong-order +Description: Test package for an ar archive in the wrong order +Extra-Build-Depends: dpkg (<< 1.17.2) +# dpkg 1.17.2 Do not allow deb packages with control +# and data members swapped diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc new file mode 100644 index 0000000..a1da169 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc @@ -0,0 +1,4 @@ +Testname: deb-format-wrong-order +Check: deb-format +# dpkg 1.17.2 Do not allow deb packages with control +# and data members swapped diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints new file mode 100644 index 0000000..b4c7aa6 --- /dev/null +++ b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints @@ -0,0 +1,2 @@ +deb-format-wrong-order (binary): malformed-deb-archive third (official) member control.tar.gz not data.tar.((gz|xz|bz2|lzma) +deb-format-wrong-order (binary): malformed-deb-archive second (official) member data.tar.gz not control.tar.(gz|xz) diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/debian/rules b/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/fill-values b/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/fill-values new file mode 100644 index 0000000..97909d8 --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-compat-old +Description: Test for old debian/compat file diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/eval/desc b/t/recipes/checks/deb-format/debhelper-compat-old/eval/desc new file mode 100644 index 0000000..50bd090 --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-compat-old +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Check: deb-format diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/eval/hints b/t/recipes/checks/deb-format/debhelper-compat-old/eval/hints new file mode 100644 index 0000000..016cd27 --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/eval/hints @@ -0,0 +1,2 @@ +debhelper-compat-old (binary): data-tarball-compression-format gz +debhelper-compat-old (binary): control-tarball-compression-format gz diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/deb-format/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in new file mode 100644 index 0000000..cbf204c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + cli-common-dev (>= 0.5.7) [i386 sparc amd64 ia64] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules new file mode 100755 index 0000000..726a39c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + -dh_clideps + dh_prep + diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values new file mode 100644 index 0000000..30c1a35 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-arch-depends +Extra-Build-Depends: cli-common-dev (>= 0.5.7) [i386 sparc amd64 ia64] +Description: Test arch-specific dependencies on dh commands +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc new file mode 100644 index 0000000..3a203cb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-arch-depends +Test-Against: missing-build-dependency-for-dh_-command +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints new file mode 100644 index 0000000..0553144 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints @@ -0,0 +1,3 @@ +debhelper-arch-depends (source): uses-debhelper-compat-file [debian/compat] +debhelper-arch-depends (source): debian-build-system dh [debian/rules] +debhelper-arch-depends (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..a63b312 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], debhelper (>= 10) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules new file mode 100755 index 0000000..005519a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure + dh_autotools-dev_updateconfig diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values new file mode 100644 index 0000000..52a12c3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-autoreconf-build-depends-unrel +Description: Test for useless autoreconf-related build dependencies false positives +Default-Build-Depends: debhelper (>= 10) +Dh-Compat-Level: 10 diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc new file mode 100644 index 0000000..c87476b --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc @@ -0,0 +1,5 @@ +Testname: debhelper-autoreconf-build-depends-unrel +Test-Against: + missing-build-dependency-for-dh_-command + useless-autoreconf-build-depends +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints new file mode 100644 index 0000000..9ab3ea3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints @@ -0,0 +1,4 @@ +debhelper-autoreconf-build-depends-unrel (source): package-uses-old-debhelper-compat-version 10 +debhelper-autoreconf-build-depends-unrel (source): debian-build-system dh [debian/rules] +debhelper-autoreconf-build-depends-unrel (source): debhelper-tools-from-autotools-dev-are-deprecated dh_autotools-dev_updateconfig [debian/rules:8] +debhelper-autoreconf-build-depends-unrel (source): debhelper-compat-level 10 diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/control.in new file mode 100644 index 0000000..3aa5eb4 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], debhelper (>= 10), dh-autoreconf, autotools-dev +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/fill-values new file mode 100644 index 0000000..cc59604 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-autoreconf-build-depends +Description: Test for useless autoreconf-related build dependencies +Default-Build-Depends: debhelper (>= 10) +Dh-Compat-Level: 10 diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/desc b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/desc new file mode 100644 index 0000000..d21d599 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-autoreconf-build-depends +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/hints b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/hints new file mode 100644 index 0000000..d2ae57f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends/eval/hints @@ -0,0 +1,5 @@ +debhelper-autoreconf-build-depends (source): useless-autoreconf-build-depends (does not need to satisfy dh-autoreconf:any) +debhelper-autoreconf-build-depends (source): useless-autoreconf-build-depends (does not need to satisfy autotools-dev:any) +debhelper-autoreconf-build-depends (source): package-uses-old-debhelper-compat-version 10 +debhelper-autoreconf-build-depends (source): debian-build-system dh [debian/rules] +debhelper-autoreconf-build-depends (source): debhelper-compat-level 10 diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in new file mode 100644 index 0000000..dcfb380 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in @@ -0,0 +1,80 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. + +Package: debhelper-brace-problem-1 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] another extra string + 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. Extra + string. It may be an empty package. + +Package: debhelper-brace-problem-2 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] another extra string three + 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. Extra + string three. It may be an empty package. + +Package: debhelper-brace-problem-3 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] three test case + 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. Extra + string three test case. It may be an empty package. + +Package: debhelper-brace-problem-4 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] fourth test case + 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. Extra + string fourth test case. It may be an empty package. + +Package: debhelper-brace-problem-5 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] fifth test case + 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. Extra + string fifth test case. It may be an empty package. + +Package: debhelper-brace-problem-6 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] sixth test case + 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. Extra + string sixth test case. It may be an empty package. + +Package: debhelper-brace-problem-good +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] good test case + 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. Should + not trigger lintian test. It may be an empty package. + diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install new file mode 100644 index 0000000..917db1f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install @@ -0,0 +1 @@ +{,foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install new file mode 100644 index 0000000..c0a7ccb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install @@ -0,0 +1 @@ +{foo,bar}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install new file mode 100644 index 0000000..7276554 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install @@ -0,0 +1 @@ +{foo,}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install new file mode 100644 index 0000000..05031a8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install @@ -0,0 +1 @@ +{,,foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install new file mode 100644 index 0000000..576e6a4 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install @@ -0,0 +1 @@ +{,foo,}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install new file mode 100644 index 0000000..bf22e94 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install @@ -0,0 +1,5 @@ +{.txt usr/share/debhelper +{good}.txt usr/share/debhelper +{}.txt usr/share/debhelper +{foo} usr/share/debhelper +{foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules new file mode 100755 index 0000000..16d8ba1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +# Skip dh_install since there are braces in the install configuration file and +# it would error out on at least some systems. +override_dh_install: + diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values new file mode 100644 index 0000000..90ac5ed --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-brace-expansion +Description: Check for brace expansion in debhelper config files diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/desc b/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/desc new file mode 100644 index 0000000..e213355 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-brace-expansion +See-Also: Debian Bug#480939 +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/hints b/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/hints new file mode 100644 index 0000000..b2711de --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/eval/hints @@ -0,0 +1,8 @@ +debhelper-brace-expansion (source): debian-build-system dh [debian/rules] +debhelper-brace-expansion (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-brace-expansion (source): debhelper-compat-level 13 +debhelper-brace-expansion (source): brace-expansion-in-debhelper-config-file {foo,} [debian/debhelper-brace-problem-3.install:1] +debhelper-brace-expansion (source): brace-expansion-in-debhelper-config-file {foo,bar} [debian/debhelper-brace-problem-2.install:1] +debhelper-brace-expansion (source): brace-expansion-in-debhelper-config-file {,foo} [debian/debhelper-brace-problem-1.install:1] +debhelper-brace-expansion (source): brace-expansion-in-debhelper-config-file {,foo,} [debian/debhelper-brace-problem-5.install:1] +debhelper-brace-expansion (source): brace-expansion-in-debhelper-config-file {,,foo} [debian/debhelper-brace-problem-4.install:1] diff --git a/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/debian/compat b/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/debian/compat new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/debian/compat @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/fill-values new file mode 100644 index 0000000..99bc50b --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-compat-empty +Description: Test empty debian/compat file +Default-Build-Depends: debhelper (<< 9.20151101~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-empty/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-empty/eval/desc new file mode 100644 index 0000000..31b9eb9 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-compat-empty +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-empty/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-empty/eval/hints new file mode 100644 index 0000000..b4a096f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-empty/eval/hints @@ -0,0 +1,2 @@ +debhelper-compat-empty (source): package-uses-deprecated-debhelper-compat-version 1 +debhelper-compat-empty (source): debhelper-compat-file-is-empty diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values new file mode 100644 index 0000000..d40c6eb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: debhelper-compat-experimental +Dh-Compat-Level: 13 +Default-Build-Depends: debhelper (>= 12~) +Description: Test for old debian/compat file +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc new file mode 100644 index 0000000..0213f60 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc @@ -0,0 +1,5 @@ +Testname: debhelper-compat-experimental +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debhelper +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints new file mode 100644 index 0000000..8517f10 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints @@ -0,0 +1,4 @@ +debhelper-compat-experimental (source): package-uses-experimental-debhelper-compat-version 13 +debhelper-compat-experimental (source): no-versioned-debhelper-prerequisite 13 +debhelper-compat-experimental (source): debian-build-system dh [debian/rules] +debhelper-compat-experimental (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..5d77b80 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,2 @@ +@include-parent +experimental=10 diff --git a/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/source/options b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/source/options new file mode 100644 index 0000000..ef3297d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/debian/source/options @@ -0,0 +1,2 @@ +tar-ignore +tar-ignore=*/compat diff --git a/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/fill-values new file mode 100644 index 0000000..942e8e9 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-missing/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-compat-missing +Description: Test for missing debian/compat +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-missing/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-missing/eval/desc new file mode 100644 index 0000000..5eec2be --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-compat-missing +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-missing/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-missing/eval/hints new file mode 100644 index 0000000..7ff4af0 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-missing/eval/hints @@ -0,0 +1,3 @@ +debhelper-compat-missing (source): package-uses-deprecated-debhelper-compat-version 1 +debhelper-compat-missing (source): debian-build-system dh [debian/rules] +debhelper-compat-missing (source): debhelper-compat-file-is-missing diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat new file mode 100644 index 0000000..736ea2a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat @@ -0,0 +1,3 @@ +11 + +# Comment after a skipped line diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values new file mode 100644 index 0000000..d3eee2a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-compat-multiple-unrel +Description: Test debian/compat file with multiple entries (false-positives) +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc new file mode 100644 index 0000000..6627836 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-compat-multiple-unrel +Test-Against: + debhelper-compat-file-contains-multiple-levels +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints new file mode 100644 index 0000000..2ec2a64 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints @@ -0,0 +1,4 @@ +debhelper-compat-multiple-unrel (source): uses-debhelper-compat-file [debian/compat] +debhelper-compat-multiple-unrel (source): package-uses-old-debhelper-compat-version 11 +debhelper-compat-multiple-unrel (source): debian-build-system dh [debian/rules] +debhelper-compat-multiple-unrel (source): debhelper-compat-level 11 diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat new file mode 100644 index 0000000..58110e6 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat @@ -0,0 +1,3 @@ +11 + +12 diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values new file mode 100644 index 0000000..6f579bf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-compat-multiple +Description: Test debian/compat file with multiple entries +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc new file mode 100644 index 0000000..a073dba --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-compat-multiple +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints new file mode 100644 index 0000000..03f9faf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints @@ -0,0 +1,5 @@ +debhelper-compat-multiple (source): uses-debhelper-compat-file [debian/compat] +debhelper-compat-multiple (source): package-uses-old-debhelper-compat-version 11 +debhelper-compat-multiple (source): debian-build-system dh [debian/rules] +debhelper-compat-multiple (source): debhelper-compat-level 11 +debhelper-compat-multiple (source): debhelper-compat-file-contains-multiple-levels [debian/compat:3] diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values new file mode 100644 index 0000000..3de27aa --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-compat-old +Description: Test for old debian/compat file +Dh-Compat-Level: 8 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc new file mode 100644 index 0000000..5659a51 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-compat-old +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints new file mode 100644 index 0000000..21ce42a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints @@ -0,0 +1,3 @@ +debhelper-compat-old (source): package-uses-old-debhelper-compat-version 8 +debhelper-compat-old (source): debian-build-system dh [debian/rules] +debhelper-compat-old (source): debhelper-compat-level 8 diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/debian/control.in new file mode 100644 index 0000000..c59a284 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: debhelper (>= 11.3.6~), debhelper-compat (= 10) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/fill-values new file mode 100644 index 0000000..40b77b3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-compat-virtual-relation-both +Description: Test both debhelper and debhelper-compat as a build-dependency +Default-Build-Depends: + debhelper (>= 11.3~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/pre-build b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +DIR="$1" + +rm -f "$DIR/debian/compat" diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/desc new file mode 100644 index 0000000..2b36dde --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-compat-virtual-relation-both +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/hints new file mode 100644 index 0000000..a26bc3a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation-both/eval/hints @@ -0,0 +1,4 @@ +debhelper-compat-virtual-relation-both (source): package-uses-old-debhelper-compat-version 10 +debhelper-compat-virtual-relation-both (source): debian-build-system dh [debian/rules] +debhelper-compat-virtual-relation-both (source): debhelper-compat-virtual-relation 10 [debian/control] +debhelper-compat-virtual-relation-both (source): debhelper-compat-level 10 diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/debian/control.in new file mode 100644 index 0000000..caddd20 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: debhelper-compat (= 11) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/fill-values new file mode 100644 index 0000000..9d5502e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-compat-virtual-relation +Description: Test debhelper-compat as a build-dependency +Default-Build-Depends: + debhelper (>= 11.3~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/pre-build b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +DIR="$1" + +rm -f "$DIR/debian/compat" diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/desc new file mode 100644 index 0000000..75c4375 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/desc @@ -0,0 +1,5 @@ +Testname: debhelper-compat-virtual-relation +Test-Against: + package-uses-debhelper-but-lacks-build-depends + no-versioned-debhelper-prerequisite +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/hints new file mode 100644 index 0000000..74e2f29 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-virtual-relation/eval/hints @@ -0,0 +1,4 @@ +debhelper-compat-virtual-relation (source): package-uses-old-debhelper-compat-version 11 +debhelper-compat-virtual-relation (source): debian-build-system dh [debian/rules] +debhelper-compat-virtual-relation (source): debhelper-compat-virtual-relation 11 [debian/control] +debhelper-compat-virtual-relation (source): debhelper-compat-level 11 diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in new file mode 100644 index 0000000..64f7ede --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in @@ -0,0 +1 @@ + [% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values new file mode 100644 index 0000000..0301064 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-compat-whitespace +Description: Allow whitespace in debian/compat +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc new file mode 100644 index 0000000..8063998 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-compat-whitespace +Test-Against: debhelper-compat-not-a-number +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints new file mode 100644 index 0000000..c3d2ed0 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints @@ -0,0 +1,3 @@ +debhelper-compat-whitespace (source): uses-debhelper-compat-file [debian/compat] +debhelper-compat-whitespace (source): debian-build-system dh [debian/rules] +debhelper-compat-whitespace (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-compat/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat/build-spec/fill-values new file mode 100644 index 0000000..11bd35f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-compat +Description: Test the content of debian/compat +Default-Build-Depends: debhelper (<< 9.20151101~) +Dh-Compat-Level: [9- diff --git a/t/recipes/checks/debhelper/debhelper-compat/eval/desc b/t/recipes/checks/debhelper/debhelper-compat/eval/desc new file mode 100644 index 0000000..d4f1ad1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-compat +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-compat/eval/hints b/t/recipes/checks/debhelper/debhelper-compat/eval/hints new file mode 100644 index 0000000..baa1950 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-compat/eval/hints @@ -0,0 +1 @@ +debhelper-compat (source): debhelper-compat-not-a-number [9- diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules new file mode 100755 index 0000000..2f7c75e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +pkg = $(shell dh_listpackages) +VERSION=2 + +build: build-indep build-arch +build-arch: +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: binary-indep binary-arch +binary-arch: +binary-indep: + dh_testdir + dh_testroot + dh_prep + dh_install + dh_installchangelogs + dh_installdocs + dh_installmanpages + + #dh_scrollkeeper + -dh_python-ply # neither should this + +# Check not warning about deprecated commands in optional portions, but +# commands that have been toast for a long time are still warned about. +ifneq "$(LENNY_BACKPORT)" "y" + -dh_help + #dh_scrollkeeper +endif + dh_link + dh_compress + dh_fixperms + #dh_suidregister + + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +somewhere: + dh $@ --with autotools-dev + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values new file mode 100644 index 0000000..7cb64f8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-deprecated +Description: Test for use of deprecated dh_* commands +Extra-Build-Depends: python-ply (>= 3.4-1~) +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc b/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc new file mode 100644 index 0000000..c51b571 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-deprecated +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints b/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints new file mode 100644 index 0000000..15c9729 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints @@ -0,0 +1,6 @@ +debhelper-deprecated (source): uses-debhelper-compat-file [debian/compat] +debhelper-deprecated (source): missing-build-dependency-for-dh-addon autotools_dev (does not satisfy autotools-dev:any) [debian/rules] +debhelper-deprecated (source): dh_installmanpages-is-obsolete [debian/rules:24] +debhelper-deprecated (source): debian-build-system dh [debian/rules] +debhelper-deprecated (source): debhelper-tools-from-autotools-dev-are-deprecated dh ... --with autotools-dev [debian/rules:46] +debhelper-deprecated (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/debian/rules new file mode 100755 index 0000000..bd004e3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# +# Use an alternate rules file that doesn't call dh to test not warning +# about debhelper script tokens if we call no programs that care about +# them. + +pkg = $(shell dh_listpackages) + +build: build-arch build-indep +build-arch: +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: binary-indep binary-arch +binary-arch: +binary-indep: + dh_testdir + dh_testroot + dh_clean -k + dh_install + dh_installchangelogs + dh_installdebconf + # dh_installdocs may modify maintainer scripts + install -m 644 debian/copyright debian/$(pkg)/usr/share/doc/$(pkg) + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/fill-values new file mode 100644 index 0000000..c836ef5 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-clean-k-deprecated +Dh-Compat-Level: 11 +Description: Test for debhelper >=7 packages using dh_clean -k diff --git a/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/desc new file mode 100644 index 0000000..7742990 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-dh-clean-k-deprecated +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/hints new file mode 100644 index 0000000..a21c10f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-clean-k-deprecated/eval/hints @@ -0,0 +1,5 @@ +debhelper-dh-clean-k-deprecated (source): package-uses-old-debhelper-compat-version 11 +debhelper-dh-clean-k-deprecated (source): dh-clean-k-is-deprecated [debian/rules] +debhelper-dh-clean-k-deprecated (source): debian-build-system debhelper [debian/rules] +debhelper-dh-clean-k-deprecated (source): debhelper-compat-virtual-relation 11 [debian/control] +debhelper-dh-clean-k-deprecated (source): debhelper-compat-level 11 diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules new file mode 100755 index 0000000..111f495 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DH_COMPAT=10 + +%: + dh $@ + +DH_COMPAT=8 diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values new file mode 100644 index 0000000..be50f28 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-compat +Description: Test the value of DH_COMPAT +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc new file mode 100644 index 0000000..d974fa2 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-compat +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints new file mode 100644 index 0000000..86e066e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints @@ -0,0 +1,5 @@ +debhelper-dh-compat (source): uses-debhelper-compat-file [debian/compat] +debhelper-dh-compat (source): package-uses-old-debhelper-compat-version 8 +debhelper-dh-compat (source): declares-possibly-conflicting-debhelper-compat-versions 13 vs elsewhere 8 [debian/compat] +debhelper-dh-compat (source): debian-build-system dh [debian/rules] +debhelper-dh-compat (source): debhelper-compat-level 8 diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs new file mode 100755 index 0000000..aaac17a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib +usr/lib/${DEB_HOST_MULTIARCH}/octave/packages diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install new file mode 100755 index 0000000..c79e8ae --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install @@ -0,0 +1,6 @@ +#! /usr/bin/dh-exec +usr/lib/foo [linux-any] [hurd-any] [kfreebsd-any] +usr/lib/${DEB_HOST_MULTIARCH} +usr/lib/${DEB_HOST_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ +usr/lib/${DEB_BUILD_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ +usr/lib/${DEB_HOST_MULTIARCH}/some-package/*.so diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links new file mode 100755 index 0000000..3c907d7 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +link-foo => link-bar diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages new file mode 100755 index 0000000..2209766 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages @@ -0,0 +1,5 @@ +#! /usr/lib/dh-exec/dh-exec-subst +## The above works, but is not recommended. +foo => bar +this-line-uses-tabs => this-line-uses-tabs +${DEB_BUILD_WHATEVER} diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime new file mode 100755 index 0000000..ce8e762 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +debian/rules diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules new file mode 100755 index 0000000..06b98ae --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Ignore the "mime" file as we do not really depend on dh-exec and we +# do not really need the files listed there for the test. +override_dh_installmime: + + +override_dh_installman: + +override_dh_install: + +override_dh_installdirs: +override_dh_link: diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values new file mode 100644 index 0000000..f359531 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-exec +Dh-Compat-Level: 9 +Description: Tests related to executable, dh-exec using packaging files diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc new file mode 100644 index 0000000..b369e0d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-exec +Options: --suppress-tags + no-versioned-debhelper-prerequisite +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints new file mode 100644 index 0000000..dfabcc2 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints @@ -0,0 +1,12 @@ +debhelper-dh-exec (source): package-uses-dh-exec-but-lacks-build-depends [debian/rules] +debhelper-dh-exec (source): package-uses-deprecated-debhelper-compat-version 9 +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH}/some-package/*.so [debian/install:6] +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH} [debian/install:3] +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ [debian/install:4] +debhelper-dh-exec (source): dh-exec-subst-unknown-variable DEB_BUILD_WHATEVER [debian/manpages:5] +debhelper-dh-exec (source): dh-exec-script-without-dh-exec-features [debian/mime] +debhelper-dh-exec (source): dh-exec-private-helper [debian/manpages] +debhelper-dh-exec (source): dh-exec-install-not-allowed-here [debian/links] +debhelper-dh-exec (source): debian-build-system dh [debian/rules] +debhelper-dh-exec (source): debhelper-compat-virtual-relation 9 [debian/control] +debhelper-dh-exec (source): debhelper-compat-level 9 diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in new file mode 100644 index 0000000..ac85906 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/debian/control.in @@ -0,0 +1,31 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: python-cheshire +Section: python +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: Cheshire cheese for Python 2.X + 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. + . + For Python 2.X. + +Package: python3-cheshire +Section: python +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Cheshire cheese for Python 3.X + 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. + . + For Python 3.X. diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values new file mode 100644 index 0000000..e9c9c50 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-python-helpers +Description: Check if helpers that substitute python:Depends and + python3:Depends are called in debian/rules diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc new file mode 100644 index 0000000..3e864fb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-dh-python-helpers +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints new file mode 100644 index 0000000..e05749c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-python-helpers/eval/hints @@ -0,0 +1,5 @@ +debhelper-dh-python-helpers (source): python3-depends-but-no-python3-helper python3-cheshire +debhelper-dh-python-helpers (source): python-depends-but-no-python-helper python-cheshire +debhelper-dh-python-helpers (source): debian-build-system dh [debian/rules] +debhelper-dh-python-helpers (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-python-helpers (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/README.source b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/README.source new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/patches/series b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/rules new file mode 100755 index 0000000..f6b359a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/fill-values new file mode 100644 index 0000000..1277df5 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-dh-quilt-addon-but-quilt-source-format-unrel +Source-Format: 3.0 (native) +Description: Test for quilt packages that specify dh --with-quilt (false positive) +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/desc new file mode 100644 index 0000000..9a49fdb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-quilt-addon-but-quilt-source-format-unrel +Test-Against: + dh-quilt-addon-but-quilt-source-format +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/hints new file mode 100644 index 0000000..26c00d9 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/eval/hints @@ -0,0 +1,3 @@ +debhelper-dh-quilt-addon-but-quilt-source-format-unrel (source): debian-build-system dh [debian/rules] +debhelper-dh-quilt-addon-but-quilt-source-format-unrel (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-quilt-addon-but-quilt-source-format-unrel (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/debian/rules new file mode 100755 index 0000000..f6b359a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/fill-values new file mode 100644 index 0000000..a022ff6 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: debhelper-dh-quilt-addon-but-quilt-source-format +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Test for quilt packages that specify dh --with-quilt +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/desc new file mode 100644 index 0000000..cd4818d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-dh-quilt-addon-but-quilt-source-format +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/hints new file mode 100644 index 0000000..247de1a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/eval/hints @@ -0,0 +1,4 @@ +debhelper-dh-quilt-addon-but-quilt-source-format (source): dh-quilt-addon-but-quilt-source-format dh ... --with quilt [debian/rules:4] +debhelper-dh-quilt-addon-but-quilt-source-format (source): debian-build-system dh [debian/rules] +debhelper-dh-quilt-addon-but-quilt-source-format (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-quilt-addon-but-quilt-source-format (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in new file mode 100644 index 0000000..07c5e61 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in @@ -0,0 +1,42 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], dh-runit +Rules-Requires-Root: no + +Package: [% $source %]-missing +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, runit +Description: [% $description %] (true positive) + 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. + . + Missing breaks. + +Package: [% $source %]-present +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, runit +Breaks: ${runit:Breaks} +Description: [% $description %] (false positive) + 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. + . + Has breaks. + +Package: [% $source %]-unrelated +Architecture: all +Depends: ${misc:Depends} +Breaks: ${runit:Breaks} +Description: [% $description %] (unrelated) + 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. + . + No, breaks, but unrelated. diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules new file mode 100755 index 0000000..25cfa28 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ --with runit + +override_dh_auto_install: + dh_auto_install + for X in $(shell dh_listpackages); do \ + mkdir -p debian/$$X/etc/sv; \ + touch debian/$$X/etc/sv/$$X; \ + done diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values new file mode 100644 index 0000000..1fab39d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-dh-runit-but-lacks-breaks-substvar +Description: Check Breaks requirements for dh --with dh_runit diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc new file mode 100644 index 0000000..4865688 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-runit-but-lacks-breaks-substvar +Test-Depends: + dh-runit +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints new file mode 100644 index 0000000..8cfba49 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints @@ -0,0 +1,4 @@ +debhelper-dh-runit-but-lacks-breaks-substvar (source): package-uses-dh-runit-but-lacks-breaks-substvar debhelper-dh-runit-but-lacks-breaks-substvar-missing [debian/rules] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debian-build-system dh [debian/rules] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules new file mode 100755 index 0000000..eab1d8e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel --with=systemd diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values new file mode 100644 index 0000000..39d3387 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-unnecessary-arguments +Description: Check for packages using --parallel +Dh-Compat-Level: 10 diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc new file mode 100644 index 0000000..45c7c4c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-dh-unnecessary-arguments +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints new file mode 100644 index 0000000..c64d1f3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints @@ -0,0 +1,6 @@ +debhelper-dh-unnecessary-arguments (source): package-uses-old-debhelper-compat-version 10 +debhelper-dh-unnecessary-arguments (source): debian-rules-uses-unnecessary-dh-argument 10 >= 10 dh ... --with=systemd [debian/rules:4] +debhelper-dh-unnecessary-arguments (source): debian-rules-uses-unnecessary-dh-argument 10 >= 10 dh ... --parallel [debian/rules:4] +debhelper-dh-unnecessary-arguments (source): debian-build-system dh [debian/rules] +debhelper-dh-unnecessary-arguments (source): debhelper-compat-virtual-relation 10 [debian/control] +debhelper-dh-unnecessary-arguments (source): debhelper-compat-level 10 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..c282714 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], python3:any, dh-python +Rules-Requires-Root: no + +Package: python3-[% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/rules new file mode 100755 index 0000000..25115de --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/fill-values new file mode 100644 index 0000000..5256ae1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-with-python3-unrel +Description: Check dependency requirements for dh --with python3 (false positive) +Extra-Build-Depends: dh-python diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/desc new file mode 100644 index 0000000..ab447df --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-with-python3-unrel +Test-Against: + missing-build-dependency-for-dh-addon +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/hints new file mode 100644 index 0000000..d01c62f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel/eval/hints @@ -0,0 +1,3 @@ +debhelper-dh-with-python3-unrel (source): debian-build-system dh [debian/rules] +debhelper-dh-with-python3-unrel (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-with-python3-unrel (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/control.in new file mode 100644 index 0000000..e0f5096 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], python3-all-dev:any +Rules-Requires-Root: no + +Package: python3-[% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/rules new file mode 100755 index 0000000..25115de --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/fill-values new file mode 100644 index 0000000..48d35a2 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-dh-with-python3-unrel2 +Description: Check dependency requirements for dh --with python3 (false positive) +Package-Architecture: any +Extra-Build-Depends: dh-python diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/desc new file mode 100644 index 0000000..f811b92 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-with-python3-unrel2 +Test-Against: + missing-build-dependency-for-dh-addon +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/hints new file mode 100644 index 0000000..eb8213b --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3-unrel2/eval/hints @@ -0,0 +1,3 @@ +debhelper-dh-with-python3-unrel2 (source): debian-build-system dh [debian/rules] +debhelper-dh-with-python3-unrel2 (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-with-python3-unrel2 (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/control.in new file mode 100644 index 0000000..faccb15 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], python3:any +Rules-Requires-Root: no + +Package: python3-[% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/rules new file mode 100755 index 0000000..25115de --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/fill-values new file mode 100644 index 0000000..ca25049 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-dh-with-python3 +Description: Check dependency requirements for dh --with python3 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/desc new file mode 100644 index 0000000..a063815 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-dh-with-python3 +Test-Depends: dh-python +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/hints new file mode 100644 index 0000000..c427f79 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-python3/eval/hints @@ -0,0 +1,4 @@ +debhelper-dh-with-python3 (source): missing-build-dependency-for-dh-addon python3 (does not satisfy dh-python:any | dh-sequence-python3:any | pybuild-plugin-pyproject:any) [debian/rules] +debhelper-dh-with-python3 (source): debian-build-system dh [debian/rules] +debhelper-dh-with-python3 (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-with-python3 (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/debian/rules new file mode 100755 index 0000000..931d500 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --with quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/fill-values new file mode 100644 index 0000000..9edcc4c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-dh-with-quilt +Description: Check dependency requirements for dh --with quilt diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/desc new file mode 100644 index 0000000..3d1a8df --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-dh-with-quilt +Test-Depends: quilt +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/hints new file mode 100644 index 0000000..a485a90 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-with-quilt/eval/hints @@ -0,0 +1,4 @@ +debhelper-dh-with-quilt (source): missing-build-dependency-for-dh-addon quilt (does not satisfy quilt:any) [debian/rules] +debhelper-dh-with-quilt (source): debian-build-system dh [debian/rules] +debhelper-dh-with-quilt (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-with-quilt (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/debian/rules new file mode 100755 index 0000000..f94035a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Commands not to run +override_dh_installcatalogs: +override_dh_installemacsen override_dh_installifupdown: +override_dh_installinfo override_dh_installmenu override_dh_installmime: +override_dh_installmodules override_dh_installlogcheck: +override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm: +override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal: +override_dh_installcron override_dh_installdebconf: +override_dh_installlogrotate override_dh_installgsettings: diff --git a/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/fill-values new file mode 100644 index 0000000..41b2921 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-excessive-overrides/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-excessive-overrides +Description: Test for excessive number of overrides diff --git a/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/desc b/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/desc new file mode 100644 index 0000000..155d13a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-excessive-overrides +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/hints b/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/hints new file mode 100644 index 0000000..5cce06e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-excessive-overrides/eval/hints @@ -0,0 +1,5 @@ +debhelper-excessive-overrides (source): typo-in-debhelper-override-target override_dh_gconf => override_dh_icons [debian/rules:12] +debhelper-excessive-overrides (source): excessive-debhelper-overrides 21 +debhelper-excessive-overrides (source): debian-build-system dh [debian/rules] +debhelper-excessive-overrides (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-excessive-overrides (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs new file mode 100755 index 0000000..438f2fd --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs @@ -0,0 +1,2 @@ +#! /bin/sh +# This is acceptable (though useless) diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages new file mode 100755 index 0000000..094e005 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages @@ -0,0 +1,2 @@ +# /o\ this is bad... + diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules new file mode 100755 index 0000000..44e34f9 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installman: diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values new file mode 100644 index 0000000..b8831df --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-executable-files-compat-9 +Description: Tests related to executable packaging files diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc new file mode 100644 index 0000000..ef29e99 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-executable-files-compat-9 +Options: --suppress-tags + no-versioned-debhelper-prerequisite +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints new file mode 100644 index 0000000..190fbce --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints @@ -0,0 +1,4 @@ +debhelper-executable-files-compat-9 (source): executable-debhelper-file-without-being-executable [debian/manpages] +debhelper-executable-files-compat-9 (source): debian-build-system dh [debian/rules] +debhelper-executable-files-compat-9 (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-executable-files-compat-9 (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages @@ -0,0 +1 @@ +#!/bin/sh diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values new file mode 100644 index 0000000..8c619b1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-executable-files +Dh-Compat-Level: 8 +Description: Tests related to executable packaging files +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build new file mode 100755 index 0000000..0bb1b9a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build @@ -0,0 +1,8 @@ +#!/bin/sh + +DIR="$1" + +for FILE in control copyright changelog ; do + chmod +x "$DIR/debian/$FILE" +done + diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc b/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc new file mode 100644 index 0000000..ee5dcbc --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-executable-files +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints b/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints new file mode 100644 index 0000000..0e2cfcc --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints @@ -0,0 +1,7 @@ +debhelper-executable-files (source): package-uses-deprecated-debhelper-compat-version 8 +debhelper-executable-files (source): package-file-is-executable [debian/manpages] +debhelper-executable-files (source): package-file-is-executable [debian/copyright] +debhelper-executable-files (source): package-file-is-executable [debian/control] +debhelper-executable-files (source): package-file-is-executable [debian/changelog] +debhelper-executable-files (source): debian-build-system dh [debian/rules] +debhelper-executable-files (source): debhelper-compat-level 8 diff --git a/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/control.in new file mode 100644 index 0000000..67d485e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: debhelper +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/fill-values new file mode 100644 index 0000000..438c83e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-lacks-versioned-deps +Dh-Compat-Level: 9 +Description: Test pedantic dependency requirements for debhelper diff --git a/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/desc b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/desc new file mode 100644 index 0000000..6daef01 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-lacks-versioned-deps +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/hints b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/hints new file mode 100644 index 0000000..a300c5e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-lacks-versioned-deps/eval/hints @@ -0,0 +1,4 @@ +debhelper-lacks-versioned-deps (source): package-uses-deprecated-debhelper-compat-version 9 +debhelper-lacks-versioned-deps (source): no-versioned-debhelper-prerequisite 9 +debhelper-lacks-versioned-deps (source): debian-build-system dh [debian/rules] +debhelper-lacks-versioned-deps (source): debhelper-compat-level 9 diff --git a/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/debian/control.in new file mode 100644 index 0000000..4cb60a7 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends:${misc:Depends}, ${shlibs: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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/fill-values new file mode 100644 index 0000000..fa932fc --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-misc-depends-fp +Description: Test against missing reading the Depends field diff --git a/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/desc b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/desc new file mode 100644 index 0000000..d573b79 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-misc-depends-fp +Test-Against: debhelper-but-no-misc-depends +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/hints b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/hints new file mode 100644 index 0000000..1ece69c --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-misc-depends-fp/eval/hints @@ -0,0 +1,3 @@ +debhelper-misc-depends-fp (source): debian-build-system dh [debian/rules] +debhelper-misc-depends-fp (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-misc-depends-fp (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/control.in new file mode 100644 index 0000000..6a7a04d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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: debhelper-pre-depends +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Depends} +Description: [% $description %] extra string + 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. Extra + string to not to trigger duplicated description tags. It may + be an empty package. + +Package: debhelper-suggests +Architecture: [% $package_architecture %] +Suggests: ${misc:Depends} +Description: [% $description %] another extra string + 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. Extra + string. It may be an empty package. diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/rules new file mode 100755 index 0000000..a622013 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +%: + dh $@ + +binary: binary-arch binary-indep +binary-arch: +binary-indep: + -dh_clideps + -dh_gstscancodecs + dh_lisp || true + # Should trigger a versioned dependency requirement for dpatch + -dh_dpatch_patch +# We don't warn about commands inside make conditionals, so none of these +# get any warnings. +ifeq "$(USE_DH_PYTHON3)" "y" + dh_python3 +else + ifeq "$(USE_PYSUPPORT)" "y" + dh_pysupport + endif +endif + dh binary-indep + -dh_strip_nondeterminism + -dh_scour diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/fill-values new file mode 100644 index 0000000..7857128 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-no-depends +Dh-Compat-Level: 9 +Description: Test dependency requirements for debhelper +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/eval/desc b/t/recipes/checks/debhelper/debhelper-no-depends/eval/desc new file mode 100644 index 0000000..b6b85c4 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/eval/desc @@ -0,0 +1,5 @@ +Testname: debhelper-no-depends +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debhelper +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/eval/hints b/t/recipes/checks/debhelper/debhelper-no-depends/eval/hints new file mode 100644 index 0000000..4beaf2d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/eval/hints @@ -0,0 +1,12 @@ +debhelper-no-depends (source): weak-dependency-on-misc-depends debhelper-suggests +debhelper-no-depends (source): package-uses-deprecated-debhelper-compat-version 9 +debhelper-no-depends (source): package-uses-debhelper-but-lacks-build-depends [debian/rules] +debhelper-no-depends (source): no-versioned-debhelper-prerequisite 9 +debhelper-no-depends (source): missing-build-dependency-for-dh_-command dh_strip_nondeterminism (does not satisfy dh-strip-nondeterminism:any) [debian/rules] +debhelper-no-depends (source): missing-build-dependency-for-dh_-command dh_scour (does not satisfy scour:any) [debian/rules] +debhelper-no-depends (source): missing-build-dependency-for-dh_-command dh_lisp (does not satisfy dh-lisp:any) [debian/rules] +debhelper-no-depends (source): missing-build-dependency-for-dh_-command dh_gstscancodecs (does not satisfy libgstreamer1.0-dev:any) [debian/rules] +debhelper-no-depends (source): missing-build-dependency-for-dh_-command dh_clideps (does not satisfy cli-common-dev:any) [debian/rules] +debhelper-no-depends (source): debian-build-system dh [debian/rules] +debhelper-no-depends (source): debhelper-compat-level 9 +debhelper-no-depends (source): debhelper-but-no-misc-depends debhelper-no-depends diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..67c590a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,2 @@ +@include-parent +pedantic=8 diff --git a/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/debian/rules new file mode 100755 index 0000000..6787305 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Bad +override_dh_nump: # Multiple matches should emit only one tag +override_dh_instakk: + override_dh_installcrons: +override_dh_install_examples: +override_dh_install_changelogs : # Extra space +override_dh_perls override_dh_python3 : # Bad then good +override_dh_python3 override_dh_perls : # Good then bad +override_dh_instakk override_dh_install_examples : # Both broken, with space +foo override_dh_installdebs bar override_dh_installxmlcatalog: # combining regular and overrides + +# Don't worry about anything beyond a colon even if wrong; it will fail anyway. +override_dh_testdirs: override_dh_ucfs + +# Specifically check for missing "auto" ("dh_override_auto_build" has a +# distance of "5" to "dh_override_build") +override_dh_build: + +# Missing space +override dh_install: + +execute_after_dh_nope: +execute_before_dh_nope: + +# Good +.PHONY: override_dh_ucfs +override_dh_install: +override_dh_install : + override_dh_install: # +prefix_override_dh_gconfs: +override_dh_will_never_exist: +override_dh_python3 override_dh_perl : +override_dh_auto_configure-% override_dh_auto_install-%: +foo override_dh_installdeb bar override_dh_installxmlcatalogs: # combining regular and overrides +override_dh_install: $(PY3VERS:%=install-python%) +# override_dh_instal: would be a typo, but in a comment it doesn't matter +execute_after_dh_install: +execute_before_dh_install: diff --git a/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/fill-values new file mode 100644 index 0000000..1b2ed96 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-override-typos/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-override-typos +Description: Test for typos in override targets diff --git a/t/recipes/checks/debhelper/debhelper-override-typos/eval/desc b/t/recipes/checks/debhelper/debhelper-override-typos/eval/desc new file mode 100644 index 0000000..4759fe7 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-override-typos/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-override-typos +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-override-typos/eval/hints b/t/recipes/checks/debhelper/debhelper-override-typos/eval/hints new file mode 100644 index 0000000..9d2ec32 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-override-typos/eval/hints @@ -0,0 +1,19 @@ +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_testdirs => override_dh_testdir [debian/rules:18] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_perls => override_dh_perl [debian/rules:13] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_perls => override_dh_perl [debian/rules:12] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_nump => override_dh_numpy3 [debian/rules:7] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_installxmlcatalog => override_dh_installxmlcatalogs [debian/rules:15] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_installdebs => override_dh_installdeb [debian/rules:15] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_installcrons => override_dh_installcron [debian/rules:9] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_install_examples => override_dh_installexamples [debian/rules:14] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_install_examples => override_dh_installexamples [debian/rules:10] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_install_changelogs => override_dh_installchangelogs [debian/rules:11] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_instakk => override_dh_install [debian/rules:8] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_instakk => override_dh_install [debian/rules:14] +debhelper-override-typos (source): typo-in-debhelper-override-target override_dh_build => override_dh_auto_build [debian/rules:22] +debhelper-override-typos (source): typo-in-debhelper-override-target override dh_install => override_dh_install [debian/rules:25] +debhelper-override-typos (source): typo-in-debhelper-override-target execute_before_dh_nope => execute_before_dh_gnome [debian/rules:28] +debhelper-override-typos (source): typo-in-debhelper-override-target execute_after_dh_nope => execute_after_dh_gnome [debian/rules:27] +debhelper-override-typos (source): debian-build-system dh [debian/rules] +debhelper-override-typos (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-override-typos (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in new file mode 100644 index 0000000..19bc99a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in @@ -0,0 +1,14 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets + +Package: [% $source %] +Architecture: [% $package_architecture %] +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/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules new file mode 100755 index 0000000..df647f8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +PKG = debhelper-package-does-not-use-debhelper-or-cdbs +DOCS = debian/tmp/usr/share/doc/$(PKG) + +clean: + rm -rf debian/tmp + +build: + +binary: + install -d debian/tmp/DEBIAN $(DOCS) + install -m 0644 -t $(DOCS) debian/copyright debian/changelog + gzip -9n $(DOCS)/changelog + cd debian/tmp && \ + find * -type f ! -regex "DEBIAN/.*" -print0 | \ + LC_ALL=C sort -z | xargs -0r md5sum > DEBIAN/md5sums + chown -R 0:0 debian/tmp + chmod -R u+w,go=rX debian/tmp + dpkg-gencontrol + dpkg --build debian/tmp .. + +.PHONY: binary binary-arch binary-indep build-arch build-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values new file mode 100644 index 0000000..6b83677 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-package-does-not-use-debhelper-or-cdbs +Description: Test for packages not using debhelper or CDBS diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc new file mode 100644 index 0000000..5885652 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-package-does-not-use-debhelper-or-cdbs +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints new file mode 100644 index 0000000..06c2ad1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints @@ -0,0 +1,2 @@ +debhelper-package-does-not-use-debhelper-or-cdbs (source): package-does-not-use-debhelper-or-cdbs [debian/rules] +debhelper-package-does-not-use-debhelper-or-cdbs (source): debian-build-system other [debian/rules] diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/debian/rules new file mode 100755 index 0000000..d61a4e0 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + -dh $@ diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/fill-values new file mode 100644 index 0000000..d3cdf73 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-package-uses-debhelper-with-prefix-minus +Description: Test for packages using debhelper with a - prefix diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/desc b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/desc new file mode 100644 index 0000000..26a8916 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-package-uses-debhelper-with-prefix-minus +Test-Against: + package-does-not-use-debhelper-or-cdbs +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/hints b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/hints new file mode 100644 index 0000000..507a553 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-minus/eval/hints @@ -0,0 +1,3 @@ +debhelper-package-uses-debhelper-with-prefix-minus (source): debian-build-system dh [debian/rules] +debhelper-package-uses-debhelper-with-prefix-minus (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-package-uses-debhelper-with-prefix-minus (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/debian/rules new file mode 100755 index 0000000..d6bb780 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + +dh $@ diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/fill-values new file mode 100644 index 0000000..c52b8cb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-package-uses-debhelper-with-prefix-plus +Description: Test for packages using debhelper with a + prefix diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/desc b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/desc new file mode 100644 index 0000000..b04f1e3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-package-uses-debhelper-with-prefix-plus +Test-Against: + package-does-not-use-debhelper-or-cdbs +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/hints b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/hints new file mode 100644 index 0000000..5bd08a9 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-uses-debhelper-with-prefix-plus/eval/hints @@ -0,0 +1,3 @@ +debhelper-package-uses-debhelper-with-prefix-plus (source): debian-build-system dh [debian/rules] +debhelper-package-uses-debhelper-with-prefix-plus (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-package-uses-debhelper-with-prefix-plus (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/postinst b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/postinst new file mode 100644 index 0000000..185dc3a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +run something + +# We should have a debhelper token. +exit 0 diff --git a/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/rules new file mode 100755 index 0000000..cd6ef15 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f +# +# Use an alternate rules file that doesn't call dh to test not warning +# about debhelper script tokens if we call no programs that care about +# them. + +pkg = $(shell dh_listpackages) + +build: build-indep build-arch +build-indep: +build-arch: + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: binary-indep binary-arch +binary-arch: +binary-indep: + dh_testdir + dh_testroot + dh_prep + dh_install + dh_installchangelogs + # dh_installdocs may modify maintainer scripts + install -m 644 debian/copyright debian/$(pkg)/usr/share/doc/$(pkg) + dh_link + dh_compress + dh_fixperms + # dh_installdeb needs #DEBHELPER# token too + mkdir -p debian/$(pkg)/DEBIAN + install -m 755 debian/postinst debian/$(pkg)/DEBIAN + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/fill-values new file mode 100644 index 0000000..7d19c16 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-script-token-unneeded +Description: Check unnecessary debhelper script token diff --git a/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/desc b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/desc new file mode 100644 index 0000000..48dee5d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/desc @@ -0,0 +1,3 @@ +Testname: debhelper-script-token-unneeded +Test-Against: maintainer-script-lacks-debhelper-token +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/hints b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/hints new file mode 100644 index 0000000..b803499 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token-unneeded/eval/hints @@ -0,0 +1,3 @@ +debhelper-script-token-unneeded (source): debian-build-system debhelper [debian/rules] +debhelper-script-token-unneeded (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-script-token-unneeded (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst new file mode 100644 index 0000000..185dc3a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +run something + +# We should have a debhelper token. +exit 0 diff --git a/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values new file mode 100644 index 0000000..0fe87cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-script-token +Description: Check debhelper script token with rule minimization diff --git a/t/recipes/checks/debhelper/debhelper-script-token/eval/desc b/t/recipes/checks/debhelper/debhelper-script-token/eval/desc new file mode 100644 index 0000000..64e2d6f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-script-token +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-script-token/eval/hints b/t/recipes/checks/debhelper/debhelper-script-token/eval/hints new file mode 100644 index 0000000..ece9068 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-script-token/eval/hints @@ -0,0 +1,4 @@ +debhelper-script-token (source): maintainer-script-lacks-debhelper-token [debian/postinst] +debhelper-script-token (source): debian-build-system dh [debian/rules] +debhelper-script-token (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-script-token (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/debhelper-unused-cdbs/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-unused-cdbs/build-spec/fill-values new file mode 100644 index 0000000..33cf67d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-unused-cdbs/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-unused-cdbs +Extra-Build-Depends: cdbs +Description: Test for unused build-depends on cdbs diff --git a/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/desc b/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/desc new file mode 100644 index 0000000..8fbad9a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-unused-cdbs +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/hints b/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/hints new file mode 100644 index 0000000..58c11a0 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-unused-cdbs/eval/hints @@ -0,0 +1,4 @@ +debhelper-unused-cdbs (source): unused-build-dependency-on-cdbs [debian/rules] +debhelper-unused-cdbs (source): debian-build-system dh [debian/rules] +debhelper-unused-cdbs (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-unused-cdbs (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debhelper/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/legacy-debconf/eval/desc b/t/recipes/checks/debhelper/legacy-debconf/eval/desc new file mode 100644 index 0000000..531436c --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debhelper diff --git a/t/recipes/checks/debhelper/legacy-debconf/eval/hints b/t/recipes/checks/debhelper/legacy-debconf/eval/hints new file mode 100644 index 0000000..2984e86 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/eval/hints @@ -0,0 +1,5 @@ +debconf (source): uses-debhelper-compat-file [debian/compat] +debconf (source): no-versioned-debhelper-prerequisite 13 +debconf (source): maintainer-script-lacks-debhelper-token [debian/debconf-test.postinst] +debconf (source): debian-build-system debhelper [debian/rules] +debconf (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/legacy-debconf/eval/post-test b/t/recipes/checks/debhelper/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + 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: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + 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. diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + 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/debhelper/legacy-fields/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/debhelper/legacy-fields/eval/desc b/t/recipes/checks/debhelper/legacy-fields/eval/desc new file mode 100644 index 0000000..caa4458 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: debhelper diff --git a/t/recipes/checks/debhelper/legacy-fields/eval/hints b/t/recipes/checks/debhelper/legacy-fields/eval/hints new file mode 100644 index 0000000..704f9a5 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/eval/hints @@ -0,0 +1,8 @@ +fields (source): uses-debhelper-compat-file [debian/compat] +fields (source): package-uses-debhelper-but-lacks-build-depends [debian/rules] +fields (source): no-versioned-debhelper-prerequisite 13 +fields (source): missing-build-dependency-for-dh_-command dh_md5sums (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] +fields (source): debian-build-system debhelper [debian/rules] +fields (source): debhelper-compat-level 13 +fields (source): debhelper-but-no-misc-depends fields +fields (source): debhelper-but-no-misc-depends another-version diff --git a/t/recipes/checks/debhelper/legacy-fields/eval/post-test b/t/recipes/checks/debhelper/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debhelper/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debhelper/legacy-libbaz/eval/desc b/t/recipes/checks/debhelper/legacy-libbaz/eval/desc new file mode 100644 index 0000000..cec7741 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debhelper diff --git a/t/recipes/checks/debhelper/legacy-libbaz/eval/hints b/t/recipes/checks/debhelper/legacy-libbaz/eval/hints new file mode 100644 index 0000000..2a439ae --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/eval/hints @@ -0,0 +1,13 @@ +libbaz (source): uses-debhelper-compat-file [debian/compat] +libbaz (source): no-versioned-debhelper-prerequisite 13 +libbaz (source): maintainer-script-lacks-debhelper-token [debian/lib.prerm] +libbaz (source): maintainer-script-lacks-debhelper-token [debian/lib.postinst] +libbaz (source): maintainer-script-lacks-debhelper-token [debian/dev.prerm] +libbaz (source): maintainer-script-lacks-debhelper-token [debian/dev.postinst] +libbaz (source): debian-build-system debhelper [debian/rules] +libbaz (source): debhelper-compat-level 13 +libbaz (source): debhelper-but-no-misc-depends libbaz2-dev +libbaz (source): debhelper-but-no-misc-depends libbaz2-dbg +libbaz (source): debhelper-but-no-misc-depends libbaz2 +libbaz (source): debhelper-but-no-misc-depends libbaz1-dev +libbaz (source): debhelper-but-no-misc-depends libbaz1 diff --git a/t/recipes/checks/debhelper/legacy-libbaz/eval/post-test b/t/recipes/checks/debhelper/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group +Uploaders: Anyone but Jeroen +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script 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. It may + be an empty package. diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell /dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '</dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat </dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz \ No newline at end of file diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..5ba2249 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: debhelper diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..9a512b8 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,4 @@ +maintainer-scripts (source): debian-build-system debhelper [debian/rules] +maintainer-scripts (source): debhelper-compat-virtual-relation 13 [debian/control] +maintainer-scripts (source): debhelper-compat-level 13 +maintainer-scripts (source): debhelper-but-no-misc-depends maintainer-scripts diff --git a/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debhelper/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/debhelper/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/debhelper/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debhelper/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/debhelper/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/debhelper/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debhelper/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debhelper/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debhelper/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debhelper/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/debhelper/legacy-scripts/eval/desc b/t/recipes/checks/debhelper/legacy-scripts/eval/desc new file mode 100644 index 0000000..24bff70 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debhelper diff --git a/t/recipes/checks/debhelper/legacy-scripts/eval/hints b/t/recipes/checks/debhelper/legacy-scripts/eval/hints new file mode 100644 index 0000000..94a71d9 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/eval/hints @@ -0,0 +1,7 @@ +scripts (source): package-uses-deprecated-debhelper-compat-version 1 +scripts (source): package-uses-debhelper-but-lacks-build-depends [debian/rules] +scripts (source): no-versioned-debhelper-prerequisite 1 +scripts (source): missing-build-dependency-for-dh_-command dh_testroot (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] +scripts (source): debian-build-system debhelper [debian/rules] +scripts (source): debhelper-compat-file-is-missing +scripts (source): debhelper-but-no-misc-depends scripts diff --git a/t/recipes/checks/debhelper/legacy-scripts/eval/post-test b/t/recipes/checks/debhelper/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debhelper/oeverride-typo/build-spec/debian/rules b/t/recipes/checks/debhelper/oeverride-typo/build-spec/debian/rules new file mode 100755 index 0000000..c62e10f --- /dev/null +++ b/t/recipes/checks/debhelper/oeverride-typo/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# typo in prefix +oeverride_dh_missing: diff --git a/t/recipes/checks/debhelper/oeverride-typo/build-spec/fill-values b/t/recipes/checks/debhelper/oeverride-typo/build-spec/fill-values new file mode 100644 index 0000000..60aaeb3 --- /dev/null +++ b/t/recipes/checks/debhelper/oeverride-typo/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: oeverride-typo +Description: Uses the misspelling 'oeverride' in a dh rule target diff --git a/t/recipes/checks/debhelper/oeverride-typo/eval/desc b/t/recipes/checks/debhelper/oeverride-typo/eval/desc new file mode 100644 index 0000000..7621bba --- /dev/null +++ b/t/recipes/checks/debhelper/oeverride-typo/eval/desc @@ -0,0 +1,3 @@ +Testname: oeverride-typo +Check: debhelper +See-Also: Bug#963765 diff --git a/t/recipes/checks/debhelper/oeverride-typo/eval/hints b/t/recipes/checks/debhelper/oeverride-typo/eval/hints new file mode 100644 index 0000000..bef4e7c --- /dev/null +++ b/t/recipes/checks/debhelper/oeverride-typo/eval/hints @@ -0,0 +1,4 @@ +oeverride-typo (source): typo-in-debhelper-override-target oeverride_dh_missing => override_dh_missing [debian/rules:7] +oeverride-typo (source): debian-build-system dh [debian/rules] +oeverride-typo (source): debhelper-compat-virtual-relation 13 [debian/control] +oeverride-typo (source): debhelper-compat-level 13 diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules new file mode 100755 index 0000000..d5fb60d --- /dev/null +++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_systemd_enable: + dh_systemd_enable + +override_dh_systemd_start: + dh_systemd_start + +override_dh_systemd_start-arch: + dh_systemd_start diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values new file mode 100644 index 0000000..d418d1d --- /dev/null +++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: rules-uses-deprecated-systemd-override +Description: Test for override_dh_systemd_enable with compat levels 11 +Dh-Compat-Level: 12 diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc new file mode 100644 index 0000000..1eab75d --- /dev/null +++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-uses-deprecated-systemd-override +Check: debhelper diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints new file mode 100644 index 0000000..466a42e --- /dev/null +++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints @@ -0,0 +1,6 @@ +rules-uses-deprecated-systemd-override (source): package-uses-old-debhelper-compat-version 12 +rules-uses-deprecated-systemd-override (source): debian-rules-uses-deprecated-systemd-override override_dh_systemd_start-arch [debian/rules:12] +rules-uses-deprecated-systemd-override (source): debian-rules-uses-deprecated-systemd-override override_dh_systemd_enable [debian/rules:6] +rules-uses-deprecated-systemd-override (source): debian-build-system dh [debian/rules] +rules-uses-deprecated-systemd-override (source): debhelper-compat-virtual-relation 12 [debian/control] +rules-uses-deprecated-systemd-override (source): debhelper-compat-level 12 diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.debhelper.log b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.debhelper.log new file mode 100644 index 0000000..3cb1115 --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.debhelper.log @@ -0,0 +1 @@ +debhelper log file for package diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.postinst.debhelper b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.postinst.debhelper new file mode 100644 index 0000000..1cd1647 --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/package.postinst.debhelper @@ -0,0 +1 @@ +Internal debhelper file for package diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/rules b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/rules new file mode 100755 index 0000000..b792adb --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +clean: + # No such thing diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/fill-values b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/fill-values new file mode 100644 index 0000000..78a7192 --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-internal-files +Description: Test for spotting unremoved debhelper temp files diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/desc b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/desc new file mode 100644 index 0000000..3653810 --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-internal-files +Check: debhelper/temporary diff --git a/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/hints b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/hints new file mode 100644 index 0000000..1e0d3cf --- /dev/null +++ b/t/recipes/checks/debhelper/temporary/debhelper-internal-files/eval/hints @@ -0,0 +1,2 @@ +debhelper-internal-files (source): temporary-debhelper-file [debian/package.postinst.debhelper] +debhelper-internal-files (source): temporary-debhelper-file [debian/package.debhelper.log] diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values new file mode 100644 index 0000000..a9262a1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-distribution-does-not-match-changes-file +Skeleton: upload-native +Distribution: experimental +Description: Test upload with unstable in changes but experimental in changelog diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in new file mode 100755 index 0000000..10a61dc --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in @@ -0,0 +1,3 @@ +#!/bin/sh + +perl -pi -e 's/^(Distribution:)\s+\S+/$1 unstable/' [% $build_product %] diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc new file mode 100644 index 0000000..d46c519 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-distribution-does-not-match-changes-file +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints new file mode 100644 index 0000000..cede117 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints @@ -0,0 +1 @@ +changelog-distribution-does-not-match-changes-file (binary): changelog-distribution-does-not-match-changes-file experimental != unstable [usr/share/doc/changelog-distribution-does-not-match-changes-file/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/debian/changelog.in new file mode 100644 index 0000000..36992ba --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (0.1-2) unstable; urgency=low + + * An earlier non-native version. + + -- [% $author %] Tue, 1 Jan 2008 22:45:57 +0000 diff --git a/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/fill-values new file mode 100644 index 0000000..1d3073c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-become-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-become-native +Description: Test for packages where the version suddenly becomes native diff --git a/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/desc new file mode 100644 index 0000000..4294061 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-become-native +See-Also: Debian Bug #504070 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/hints new file mode 100644 index 0000000..05caab0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-become-native/eval/hints @@ -0,0 +1 @@ +changelog-file-become-native (source): odd-historical-debian-changelog-version 0.1-2 (for native) [debian/changelog:8] diff --git a/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/debian/changelog.in new file mode 100644 index 0000000..363fcc6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Version reused, new source package name. + + -- [% $author %] [% $date %] + +[% $source %]-oldname (1.0-3) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/fill-values new file mode 100644 index 0000000..0e3cdbf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-consecutive-debian-revision-unrel +Skeleton: upload-non-native +Description: Check for false positive in non-consecutive-debian-revision diff --git a/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/desc new file mode 100644 index 0000000..a78a0ae --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-consecutive-debian-revision-unrel +Test-Against: non-consecutive-debian-revision +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-consecutive-debian-revision-unrel/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/debian/rules new file mode 100755 index 0000000..c8b797a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PKG:=$(shell dh_listpackages) +DOC_DIR:=debian/$(PKG)/usr/share/doc/$(PKG) + +%: + dh $@ + +override_dh_md5sums: + mv $(DOC_DIR)/changelog.gz $(DOC_DIR)/changelog.Debian.gz + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/fill-values new file mode 100644 index 0000000..37405fe --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-dch-wrong-name-native +Description: Test if Debian changelog has the wrong name diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/desc new file mode 100644 index 0000000..3595388 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-dch-wrong-name-native +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/hints new file mode 100644 index 0000000..dae41ee --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name-native/eval/hints @@ -0,0 +1 @@ +changelog-file-dch-wrong-name-native (binary): wrong-name-for-changelog-of-native-package [usr/share/doc/changelog-file-dch-wrong-name-native/changelog.Debian.gz] diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/debian/rules new file mode 100755 index 0000000..2d5cd31 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PKG:=$(shell dh_listpackages) +DOC_DIR:=debian/$(PKG)/usr/share/doc/$(PKG) + +%: + dh $@ + +override_dh_md5sums: + mv $(DOC_DIR)/changelog.Debian.gz $(DOC_DIR)/changelog.debian.gz + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/fill-values new file mode 100644 index 0000000..80de357 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-dch-wrong-name +Skeleton: upload-non-native +Description: Test if Debian changelog has the wrong name diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/orig/ChangeLog b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/orig/ChangeLog new file mode 100644 index 0000000..a935b07 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/build-spec/orig/ChangeLog @@ -0,0 +1,5 @@ +2011-09-10 Niels Thykier + + * This is a non-Debian ChangeLog. Lintian should not be tricked + to believe this is a Debian changelog. + diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/desc new file mode 100644 index 0000000..ba278f1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-dch-wrong-name +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/hints new file mode 100644 index 0000000..b726e93 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-dch-wrong-name/eval/hints @@ -0,0 +1 @@ +changelog-file-dch-wrong-name (binary): wrong-name-for-debian-changelog-file [usr/share/doc/changelog-file-dch-wrong-name/changelog.debian.gz] diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/debian/changelog.in new file mode 100644 index 0000000..107f854 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) UNRELEASED; urgency=low + + * . + * + + -- [% $author %] [% $date %] + +[% $source %] (0.1) unstable; urgency=low + + * First upload (Closes: #123456). + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/fill-values new file mode 100644 index 0000000..e0f238f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-empty-entry-unrel +Description: Check changelog empty entry (UNRELEASED) diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/desc new file mode 100644 index 0000000..7e2446f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-empty-entry-unrel +Test-Against: changelog-empty-entry +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/hints new file mode 100644 index 0000000..2b08d4c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry-unrel/eval/hints @@ -0,0 +1 @@ +changelog-file-empty-entry-unrel (binary): debian-changelog-line-too-short . [usr/share/doc/changelog-file-empty-entry-unrel/changelog.gz:3] diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/debian/changelog.in new file mode 100644 index 0000000..27fbf38 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * . + * + + -- + +[% $source %] (0.1) unstable; urgency=low + + * First upload (Closes: #123456). + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/fill-values new file mode 100644 index 0000000..30bc2c8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-empty-entry +Description: Check changelog empty entry diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/desc new file mode 100644 index 0000000..a884875 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-empty-entry +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/hints new file mode 100644 index 0000000..a1252e4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-empty-entry/eval/hints @@ -0,0 +1,4 @@ +changelog-file-empty-entry (binary): syntax-error-in-debian-changelog "found start of entry where expected more change data or trailer" [usr/share/doc/changelog-file-empty-entry/changelog.gz:8] +changelog-file-empty-entry (binary): syntax-error-in-debian-changelog "badly formatted trailer line" [usr/share/doc/changelog-file-empty-entry/changelog.gz:6] +changelog-file-empty-entry (binary): debian-changelog-line-too-short . [usr/share/doc/changelog-file-empty-entry/changelog.gz:3] +changelog-file-empty-entry (binary): changelog-empty-entry [usr/share/doc/changelog-file-empty-entry/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/debian/changelog.in new file mode 100644 index 0000000..eb930a3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/debian/changelog.in @@ -0,0 +1,11 @@ +[% $source %] (1:[% $version %]) unstable; urgency=low + + * This changelog entry introduces a version prefix. + + -- [% $author %] [% $date %] + +[% $source %] (999999) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/fill-values new file mode 100644 index 0000000..4150aae --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-epoch-change-without-comment-new +Description: Check changelog for accidental epoch changes diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/desc new file mode 100644 index 0000000..f91cffa --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-epoch-change-without-comment-new +Test-Against: + epoch-changed-but-upstream-version-did-not-go-backwards + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/hints new file mode 100644 index 0000000..5a62f5b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-new/eval/hints @@ -0,0 +1 @@ +changelog-file-epoch-change-without-comment-new (source): epoch-change-without-comment 999999 -> 1:1.0 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/debian/changelog.in new file mode 100644 index 0000000..c3fcc68 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/debian/changelog.in @@ -0,0 +1,11 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry has the same prefix as before. + + -- [% $author %] [% $date %] + +[% $source %] (2:0) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/fill-values new file mode 100644 index 0000000..986d64d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-epoch-change-without-comment-same +Description: Check changelog for accidental epoch changes (false positive) diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/desc new file mode 100644 index 0000000..13e9349 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-epoch-change-without-comment-same +Test-Against: + epoch-change-without-comment + epoch-changed-but-upstream-version-did-not-go-backwards +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-same/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/debian/changelog.in new file mode 100644 index 0000000..785572f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry bumps the epoch and references the word in the + changelog. + + -- [% $author %] [% $date %] + +[% $source %] (1:999999) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/fill-values new file mode 100644 index 0000000..2a74c76 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-epoch-change-without-comment-unrel +Description: Check changelog for accidental epoch changes (false positive) diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/desc new file mode 100644 index 0000000..f2bb59b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/desc @@ -0,0 +1,6 @@ +Testname: changelog-file-epoch-change-without-comment-unrel +Test-Against: + epoch-change-without-comment + epoch-changed-but-upstream-version-did-not-go-backwards + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/debian/changelog.in new file mode 100644 index 0000000..c8a9ab0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/debian/changelog.in @@ -0,0 +1,11 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry bumps the version. + + -- [% $author %] [% $date %] + +[% $source %] (1:99999999) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/fill-values new file mode 100644 index 0000000..9bcb203 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-epoch-change-without-comment +Description: Check changelog for accidental epoch changes diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/desc new file mode 100644 index 0000000..538582f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-epoch-change-without-comment +Test-Against: + epoch-changed-but-upstream-version-did-not-go-backwards + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/hints new file mode 100644 index 0000000..c8fe1d5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-change-without-comment/eval/hints @@ -0,0 +1 @@ +changelog-file-epoch-change-without-comment (source): epoch-change-without-comment 1:99999999 -> 2:1.0 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/debian/changelog.in new file mode 100644 index 0000000..c7a1b0c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry bumps the epoch and the upstream version number + decreased (correctly). + + -- [% $author %] [% $date %] + +[% $source %] (1:9999999) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/fill-values new file mode 100644 index 0000000..b39c267 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-epoch-changed-upstream-version-decrease +Description: Check changelog for accidental epoch changes (decrease) diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/desc new file mode 100644 index 0000000..4239848 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/desc @@ -0,0 +1,6 @@ +Testname: changelog-file-epoch-changed-upstream-version-decrease +Test-Against: + epoch-change-without-comment + epoch-changed-but-upstream-version-did-not-go-backwards + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-decrease/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/debian/changelog.in new file mode 100644 index 0000000..49c0a3d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry bumps the epoch and the upstream version number + increased too. + + -- [% $author %] [% $date %] + +[% $source %] (1:0.9-4) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/fill-values new file mode 100644 index 0000000..c2167bf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: changelog-file-epoch-changed-upstream-version-increase +Version: 1.0-3 +Description: Check changelog for accidental epoch changes (increase) diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/desc new file mode 100644 index 0000000..6113173 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-epoch-changed-upstream-version-increase +Test-Against: + epoch-change-without-comment + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/hints new file mode 100644 index 0000000..2ac17d4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-increase/eval/hints @@ -0,0 +1 @@ +changelog-file-epoch-changed-upstream-version-increase (source): epoch-changed-but-upstream-version-did-not-go-backwards 1:0.9-4 -> 2:1.0-3 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/debian/changelog.in new file mode 100644 index 0000000..a992b11 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/debian/changelog.in @@ -0,0 +1,11 @@ +[% $source %] (2:[% $version %]) unstable; urgency=low + + * This changelog entry bumps the epoch but not the upstream version number, + + -- [% $author %] [% $date %] + +[% $source %] (1:[% $version %]) unstable; urgency=low + + * Initial upload. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/fill-values new file mode 100644 index 0000000..86e8493 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: changelog-file-epoch-changed-upstream-version-same +Version: 1.0-3 +Description: Check changelog for accidental epoch changes (same) diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/desc new file mode 100644 index 0000000..b5c1b45 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-epoch-changed-upstream-version-same +Test-Against: + epoch-change-without-comment + latest-debian-changelog-entry-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/hints new file mode 100644 index 0000000..8bb66ca --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-epoch-changed-upstream-version-same/eval/hints @@ -0,0 +1,2 @@ +changelog-file-epoch-changed-upstream-version-same (source): latest-debian-changelog-entry-reuses-existing-version 2:1.0-3 ~ 1:1.0-3 (last used: Fri, 06 Feb 2009 22:22:37 -0800) [debian/changelog:1] +changelog-file-epoch-changed-upstream-version-same (source): epoch-changed-but-upstream-version-did-not-go-backwards 1:1.0-3 -> 2:1.0-3 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/debian/changelog.in new file mode 100644 index 0000000..71b790a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Non-maintainer upload. + * Lintian Test Suite. + * Test: [% $testname %] + + -- Russ Allbery [% $date %] diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/fill-values new file mode 100644 index 0000000..0239f93 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-etch-nmu +Skeleton: upload-non-native +Version: 1.0-1etch1.1 +Description: Test for a code name in an unstable upload diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/desc new file mode 100644 index 0000000..5904a7d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-etch-nmu +Test-Against: + malformed-debian-changelog-version + version-refers-to-distribution +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-etch-nmu/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-etch/build-spec/fill-values new file mode 100644 index 0000000..1d1817f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-etch +Skeleton: upload-non-native +Version: 1.0-1etch1 +Description: Test for a code name in an unstable upload diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-etch/eval/desc new file mode 100644 index 0000000..03dd7f8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-file-etch +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-etch/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-etch/eval/hints new file mode 100644 index 0000000..8b1b701 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-etch/eval/hints @@ -0,0 +1 @@ +changelog-file-etch (source): version-refers-to-distribution 1.0-1etch1 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/debian/changelog.in new file mode 100644 index 0000000..01e7403 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Upload to sid. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) experimental; urgency=low + + * First upload to experimental. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/fill-values new file mode 100644 index 0000000..dc465ac --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: changelog-file-experimental-false-positive +Version: 1.0-3 +Description: Check experimental to unstable changes false positive diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/desc new file mode 100644 index 0000000..4e6018a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-experimental-false-positive +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/hints new file mode 100644 index 0000000..318b4f2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental-false-positive/eval/hints @@ -0,0 +1 @@ +changelog-file-experimental-false-positive (source): non-consecutive-debian-revision 1.0-1 -> 1.0-3 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/debian/changelog.in new file mode 100644 index 0000000..b8b07af --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) experimental; urgency=low + + * First upload to experimental. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/fill-values new file mode 100644 index 0000000..562583b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: changelog-file-experimental +Version: 1.0-3 +Description: Check experimental to unstable changes diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/desc new file mode 100644 index 0000000..e48f09b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-experimental +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/hints new file mode 100644 index 0000000..58aaeee --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-experimental/eval/hints @@ -0,0 +1,2 @@ +changelog-file-experimental (source): non-consecutive-debian-revision 1.0-1 -> 1.0-3 [debian/changelog:1] +changelog-file-experimental (binary): experimental-to-unstable-without-comment [usr/share/doc/changelog-file-experimental/changelog.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/debian/docs b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/debian/docs new file mode 100644 index 0000000..6d10dce --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/debian/docs @@ -0,0 +1 @@ +changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/fill-values new file mode 100644 index 0000000..6d6ac8c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-extra-upstream +Skeleton: upload-non-native +Description: Check a package with ChangeLog and changelog.gz diff --git a/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/orig/changelog b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/orig/changelog new file mode 100644 index 0000000..2d85e10 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/build-spec/orig/changelog @@ -0,0 +1 @@ +This is some upstream changelog file. diff --git a/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/desc new file mode 100644 index 0000000..8520129 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-extra-upstream +Test-Against: changelog-file-not-compressed +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-extra-upstream/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..d73efdd --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/changelog.in @@ -0,0 +1,42 @@ +[% $source %] (1:[% $version %]) unstable; urgency=low + + + * Test: [% $testname %] + * Upload to experimental. + * improbable-bug-number-in-closes (Closes: #1234) + * Another bug closer without a colon (Closes #555555) + * This line is too long since it contains words and words and words but doesn't + have any wrapping except at column 81. + * http://www.example.com/but-a-really-long-url-does-not-count-as-a-long-line-at-all + See http://www.example.com/but-a-really-long-url-does-not-count-as-a-long-line-at-all + even if preceded by See. + * Misspelled Closes (Close: #666666) + + * Here is another really long in the changelog, and it would be really nice if a + certain program would report its line number correctly. Especially since, + we have an extra empty line in the start of the entry. + + * Below is another very long line (UTF-8), which should have a "visual" width + of ~75 characters, but consists of over 200 bytes. + üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüü + + * It might even fix TEMP-1234567-abcdef, though probably not. + * We refer to the epoch bump here. + + -- [% $author %] [% $date %] + +[% $source %] ([% $version %]) unstable; urgency=low + + * Duplicate changelog entry to trigger tags. + + -- Unknown [% $date %] + +[% $source %] (0.1) unstable; urgency=low + + * Used to be a syntax error here. + + -- [% $author %] [% $date %] + +Local variables: +add-log-mailing-address: "rra@debian.org" +End: diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/rules new file mode 100755 index 0000000..9171128 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +pkg = $(shell dh_listpackages) + +%: + dh $@ + +override_dh_installchangelogs: + install -c -m 644 debian/changelog \ + debian/$(pkg)/usr/share/doc/$(pkg)/changelog.Debian + gzip -1 -n debian/$(pkg)/usr/share/doc/$(pkg)/changelog.Debian diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/fill-values new file mode 100644 index 0000000..ec70647 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-general +Skeleton: upload-non-native +Description: General tests for changelog-file tags diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-general/eval/desc new file mode 100644 index 0000000..b5e38e0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-file-general +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-general/eval/hints new file mode 100644 index 0000000..083916b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/eval/hints @@ -0,0 +1,14 @@ +changelog-file-general (source): latest-debian-changelog-entry-without-new-date [debian/changelog:1] +changelog-file-general (source): latest-debian-changelog-entry-reuses-existing-version 1:1.0-1 ~ 1.0-1 (last used: CURRENT) [debian/changelog:1] +changelog-file-general (source): epoch-changed-but-upstream-version-did-not-go-backwards 1.0-1 -> 1:1.0-1 [debian/changelog:1] +changelog-file-general (binary): possible-missing-colon-in-closes Closes #555555 [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] +changelog-file-general (binary): misspelled-closes-bug Close: #666666 [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] +changelog-file-general (binary): latest-changelog-entry-without-new-date [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] +changelog-file-general (binary): improbable-bug-number-in-closes 1234 [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] +changelog-file-general (binary): debian-changelog-line-too-long [usr/share/doc/changelog-file-general/changelog.Debian.gz:8] +changelog-file-general (binary): debian-changelog-line-too-long [usr/share/doc/changelog-file-general/changelog.Debian.gz:15] +changelog-file-general (binary): debian-changelog-file-contains-obsolete-user-emacs-settings [usr/share/doc/changelog-file-general/changelog.Debian.gz:41] +changelog-file-general (binary): changelog-references-temp-security-identifier TEMP-1234567-abcdef [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] +changelog-file-general (binary): changelog-not-compressed-with-max-compression [usr/share/doc/changelog-file-general/changelog.Debian.gz] +changelog-file-general (binary): bogus-mail-host-in-debian-changelog unknown@unknown (for version 1.0-1) [usr/share/doc/changelog-file-general/changelog.Debian.gz:28] +changelog-file-general (binary): bad-intended-distribution intended for experimental but uploaded to unstable [usr/share/doc/changelog-file-general/changelog.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-general/eval/post-test b/t/recipes/checks/debian/changelog/changelog-file-general/eval/post-test new file mode 100644 index 0000000..a84cbe8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-general/eval/post-test @@ -0,0 +1 @@ +s/\(last used: ([^\)]+*)\)/(last used: CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in new file mode 100644 index 0000000..fdf11f7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + * Suppress "should close ITP bug" messages. (Closes: #123456) + * Writes out "Sept" and "Thurs"; should be "Sep" and "Thu". + + -- [% $author %] Thurs, 14 Sept 2017 10:47:43 +0000 diff --git a/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/control.in b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/control.in new file mode 100644 index 0000000..c770eac --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 4.1.0 +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/fill-values new file mode 100644 index 0000000..d0d3f38 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-invalid-date +Description: Test for invalid dates diff --git a/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/desc new file mode 100644 index 0000000..d58b493 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-file-invalid-date +Test-Against: + debian-changelog-has-wrong-day-of-week +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/hints new file mode 100644 index 0000000..472360d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-invalid-date/eval/hints @@ -0,0 +1,2 @@ +changelog-file-invalid-date (binary): invalid-date-in-debian-changelog (Thurs -> Thu) [usr/share/doc/changelog-file-invalid-date/changelog.gz:1] +changelog-file-invalid-date (binary): invalid-date-in-debian-changelog (Sept -> Sep) [usr/share/doc/changelog-file-invalid-date/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/debian/changelog.in new file mode 100644 index 0000000..b700347 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/debian/changelog.in @@ -0,0 +1,17 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + * The following lines are too short. + * R³ + * dh 11 + * 12345 + + * The following entries are long enough. + * dh 11. + * 123456 + + * These are false positives. + * 123: + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/fill-values new file mode 100644 index 0000000..719e316 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-line-too-short +Skeleton: upload-non-native +Description: Test for short changelog entries diff --git a/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/desc new file mode 100644 index 0000000..9681924 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-line-too-short +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/hints new file mode 100644 index 0000000..92d4bf6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-line-too-short/eval/hints @@ -0,0 +1,3 @@ +changelog-file-line-too-short (binary): debian-changelog-line-too-short dh 11 [usr/share/doc/changelog-file-line-too-short/changelog.Debian.gz:7] +changelog-file-line-too-short (binary): debian-changelog-line-too-short R³ [usr/share/doc/changelog-file-line-too-short/changelog.Debian.gz:6] +changelog-file-line-too-short (binary): debian-changelog-line-too-short 12345 [usr/share/doc/changelog-file-line-too-short/changelog.Debian.gz:8] diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/debian/changelog.in new file mode 100644 index 0000000..ea010a2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) stable-proposed-updates; urgency=low + + * New version. + + -- [% $author %] [% $date %] + +[% $source %] (0.9-1) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] Tue, 1 Jan 2008 22:45:57 +0000 diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/fill-values new file mode 100644 index 0000000..2bdf496 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-missing-explicit-entry +Skeleton: upload-non-native +Version: 1.2-3+deb9u1 +Description: Test for missing (stable update, etc.) entries diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/desc new file mode 100644 index 0000000..f2805f3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-missing-explicit-entry +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/hints new file mode 100644 index 0000000..b24457e --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing-explicit-entry/eval/hints @@ -0,0 +1 @@ +changelog-file-missing-explicit-entry (source): changelog-file-missing-explicit-entry 0.9-1 -> 1.2-3 (missing) -> 1.2-3+deb9u1 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/debian/rules new file mode 100755 index 0000000..a687494 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + + +override_dh_md5sums: + find debian/*/ -type f -a -name 'changelog*' -delete + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/fill-values new file mode 100644 index 0000000..fb5b402 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-missing +Skeleton: upload-non-native +Description: Test if Debian changelog is missing diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-missing/eval/desc new file mode 100644 index 0000000..c3c534b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-missing +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-missing/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-missing/eval/hints new file mode 100644 index 0000000..de5ad15 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-missing/eval/hints @@ -0,0 +1 @@ +changelog-file-missing (binary): no-changelog usr/share/doc/changelog-file-missing/changelog.Debian.gz (non-native package) diff --git a/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/debian/changelog.in new file mode 100644 index 0000000..18d0420 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/debian/changelog.in @@ -0,0 +1,14 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * New upstream bugfix release. + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) unstable; urgency=low + + * Old changelog entry to trigger the tag. + + -- [% $author %] Sat, 20 Mar 2010 16:09:18 -0700 + diff --git a/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/fill-values new file mode 100644 index 0000000..c26e446 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-new-upstream +Skeleton: upload-non-native +Version: 1.0-2 +Description: Check a new upstream version without a version change diff --git a/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/desc new file mode 100644 index 0000000..dca2515 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-new-upstream +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/hints new file mode 100644 index 0000000..6c35244 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-new-upstream/eval/hints @@ -0,0 +1 @@ +changelog-file-new-upstream (source): possible-new-upstream-release-without-new-version [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/NEWS b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/NEWS new file mode 100644 index 0000000..6a69656 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/NEWS @@ -0,0 +1,7 @@ +changelog-file-news-and-changelog-not-compressed (1.0) unstable; urgency=low + + Something incredibly important... or maybe this is just a + lintian test for an uncompressed NEWS file. + + -- Niels Thykier Wed, 10 Aug 2011 21:09:24 +0200 + \ No newline at end of file diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/rules new file mode 100755 index 0000000..f957b51 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +pkg = $(shell dh_listpackages) + +%: + dh $@ + +override_dh_installchangelogs: + install -c -m 644 debian/changelog \ + debian/$(pkg)/usr/share/doc/$(pkg)/changelog + install -c -m 644 debian/NEWS \ + debian/$(pkg)/usr/share/doc/$(pkg)/NEWS.Debian + +override_dh_compress: + diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/fill-values new file mode 100644 index 0000000..8fc7c20 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-news-and-changelog-not-compressed +Description: General tests for changelog-file tags diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/desc new file mode 100644 index 0000000..9d29525 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-news-and-changelog-not-compressed +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/hints new file mode 100644 index 0000000..2715a6c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-and-changelog-not-compressed/eval/hints @@ -0,0 +1,2 @@ +changelog-file-news-and-changelog-not-compressed (binary): debian-news-file-not-compressed [usr/share/doc/changelog-file-news-and-changelog-not-compressed/NEWS.Debian] +changelog-file-news-and-changelog-not-compressed (binary): changelog-file-not-compressed [usr/share/doc/changelog-file-news-and-changelog-not-compressed/changelog] diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/debian/NEWS b/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/debian/NEWS new file mode 100644 index 0000000..e5ca0f2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/debian/NEWS @@ -0,0 +1,11 @@ +changelog-file-news-general (1.0) UNRELEASED; urgency=high + + * This is a major change, which shouldn't be using an asterisk. It also + has an ISO 8859-1 character: µ and a speling error. + + -- Russ Allbery Fri, 01 Jan 2010 20:57:15 -0800 +changelog-file-news-general (0.9) unstable; urgency=low + + Another entry, this one with a syntax error in the date. + + -- Russ Allbery Fri, 01 Jan 2010 20:57:15 -080 diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/fill-values new file mode 100644 index 0000000..7b9e061 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-news-general +Description: General checks for NEWS.Debian diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/desc new file mode 100644 index 0000000..83f65c2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-news-general +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/hints new file mode 100644 index 0000000..e04e26e --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-general/eval/hints @@ -0,0 +1,7 @@ +changelog-file-news-general (binary): syntax-error-in-debian-news-file "found eof where expected more change data or trailer" [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:12] +changelog-file-news-general (binary): syntax-error-in-debian-news-file "badly formatted trailer line" [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:11] +changelog-file-news-general (binary): spelling-error-in-news-debian speling spelling [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz] +changelog-file-news-general (binary): debian-news-entry-uses-asterisk [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:1] +changelog-file-news-general (binary): debian-news-entry-has-strange-distribution UNRELEASED [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:1] +changelog-file-news-general (binary): changelog-news-debian-mismatch Urgency low != high [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:1] +changelog-file-news-general (binary): changelog-news-debian-mismatch Distribution unstable != UNRELEASED [usr/share/doc/changelog-file-news-general/NEWS.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/debian/NEWS b/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/debian/NEWS new file mode 100644 index 0000000..a4be560 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/debian/NEWS @@ -0,0 +1,6 @@ +changelog-file-news-version (2.0) unstable; urgency=low + + This is some news entry about something. + + -- Russ Allbery Fri, 01 Jan 2010 22:09:12 -0800 + diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/fill-values new file mode 100644 index 0000000..6b75823 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-version/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-news-version +Description: Check mismatches of the NEWS.Debian version diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/desc new file mode 100644 index 0000000..ddeddca --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-news-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/hints new file mode 100644 index 0000000..6f9c9f0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-version/eval/hints @@ -0,0 +1 @@ +changelog-file-news-version (binary): debian-news-entry-has-unknown-version 2.0 [usr/share/doc/changelog-file-news-version/NEWS.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/package-news b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/package-news new file mode 100644 index 0000000..928a48c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/package-news @@ -0,0 +1,6 @@ +changelog-file-wrong-name (1.0) unstable; urgency=low + + Some interesting information. + + -- Niels Thykier Sun, 22 Jul 2012 20:30:00 +0000 + diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/rules new file mode 100755 index 0000000..952d45a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PKG=$(shell dh_listpackages) +DOC=debian/$(PKG)/usr/share/doc/$(PKG) + +%: + dh $@ + +override_dh_installchangelogs: + dh_installchangelogs + gzip -n -9c < debian/package-news > $(DOC)/news.debian.gz diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/fill-values new file mode 100644 index 0000000..0e4b849 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-news-wrong-name +Description: Check for NEWS.Debian installed with wrong name diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/desc new file mode 100644 index 0000000..86a8f41 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-news-wrong-name +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/hints new file mode 100644 index 0000000..3636bbb --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-news-wrong-name/eval/hints @@ -0,0 +1 @@ +changelog-file-news-wrong-name (binary): wrong-name-for-debian-news-file [usr/share/doc/changelog-file-news-wrong-name/news.debian.gz] diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/debian/rules new file mode 100755 index 0000000..f7139c2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_md5sums: + find debian/*/ -type f -a -iname 'changelog.*' -delete + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/fill-values new file mode 100644 index 0000000..e3dddde --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-no-dch-native +Description: Test if Debian changelog is missing in native pkg diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/desc new file mode 100644 index 0000000..6dd8e86 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-no-dch-native +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/hints new file mode 100644 index 0000000..8172b29 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch-native/eval/hints @@ -0,0 +1 @@ +changelog-file-no-dch-native (binary): no-changelog usr/share/doc/changelog-file-no-dch-native/changelog.gz (native package) diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/debian/rules new file mode 100755 index 0000000..9307919 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installchangelogs: + # This is needed for Ubuntu, where debhelper does not install + # upstream changelogs by default + dh_installchangelogs ChangeLog + +override_dh_md5sums: + find debian/*/ -type f -a -iname 'changelog.debian*' -delete + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/fill-values new file mode 100644 index 0000000..d5a6192 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-no-dch +Skeleton: upload-non-native +Description: Test if Debian changelog is missing diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/orig/ChangeLog b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/orig/ChangeLog new file mode 100644 index 0000000..a935b07 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch/build-spec/orig/ChangeLog @@ -0,0 +1,5 @@ +2011-09-10 Niels Thykier + + * This is a non-Debian ChangeLog. Lintian should not be tricked + to believe this is a Debian changelog. + diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/desc new file mode 100644 index 0000000..ff7ebdf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-no-dch +Test-Against: syntax-error-in-debian-changelog +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/hints new file mode 100644 index 0000000..e09922f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-no-dch/eval/hints @@ -0,0 +1,2 @@ +changelog-file-no-dch (binary): syntax-error-in-debian-changelog "not a Debian changelog" [usr/share/doc/changelog-file-no-dch/changelog.gz:1] +changelog-file-no-dch (binary): debian-changelog-file-missing-or-wrong-name diff --git a/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..7242f97 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/debian/changelog.in @@ -0,0 +1,45 @@ +[% $source %] (3:[% $version %]) unstable; urgency=low + + * Third use of [% $version %]. + * This changelog entry bumps the epoch and references the word in the + changelog. + + -- [% $author %] [% $date %] + +[% $source %] (3:0) unstable; urgency=low + + * Bumping epoch to inject a changelog entry to ensure we check later entries. + + -- [% $author %] Fri, 06 Feb 2010 22:22:37 -0800 + +other ([% $version %]) unstable; urgency=low + + * This has the same version but different source and is thus a + false-positive. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 + +[% $source %] (2:[% $version %]) unstable; urgency=low + + * Second use of version [% $version %]. True positive. + + -- [% $author %] Fri, 06 Feb 2008 22:22:37 -0800 + +[% $source %] (2:0) unstable; urgency=low + + * Bumping epoch to inject a changelog entry to ensure we check later entries. + + -- [% $author %] Fri, 06 Feb 2007 22:22:37 -0800 + +[% $source %] (1:[% $version %]) unstable; urgency=low + + * Initial use of version [% $version %]. This is a false positive as we should + * stop after 2:[% $version %]. + + -- [% $author %] Fri, 06 Feb 2006 22:22:37 -0800 + +[% $source %] (1:0) unstable; urgency=low + + * Add epoch. + + -- [% $author %] Fri, 06 Feb 2005 22:22:37 -0800 diff --git a/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/fill-values new file mode 100644 index 0000000..5705b4d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-reuses-existing-version +Description: Check changelog for re-used version numbers diff --git a/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/desc new file mode 100644 index 0000000..a253dba --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-reuses-existing-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/hints new file mode 100644 index 0000000..5016c57 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-reuses-existing-version/eval/hints @@ -0,0 +1 @@ +changelog-file-reuses-existing-version (source): latest-debian-changelog-entry-reuses-existing-version 3:1.0 ~ 2:1.0 (last used: Fri, 06 Feb 2008 22:22:37 -0800) [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/debian/changelog.in new file mode 100644 index 0000000..83189f2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) stable-proposed-updates; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/fill-values new file mode 100644 index 0000000..e460a9c --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-stable/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-stable +Skeleton: upload-non-native +Version: 1.0-1etch1 +Description: Test a stable-proposed-updates package diff --git a/t/recipes/checks/debian/changelog/changelog-file-stable/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-stable/eval/desc new file mode 100644 index 0000000..529ce5a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-stable/eval/desc @@ -0,0 +1,5 @@ +Testname: changelog-file-stable +Test-Against: + malformed-debian-changelog-version + version-refers-to-distribution +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-stable/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-stable/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/debian/changelog.in new file mode 100644 index 0000000..b527316 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (1.0) unstable; urgency=low + + * The date will fail with some dpkg version see #794674 + + -- [% $author %] The, 15 Apr 2004 23:33:51 +0200 diff --git a/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/fill-values new file mode 100644 index 0000000..dcc2e78 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-strange-date/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: changelog-file-strange-date +Version: 2.0 +Description: Test some strange date in changelog +Extra-Build-Depends: dpkg (<< 1.18.2) diff --git a/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/desc new file mode 100644 index 0000000..c866224 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-strange-date +See-Also: Debian Bug#794674 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/hints new file mode 100644 index 0000000..d8424c8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-strange-date/eval/hints @@ -0,0 +1 @@ +changelog-file-strange-date (binary): syntax-error-in-debian-changelog line 12 "couldn't parse date The, 15 Apr 2004 23:33:51 +0200" diff --git a/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/debian/rules new file mode 100755 index 0000000..fa478f6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ + + +override_dh_md5sums: + DIR=$$(find debian/*/ -type f -a -name 'changelog.gz' \ + -exec dirname {} \; ) ; \ + rm -f $$DIR/changelog.gz ; \ + ln -s ../lintian/changelog.gz $$DIR/changelog.gz + dh_md5sums diff --git a/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..3d57c66 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-symlink +Description: Test if Debian changelog is a symlink diff --git a/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/desc new file mode 100644 index 0000000..7278012 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-symlink +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/hints new file mode 100644 index 0000000..90d61c4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-symlink/eval/hints @@ -0,0 +1 @@ +changelog-file-symlink (binary): debian-changelog-file-is-a-symlink [usr/share/doc/changelog-file-symlink/changelog.gz] diff --git a/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/doc/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/doc/changelog.in new file mode 100644 index 0000000..643d367 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/doc/changelog.in @@ -0,0 +1,22 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] ([% $prev-version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] Sat, 09 Apr 2016 10:56:49 +0000 + +[% $source %] () unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] Sat, 02 Apr 2016 10:56:49 +0000 diff --git a/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/fill-values new file mode 100644 index 0000000..4f393a2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-syntax/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: changelog-file-syntax +Description: Test for syntax errors in changelogs diff --git a/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/desc new file mode 100644 index 0000000..0e3a67e --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-syntax +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/hints new file mode 100644 index 0000000..16a73ee --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-syntax/eval/hints @@ -0,0 +1,2 @@ +changelog-file-syntax (binary): syntax-error-in-debian-changelog "found change data where expected next heading or eof" [usr/share/doc/changelog-file-syntax/changelog.gz:17] +changelog-file-syntax (binary): syntax-error-in-debian-changelog "badly formatted heading line" [usr/share/doc/changelog-file-syntax/changelog.gz:15] diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/fill-values new file mode 100644 index 0000000..78b1b3f --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changelog-file-unreleased-signed-changes +Distribution: UNRELEASED +Description: Warn about UNRELEASED distribution in changelog if changes is signed diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/post-build.in b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/post-build.in new file mode 100755 index 0000000..95e78e4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/post-build.in @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +# create a temporary directory +TEMPDIR=`mktemp -d` + +# import public key +gpg --homedir "$TEMPDIR" --import "[% $source_path %]/public.key" + +# import private key +gpg --homedir "$TEMPDIR" --allow-secret-key-import --import "[% $source_path %]/private.key" + +# sign changes file +gpg --homedir "$TEMPDIR" --clearsign "[% $build_product %]" + +# save unsigned changes file elsewhere +mv "[% $build_product %]" "[% $build_product %].unsigned" + +# move signed changes file to expected location +mv "[% $build_product %].asc" "[% $build_product %]" + +# remove the temporary directory +rm -rf "$TEMPDIR" diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/private.key b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/private.key new file mode 100644 index 0000000..dc65e47 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/private.key @@ -0,0 +1,81 @@ +-----BEGIN PGP PRIVATE KEY BLOCK----- + +lQVYBF1S0+wBDACpWPf3IGIsQ1LAGGYsGZP3jj52oB2SBXde/Uk45bo8il2snTse +VUUZcxgHUW+/NZescGYyGIUnfAiWPn+kzObMddg5GXWHG2grt1F2LHdIMdLaHBQi +zIu74JZJ7khnd0OhGdsZVtPQ+ilkh0T/IdcigEcZPG1+0anMsgv+6xZl9+oK6ZBn +4VZE6DC7+0F5fFtx8osSQrjuorYZ9dHrsfeyAHZxTVOV7ge8RBp3sMKz9mBlNUfw +ZcyKk8+7M4KMcL7GfZAK8OmfF6cFdRdk3fuEP/6q8UHWNVBAvv4JAr6KG3ZnpJZX +9jvqOjYkyMpCtNSS3Dkiv8dcOpm+pvR2HsqyyLt4cnozb3Rdz4nLTI2A2wgnHFs2 +rm20Ww4gGblbsh4Ps5Kt8exN1T9cKh/B7TntT2SJKkGp1occAtAAIamv9fSuO81q +ywuW2x0swNeK+JJADIq0iZh9vvXsnupk60j5m/J9R1emjWWlImAmJ6c8KJkO/iab +MLZC2Suu7L/rWgUAEQEAAQAL/iC8Qn6iY2fUAcCBVurKbPhrJjbvH5g090zE4G0f +tz7xrkbqQ93KtOdFAM2VV+kZ1n5uYcroQ4EM8Gn+ndUBCNJYK1pqSfY6fYoJzzTt +RoeNngksaVYKvS4trU+QQK3Dd67CHUDKMHrSiMLWhSdeZsRUEKpXrIDZzZ10g24d +CoDeif7fBFuYSwFZ8uW7nX365IBj1q9Kd44lpNbi1lfd2Jgvj7W6MWCnmRYzAfzG +DfUUuLCHuqbFPuNAzGSPAfrc5itbAyOP2fXdTC+WPbdqFPAU7tjtCl/1FfpzwZsE ++mWG3G+Zspkh7Oz58faOc3Tr86GK/dRNRh36eGJOeUfydQnOLvorPO3S0AC0nHCF +q+NXyf6xOKOKiNe7Acc6ezGOyn2DgTBXhZDE79r4rOvDDNKyW+J8vM3JpGv4a4jy +byc3aMd7AU1ai6vfWtbSyB6FtVQ8uPbUBXk3Eo6fvZ8ge7HfIaCAcxCchSCJJevL +pMYrVOez12uatz/3fTOq4CS7RwYAy7c614xUNTlDzX95UnGelaT4cquGp8hlk9vQ +pM01QtaAGJPk+JNg+0J9e4qWoSEN+4+2ncfgY3Wahjn+jfkk9cAROmxQMt2JvXvI +hpcrcvIuMJSAlyp4+HNd4JUzgFP5LCkxs79QbDNVkCZjGDC3zv9UVdVv82IgFCfe +UwgKhNZZlsQsQatdXs/YiK682JpYnbQLmg5/E5g1rTybbgsiYaYZ3E6Tv4d+FEXN +PvsVbAxZIk3IeFhGUs2EVX8DJrjzBgDUz6N2moRsuQ2SLYFsr0NlfU95qAZk4r+f +TZwNhE6ixjiHqfvUuJrgmkhY46GFzcKpJlmxsiCElYrMf+xzhjCE15XLkFoN/jkA +R9mI97IyiEMqBn+aTvlYmQpRmSV0rEvIRT6Y4jwsG4e7NhtJUP30qUSh2rV42lh4 +BU8mLK+Da1gQtlP4b8XadksdJGIasXvDv3Cna0fd/ZKN4nCc2T5Mz9DGhBM55Il3 +0Z9IBIlzZU8MnKmu7pFJYOVkw3jRXycF/R+TU2BintbbqFszVYw0TMr5+UupyhXh +2JMBHEjhGrZ40YZpDpUA+9KrfJ6RUfCw0pg4XmA7OI0cpisRuZb1cXWZpdEchdYQ +N3u/ofUHwCbd6pv86Udmf3Lteeu1zVFBHACnIdsMEVUvMlaO8j5t3nTLYXudaeLe +WZciXu/3pIU46oWKEbm+XzSl9SiyRRtc4VuB+mMNC5XkkqmaYioVtJ/rv1D6Pq8z +dvEO35poUStLLdphX/2Wq7i7C0FuKGkYyvEdtCJEdW1teSBrZXkgdG8gc2lnbiB0 +ZXN0IHN1aXRlIGZpbGVziQHOBBMBCgA4FiEE7gdcRYTGSROvlMCvozS9hpbIwjwF +Al1S0+wCGwMFCwkIBwMFFQoJCAsFFgMCAQACHgECF4AACgkQozS9hpbIwjzxBwv/ +eQXVIgFfCXXxtKuVuae7dLQhu8CBHJZ5PvXLeCjRj8LcERuiEwJz7JRrSP4i7PLn +zA+vv8WSbYUaJ2Lwg/Gj366U7tlrGVRZUEmHzYj9Bc+qxd3Lf/lZmVP3LavgL89w +OMzObJZOKNbUs9bAmLEf7lJnObMEpSAiPji7vPHc+wvM5TegtwjjQNLu7o3rGuut +ARtAA3BxPTBhjKt0Jb30/TrsNE9ecMoC4xcIyy0HY1FPWwwOHFbvJxevyKv84Nng +RyHErB+8RGqUObhtxNrUkJ7xt+jQvAy2xX8bt2w6nOzG4cST2flEcH+Vbqy1bPD0 +b7hTZFL+dDRq43QzGqgqyNDWmvwM5tFBxbWc4cJKbzynhVDPPC6IqFXPml6EF0PA +y+o3zMMdacYODBezWix33JBH9vDH/9dSG4JE1ORLGZpVpKqOQ0YxFPoLrOpYXUxE +2jSDySTrvsCOOpUYl4D7zgVrP9/EkJ2AK5wlVtpv8D5rHrP6/RK2TlfXJt8S6ilt +nQVYBF1S0+wBDAC25JP4vcHnGINaqyw5sdOAr6+0uCNgqIqdmPgG9ZO0nNJVfZOX +s6Wp1TYgQr1qmWE5wsVt9HoClQGlP+6TdYv7cnylksI5rrxwi1eWr2JPYS7dP0HK +nVVXtuqMdak6eNUFHRfjdc896qL5uuHu3VHEpc/3wfqUms6uhsP60xS3AiuwYd6/ +K/nqtA4sz5dh7gLpxT2EpurGohg+q/cf5YegKzjB2J2JYtFKcyHFhX2QiNIrQpVT +LKQDSDkNykr/wqMpCxJ3cskxKkY7zyColfRa9Vdp4/JNpNkL1IrX2ph+tlQisdJ+ +gcDSvuYz60COJuyFikNVz5+84mfpMCVqYVOt9MGLGSbcQA8IgPOMU4Nv9E63ob/l +pLEZQMFwqrmo1zfdhj/LW/p7uNEJ7V2Z08FnBqn72g4RmYE+QQohLfqAOecwrcyi +TcvEeJGDRwX+kZVyTQcrWhm8rchFxJluat7lYsOWFvgS1j8wvRC8QDWQEaODWNUF +iPVP/bybAeHjXl0AEQEAAQAL/iutqEch7mKGAKzRL3Ux6lyT2KcUyOInLj+YDjf/ +Q0DBqRvgqzRyI3DNailHNxxzt/wG74akedUPB/8SpyQRURaCj5EtXPRQrlFEfe0P +Qq/Jels9ZbWBYKXbmeVknj9IJzua6J8afh1/4V85ygZ1VbdckC/P5EvEMvMMXVaU +PaC9RHjRztQiKQPr72y1QSaSpKB2ygvZnz1D7f1drV2xP/Q5DkuBM5JhhrE8kMau +7D9t5Z+OPcJI6XydLX8FHmc5cL2ZVrGgFBor6Bs4JvCKtXTkPKMTPFDg+cfNPsoi +Q0kunBwGCLOxFRtvCYxuVdOKRD/usnRk7+AlRui5criGTbJSYl67BkpZay28Dqk0 +vakZhXEPv2xrr/GG3ViJXb/DWb72UC9/ii5gOPivLJnC9Fia2g1q1mj6nTlW+ao/ +9qfRWYsqX8lAjL8INjmqOzGN1Uxo0z0kriRKjmFvswZbMYHTk1Ifo4Q80dRUiE+e +Ed7snM+Mg4Klar30jm07KF0hIQYA1P08CsWF+3lNHa4tF+rXoBhMa092QLQ1ClCC +2yqu8t1/pFeCjoJ+81THYBc4oK0XYiLenUYTEEsKCtA/FQoBPjYUY9Ghi5JdSEHi +yPSA1G7i5Lk2Cewzrjikoqq/eiVguiy8ZLxQOM+89vruBQyk8jP2hCaEspcfi5bS +FHlZzK6WZ/ytF+VzTFXZLBddq+GHzYh5wttspro0W5WLIuGLjBi8+zHl74hWDdi/ +9elSmW2+BuTx0bZb6J6YaC7L7EdNBgDb03lChbOB+gxgCDOpgMH5wAbHEacS5aeh +6bmJRsq7Y174voxDjGP92eY+VXyO2GIkcYDihHVTA4NsL4sZPVg7lVliCnyuXR1h +fZ0QF36fjuYidkxnshribWaW4k9+mgBAqtN1rQqkWr2VaQv7E70Mn0yGamLUoowH +Vog1PhIo/YA5m9HpamX4VBhtbFdvxuGAlfFahyTc9HEd8R+djSOKA1suFeAp0zJe +dq91bUt645eP8ayipUtSM6br1kYSi1EF+QE1lHQZ/7kyWJGRAdIb4hwTM+UWJ+3Y +dxuhyyHeoli7j/Z2313+/LxG5QGHVg6Fyc2wk3kQeQO26LTUUMSngLdHvCgzWYds +ohPXyE3TJPL5LT0QOqdZyojk7JHYNZB97uUbZQEMRRWZVlec4pyjhKOyAbcQtkjx +H5ZIhGbwzRdX6eSc2S6dX0D46nij1CLbdasfZVKCt0QtOCmcCp4wzOid0v/R1uxH +fPdA9V4NSdEjIjPtLVXfips9Yxv2ttYpltpoiQG2BBgBCgAgFiEE7gdcRYTGSROv +lMCvozS9hpbIwjwFAl1S0+wCGwwACgkQozS9hpbIwjwKxwv9EQ1CO3xsQP+NKI4i +yEAMCp0zr+3AByiqZONLH7Ggh5ZqlJnwZQaYSFRjvDQQxlegN7MAx14hm1IIzgSO +bk9e3oCc+yktwLD+I+VOOjSjPFJH5LPPyI0p4oFn4q59dgvMXfsAz0F+GgqVy04t +XrDrjRSs6b4erbYFuveJPY+JbZLPG068P3L5sFMHCiY623OzaJXSKuGYHlaOvEBO +97G0NfW7lP8/hWM0tAvgwgISxk6jojA0B3eJTKYwT2hLwmT8bblCmBAyNKyoz+TX +uAcQYXuVY1hScFzpra4BgJ2o0xCjHg+RkAtc6a1B2zmhrXiE1OMbzKnYUsnMUM0K +Mgin9Jk6akhCeheEfMoi0OUZNa3BC/D7puDQjupQ+M2xXSb4JGmOJDSumUcg6GnQ +26JFqamo1H0rXMgFeUd1e9wKsd5FKrt4dZXLGYS5r0hnlgSTJZPmA5y7p89ZKxwC +J/BnNG5qryGpb0uglf9styQZnIPzZXziiU5W/GOtxONWwXs7 +=mtBa +-----END PGP PRIVATE KEY BLOCK----- diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/public.key b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/public.key new file mode 100644 index 0000000..b201834 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/build-spec/public.key @@ -0,0 +1,41 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBF1S0+wBDACpWPf3IGIsQ1LAGGYsGZP3jj52oB2SBXde/Uk45bo8il2snTse +VUUZcxgHUW+/NZescGYyGIUnfAiWPn+kzObMddg5GXWHG2grt1F2LHdIMdLaHBQi +zIu74JZJ7khnd0OhGdsZVtPQ+ilkh0T/IdcigEcZPG1+0anMsgv+6xZl9+oK6ZBn +4VZE6DC7+0F5fFtx8osSQrjuorYZ9dHrsfeyAHZxTVOV7ge8RBp3sMKz9mBlNUfw +ZcyKk8+7M4KMcL7GfZAK8OmfF6cFdRdk3fuEP/6q8UHWNVBAvv4JAr6KG3ZnpJZX +9jvqOjYkyMpCtNSS3Dkiv8dcOpm+pvR2HsqyyLt4cnozb3Rdz4nLTI2A2wgnHFs2 +rm20Ww4gGblbsh4Ps5Kt8exN1T9cKh/B7TntT2SJKkGp1occAtAAIamv9fSuO81q +ywuW2x0swNeK+JJADIq0iZh9vvXsnupk60j5m/J9R1emjWWlImAmJ6c8KJkO/iab +MLZC2Suu7L/rWgUAEQEAAbQiRHVtbXkga2V5IHRvIHNpZ24gdGVzdCBzdWl0ZSBm +aWxlc4kBzgQTAQoAOBYhBO4HXEWExkkTr5TAr6M0vYaWyMI8BQJdUtPsAhsDBQsJ +CAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJEKM0vYaWyMI88QcL/3kF1SIBXwl18bSr +lbmnu3S0IbvAgRyWeT71y3go0Y/C3BEbohMCc+yUa0j+Iuzy58wPr7/Fkm2FGidi +8IPxo9+ulO7ZaxlUWVBJh82I/QXPqsXdy3/5WZlT9y2r4C/PcDjMzmyWTijW1LPW +wJixH+5SZzmzBKUgIj44u7zx3PsLzOU3oLcI40DS7u6N6xrrrQEbQANwcT0wYYyr +dCW99P067DRPXnDKAuMXCMstB2NRT1sMDhxW7ycXr8ir/ODZ4EchxKwfvERqlDm4 +bcTa1JCe8bfo0LwMtsV/G7dsOpzsxuHEk9n5RHB/lW6stWzw9G+4U2RS/nQ0auN0 +MxqoKsjQ1pr8DObRQcW1nOHCSm88p4VQzzwuiKhVz5pehBdDwMvqN8zDHWnGDgwX +s1osd9yQR/bwx//XUhuCRNTkSxmaVaSqjkNGMRT6C6zqWF1MRNo0g8kk677AjjqV +GJeA+84Faz/fxJCdgCucJVbab/A+ax6z+v0Stk5X1ybfEuopbbkBjQRdUtPsAQwA +tuST+L3B5xiDWqssObHTgK+vtLgjYKiKnZj4BvWTtJzSVX2Tl7OlqdU2IEK9aplh +OcLFbfR6ApUBpT/uk3WL+3J8pZLCOa68cItXlq9iT2Eu3T9Byp1VV7bqjHWpOnjV +BR0X43XPPeqi+brh7t1RxKXP98H6lJrOrobD+tMUtwIrsGHevyv56rQOLM+XYe4C +6cU9hKbqxqIYPqv3H+WHoCs4wdidiWLRSnMhxYV9kIjSK0KVUyykA0g5DcpK/8Kj +KQsSd3LJMSpGO88gqJX0WvVXaePyTaTZC9SK19qYfrZUIrHSfoHA0r7mM+tAjibs +hYpDVc+fvOJn6TAlamFTrfTBixkm3EAPCIDzjFODb/ROt6G/5aSxGUDBcKq5qNc3 +3YY/y1v6e7jRCe1dmdPBZwap+9oOEZmBPkEKIS36gDnnMK3Mok3LxHiRg0cF/pGV +ck0HK1oZvK3IRcSZbmre5WLDlhb4EtY/ML0QvEA1kBGjg1jVBYj1T/28mwHh415d +ABEBAAGJAbYEGAEKACAWIQTuB1xFhMZJE6+UwK+jNL2GlsjCPAUCXVLT7AIbDAAK +CRCjNL2GlsjCPArHC/0RDUI7fGxA/40ojiLIQAwKnTOv7cAHKKpk40sfsaCHlmqU +mfBlBphIVGO8NBDGV6A3swDHXiGbUgjOBI5uT17egJz7KS3AsP4j5U46NKM8Ukfk +s8/IjSnigWfirn12C8xd+wDPQX4aCpXLTi1esOuNFKzpvh6ttgW694k9j4ltks8b +Trw/cvmwUwcKJjrbc7NoldIq4ZgeVo68QE73sbQ19buU/z+FYzS0C+DCAhLGTqOi +MDQHd4lMpjBPaEvCZPxtuUKYEDI0rKjP5Ne4BxBhe5VjWFJwXOmtrgGAnajTEKMe +D5GQC1zprUHbOaGteITU4xvMqdhSycxQzQoyCKf0mTpqSEJ6F4R8yiLQ5Rk1rcEL +8Pum4NCO6lD4zbFdJvgkaY4kNK6ZRyDoadDbokWpqajUfStcyAV5R3V73Aqx3kUq +u3h1lcsZhLmvSGeWBJMlk+YDnLunz1krHAIn8Gc0bmqvIalvS6CV/2y3JBmcg/Nl +fOKJTlb8Y63E41bBezs= +=iNsY +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/desc new file mode 100644 index 0000000..00bd85b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-unreleased-signed-changes +See-Also: #873520 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/hints new file mode 100644 index 0000000..a4d8b63 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased-signed-changes/eval/hints @@ -0,0 +1 @@ +changelog-file-unreleased-signed-changes (source): unreleased-changelog-distribution [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/debian/changelog.in new file mode 100644 index 0000000..adaaa2d --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (1.0) unstable; urgency=low + + * An older changelog entry to test suppression of errors about the + changelog entry having the same date as the previous one. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/fill-values new file mode 100644 index 0000000..25da1fa --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: changelog-file-unreleased +Version: 2.0 +Distribution: UNRELEASED +Description: Suppress new date warnings for UNRELEASED diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/desc new file mode 100644 index 0000000..46a21c6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/desc @@ -0,0 +1,6 @@ +Testname: changelog-file-unreleased +Test-Against: + latest-debian-changelog-entry-without-new-date + unreleased-changelog-distribution +See-Also: Debian Bug#560149 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-unreleased/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/debian/rules new file mode 100644 index 0000000..12f2c85 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PKG:=$(shell dh_listpackages) +DOC:=debian/$(PKG)/usr/share/doc/$(PKG) + +%: + dh $@ + +override_dh_installchangelogs: + dh_installchangelogs + cp some-changelog.html $(DOC)/changelog.html diff --git a/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/fill-values new file mode 100644 index 0000000..684e84e --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-upstream-html-only +Skeleton: upload-non-native +Description: Check HTML-only upstream changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/orig/some-changelog.html b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/orig/some-changelog.html new file mode 100644 index 0000000..2a4614a --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/build-spec/orig/some-changelog.html @@ -0,0 +1,8 @@ + + + Hallo World + + +

A wonderful changelog written in HTML

+ + diff --git a/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/desc new file mode 100644 index 0000000..5604fd1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-upstream-html-only +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/hints new file mode 100644 index 0000000..696aa50 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-upstream-html-only/eval/hints @@ -0,0 +1 @@ +changelog-file-upstream-html-only (binary): html-changelog-without-text-version [usr/share/doc/changelog-file-upstream-html-only/changelog.html.gz] diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/debian/rules b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/debian/rules new file mode 100644 index 0000000..45fbec8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PKG:=$(shell dh_listpackages) +DOC:=debian/$(PKG)/usr/share/doc/$(PKG) + +%: + dh $@ + +override_dh_installchangelogs: + dh_installchangelogs + cp some-changelog $(DOC)/Changes diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/fill-values new file mode 100644 index 0000000..2e767c6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: changelog-file-wrong-name-upstream +Skeleton: upload-non-native +Description: Check a wrong name for an upstream changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/orig/some-changelog b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/orig/some-changelog new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/build-spec/orig/some-changelog @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/desc new file mode 100644 index 0000000..5ae1b34 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-wrong-name-upstream +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/hints new file mode 100644 index 0000000..44bf518 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-name-upstream/eval/hints @@ -0,0 +1 @@ +changelog-file-wrong-name-upstream (binary): wrong-name-for-upstream-changelog [usr/share/doc/changelog-file-wrong-name-upstream/Changes] diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in new file mode 100644 index 0000000..8fcb315 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + * Suppress "should close ITP bug" messages. (Closes: #123456) + + * A bit of wishful thinking that the date below was a Friday. + + -- [% $author %] Fri, 07 Apr 2016 17:00:00 +0000 + diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in new file mode 100644 index 0000000..0818186 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 3.9.8 +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values new file mode 100644 index 0000000..0d2c5b7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-wrong-weekday +Description: Test for wrong weekday in changelog date diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc new file mode 100644 index 0000000..3411212 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-file-wrong-weekday +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints new file mode 100644 index 0000000..22e8a79 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints @@ -0,0 +1 @@ +changelog-file-wrong-weekday (binary): debian-changelog-has-wrong-day-of-week 2016-04-07 was a Thursday [usr/share/doc/changelog-file-wrong-weekday/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date new file mode 100644 index 0000000..42f8743 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date @@ -0,0 +1,7 @@ +# Any Standards Version released before this day is "ancient" +# +# Frozen for this test so we do not have to update the test every time +# we update the real "ancient-date" data file. +# +# Format is ANCIENT < Date +ANCIENT < 20 Feb 2014 diff --git a/t/recipes/checks/debian/changelog/changelog-version-bzr/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-version-bzr/build-spec/fill-values new file mode 100644 index 0000000..6f39521 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-bzr/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-version-bzr +Version: 0.7+bzr49+repack1-1 +Description: Test for +bzr in version (vs binNMU) +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/changelog-version-bzr/eval/desc b/t/recipes/checks/debian/changelog/changelog-version-bzr/eval/desc new file mode 100644 index 0000000..24eb5bf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-bzr/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-version-bzr +Check: debian/changelog +Test-Against: + malformed-debian-changelog-version diff --git a/t/recipes/checks/debian/changelog/changelog-version-bzr/eval/hints b/t/recipes/checks/debian/changelog/changelog-version-bzr/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/build-spec/fill-values new file mode 100644 index 0000000..ba9c466 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-version-non-native-simple +Version: 1-2 +Description: Test for normal versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/desc b/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/desc new file mode 100644 index 0000000..9d8d284 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-version-non-native-simple +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/hints b/t/recipes/checks/debian/changelog/changelog-version-non-native-simple/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/changelog-version-special-chars/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-version-special-chars/build-spec/fill-values new file mode 100644 index 0000000..913887b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-special-chars/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-version-special-chars +Version: 2:1.5+important~personal1-stable-7 +Description: Test for weird versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/desc b/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/desc new file mode 100644 index 0000000..a38571b --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-version-special-chars +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/hints b/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/hints new file mode 100644 index 0000000..fddb586 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-version-special-chars/eval/hints @@ -0,0 +1,3 @@ +changelog-version-special-chars (source): hyphen-in-upstream-part-of-debian-changelog-version 1.5+important~personal1-stable [debian/changelog:1] +changelog-version-special-chars (source): epoch-changed-but-upstream-version-did-not-go-backwards 0.0.1-1 -> 2:1.5+important~personal1-stable-7 [debian/changelog:1] +changelog-version-special-chars (source): epoch-change-without-comment 0.0.1-1 -> 2:1.5+important~personal1-stable-7 [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/cruft-native-dash-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/cruft-native-dash-version/build-spec/fill-values new file mode 100644 index 0000000..4bc587e --- /dev/null +++ b/t/recipes/checks/debian/changelog/cruft-native-dash-version/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: cruft-native-dash-version +Source-Format: 1.0 +Version: 1.0-1 +Description: Test for native packages with dash version diff --git a/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/desc b/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/desc new file mode 100644 index 0000000..8f1baa5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-native-dash-version +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/hints b/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/hints new file mode 100644 index 0000000..0a358d5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/cruft-native-dash-version/eval/hints @@ -0,0 +1 @@ +cruft-native-dash-version (source): malformed-debian-changelog-version 1.0-1 (for native) [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/date-based-version/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/date-based-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..d6095db --- /dev/null +++ b/t/recipes/checks/debian/changelog/date-based-version/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/changelog/date-based-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/date-based-version/build-spec/fill-values new file mode 100644 index 0000000..a4fa0ac --- /dev/null +++ b/t/recipes/checks/debian/changelog/date-based-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: date-based-version +Version: 20180219-1 +Description: Date-based version number +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/date-based-version/eval/desc b/t/recipes/checks/debian/changelog/date-based-version/eval/desc new file mode 100644 index 0000000..f80c48a --- /dev/null +++ b/t/recipes/checks/debian/changelog/date-based-version/eval/desc @@ -0,0 +1,4 @@ +Testname: date-based-version +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/date-based-version/eval/hints b/t/recipes/checks/debian/changelog/date-based-version/eval/hints new file mode 100644 index 0000000..a39ae26 --- /dev/null +++ b/t/recipes/checks/debian/changelog/date-based-version/eval/hints @@ -0,0 +1 @@ +date-based-version (binary): new-package-uses-date-based-version-number 20180219-1 (better: 0~20180219-1) [usr/share/doc/date-based-version/changelog.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/fields-version-bad-rc/build-spec/fill-values b/t/recipes/checks/debian/changelog/fields-version-bad-rc/build-spec/fill-values new file mode 100644 index 0000000..fae232a --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad-rc/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-bad-rc +Version: 1.0+rc3-1 +Description: Test for bad release candidate versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/desc b/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/desc new file mode 100644 index 0000000..bbb03dd --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-version-bad-rc +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/hints b/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/hints new file mode 100644 index 0000000..7a6da94 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad-rc/eval/hints @@ -0,0 +1 @@ +fields-version-bad-rc (source): rc-version-greater-than-expected-version 1.0+rc3 > 1.0 (consider using 1.0~rc3) [debian/changelog:1] diff --git a/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/changelog.in new file mode 100644 index 0000000..2895dec --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + diff --git a/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/rules b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/rules new file mode 100644 index 0000000..ce09a53 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_gencontrol: + dh_gencontrol -- -v1.0-0 diff --git a/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/fill-values b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/fill-values new file mode 100644 index 0000000..fddcd45 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-bad +Version: 0-.3 +Description: Test for weird versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/fields-version-bad/eval/desc b/t/recipes/checks/debian/changelog/fields-version-bad/eval/desc new file mode 100644 index 0000000..eaa3215 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-version-bad +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/fields-version-bad/eval/hints b/t/recipes/checks/debian/changelog/fields-version-bad/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-bad/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/fields-version-dfsg-native/build-spec/fill-values b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/build-spec/fill-values new file mode 100644 index 0000000..1246466 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-version-dfsg-native +Version: 1.0.dfsg1 +Description: Use of dfsg in a native package diff --git a/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/desc b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/desc new file mode 100644 index 0000000..50df649 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-version-dfsg-native +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/hints b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dfsg-native/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/build-spec/fill-values b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/build-spec/fill-values new file mode 100644 index 0000000..412adaa --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-dot-dfsg +Skeleton: upload-non-native +Version: 1.0.dfsg1-1 +Description: Use of ".dfsg" diff --git a/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/desc b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/desc new file mode 100644 index 0000000..0819a9e --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-version-dot-dfsg +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/hints b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dot-dfsg/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/fields-version-dsfg/build-spec/fill-values b/t/recipes/checks/debian/changelog/fields-version-dsfg/build-spec/fill-values new file mode 100644 index 0000000..077bc94 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dsfg/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-dsfg +Skeleton: upload-non-native +Version: 1.0+dsfg1-1 +Description: Check for the dsfg typo diff --git a/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/desc b/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/desc new file mode 100644 index 0000000..da32956 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-version-dsfg +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/hints b/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/fields-version-dsfg/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + + + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is (C) 2008, Russ Allbery and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Further changes by Javier Fernandez-Sanguino +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# 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. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" 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 +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +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. +\fBgeneric-dh-make-2008\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. +.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 +generic-dh-make-2008 was written by . +.PP +This manual page was written by Russ Allbery , +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 29, 2008"> + + SECTION"> + rra@debian.org"> + + GENERIC-DH-MAKE-2008"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (but may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows 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 + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/desc b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..ebf79a7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: debian/changelog +See-Also: + Bug#497347 diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/hints b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..0d2065a --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/hints @@ -0,0 +1,3 @@ +generic-dh-make-2008 (binary): wrong-bug-number-in-closes #nnnn [usr/share/doc/generic-dh-make-2008/changelog.Debian.gz:3] +generic-dh-make-2008 (binary): initial-upload-closes-no-bugs [usr/share/doc/generic-dh-make-2008/changelog.Debian.gz:1] +generic-dh-make-2008 (binary): changelog-is-dh_make-template [usr/share/doc/generic-dh-make-2008/changelog.Debian.gz:1] diff --git a/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/post-test b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..945632a --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/debian/changelog/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-binary/eval/desc b/t/recipes/checks/debian/changelog/legacy-binary/eval/desc new file mode 100644 index 0000000..dcf46fa --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-binary/eval/hints b/t/recipes/checks/debian/changelog/legacy-binary/eval/hints new file mode 100644 index 0000000..c634eb0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-binary/eval/hints @@ -0,0 +1,9 @@ +binary (binary): syntax-error-in-debian-news-file "found eof where expected more change data or trailer" [usr/share/doc/binary/NEWS.Debian.gz:13] +binary (binary): syntax-error-in-debian-news-file "badly formatted trailer line" [usr/share/doc/binary/NEWS.Debian.gz:12] +binary (binary): spelling-error-in-news-debian usefull useful [usr/share/doc/binary/NEWS.Debian.gz] +binary (binary): spelling-error-in-news-debian speling spelling [usr/share/doc/binary/NEWS.Debian.gz] +binary (binary): debian-news-entry-has-strange-distribution UNRELEASED [usr/share/doc/binary/NEWS.Debian.gz:1] +binary (binary): debian-changelog-file-missing-or-wrong-name +binary (binary): changelog-news-debian-mismatch Urgency low != high [usr/share/doc/binary/NEWS.Debian.gz:1] +binary (binary): changelog-news-debian-mismatch Distribution unstable != UNRELEASED [usr/share/doc/binary/NEWS.Debian.gz:1] +binary (binary): changelog-file-not-compressed [usr/share/doc/binary/changelog] diff --git a/t/recipes/checks/debian/changelog/legacy-binary/eval/post-test b/t/recipes/checks/debian/changelog/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/desc b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..9e1392d --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/hints b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..49072d6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (binary): changelog-file-not-compressed [usr/share/doc/etcfiles/changelog] diff --git a/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/post-test b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + 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: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + 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. diff --git a/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + 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/debian/changelog/legacy-fields/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/debian/changelog/legacy-fields/eval/desc b/t/recipes/checks/debian/changelog/legacy-fields/eval/desc new file mode 100644 index 0000000..cdb6b18 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-fields/eval/hints b/t/recipes/checks/debian/changelog/legacy-fields/eval/hints new file mode 100644 index 0000000..33e2889 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/eval/hints @@ -0,0 +1,2 @@ +fields (binary): debian-changelog-file-missing-or-wrong-name +another-version (binary): no-changelog usr/share/doc/another-version/changelog.Debian.gz (non-native package) diff --git a/t/recipes/checks/debian/changelog/legacy-fields/eval/post-test b/t/recipes/checks/debian/changelog/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-filenames/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/bokmål + 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/debian/changelog/legacy-filenames/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/debian/changelog/legacy-filenames/eval/desc b/t/recipes/checks/debian/changelog/legacy-filenames/eval/desc new file mode 100644 index 0000000..b528ba4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-filenames/eval/desc @@ -0,0 +1,3 @@ +Testname: legacy-filenames +Test-Against: epoch-change-without-comment +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-filenames/eval/hints b/t/recipes/checks/debian/changelog/legacy-filenames/eval/hints new file mode 100644 index 0000000..7ff07b2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-filenames/eval/hints @@ -0,0 +1,4 @@ +filenames (source): odd-historical-debian-changelog-version 11 (for non-native) [debian/changelog:7] +filenames (binary): wrong-name-for-debian-news-file [usr/share/doc/filenames/news.debian.gz] +filenames (binary): debian-news-file-not-compressed [usr/share/doc/filenames/NEWS.Debian] +filenames (binary): debian-changelog-file-is-a-symlink [usr/share/doc/filenames/changelog.gz] diff --git a/t/recipes/checks/debian/changelog/legacy-filenames/eval/post-test b/t/recipes/checks/debian/changelog/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/debian/changelog/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/debian/changelog/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..3da7954 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..3e86b96 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses non-UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/changelog/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/eval/desc b/t/recipes/checks/debian/changelog/legacy-foo++/eval/desc new file mode 100644 index 0000000..1907a84 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/eval/hints b/t/recipes/checks/debian/changelog/legacy-foo++/eval/hints new file mode 100644 index 0000000..2775f3f --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/eval/hints @@ -0,0 +1,4 @@ +foo++ (source): latest-debian-changelog-entry-without-new-date [debian/changelog:1] +foo++ (binary): latest-changelog-entry-without-new-date [usr/share/doc/foo++/changelog.gz:1] +foo++ (binary): debian-changelog-has-wrong-day-of-week 2003-04-14 was a Monday [usr/share/doc/foo++/changelog.gz:1] +foo++ (binary): bogus-mail-host-in-debian-changelog he@unknown (for version 5) [usr/share/doc/foo++/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/legacy-foo++/eval/post-test b/t/recipes/checks/debian/changelog/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debian/changelog/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/eval/desc b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/desc new file mode 100644 index 0000000..4b301de --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/eval/hints b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/hints new file mode 100644 index 0000000..186319e --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/hints @@ -0,0 +1,9 @@ +libbaz2-dev (binary): initial-upload-closes-no-bugs [usr/share/doc/libbaz2-dev/changelog:1] +libbaz2-dev (binary): debian-changelog-file-missing-or-wrong-name +libbaz2-dev (binary): debian-changelog-file-is-a-symlink [usr/share/doc/libbaz2-dev/changelog] +libbaz2-dev (binary): changelog-file-not-compressed [usr/share/doc/libbaz2-dev/changelog] +libbaz2-dbg (binary): no-changelog usr/share/doc/libbaz2-dbg/changelog.Debian.gz (non-native package) +libbaz2 (binary): debian-changelog-file-missing-or-wrong-name +libbaz2 (binary): debian-changelog-file-is-a-symlink [usr/share/doc/libbaz2/changelog.gz] +libbaz1 (binary): initial-upload-closes-no-bugs [usr/share/doc/libbaz1/changelog.gz:1] +libbaz1 (binary): debian-changelog-file-missing-or-wrong-name diff --git a/t/recipes/checks/debian/changelog/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group +Uploaders: Anyone but Jeroen +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script 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. It may + be an empty package. diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell /dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '</dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat </dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz \ No newline at end of file diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..d41ac19 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..1bae29f --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,2 @@ +maintainer-scripts (source): odd-historical-debian-changelog-version 6.1 (for non-native) [debian/changelog:8] +maintainer-scripts (binary): bogus-mail-host-in-debian-changelog jeroen@mordor (for version 6.1) [usr/share/doc/maintainer-scripts/changelog.gz:8] diff --git a/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/changelog/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/changelog/legacy-relations/eval/desc b/t/recipes/checks/debian/changelog/legacy-relations/eval/desc new file mode 100644 index 0000000..5093618 --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/legacy-relations/eval/hints b/t/recipes/checks/debian/changelog/legacy-relations/eval/hints new file mode 100644 index 0000000..f3ccfcb --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/eval/hints @@ -0,0 +1 @@ +relations (binary): no-changelog usr/share/doc/relations/changelog.gz (native package) diff --git a/t/recipes/checks/debian/changelog/legacy-relations/eval/post-test b/t/recipes/checks/debian/changelog/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/changelog/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/build-spec/fill-values b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/build-spec/fill-values new file mode 100644 index 0000000..806df46 --- /dev/null +++ b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: missing-explicit-entry-fp-unrel +Skeleton: upload-non-native +Version: 1.13.7-0.1 +Prev-Version: 1.13.2-1 +Description: Test for false positive of missing changelog entry, with a source NMU on a new upstream version. diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/desc b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/desc new file mode 100644 index 0000000..e6b2d13 --- /dev/null +++ b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/desc @@ -0,0 +1,5 @@ +Testname: missing-explicit-entry-fp-unrel +Test-Against: + changelog-file-missing-explicit-entry +Check: debian/changelog +See-Also: Debian Bug #942411 diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/hints b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/build-spec/fill-values b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/build-spec/fill-values new file mode 100644 index 0000000..ced3c4e --- /dev/null +++ b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: missing-explicit-entry-fp +Skeleton: upload-non-native +Version: 1.2-0+deb9u1 +Prev-Version: 0.9-1 +Description: Test for missing (stable update, etc.) entries, false positive, exception on 0. diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/desc b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/desc new file mode 100644 index 0000000..b0514b1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/desc @@ -0,0 +1,4 @@ +Testname: missing-explicit-entry-fp +Test-Against: + changelog-file-missing-explicit-entry +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/hints b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/missing-explicit-entry-fp/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/debian/changelog.in new file mode 100644 index 0000000..8deb337 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/debian/changelog.in @@ -0,0 +1,9 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Local package. + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- Russ Allbery [% $date %] diff --git a/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/fill-values b/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/fill-values new file mode 100644 index 0000000..2f60c73 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-changelog/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: nmu-local-changelog +Description: Test suppression of NMU tags for local packages diff --git a/t/recipes/checks/debian/changelog/nmu-local-changelog/eval/desc b/t/recipes/checks/debian/changelog/nmu-local-changelog/eval/desc new file mode 100644 index 0000000..4140200 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-changelog/eval/desc @@ -0,0 +1,4 @@ +Testname: nmu-local-changelog +Test-Against: malformed-debian-changelog-version +See-Also: Debian Bug#501523 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/nmu-local-changelog/eval/hints b/t/recipes/checks/debian/changelog/nmu-local-changelog/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..8eba4c0 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- Russ Allbery [% $date %] diff --git a/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/fill-values new file mode 100644 index 0000000..e04302d --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: nmu-local-version +Version: 1.0local1 +Description: Test suppression of NMU tags for local packages diff --git a/t/recipes/checks/debian/changelog/nmu-local-version/eval/desc b/t/recipes/checks/debian/changelog/nmu-local-version/eval/desc new file mode 100644 index 0000000..1cffe96 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-local-version/eval/desc @@ -0,0 +1,4 @@ +Testname: nmu-local-version +Test-Against: malformed-debian-changelog-version +See-Also: Debian Bug#501523 +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/nmu-local-version/eval/hints b/t/recipes/checks/debian/changelog/nmu-local-version/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..4017019 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Non-maintainer upload. + * Lintian Test Suite. + * Test: [% $testname %] + + -- Thadeu Lima de Souza Cascardo [% $date %] diff --git a/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/fill-values new file mode 100644 index 0000000..409b82b --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: nmu-new-upstream-version +Version: 3.1-0.1 +Description: Test for new upstream NMU versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/desc b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/desc new file mode 100644 index 0000000..7f8b8b3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/desc @@ -0,0 +1,4 @@ +Testname: nmu-new-upstream-version +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/hints b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-new-upstream-version/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/debian/changelog.in new file mode 100644 index 0000000..6745296 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/debian/changelog.in @@ -0,0 +1,9 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Team upload. + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- Russ Allbery [% $date %] diff --git a/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/fill-values b/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/fill-values new file mode 100644 index 0000000..0da98e2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-team-upload/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: nmu-team-upload +Version: 1.0+nmu1 +Description: Test for versioning of a team upload diff --git a/t/recipes/checks/debian/changelog/nmu-team-upload/eval/desc b/t/recipes/checks/debian/changelog/nmu-team-upload/eval/desc new file mode 100644 index 0000000..c867e9e --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-team-upload/eval/desc @@ -0,0 +1,3 @@ +Testname: nmu-team-upload +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/nmu-team-upload/eval/hints b/t/recipes/checks/debian/changelog/nmu-team-upload/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/nmu-team-upload/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/package-version-0/build-spec/fill-values b/t/recipes/checks/debian/changelog/package-version-0/build-spec/fill-values new file mode 100644 index 0000000..d0d3daa --- /dev/null +++ b/t/recipes/checks/debian/changelog/package-version-0/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: package-version-0 +Version: 0 +Description: Test a package with version 0 diff --git a/t/recipes/checks/debian/changelog/package-version-0/eval/desc b/t/recipes/checks/debian/changelog/package-version-0/eval/desc new file mode 100644 index 0000000..98ff4b3 --- /dev/null +++ b/t/recipes/checks/debian/changelog/package-version-0/eval/desc @@ -0,0 +1,4 @@ +Testname: package-version-0 +Test-Against: + malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/package-version-0/eval/hints b/t/recipes/checks/debian/changelog/package-version-0/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/changelog/package-version-0/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/fill-values b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/fill-values new file mode 100644 index 0000000..373fa4c --- /dev/null +++ b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: sid-and-unstable-match-in-changes +Skeleton: upload-native +Distribution: sid +Description: Test if Debian changelog is missing diff --git a/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in new file mode 100755 index 0000000..0048c4d --- /dev/null +++ b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/build-spec/post-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +perl -pi -e 's/(Distribution:\s*)sid/$1unstable/' "[% $build_product %]" diff --git a/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/desc b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/desc new file mode 100644 index 0000000..7f785c9 --- /dev/null +++ b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/desc @@ -0,0 +1,4 @@ +Testname: sid-and-unstable-match-in-changes +Test-Against: + changelog-distribution-does-not-match-changes-file +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/hints b/t/recipes/checks/debian/changelog/sid-and-unstable-match-in-changes/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2d380f5 --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + * This line has a speling error. + - This line has the same speling error, but we should only + get one tag for it. + * Corrected spelling: abov -> above. + * Corrected typo: abov -> above. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/copyright b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/copyright new file mode 100644 index 0000000..30cbe5c --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This duplicate duplicate word should not trigger. (re. #897402) + +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2010 Russ Allbery + +This text should not generate a spelling error for "ment": + + computer software documentation," as such terms are used in + 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- + ment only as a commercial end item. Consistent with 48 C.F.R. + 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), + +But deafult is still a spelling error. + +This text should not generate a spelling error for the duplicate "a" (re. #844166) + + following Attribution Information: (a) a copyright notice including the name diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/doc-base new file mode 100644 index 0000000..3839a9b --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/doc-base @@ -0,0 +1,9 @@ +Document: spelling-general +Title: Check for debian doc-base spelling errors +Author: Russ Allbery +Abstract: This control file exercises, picky, speling error checks for + Debian doc-base files, such as meta-package. +Section: Programming + +Format: text +Files: /usr/share/doc/spelling-general/copyright diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/add-readme new file mode 100644 index 0000000..b1647ba --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/add-readme @@ -0,0 +1,8 @@ +This is a deliberate speling error. duplicate + +duplicate + +--- upstream.orig/README ++++ upstream/README +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/nonrel new file mode 100644 index 0000000..48e7740 --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/nonrel @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; description mentions typo) + +--- upstream.orig/nonrel ++++ upstream/nonrel +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/series new file mode 100644 index 0000000..0bfb03d --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/series @@ -0,0 +1,3 @@ +add-readme +spelling +nonrel diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/spelling new file mode 100644 index 0000000..29b9cfd --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/debian/patches/spelling @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; filename match) + +--- upstream.orig/spelling ++++ upstream/spelling +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/changelog/spelling-general/build-spec/fill-values b/t/recipes/checks/debian/changelog/spelling-general/build-spec/fill-values new file mode 100644 index 0000000..1c8c790 --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: spelling-general +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: General checks for spelling errors diff --git a/t/recipes/checks/debian/changelog/spelling-general/eval/desc b/t/recipes/checks/debian/changelog/spelling-general/eval/desc new file mode 100644 index 0000000..c42796e --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-general +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/spelling-general/eval/hints b/t/recipes/checks/debian/changelog/spelling-general/eval/hints new file mode 100644 index 0000000..70278a2 --- /dev/null +++ b/t/recipes/checks/debian/changelog/spelling-general/eval/hints @@ -0,0 +1 @@ +spelling-general (binary): spelling-error-in-changelog speling spelling [usr/share/doc/spelling-general/changelog.Debian.gz] diff --git a/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/build-spec/fill-values b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/build-spec/fill-values new file mode 100644 index 0000000..073f011 --- /dev/null +++ b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: two-dashes-in-non-native-version +Version: 4.6.2-1-1 +Description: Two dashes in a non-native version diff --git a/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/desc b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/desc new file mode 100644 index 0000000..2c2a6d1 --- /dev/null +++ b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/desc @@ -0,0 +1,3 @@ +Testname: two-dashes-in-non-native-version +Test-Against: malformed-debian-changelog-version +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/hints b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/hints new file mode 100644 index 0000000..c5e0665 --- /dev/null +++ b/t/recipes/checks/debian/changelog/two-dashes-in-non-native-version/eval/hints @@ -0,0 +1 @@ +two-dashes-in-non-native-version (source): hyphen-in-upstream-part-of-debian-changelog-version 4.6.2-1 [debian/changelog:1] diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/desc new file mode 100644 index 0000000..da4b5c8 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/adopted +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/hints new file mode 100644 index 0000000..0c6607a --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): adopted-extended-field (in section for source) XS-Vcs-Svn [debian/control:14] diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control-file-golang-xs-go-import-path.install b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control-file-golang-xs-go-import-path.install new file mode 100644 index 0000000..0ba75d6 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control-file-golang-xs-go-import-path.install @@ -0,0 +1 @@ +static usr/lib/foo/ diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control.in new file mode 100644 index 0000000..65425a5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control.in @@ -0,0 +1,42 @@ +Source: [% $source %] +Section: net +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Rules-Requires-Root: [% $rules_requires_root %] +Build-Depends: [% $build_depends %], + golang-go (>= 2:1.1.1-4) +XS-Go-Import-Path: github.com/Debian/lintian-test-package +Go-Import-Path: github.com/Debian/lintian-test-package + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +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: [% $source %]-dev +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (dev) + 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. + . + This package contains the source. + +Package: [% $source %]-clean-dev +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (clean dev) + 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. + . + This package contains the source, without a built-using tag. diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/fill-values new file mode 100644 index 0000000..130e255 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: control-file-golang-xs-go-import-path +Description: False-positive test for XS-Go-Import field +Package-Architecture: any diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/Makefile b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/Makefile new file mode 100644 index 0000000..6047afb --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) + +all: + # static version + $(COMPILE) -static -o static basic.c + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/basic.c b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/basic.c new file mode 100644 index 0000000..7dea5a0 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include + +int +main(void) +{ + char t[10]; + printf("Hello world!\n"); + /* Bad choice for reading from stdin, but it forces a stack + protector, so meh. + */ + gets (t); +} diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/desc b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/desc new file mode 100644 index 0000000..c5ce740 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/desc @@ -0,0 +1,3 @@ +Testname: control-file-golang-xs-go-import-path +Test-Against: adopted-extended-field +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hint b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hint new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hints b/t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/debian/control.in new file mode 100644 index 0000000..bb46277 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %]-udeb +Section: debian-installer +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +XC-Package-Type: udeb +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. diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/fill-values new file mode 100644 index 0000000..d31fe5e --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-pedantic +Description: Pedantic tests for control file issues diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/desc b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/desc new file mode 100644 index 0000000..d8e0f7f --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-pedantic +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/hints b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/hints new file mode 100644 index 0000000..d3770ad --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-pedantic/eval/hints @@ -0,0 +1 @@ +control-file-pedantic (source): adopted-extended-field (in section for control-file-pedantic-udeb) XC-Package-Type [debian/control:14] diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in new file mode 100644 index 0000000..920b4e2 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: non-free/[% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +XS-Autobuild: no +Autobuild: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values new file mode 100644 index 0000000..07d27d1 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-source-upload-to-non-free-without-autobuild +Description: Check for source-only uploads to non-free without autobuild diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/desc b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/desc new file mode 100644 index 0000000..d59a609 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/desc @@ -0,0 +1,3 @@ +Testname: control-file-source-upload-to-non-free-without-autobuild +Test-Against: adopted-extended-field +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/hints b/t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/control/field/adopted/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-binary/eval/desc b/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/desc new file mode 100644 index 0000000..700e237 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/hints b/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/hints new file mode 100644 index 0000000..bf0c2ff --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/hints @@ -0,0 +1,2 @@ +binary (source): adopted-extended-field (in section for source) XS-Vcs-Browser [debian/control:9] +binary (source): adopted-extended-field (in section for source) XS-Dm-Upload-Allowed [debian/control:10] diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/post-test b/t/recipes/checks/debian/control/field/adopted/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/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/debian/control/field/adopted/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..1e276d7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses some UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/control/field/adopted/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/desc b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/desc new file mode 100644 index 0000000..4f6731b --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/hints b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/hints new file mode 100644 index 0000000..7d978ef --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (source): adopted-extended-field (in section for source) XS-Dm-Upload-Allowed [debian/control:9] diff --git a/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/post-test b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/control.in new file mode 100644 index 0000000..b8807cf --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +XS-Testsuite: autopkgtest, golf + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/control b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/control new file mode 100644 index 0000000..19e2aee --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/control @@ -0,0 +1 @@ +Tests: test-1 diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/test-1 b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/test-1 new file mode 100644 index 0000000..039e4d0 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/debian/tests/test-1 @@ -0,0 +1,2 @@ +#!/bin/sh +exit 0 diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/fill-values b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/fill-values new file mode 100644 index 0000000..11a2f63 --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: testsuite-unknown-suite +Description: Tests for unknown suite in the control being non-file diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/desc b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/desc new file mode 100644 index 0000000..e36143f --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/desc @@ -0,0 +1,2 @@ +Testname: testsuite-unknown-suite +Check: debian/control/field/adopted diff --git a/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/hints b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/hints new file mode 100644 index 0000000..ad57ccd --- /dev/null +++ b/t/recipes/checks/debian/control/field/adopted/testsuite-unknown-suite/eval/hints @@ -0,0 +1 @@ +testsuite-unknown-suite (source): adopted-extended-field (in section for source) XS-Testsuite [debian/control:8] diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in new file mode 100644 index 0000000..25e3070 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in @@ -0,0 +1,43 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %]-broken +Architecture: any-amd64 any-arm64 any-mips64 any-mips64el any-ia64 + any-ppc64 any-ppc64el any-sparc64 +Depends: ${misc:Depends} +Description: [% $description %] (multiline architecture, broken) + This is a (broken) 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. + . + The Architecture (multi-)line example above is taken from + https://bugs.debian.org/780473 + +Package: [% $source %]-fine-any-something +Architecture: any-amd64 any-arm64 any-mips64 any-mips64el any-ia64 any-ppc64 any-ppc64el any-sparc64 +Depends: ${misc:Depends} +Description: [% $description %] (any-something, fine) + This is a (non-broken) 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. + . + This "any-something" package should not show up. + +Package: [% $source %]-fine-all +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (all, fine) + This is a (non-broken) 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. + . + This "all" package should not show up. diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values new file mode 100644 index 0000000..b1b9f17 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-important-space +Description: Important tests for control file spacing diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc new file mode 100644 index 0000000..1fcd3a9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-important-space +Check: debian/control/field/architecture/multiline diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints new file mode 100644 index 0000000..366ed52 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints @@ -0,0 +1 @@ +control-file-important-space (source): multiline-architecture-field Architecture (in section for control-file-important-space-broken) [debian/control:11] diff --git a/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/debian/control.in new file mode 100644 index 0000000..7df1b9f --- /dev/null +++ b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + big , bpfail1 , + bpcomplicated +Rules-Requires-Root: no + +Package: [% $source %]-wrong-syntax +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: +Description: [% $description %] (wrong syntax) + Check the syntax of the Build-Profiles field + . + 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: [% $source %]-unknown-profile +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: +Description: [% $description %] (unknown profile) + Check for unknown profile names + . + 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. diff --git a/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/fill-values new file mode 100644 index 0000000..7fd9fd0 --- /dev/null +++ b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-build-profiles-general +Description: General tests for build profiles diff --git a/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/desc b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/desc new file mode 100644 index 0000000..20c61ee --- /dev/null +++ b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-build-profiles-general +Check: debian/control/field/build-profiles +See-Also: + Debian Bug#540594, + Debian Bug#551793 diff --git a/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/hints b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/hints new file mode 100644 index 0000000..e100e00 --- /dev/null +++ b/t/recipes/checks/debian/control/field/build-profiles/fields-build-profiles-general/eval/hints @@ -0,0 +1,2 @@ +fields-build-profiles-general (source): invalid-restriction-formula-in-build-profiles-field (in section for fields-build-profiles-general-wrong-syntax) [debian/control:14] +fields-build-profiles-general (source): invalid-profile-name-in-build-profiles-field unknown (in section for fields-build-profiles-general-unknown-profile) [debian/control:26] diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control-file-golang-built-using.install b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control-file-golang-built-using.install new file mode 100644 index 0000000..c07a6cb --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control-file-golang-built-using.install @@ -0,0 +1 @@ +static /usr/lib/foo/ diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control.in new file mode 100644 index 0000000..d060140 --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/debian/control.in @@ -0,0 +1,41 @@ +Source: [% $source %] +Section: net +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Rules-Requires-Root: [% $rules_requires_root %] +Build-Depends: [% $build_depends %], + golang-go (>= 2:1.1.1-4) + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +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: [% $source %]-dev +Architecture: all +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: [% $description %] (dev) + 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. + . + This package contains the source. + +Package: [% $source %]-clean-dev +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (clean dev) + 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. + . + This package contains the source, without a built-using tag. diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/fill-values b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/fill-values new file mode 100644 index 0000000..2c9dd7d --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: control-file-golang-built-using +Description: False-positive test for Built-Using field +Package-Architecture: any diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/Makefile b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/Makefile new file mode 100644 index 0000000..6047afb --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +NOPIE_CFLAGS = $(filter-out -fPIE,$(CFLAGS)) +NOPIE_LDFLAGS = $(filter-out -fPIE -pie,$(LDFLAGS)) +COMPILE:= $(CC) $(NOPIE_CFLAGS) $(CPPFLAGS) $(NOPIE_LDFLAGS) + +all: + # static version + $(COMPILE) -static -o static basic.c + +clean distclean: + rm -f basic + +check test: diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/basic.c b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/basic.c new file mode 100644 index 0000000..7dea5a0 --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/build-spec/orig/basic.c @@ -0,0 +1,12 @@ +#include + +int +main(void) +{ + char t[10]; + printf("Hello world!\n"); + /* Bad choice for reading from stdin, but it forces a stack + protector, so meh. + */ + gets (t); +} diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/desc b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/desc new file mode 100644 index 0000000..89280b2 --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-golang-built-using +Check: debian/control/field/built-using diff --git a/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/hints b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/hints new file mode 100644 index 0000000..ffc3280 --- /dev/null +++ b/t/recipes/checks/debian/control/field/built-using/control-file-golang-built-using/eval/hints @@ -0,0 +1 @@ +control-file-golang-built-using (source): built-using-field-on-arch-all-package (in section for control-file-golang-built-using-dev) Built-Using ${misc:Built-Using} [debian/control:23] diff --git a/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/desc new file mode 100644 index 0000000..69e1475 --- /dev/null +++ b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/description/duplicate +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/hints new file mode 100644 index 0000000..cc92e1d --- /dev/null +++ b/t/recipes/checks/debian/control/field/description/duplicate/control-file-general/eval/hints @@ -0,0 +1,2 @@ +control-file-general (source): duplicate-short-description control-file-general control-file-general-1 [debian/control] +control-file-general (source): duplicate-long-description control-file-general control-file-general-1 control-file-general-2 control-file-general-3 control-file-general-4 control-file-general-5 control-file-general-dbg control-file-general-dbgsym [debian/control] diff --git a/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/desc new file mode 100644 index 0000000..981eddf --- /dev/null +++ b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/doubled-up +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/hints new file mode 100644 index 0000000..5d69243 --- /dev/null +++ b/t/recipes/checks/debian/control/field/doubled-up/control-file-general/eval/hints @@ -0,0 +1,3 @@ +control-file-general (source): debian-control-repeats-field-name-in-value (in section for control-file-general-dbgsym) Description [debian/control:91] +control-file-general (source): debian-control-repeats-field-name-in-value (in section for control-file-general-dbg) Description [debian/control:101] +control-file-general (source): debian-control-repeats-field-name-in-value (in section for control-file-general-5) Description [debian/control:81] diff --git a/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/debian/control.in new file mode 100644 index 0000000..c1c9cdc --- /dev/null +++ b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/debian/control.in @@ -0,0 +1,26 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Uploaders: + Wrapped Onto New Line +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets +Homepage: https://lintian.debian.org/ +Vcs-Browser: +# The following line contains "Vcs-Git: \n" +Vcs-Git: + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: +# The following line contains "Provides: \n" +Provides: +Recommends: ${false:Positive} +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. diff --git a/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/fill-values b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/fill-values new file mode 100644 index 0000000..65e572e --- /dev/null +++ b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-has-empty-field +Description: Check for empty fields diff --git a/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/desc b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/desc new file mode 100644 index 0000000..5f7696d --- /dev/null +++ b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/desc @@ -0,0 +1,2 @@ +Testname: control-has-empty-field +Check: debian/control/field/empty diff --git a/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/hints b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/hints new file mode 100644 index 0000000..8f187c3 --- /dev/null +++ b/t/recipes/checks/debian/control/field/empty/control-has-empty-field/eval/hints @@ -0,0 +1,4 @@ +control-has-empty-field (source): debian-control-has-empty-field (in source paragraph) Vcs-Git [debian/control:13] +control-has-empty-field (source): debian-control-has-empty-field (in source paragraph) Vcs-Browser [debian/control:11] +control-has-empty-field (source): debian-control-has-empty-field (in section for control-has-empty-field) Suggests [debian/control:18] +control-has-empty-field (source): debian-control-has-empty-field (in section for control-has-empty-field) Provides [debian/control:20] diff --git a/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/desc new file mode 100644 index 0000000..869cae4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/misplaced +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/hints new file mode 100644 index 0000000..f2cf497 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): build-prerequisite-in-installable-section Build-Conflicts (in section for control-file-general) [debian/control:21] diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..1e276d7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses some UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/control/field/misplaced/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/desc b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/desc new file mode 100644 index 0000000..d2bbe00 --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/control/field/misplaced diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/hints b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/hints new file mode 100644 index 0000000..71d7bec --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (source): build-prerequisite-in-installable-section Build-Depends (in section for foo++) [debian/control:13] diff --git a/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/post-test b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/control/field/misplaced/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/desc new file mode 100644 index 0000000..f74e37c --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/redundant +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/hints new file mode 100644 index 0000000..d7ec903 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): installable-field-mirrors-source (in section for control-file-general) Maintainer [debian/control:20] diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/control/field/redundant/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-binary/eval/desc b/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/desc new file mode 100644 index 0000000..8a0c040 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/control/field/redundant diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/hints b/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/hints new file mode 100644 index 0000000..6d49eb7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (source): installable-field-mirrors-source (in section for binary) Vcs-Svn [debian/control:16] diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/post-test b/t/recipes/checks/debian/control/field/redundant/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/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/debian/control/field/redundant/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debian/control/field/redundant/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/desc b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/desc new file mode 100644 index 0000000..485af32 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debian/control/field/redundant diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/hints b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/hints new file mode 100644 index 0000000..fc30343 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/hints @@ -0,0 +1 @@ +libbaz (source): installable-field-mirrors-source (in section for libbaz2-dbg) Priority [debian/control:51] diff --git a/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/redundant/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/compat.in b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/control.in new file mode 100644 index 0000000..961052e --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/debian/control.in @@ -0,0 +1,22 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], debhelper +Build-Depends-Indep: foobar, foo, foobar +Build-Conflicts: bar, + baz, + bar [i386] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, ${misc:Depends} +Recommends: foo (>> 1.0) | bar, foo +Suggests: baz (= 1.0), baz, baz (>= 2.0) +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. diff --git a/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/fill-values b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/fill-values new file mode 100644 index 0000000..51e95fe --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: control-file-duplicate +Package-Architecture: all +Description: Pedantic test for duplicate relations +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/desc b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/desc new file mode 100644 index 0000000..a819543 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-duplicate +Check: debian/control/field/relation diff --git a/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/hints b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/hints new file mode 100644 index 0000000..2633892 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-duplicate/eval/hints @@ -0,0 +1,5 @@ +control-file-duplicate (source): redundant-control-relation (in source paragraph) Build-Depends-Indep foobar, foobar [debian/control:7] +control-file-duplicate (source): redundant-control-relation (in source paragraph) Build-Depends debhelper, debhelper (>= 13~) [debian/control:6] +control-file-duplicate (source): redundant-control-relation (in source paragraph) Build-Conflicts bar, bar [i386] [debian/control:8] +control-file-duplicate (source): redundant-control-relation (in section for control-file-duplicate) Suggests baz, baz (= 1.0), baz (>= 2.0) [debian/control:17] +control-file-duplicate (source): redundant-control-relation (in section for control-file-duplicate) Depends ${misc:Depends}, ${misc:Depends} [debian/control:15] diff --git a/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/field/relation/control-file-general/eval/desc b/t/recipes/checks/debian/control/field/relation/control-file-general/eval/desc new file mode 100644 index 0000000..27425f4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/field/relation +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/field/relation/control-file-general/eval/hints b/t/recipes/checks/debian/control/field/relation/control-file-general/eval/hints new file mode 100644 index 0000000..67abb80 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-general/eval/hints @@ -0,0 +1,3 @@ +control-file-general (source): obsolete-relation-form-in-source (in source paragraph) Build-Depends-Indep perl (> 5.8) [debian/control:12] +control-file-general (source): obsolete-relation-form-in-source (in section for control-file-general-1) Breaks libsqlite3-0 (< 3.6.12) [debian/control:37] +control-file-general (source): missing-separator-between-items (in section for control-file-general) '${shlibs:Depends}' and '${some:Depends}' [debian/control:24] diff --git a/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/debian/control.in new file mode 100644 index 0000000..fff0af8 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: control-file-missing-separator +Section: devel +Priority: optional +Maintainer: [% $author %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc + mips mipsel + hppa + s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Standards-Version: [% $standards_version %] + +Package: control-file-missing-separator +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1) + baz (<< 2), + fizz (= 2.0) +Suggests: p1 + p2 + p3 + p4 + p5 +Description: Test for missing separators in control files + 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/debian/control/field/relation/control-file-missing-separator/build-spec/fill-values b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/fill-values new file mode 100644 index 0000000..1a4a198 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: control-file-missing-separator +Version: 1 +Description: Test for missing separators in control files diff --git a/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/desc b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/desc new file mode 100644 index 0000000..134b1a6 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-missing-separator +Check: debian/control/field/relation diff --git a/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/hints b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/hints new file mode 100644 index 0000000..232c263 --- /dev/null +++ b/t/recipes/checks/debian/control/field/relation/control-file-missing-separator/eval/hints @@ -0,0 +1,2 @@ +control-file-missing-separator (source): missing-separator-between-items (in section for control-file-missing-separator) 'p1' and 'p2' [debian/control:22] +control-file-missing-separator (source): missing-separator-between-items (in section for control-file-missing-separator) 'foo (>= 1)' and 'baz (<< 2)' [debian/control:19] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/debian/control.in new file mode 100644 index 0000000..fff0af8 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: control-file-missing-separator +Section: devel +Priority: optional +Maintainer: [% $author %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc + mips mipsel + hppa + s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Standards-Version: [% $standards_version %] + +Package: control-file-missing-separator +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1) + baz (<< 2), + fizz (= 2.0) +Suggests: p1 + p2 + p3 + p4 + p5 +Description: Test for missing separators in control files + 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/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/fill-values new file mode 100644 index 0000000..1a4a198 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: control-file-missing-separator +Version: 1 +Description: Test for missing separators in control files diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/desc new file mode 100644 index 0000000..b788a20 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-missing-separator +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/hints new file mode 100644 index 0000000..7fc3867 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-missing-separator/eval/hints @@ -0,0 +1 @@ +control-file-missing-separator (source): silent-on-rules-requiring-root [debian/control] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in new file mode 100644 index 0000000..9b17d19 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/rules b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/fill-values new file mode 100644 index 0000000..f97b076 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-binary-targets +Description: Test for "Rules-Requires-Root: binary-targets" diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/desc new file mode 100644 index 0000000..7d4185b --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-binary-targets +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/hints new file mode 100644 index 0000000..bd286c7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-binary-targets/eval/hints @@ -0,0 +1 @@ +control-file-rules-requires-root-binary-targets (source): rules-require-root-explicitly [debian/control:7] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/control.in new file mode 100644 index 0000000..503994d --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/rules b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/fill-values new file mode 100644 index 0000000..7359a3f --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-no +Description: Test for "Rules-Requires-Root: no" diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/desc new file mode 100644 index 0000000..daf6c23 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-no +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/hints new file mode 100644 index 0000000..faa5fc4 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-rules-requires-root-no/eval/hints @@ -0,0 +1 @@ +control-file-rules-requires-root-no (source): rules-do-not-require-root [debian/control:7] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..9db2167 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-symlink +Description: Test if debian/control is a symlink diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/pre-build b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/pre-build new file mode 100755 index 0000000..d872c36 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh + +ROOT_DIR="$1" + +mv "${ROOT_DIR}/debian/control" "${ROOT_DIR}/debian/control.real" +ln -s control.real "${ROOT_DIR}/debian/control" diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/desc new file mode 100644 index 0000000..8ddc4fb --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-symlink +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/hints new file mode 100644 index 0000000..b191772 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/control-file-symlink/eval/hints @@ -0,0 +1 @@ +control-file-symlink (source): rules-do-not-require-root [debian/control.real:7] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/debian/control.in new file mode 100644 index 0000000..c69c988 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Require-Root: no +Rules-Requires-Root: no +XS-Comment: This is random comment ending up in the dsc file. + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. + diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/fill-values new file mode 100644 index 0000000..df47230 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-unknown-fields +Description: General tests for unknown fields diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/desc new file mode 100644 index 0000000..c37168e --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-unknown-fields +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/hints new file mode 100644 index 0000000..a698c7f --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/fields-unknown-fields/eval/hints @@ -0,0 +1,2 @@ +fields-unknown-fields (source): spelling-error-in-rules-requires-root Rules-Require-Root [debian/control:7] +fields-unknown-fields (source): rules-do-not-require-root [debian/control:8] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/desc new file mode 100644 index 0000000..02acb73 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/hints new file mode 100644 index 0000000..2404d59 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/hints @@ -0,0 +1 @@ +relations (source): silent-on-rules-requiring-root [debian/control] diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/post-test b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/debian/control.in new file mode 100644 index 0000000..fb3b62f --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Homepage: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/fill-values b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/fill-values new file mode 100644 index 0000000..a1b35c5 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: rules-requires-root-missing +Skeleton: upload-native +Description: d/control without explicit rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/desc b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/desc new file mode 100644 index 0000000..ca896c2 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-requires-root-missing +Check: debian/control/field/rules-requires-root diff --git a/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/hints b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/hints new file mode 100644 index 0000000..32edc86 --- /dev/null +++ b/t/recipes/checks/debian/control/field/rules-requires-root/rules-requires-root-missing/eval/hints @@ -0,0 +1 @@ +rules-requires-root-missing (source): silent-on-rules-requiring-root [debian/control] diff --git a/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/debian/control.in new file mode 100644 index 0000000..cf9ff9a --- /dev/null +++ b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Section: [% $section %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/fill-values b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/fill-values new file mode 100644 index 0000000..0b221ac --- /dev/null +++ b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: no-section-in-source-stanza +Description: No Section declared in source stanza of d/control + diff --git a/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/desc b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/desc new file mode 100644 index 0000000..5e52eb8 --- /dev/null +++ b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/desc @@ -0,0 +1,2 @@ +Testname: no-section-in-source-stanza +Check: debian/control/field/section diff --git a/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/hints b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/hints new file mode 100644 index 0000000..e12b62a --- /dev/null +++ b/t/recipes/checks/debian/control/field/section/no-section-in-source-stanza/eval/hints @@ -0,0 +1 @@ +no-section-in-source-stanza (source): no-source-section [debian/control] diff --git a/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/debian/control.in new file mode 100644 index 0000000..9af359b --- /dev/null +++ b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority:optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. It may + be an empty package. diff --git a/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/fill-values b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/fill-values new file mode 100644 index 0000000..f44d584 --- /dev/null +++ b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-pedantic-space +Description: Pedantic tests for control file spacing diff --git a/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/desc b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/desc new file mode 100644 index 0000000..86d452c --- /dev/null +++ b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-pedantic-space +Check: debian/control/field/spacing diff --git a/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/hints b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/hints new file mode 100644 index 0000000..df949b0 --- /dev/null +++ b/t/recipes/checks/debian/control/field/spacing/control-file-pedantic-space/eval/hints @@ -0,0 +1,3 @@ +control-file-pedantic-space (source): debian-control-has-unusual-field-spacing Source [debian/control:1] +control-file-pedantic-space (source): debian-control-has-unusual-field-spacing Section [debian/control:3] +control-file-pedantic-space (source): debian-control-has-unusual-field-spacing Priority [debian/control:2] diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..9db2167 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-symlink +Description: Test if debian/control is a symlink diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build new file mode 100755 index 0000000..d872c36 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh + +ROOT_DIR="$1" + +mv "${ROOT_DIR}/debian/control" "${ROOT_DIR}/debian/control.real" +ln -s control.real "${ROOT_DIR}/debian/control" diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/eval/desc b/t/recipes/checks/debian/control/link/control-file-symlink/eval/desc new file mode 100644 index 0000000..556a375 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-symlink +Check: debian/control/link diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints b/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints new file mode 100644 index 0000000..04be3f2 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints @@ -0,0 +1 @@ +control-file-symlink (source): debian-control-file-is-a-symlink [debian/control] diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/desc b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/desc new file mode 100644 index 0000000..02f41b5 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/prerequisite/circular +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/hints b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/hints new file mode 100644 index 0000000..1c51dc4 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): circular-installation-prerequisite (in section for control-file-general) Depends control-file-general, foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} [debian/control:24] diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/debian/control.in new file mode 100644 index 0000000..c69e042 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: [% $source %] +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. diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/fill-values new file mode 100644 index 0000000..837abce --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-suggests-itself +Description: Test a package Suggesting itself diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/desc b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/desc new file mode 100644 index 0000000..b880eed --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-suggests-itself +Check: debian/control/prerequisite/circular diff --git a/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/hints b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/hints new file mode 100644 index 0000000..c2e5627 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/control-file-suggests-itself/eval/hints @@ -0,0 +1 @@ +control-file-suggests-itself (source): circular-installation-prerequisite (in section for control-file-suggests-itself) Suggests control-file-suggests-itself [debian/control:12] diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in new file mode 100644 index 0000000..054ffc3 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in @@ -0,0 +1,81 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], libtest-simple-perl (>= 0.98), perl-modules +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, xorg, bash, + conflict-dep, gawk | awk, new-package | xbase-clients (>= 0.1), [% $source %], + gaim (>= 0.1), emacs21, emacs22, emacs23, makedev, libtest-simple-perl (>= 0.98), + packaging-dev, xfont-a, emacs22-gtk, emacs23-el, emacs23-nox, emacs23-lucid, + emacs222, perl-modules, debhelper +Breaks: package-without-version, [% $source %] (<< 0.1), + replaced-wo-version +Replaces: replaced-wo-version +Conflicts: package-with-version (<< 3.0), conflict-dep +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. + +Package: lib[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, libdb1-compat, perl-modules-5.22 +Recommends: debconf-doc, cdbs +Conflicts: debhelper +Section: libs +Description: [% $description %] -- fake library + This is a fake library 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: py-[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python-minimal +Description: [% $description %] - Fake Python package + 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. + . + The fake Python package. + +Package: [% $source %]-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %] +Description: [% $description %] - Fake Doc package + 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. + . + The fake doc package. + +Package: dh-[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper +Description: [% $description %] - Fake Debhelper package + 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. + . + The fake Debhelper package to test false-positives in + binary-package-depends-on-toolchain-package. + +Package: [% $source %]-source +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper +Description: [% $description %] - Fake DKMS-like package + 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. + . + The fake DKMS-like package to test false-positives in + binary-package-depends-on-toolchain-package. diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values new file mode 100644 index 0000000..6e84753 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-depends-general +Description: General tests for binary package dependencies diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc new file mode 100644 index 0000000..e47d658 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-depends-general +Check: debian/control/prerequisite/circular diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints new file mode 100644 index 0000000..44047f1 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints @@ -0,0 +1 @@ +fields-depends-general (source): circular-installation-prerequisite (in section for fields-depends-general) Depends ${shlibs:Depends}, ${misc:Depends}, xorg, bash, conflict-dep, gawk | awk, new-package | xbase-clients (>= 0.1), fields-depends-general, gaim (>= 0.1), emacs21, emacs22, emacs23, makedev, libtest-simple-perl (>= 0.98), packaging-dev, xfont-a, emacs22-gtk, emacs23-el, emacs23-nox, emacs23-lucid, emacs222, perl-modules, debhelper [debian/control:11] diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/desc b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/desc new file mode 100644 index 0000000..515312a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/control/prerequisite/circular diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/hints b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/hints new file mode 100644 index 0000000..3285321 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations (source): circular-installation-prerequisite (in section for relations-multiple-libs) Recommends ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev [debian/control:40] +relations (source): circular-installation-prerequisite (in section for relations) Depends relations (<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, null (>= 0), ${misc:Depends}, makedev [debian/control:20] diff --git a/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/post-test b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/circular/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/debian/control.in new file mode 100644 index 0000000..170132e --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/debian/control.in @@ -0,0 +1,115 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libcontrol-file-foo1 +Section: libs +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (shared lib 1) + First shared library. + . + 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: libcontrol-file-bar7ldbl +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (shared lib 2) + Second shared library. + . + 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: libcontrol-file-dev +Section: libdevel +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, + libcontrol-file-foo1 (= ${binary:Version}), + libcontrol-file-bar7ldbl, libcontrol-file-baz9-4 (>= ${binary:Version}), + libfoo4, libcontrol-file-doc, libcontrol-file4-dev +Description: [% $description %] (dev package) + Dev package. + . + 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: libcontrol-file-baz9-4 +Section: libs +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (shared lib 3) + Third shared library. + . + 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: libcontrol-file-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (doc package) + Doc package. + . + 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: libcontrol-file4-dev +Section: libdevel +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, + libcontrol-file-foo1 (<= ${source:Upstream-Version}-99) + | libcontrol-file-baz9-4 (<= ${source:Upstream-Version}-99), + libcontrol-file-foo1 (>= ${binary:Version}) + | libcontrol-file-baz9-4 (>= ${binary:Version}) +Description: [% $description %] (dev package with version) + Dev package containing a number. + . + 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: libcontrol-file-all-dev +Section: libdevel +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, libcontrol-file-doc, + libcontrol-file-foo1 (>= ${source:Upstream-Version}), + libcontrol-file-foo1 (<= ${source:Version}.1~), + libcontrol-file-baz9-4 (>= ${source:Version}) +Description: [% $description %] (arch: all dev package) + Architecture-independent development package. + . + 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: libcontrol-baz-dev +Section: libdevel +Architecture: [% $package_architecture %] +Depends: + libcontrol-file-baz9-4 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: [% $description %] (dev whitespace) + Test proper parsing of leading whitespace in Depends + . + 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. diff --git a/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/fill-values new file mode 100644 index 0000000..3651a6c --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-library-dev +Description: Check control file handling of library dev packages diff --git a/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/desc b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/desc new file mode 100644 index 0000000..07a35fd --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-library-dev +Check: debian/control/prerequisite/development diff --git a/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/hints b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/hints new file mode 100644 index 0000000..5d06a02 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/control-file-library-dev/eval/hints @@ -0,0 +1,3 @@ +control-file-library-dev (source): weak-library-dev-dependency (in section for libcontrol-file-dev) Depends libcontrol-file-baz9-4 (>= ${binary:Version}) [debian/control:35] +control-file-library-dev (source): weak-library-dev-dependency (in section for libcontrol-file-dev) Depends libcontrol-file-bar7ldbl [debian/control:35] +control-file-library-dev (source): weak-library-dev-dependency (in section for libcontrol-file-all-dev) Depends libcontrol-file-baz9-4 (>= ${source:Version}) [debian/control:90] diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/desc b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/desc new file mode 100644 index 0000000..1b2d731 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debian/control/prerequisite/development diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/hints b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/hints new file mode 100644 index 0000000..8113d34 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/hints @@ -0,0 +1,2 @@ +libbaz (source): weak-library-dev-dependency (in section for libbaz2-dev) Depends libbaz2 (= ${source:Version}) [debian/control:40] +libbaz (source): weak-library-dev-dependency (in section for libbaz1-dev) Depends libbaz1 (= ${source:Version}) [debian/control:20] diff --git a/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/development/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/rules b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/desc b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/desc new file mode 100644 index 0000000..7f12c44 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debian/control/prerequisite/redundant +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/hints b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/hints new file mode 100644 index 0000000..0671905 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/control-file-general/eval/hints @@ -0,0 +1,4 @@ +control-file-general (source): redundant-installation-prerequisite (in section for control-file-general) Suggests -> Recommends match${lintian:Match} [debian/control:25] +control-file-general (source): redundant-installation-prerequisite (in section for control-file-general) Suggests -> Recommends bar | baz [debian/control:25] +control-file-general (source): redundant-installation-prerequisite (in section for control-file-general) Suggests -> Depends bar | baz [debian/control:24] +control-file-general (source): redundant-installation-prerequisite (in section for control-file-general) Recommends -> Depends foo [debian/control:24] diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/desc b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/desc new file mode 100644 index 0000000..68843a4 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/control/prerequisite/redundant diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/hints b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/hints new file mode 100644 index 0000000..2c936c4 --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/hints @@ -0,0 +1,5 @@ +relations (source): redundant-installation-prerequisite (in section for relations-multiple-libs) Recommends -> Depends ${shlibs:Depends} [debian/control:37] +relations (source): redundant-installation-prerequisite (in section for relations) Suggests -> Recommends some-other-package [debian/control:26] +relations (source): redundant-installation-prerequisite (in section for relations) Recommends -> Depends null [debian/control:20] +relations (source): redundant-installation-prerequisite (in section for relations) Recommends -> Depends dpkg [debian/control:20] +relations (source): redundant-installation-prerequisite (in section for relations) Depends -> Pre-Depends gawk | awk [debian/control:19] diff --git a/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/post-test b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/control/prerequisite/redundant/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/copyright new file mode 100644 index 0000000..61e14af --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: © 2011 J. Random Hacker +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/source-copyright-missing-notice-file-for-apache-license-unrel.install b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/source-copyright-missing-notice-file-for-apache-license-unrel.install new file mode 100644 index 0000000..4268786 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/debian/source-copyright-missing-notice-file-for-apache-license-unrel.install @@ -0,0 +1 @@ +NOTICE usr/share/doc/foo diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/fill-values b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/fill-values new file mode 100644 index 0000000..f38f171 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-missing-notice-file-for-apache-license-unrel +Description: Test for no packages missing Apache NOTICE files (false-positive) diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/orig/NOTICE b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/orig/NOTICE new file mode 100644 index 0000000..2a74156 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/build-spec/orig/NOTICE @@ -0,0 +1 @@ +This file is installed to the binary package. diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/desc b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/desc new file mode 100644 index 0000000..ddbf70f --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-missing-notice-file-for-apache-license-unrel +Test-Against: + missing-notice-file-for-apache-license +Check: debian/copyright/apache-notice diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/hints b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/debian/copyright new file mode 100644 index 0000000..61e14af --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: © 2011 J. Random Hacker +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/fill-values b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/fill-values new file mode 100644 index 0000000..482a07b --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-missing-notice-file-for-apache-license +Description: Test for no packages missing Apache NOTICE files diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE new file mode 100644 index 0000000..6c64526 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE @@ -0,0 +1 @@ +This Apache 2.0 license NOTICE is not installed to any binary package. diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE.txt b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE.txt new file mode 100644 index 0000000..6c64526 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/NOTICE.txt @@ -0,0 +1 @@ +This Apache 2.0 license NOTICE is not installed to any binary package. diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/subdir/NOTICE b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/subdir/NOTICE new file mode 100644 index 0000000..6c64526 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/subdir/NOTICE @@ -0,0 +1 @@ +This Apache 2.0 license NOTICE is not installed to any binary package. diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/unrel/NOTICE b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/unrel/NOTICE new file mode 100644 index 0000000..bdc5a71 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/build-spec/orig/unrel/NOTICE @@ -0,0 +1 @@ +This file is not installed but is not a A_pache license NOTICE file anyway. diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/desc b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/desc new file mode 100644 index 0000000..97324bb --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-missing-notice-file-for-apache-license +Check: debian/copyright/apache-notice diff --git a/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/hints b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/hints new file mode 100644 index 0000000..0f6d607 --- /dev/null +++ b/t/recipes/checks/debian/copyright/apache-notice/source-copyright-missing-notice-file-for-apache-license/eval/hints @@ -0,0 +1,3 @@ +source-copyright-missing-notice-file-for-apache-license (source): missing-notice-file-for-apache-license [subdir/NOTICE] +source-copyright-missing-notice-file-for-apache-license (source): missing-notice-file-for-apache-license [NOTICE] +source-copyright-missing-notice-file-for-apache-license (source): missing-notice-file-for-apache-license [NOTICE.txt] diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..324f170 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in @@ -0,0 +1,39 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-helper +Architecture: [% $package_architecture %] +Depends: [% $source %] (= [% $version %]), ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (symlink) + Helper package with a legitimate /usr/share/doc symlink. + . + 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: [% $source %]-weak +Architecture: [% $package_architecture %] +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (weak) + Helper package with a /usr/share/doc symlink but an insufficiently + strong dependency. Lintian intentionally doesn't diagnose this. + . + 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. diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules new file mode 100755 index 0000000..32f23a0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +pkg := copyright-file-doc-symlink + +%: + dh $@ + +override_dh_prep: + mkdir -p debian/$(pkg)-helper/usr/share/doc + ln -s $(pkg) debian/$(pkg)-helper/usr/share/doc/$(pkg)-helper + mkdir -p debian/$(pkg)-weak/usr/share/doc + ln -s $(pkg) debian/$(pkg)-weak/usr/share/doc/$(pkg)-weak diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values new file mode 100644 index 0000000..77a06bf --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-doc-symlink +Description: Test a symlinked /usr/share/doc diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc new file mode 100644 index 0000000..d56438f --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc @@ -0,0 +1,3 @@ +Testname: copyright-file-doc-symlink +Test-Against: usr-share-doc-symlink-without-dependency +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/DEBIAN/control.in b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..e70b359 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: [% $package_architecture %] +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Depends: other-package +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. diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/control-members b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/control-members new file mode 100644 index 0000000..4db28ac --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/control-members @@ -0,0 +1 @@ +control diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/fill-values new file mode 100644 index 0000000..caef6c4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: copyright-file-foreign-package +Description: Test for foreign symlink in package diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-control b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-control new file mode 100755 index 0000000..0f99335 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-control @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +builddir="$1" + +rm -f "$builddir/md5sums" diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-data b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-data new file mode 100755 index 0000000..5794ed0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/build-spec/pre-data @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +rootdir="$1" +name="$2" + +docdir="$rootdir/usr/share/doc" + +rm -rf "$docdir" + +mkdir -p "$docdir" +ln -sf other-package "$docdir/$name" diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/desc new file mode 100644 index 0000000..1ad0379 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-foreign-package +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/hints new file mode 100644 index 0000000..d4bd58a --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-foreign-package/eval/hints @@ -0,0 +1 @@ +copyright-file-foreign-package (binary): cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..d347ec7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/control.in @@ -0,0 +1,243 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: copyright-iso-8859-1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for non-utf-8-encodings + Tests non-UTF-8 encodings. + . + 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: copyright-full-gpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL in full text + Tests the tag for including all of the GPL. + . + 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: copyright-full-lgpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of LGPL in full text + Tests the tag for including all of the LGPL. + . + 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: copyright-full-gfdl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GFDL in full text + Tests the tag for including all of the GFDL. + . + 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: copyright-full-apache-2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of Apache 2.0 in full text + Tests the tag for including all of the Apache 2.0 license. + . + 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: copyright-misc-errors +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks various errors in copyright files + Tests various random errors in copyright files. + . + 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: copyright-symlink +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: just use a symlink for the copyright file + Tests the check for a symlinked copyright file. + . + 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: copyright-compressed +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: include a valid copyright file and compress it + Tests the check for a compressed copyright file. + . + 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: copyright-old-style +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: use an old-style directory structure + Tests a copyright file using an old-style directory structure. + . + 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: copyright-full-gpl-1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL1 + This should trigger errors as GPL1 is in the common license dir. + . + 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: copyright-full-gpl-2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL2 + This should trigger errors as GPL2 is in the common license dir. + . + 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: copyright-php +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks problematic PHP licenses + The PHP licenses are problematic for any software that isn't PHP. + . + 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: copyright-w3c +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of the W3C license + The W3C license text claims to be "GPL compatible", which shouldn't + trigger warnings. + . + 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: copyright-no-errors +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: this should not emit any error + This copyright file should be fine. + . + 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: copyright-versionless +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks a valid versionless GPL reference + Refers to the GPL and truly doesn't mention any version. + . + 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: copyright-missing-perl-license-pointer +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for perl packages not pointing to common-licenses + Packages under the "same terms as Perl itself" should reference a + license in common-licenses. + . + 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: copyright-missing-apache2-license-pointer +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for apache2 packages not pointing to common-licenses + Packages under the apache2-license should reference a + license in common-licenses. + . + 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: copyright-poor-common-licenses +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks not referring to common licenses + Packages should refer to common licenses with full path if they + use a common license. + . + 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: copyright-crln +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: check for Windows newlines + This package should trigger a tag for having Windows newlines in + the copyright file. + . + 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: copyright-full-agpl-3 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of AGPL-3 in full text + This should not trigger a tag as AGPL-3 is not in common-licenses. + . + 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: copyright-old-fsf +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks use of old FSF address + This should trigger a tag for using old FSF address. + . + 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. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-crln.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-crln.copyright new file mode 100644 index 0000000..43b49cf --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-crln.copyright @@ -0,0 +1,36 @@ +This package was debianized by Tobias Toedter on +Thu, 20 Mar 2008 23:48:15 +0100 + +It was downloaded from + +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184 + +Upstream Authors: + + Tobias Toedter + +Copyright: + + Copyright (C) 2008 Tobias Toedter + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright 2008, Tobias Toedter +and is licensed under the GPL, see above. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright new file mode 100644 index 0000000..dba13ed --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright new file mode 100644 index 0000000..4a0fe1c --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright @@ -0,0 +1,397 @@ + GNU Free Documentation License + Version 1.2, November 2002 + + + Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +functional and useful document "free" in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. + +This License is a kind of "copyleft", which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The "Document", below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as "you". You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. + +A "Modified Version" of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of +the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall subject +(or to related matters) and contains nothing that could fall directly +within that overall subject. (Thus, if the Document is in part a +textbook of mathematics, a Secondary Section may not explain any +mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The "Invariant Sections" are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. + +The "Cover Texts" are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. + +A "Transparent" copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input format, SGML +or XML using a publicly available DTD, and standard-conforming simple +HTML, PostScript or PDF designed for human modification. Examples of +transparent image formats include PNG, XCF and JPG. Opaque formats +include proprietary formats that can be read and edited only by +proprietary word processors, SGML or XML for which the DTD and/or +processing tools are not generally available, and the +machine-generated HTML, PostScript or PDF produced by some word +processors for output purposes only. + +The "Title Page" means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, "Title Page" means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + +A section "Entitled XYZ" means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as "Acknowledgements", +"Dedications", "Endorsements", or "History".) To "Preserve the Title" +of such a section when you modify the Document means that it remains a +section "Entitled XYZ" according to this definition. + +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. + + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + + +3. COPYING IN QUANTITY + +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. + + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has fewer than five), + unless they release you from this requirement. +C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section Entitled "History", Preserve its Title, and add + to it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section Entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission. +K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section all + the substance and tone of each of the contributor acknowledgements + and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles. +M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. +N. Do not retitle any existing section to be Entitled "Endorsements" + or to conflict in title with any Invariant Section. +O. Preserve any Warranty Disclaimers. + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section Entitled "Endorsements", provided it contains +nothing but endorsements of your Modified Version by various +parties--for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections Entitled "History" +in the various original documents, forming one section Entitled +"History"; likewise combine any sections Entitled "Acknowledgements", +and any sections Entitled "Dedications". You must delete all sections +Entitled "Endorsements". + + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. + + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an "aggregate" if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. + + +8. TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. + +If a section in the Document is Entitled "Acknowledgements", +"Dedications", or "History", the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. + + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document is void, and will +automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. + + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + + Copyright (c) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with the + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. + +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright new file mode 100644 index 0000000..1facebe --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright @@ -0,0 +1,206 @@ +A copy of the GNU General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + THE COPYRIGHT HOLDER DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA, PROFITS, QPA OR GPA, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 + + Copyright (C) 1989 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The license agreements of most software companies try to keep users +at the mercy of those companies. By contrast, our General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. The +General Public License applies to the Free Software Foundation's +software and to any other program whose authors commit to using it. +You can use it for your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Specifically, the General Public License is designed to make +sure that you have the freedom to give away or sell copies of free +software, that you receive source code or can get it if you want it, +that you can change the software or use pieces of it in new free +programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of a such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must tell them their rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any program or other work which +contains a notice placed by the copyright holder saying it may be +distributed under the terms of this General Public License. The +"Program", below, refers to any such program or work, and a "work based +on the Program" means either the Program or any work containing the +Program or a portion of it, either verbatim or with modifications. Each +licensee is addressed as "you". + + 1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this +General Public License and to the absence of any warranty; and give any +other recipients of the Program a copy of this General Public License +along with the Program. You may charge a fee for the physical act of +transferring a copy. + + 2. You may modify your copy or copies of the Program or any portion of +it, and copy and distribute such modifications under the terms of Paragraph +1 above, provided that you also do the following: + + a) cause the modified files to carry prominent notices stating that + you changed the files and the date of any change; and + + b) cause the whole of any work that you distribute or publish, that + in whole or in part contains the Program or any part thereof, either + with or without modifications, to be licensed at no charge to all + third parties under the terms of this General Public License (except + that you may choose to grant warranty protection to some or all + third parties, at your option). + + c) If the modified program normally reads commands interactively when + run, you must cause it, when started running for such interactive use + in the simplest and most usual way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this General + Public License. + + d) You may charge a fee for the physical act of transferring a + copy, and you may at your option offer warranty protection in + exchange for a fee. + +Mere aggregation of another independent work with the Program (or its +derivative) on a volume of a storage or distribution medium does not bring +the other work under the scope of these terms. + + 3. You may copy and distribute the Program (or a portion or derivative of +it, under Paragraph 2) in object code or executable form under the terms of +Paragraphs 1 and 2 above provided that you also do one of the following: + + a) accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of + Paragraphs 1 and 2 above; or, + + b) accompany it with a written offer, valid for at least three + years, to give any third party free (except for a nominal charge + for the cost of distribution) a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of + Paragraphs 1 and 2 above; or, + + c) accompany it with the information you received as to where the + corresponding source code may be obtained. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form alone.) + +Source code for a work means the preferred form of the work for making +modifications to it. For an executable file, complete source code means +all the source code for all modules it contains; but, as a special +exception, it need not include source code for modules which are standard +libraries that accompany the operating system on which the executable +file runs, or for standard header files or definitions files that +accompany that operating system. + + 4. You may not copy, modify, sublicense, distribute or transfer the +Program except as expressly provided under this General Public License. +Any attempt otherwise to copy, modify, sublicense, distribute or transfer +the Program is void, and will automatically terminate your rights to use +the Program under this License. However, parties who have received +copies, or rights to use copies, from you under this General Public +License will not have their licenses terminated so long as such parties +remain in full compliance. + + 5. By copying, distributing or modifying the Program (or any work based +on the Program) you indicate your acceptance of this license to do so, +and all its terms and conditions. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these +terms and conditions. You may not impose any further restrictions on the +recipients' exercise of the rights granted herein. + + 7. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of the license which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +the license, you may choose any version ever published by the Free Software +Foundation. + + 8. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright new file mode 100644 index 0000000..f94bb0d --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright @@ -0,0 +1,344 @@ +A copy of the GNU General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/gpl-2.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright new file mode 100644 index 0000000..5dabe34 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright @@ -0,0 +1,171 @@ +A copy of the GNU Lesser General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/lgpl-3.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright new file mode 100644 index 0000000..78a493a --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright @@ -0,0 +1,3 @@ +Copyright (C) 2008 Author + +Äußerst ärgerlich, falls nicht UTF-8 benutzt würde. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright new file mode 100644 index 0000000..dceee0e --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright @@ -0,0 +1,22 @@ +This copyright file contains several errors. + +Downloaded from + +You should not use the template for +Upstream Author(s): Tobias +Copyright 2008 Tobias + +The path /usr/share/common-licences/GPL contains a spelling error. + +It's wrong to reference a compressed license, like this: +/usr/share/common-licenses/BSD.gz + +This path /usr/share/doc/copyright is obsolete. + +The path /usr/share/common-licenses/GPL2 is missing a hyphen. + +This copyright info was automatically extracted from the perl module. +It may not be accurate, so you better check the module sources +if you don't want to get into legal troubles. + +References to /usr/share/common-licenses/BSD are deprecated. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright new file mode 100644 index 0000000..e71e0f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright @@ -0,0 +1,25 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Midnight Commander +Source: http://www.midnight-commander.org/downloads +Copyright: 1996-2013 Free Software Foundation +License: Apache-2.0 + +Files: * +Copyright: 2004,2007 Oren Ben-Kiki +License: Apache-2.0 + +License: Apache-2.0 + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright new file mode 100644 index 0000000..97f8cda --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright @@ -0,0 +1,5 @@ +This copyright file is for libmythical-perl. The module is licenses under +the same terms as Perl itself but we've forgotten to add a reference to the +copy of the Perl license in common-licenses. + +Copyright 2010 The Mythical Perl Module Team diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-no-errors.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-no-errors.copyright new file mode 100644 index 0000000..d31a720 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-no-errors.copyright @@ -0,0 +1,36 @@ +This package was debianized by Tobias Toedter on +Thu, 20 Mar 2008 23:48:15 +0100 + +It was downloaded from + +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184 + +Upstream Authors: + + Tobias Toedter + +Copyright: + + Copyright (C) 2008 Tobias Toedter + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright 2008, Tobias Toedter +and is licensed under the GPL, see above. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright new file mode 100644 index 0000000..00946fc --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright @@ -0,0 +1,19 @@ +To the extend this is copyrightable (if at all), it is: + Copyright 2012 Niels Thykier . + +This program is free software; you may 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, or (at your option) +any later version. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 2 is available as +/usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-php.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-php.copyright new file mode 100644 index 0000000..338cf09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-php.copyright @@ -0,0 +1,151 @@ +A copyright file referring to two problematic PHP licenses. + +Copyright 2008 Some Guy. + +-------------------------------------------------------------------- + The PHP License, version 2.02 +Copyright (c) 1999 - 2002 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. The software incorporates the Zend Engine, a product of Zend + Technologies, Ltd. ("Zend"). The Zend Engine is licensed to the + PHP Association (pursuant to a grant from Zend that can be + found at http://www.php.net/license/ZendGrant/) for + distribution to you under this license agreement, only as a + part of PHP. In the event that you separate the Zend Engine + (or any portion thereof) from the rest of the software, or + modify the Zend Engine, or any portion thereof, your use of the + separated or modified Zend Engine software shall not be governed + by this license, and instead shall be governed by the license + set forth at http://www.zend.com/license/ZendLicense/. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + + + + +-------------------------------------------------------------------- + The PHP License, version 3.0 +Copyright (c) 1999 - 2003 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +This product includes the Zend Engine, freely available at +. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright new file mode 100644 index 0000000..5a24980 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright @@ -0,0 +1,24 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + 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 3 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, see + +The full text of this license is in common-licenses/GPL-3 + diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-versionless.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-versionless.copyright new file mode 100644 index 0000000..c08f501 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-versionless.copyright @@ -0,0 +1,2 @@ +This package is copyright (c) 2009, Some Name and is +licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-w3c.copyright b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-w3c.copyright new file mode 100644 index 0000000..95c3f40 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/copyright-w3c.copyright @@ -0,0 +1,95 @@ +This package was debianized by J Random Developer on +Tue, 8 Nov 2005 00:27:44 +0100. + +It was downloaded from http://search.cpan.org/dist/W3C-LinkChecker/ + +Copyright Holder: the software was developed by following people for the + W3C: + The W3C Link Checker Team + +License: according to the README file, the source code of the W3C linkchecker +is available under the terms of the W3C Software Copyright (compatible with +the GNU GPL), which can be found at + + http://www.w3.org/Consortium/Legal/copyright-software + +and is reproduced below: + + + W3C � SOFTWARE NOTICE AND LICENSE + + [1]http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + + This work (and included software, documentation such as READMEs, or + other related items) is being provided by the copyright holders under + the following license. By obtaining, using and/or copying this work, + you (the licensee) agree that you have read, understood, and will + comply with the following terms and conditions. + + Permission to copy, modify, and distribute this software and its + documentation, with or without modification, for any purpose and + without fee or royalty is hereby granted, provided that you include + the following on ALL copies of the software and documentation or + portions thereof, including modifications: + 1. The full text of this NOTICE in a location viewable to users of + the redistributed or derivative work. + 2. Any pre-existing intellectual property disclaimers, notices, or + terms and conditions. If none exist, the [2]W3C Software Short + Notice should be included (hypertext is preferred, text is + permitted) within the body of any redistributed or derivative + code. + 3. Notice of any changes or modifications to the files, including the + date changes were made. (We recommend you provide URIs to the + location from which the code is derived.) + + THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT + HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR + DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, + TRADEMARKS OR OTHER RIGHTS. + + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL + OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR + DOCUMENTATION. + + The name and trademarks of copyright holders may NOT be used in + advertising or publicity pertaining to the software without specific, + written prior permission. Title to copyright in this software and any + associated documentation will at all times remain with copyright + holders. + + ____________________________________ + + This formulation of W3C's notice and license became active on December + 31 2002. This version removes the copyright ownership notice such that + this license can be used with materials other than those owned by the + W3C, reflects that ERCIM is now a host of the W3C, includes references + to this specific dated version of the license, and removes the + ambiguous grant of "use". Otherwise, this version is the same as the + [3]previous version and is written so as to preserve the [4]Free + Software Foundation's assessment of GPL compatibility and [5]OSI's + certification under the [6]Open Source Definition. Please see our + [7]Copyright FAQ for common questions about using materials from our + site, including specific terms and conditions for packages like + libwww, Amaya, and Jigsaw. Other questions about this notice can be + directed to [8]site-policy@w3.org. + + + Joseph Reagle <[9]site-policy@w3.org> + + Last revised $Id: copyright-software-20021231.html,v 1.11 2004/07/06 + 16:02:49 slesch Exp $ + +References + + 1. http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + 2. http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231.html + 3. http://www.w3.org/Consortium/Legal/copyright-software-19980720 + 4. http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses + 5. http://www.opensource.org/licenses/W3C.php + 6. http://www.opensource.org/docs/definition.php + 7. http://www.w3.org/Consortium/Legal/IPR-FAQ + 8. mailto:site-policy@w3.org + 9. mailto:site-policy@w3.org + diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/rules b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/rules new file mode 100755 index 0000000..50ff78f --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_installdocs: + dh_installdocs + install -m 644 debian/copyright-no-errors.copyright debian/copyright-symlink/usr/share/doc/copyright-symlink/symlink + rm debian/copyright-symlink/usr/share/doc/copyright-symlink/copyright + ln -s symlink debian/copyright-symlink/usr/share/doc/copyright-symlink/copyright + gzip -n -9 debian/copyright-compressed/usr/share/doc/copyright-compressed/copyright + mkdir -p debian/copyright-old-style/usr/doc/copyright + # This should (now) trigger a no-copyright-file (as there is no copyright file + # in the right location). + mv debian/copyright-old-style/usr/share/doc/copyright-old-style/copyright debian/copyright-old-style/usr/doc/copyright/copyright-old-style diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/fill-values new file mode 100644 index 0000000..1bf7f36 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-general +Description: Test checking of copyright files diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-general/eval/desc new file mode 100644 index 0000000..2c7e36a --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-general +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-general/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-general/eval/hints new file mode 100644 index 0000000..1b8bc03 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-general/eval/hints @@ -0,0 +1,28 @@ +copyright-symlink (binary): copyright-file-is-symlink [usr/share/doc/copyright-symlink/copyright] +copyright-poor-common-licenses (binary): copyright-not-using-common-license-for-gpl +copyright-poor-common-licenses (binary): copyright-does-not-refer-to-common-license-file /GPL-3 +copyright-old-style (binary): no-copyright-file +copyright-old-fsf (binary): old-fsf-address-in-copyright-file +copyright-missing-perl-license-pointer (binary): copyright-file-lacks-pointer-to-perl-license +copyright-missing-apache2-license-pointer (binary): copyright-not-using-common-license-for-apache2 +copyright-misc-errors (binary): helper-templates-in-copyright +copyright-misc-errors (binary): copyright-refers-to-old-directory +copyright-misc-errors (binary): copyright-refers-to-nonexistent-license-file usr/share/common-licenses/GPL2 +copyright-misc-errors (binary): copyright-refers-to-incorrect-directory usr/share/common-licences +copyright-misc-errors (binary): copyright-refers-to-deprecated-bsd-license-file +copyright-misc-errors (binary): copyright-refers-to-compressed-license usr/share/common-licenses/BSD.gz +copyright-misc-errors (binary): copyright-has-url-from-dh_make-boilerplate +copyright-misc-errors (binary): copyright-contains-automatically-extracted-boilerplate +copyright-full-lgpl (binary): copyright-not-using-common-license-for-lgpl +copyright-full-gpl-2 (binary): copyright-not-using-common-license-for-lgpl +copyright-full-gpl-2 (binary): copyright-file-contains-full-gpl-license +copyright-full-gpl-1 (binary): copyright-not-using-common-license-for-gpl +copyright-full-gpl (binary): copyright-not-using-common-license-for-gpl +copyright-full-gpl (binary): copyright-file-contains-full-gpl-license +copyright-full-gfdl (binary): copyright-not-using-common-license-for-gfdl +copyright-full-gfdl (binary): copyright-file-contains-full-gfdl-license +copyright-full-apache-2 (binary): copyright-without-copyright-notice +copyright-full-apache-2 (binary): copyright-not-using-common-license-for-apache2 +copyright-full-apache-2 (binary): copyright-file-contains-full-apache-2-license +copyright-crln (binary): copyright-has-crs +copyright-compressed (binary): copyright-file-compressed [usr/share/doc/copyright-compressed/copyright.gz] diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..c41fc78 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %]-bad +Architecture: [% $package_architecture %] +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. It may + be an empty package. + +Package: [% $source %]-pedantic +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] -- pedantic edition :) + Checks the pedantic version of the versionless copyright file check. + . + This is a test package designed to exercise some check 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. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright new file mode 100644 index 0000000..b59cb92 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright @@ -0,0 +1,20 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld + +This program is free software; you may redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation in its version 3. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 3 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-3.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright new file mode 100644 index 0000000..2591c9b --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright @@ -0,0 +1,21 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld + +This program is free software; you may 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, or (at your option) +any later version. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 2 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values new file mode 100644 index 0000000..1a3cd35 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-license-symlink +Description: Test the versionless license files checks diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc new file mode 100644 index 0000000..17cc2f4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-license-symlink +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints new file mode 100644 index 0000000..39f1b25 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-license-symlink/eval/hints @@ -0,0 +1,2 @@ +copyright-file-license-symlink-pedantic (binary): copyright-refers-to-symlink-license usr/share/common-licenses/GPL +copyright-file-license-symlink-bad (binary): copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/control.in new file mode 100644 index 0000000..00c2ba8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/control.in @@ -0,0 +1,95 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: copyright-mentions-apache +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for Apache + Tests against common license false positive for Apache. + . + 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: copyright-mentions-apache2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for Apache (2) + Tests against common license false positive for Apache (2). + . + 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: copyright-mentions-apache3 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for Apache (3) + Tests against common license false positive for Apache (3). + . + 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: copyright-mentions-gfdl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for gfdl + Tests against common license false positive for gfdl. + . + 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: copyright-mentions-gpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for gpl + Tests against common license false positive for gpl. + . + 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: copyright-mentions-lgpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for lgpl + Tests against common license false positive for lgpl. + . + 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: copyright-mentions-lgpl2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for lgpl (2) + Tests against common license false positive for lgpl (2). + . + 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: copyright-mentions-perl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks against common license false positive for perl + Tests against common license false positive for perl. + . + 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. diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache.copyright new file mode 100644 index 0000000..627f564 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum Apache License , Version 2.0 lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache2.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache2.copyright new file mode 100644 index 0000000..493add3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache2.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum Apache License Version 2.0 lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache3.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache3.copyright new file mode 100644 index 0000000..28de0e9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-apache3.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum Apache-2 License lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gfdl.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gfdl.copyright new file mode 100644 index 0000000..75ac1cb --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gfdl.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum GNU Free Documentation License (GFDL) lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gpl.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gpl.copyright new file mode 100644 index 0000000..a33353a --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-gpl.copyright @@ -0,0 +1,14 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum GNU General Public License (GPL) applies to the changes, + . + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl.copyright new file mode 100644 index 0000000..93a0925 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum GNU Lesser General Public License (LGPL) lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl2.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl2.copyright new file mode 100644 index 0000000..74632b5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-lgpl2.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum GNU Library General Public License (LGPL) lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-perl.copyright b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-perl.copyright new file mode 100644 index 0000000..8a757ce --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/debian/copyright-mentions-perl.copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 2015 Lintian Maintainers +License: Mentions-Other-License + +License: Mentions-Other-License + lorem ipsum + lorem ipsum under the same terms as Perl itself lorem ipsum + lorem ipsum diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/fill-values new file mode 100644 index 0000000..efe9ba6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-non-common-license +Description: Test for false positive for a common license diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/desc new file mode 100644 index 0000000..07eb186 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/desc @@ -0,0 +1,8 @@ +Testname: copyright-file-non-common-license +Test-Against: + copyright-not-using-common-license-for-gpl + copyright-not-using-common-license-for-gfdl + copyright-not-using-common-license-for-lgpl + copyright-not-using-common-license-for-apache2 + copyright-file-lacks-pointer-to-perl-license +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-non-common-license/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..fb4666c --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/control.in @@ -0,0 +1,40 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: symlink-to-foreign +Architecture: all +Depends: ${misc:Depends}, foreign-package +Description: [% $description %] (foreign) + 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. + . + Foreign. + +Package: symlink-outside-usd +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (usd) + 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. + . + USD. + +Package: symlink-without-depends +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (no-deepnds) + 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. + . + Symlinks without dependency. diff --git a/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/rules b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/rules new file mode 100644 index 0000000..d48f723 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +USD:=usr/share/doc +%: + dh $@ + + +override_dh_md5sums: + rm -fr debian/symlink-to-foreign/$(USD)/symlink-to-foreign + ln -sf foreign-package \ + debian/symlink-to-foreign/$(USD)/symlink-to-foreign + rm -fr debian/symlink-without-depends/$(USD)/symlink-without-depends + ln -sf foreign-package \ + debian/symlink-without-depends/$(USD)/symlink-without-depends + # Move all of it to usr/lib// + mkdir -p debian/symlink-outside-usd/usr/lib/ + mv debian/symlink-outside-usd/$(USD)/symlink-outside-usd \ + debian/symlink-outside-usd/usr/lib/symlink-outside-usd/ + # with symlink of course :) + ln -s ../../lib/symlink-outside-usd/copyright \ + debian/symlink-outside-usd/$(USD)/symlink-outside-usd + dh_md5sums diff --git a/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..f286c24 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-symlink +Description: Test for symlinked doc directories diff --git a/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/desc new file mode 100644 index 0000000..4f60c40 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-symlink +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/hints new file mode 100644 index 0000000..785fbc3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-symlink/eval/hints @@ -0,0 +1,3 @@ +symlink-without-depends (binary): usr-share-doc-symlink-without-dependency foreign-package +symlink-to-foreign (binary): usr-share-doc-symlink-to-foreign-package foreign-package +symlink-outside-usd (binary): usr-share-doc-symlink-points-outside-of-usr-share-doc ../../lib/symlink-outside-usd/copyright [usr/share/doc/symlink-outside-usd] diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml new file mode 100644 index 0000000..a823b8d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-invalid.metadata.xml @@ -0,0 +1 @@ +This is not a valid XML document. diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml new file mode 100644 index 0000000..31d281e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata-obsolete.metadata.xml @@ -0,0 +1,2 @@ + + diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.desktop b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.desktop new file mode 100644 index 0000000..4c91430 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=appstream-udev-data +Terminal=true +Exec=true +Categories=ConsoleOnly;Game; +Keywords=Text; diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.dirs b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.dirs new file mode 100644 index 0000000..402f5d5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.dirs @@ -0,0 +1,2 @@ +usr/share/metainfo +usr/share/appdata diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml new file mode 100644 index 0000000..82294c1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.metadata.xml @@ -0,0 +1,22 @@ + + + appstream-udev-data + MIT + lintian appstream-udev-data + Test AppStream and udev related checks in lintian + +

+ 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. +

+
+ + usb:v0000p0001d* + usb:v0000p0002d* + usb:v0000p0003d* + usb:v0000p0004d* + usb:v0000p000ad* + +
diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.udev b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.udev new file mode 100644 index 0000000..e2f2841 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/appstream-metadata.udev @@ -0,0 +1,14 @@ +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0001", \ + MODE="0666" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0002", \ + MODE="0660", GROUP="plugdev" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0003", \ + TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0004", \ + MODE="0660", GROUP="plugdev", TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="000a", \ + ID_TEST_DEVICE="1" diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/rules new file mode 100644 index 0000000..5fb0c35 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +DESTDIR = debian/$(shell dh_listpackages) +APPSYNC_DIR=$(DESTDIR)/usr/share/metainfo/ +OBSOLETE_APPSYNC_DIR=$(DESTDIR)/usr/share/appdata/ +UDEV_DIR=$(DESTDIR)/lib/udev/rules.d/ + +%: + dh $@ + +override_dh_install: + dh_install + install -m 0644 debian/appstream-metadata.metadata.xml $(APPSYNC_DIR) + install -m 0644 debian/appstream-metadata-invalid.metadata.xml $(APPSYNC_DIR) + install -m 0644 debian/appstream-metadata-obsolete.metadata.xml $(OBSOLETE_APPSYNC_DIR) diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/fill-values new file mode 100644 index 0000000..cfd5595 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: appstream-metadata +Description: Test AppStream and udev metadata in binary package diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/desc b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/desc new file mode 100644 index 0000000..4d651da --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/desc @@ -0,0 +1,2 @@ +Testname: appstream-metadata +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/hints b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/hints new file mode 100644 index 0000000..446654b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/appstream-metadata/eval/hints @@ -0,0 +1 @@ +appstream-metadata (source): inconsistent-appstream-metadata-license debian/appstream-metadata.metadata.xml (mit != gpl-2+) [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/fill-values new file mode 100644 index 0000000..05147bb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: control-file-upstream-signature-missing +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: No upstream signature included but package contains a signing key +Extra-Build-Depends: dpkg (>= 1.18.5) +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/pre-build b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/pre-build new file mode 100755 index 0000000..93d6006 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/build-spec/pre-build @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +DIR="$1" +NAME="control-file-upstream-signature-missing" +VERSION="1.0" + +# Check all components +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-component.tar.gz + +# Don't emit if we have a signature +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz.asc + +# Don't emit if we have .tar.asc (NB. not a .tar.gz.asc) +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz.asc diff --git a/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/desc b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/desc new file mode 100644 index 0000000..22a5236 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/desc @@ -0,0 +1,3 @@ +Testname: control-file-upstream-signature-missing +Check: debian/copyright/dep5/components +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/hints b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/hints new file mode 100644 index 0000000..a4ea69b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/components/control-file-upstream-signature-missing/eval/hints @@ -0,0 +1,3 @@ +control-file-upstream-signature-missing (source): add-component-copyright signed [debian/copyright] +control-file-upstream-signature-missing (source): add-component-copyright noext [debian/copyright] +control-file-upstream-signature-missing (source): add-component-copyright component [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/debian/copyright new file mode 100644 index 0000000..3c3b46f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/debian/copyright @@ -0,0 +1,21 @@ +# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801182#8 +# except completed where needed, and with a secure URL +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: (C) 2004-2012 NVIDIA Corporation +License: MooPL + +Files: XF86Config-parser/Generate.c +Copyright: (C) 2005 NVIDIA Corporation +License: GPL-2+ and other-GPL + +Files: debian/* +Copyright: © 2005 Randall Donald +License: GPL-2+ + +License: GPL-2+ + Please call the Free Software Foundation for this license. + +License: other-GPL + Please call the Free Software Foundation for this license. diff --git a/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/fill-values new file mode 100644 index 0000000..f8fe653 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: conjunction-vs-alone +Description: Uses the same license in a conjuntion and alone (false positive) diff --git a/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/desc b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/desc new file mode 100644 index 0000000..bd5b807 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/desc @@ -0,0 +1,5 @@ +Testname: conjunction-vs-alone +Check: debian/copyright/dep5 +Test-Against: + dep5-copyright-license-name-not-unique +See-Also: Bug#801182 diff --git a/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/hints b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/conjunction-vs-alone/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..d347ec7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/control.in @@ -0,0 +1,243 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: copyright-iso-8859-1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for non-utf-8-encodings + Tests non-UTF-8 encodings. + . + 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: copyright-full-gpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL in full text + Tests the tag for including all of the GPL. + . + 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: copyright-full-lgpl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of LGPL in full text + Tests the tag for including all of the LGPL. + . + 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: copyright-full-gfdl +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GFDL in full text + Tests the tag for including all of the GFDL. + . + 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: copyright-full-apache-2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of Apache 2.0 in full text + Tests the tag for including all of the Apache 2.0 license. + . + 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: copyright-misc-errors +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks various errors in copyright files + Tests various random errors in copyright files. + . + 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: copyright-symlink +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: just use a symlink for the copyright file + Tests the check for a symlinked copyright file. + . + 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: copyright-compressed +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: include a valid copyright file and compress it + Tests the check for a compressed copyright file. + . + 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: copyright-old-style +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: use an old-style directory structure + Tests a copyright file using an old-style directory structure. + . + 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: copyright-full-gpl-1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL1 + This should trigger errors as GPL1 is in the common license dir. + . + 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: copyright-full-gpl-2 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of GPL2 + This should trigger errors as GPL2 is in the common license dir. + . + 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: copyright-php +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks problematic PHP licenses + The PHP licenses are problematic for any software that isn't PHP. + . + 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: copyright-w3c +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of the W3C license + The W3C license text claims to be "GPL compatible", which shouldn't + trigger warnings. + . + 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: copyright-no-errors +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: this should not emit any error + This copyright file should be fine. + . + 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: copyright-versionless +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks a valid versionless GPL reference + Refers to the GPL and truly doesn't mention any version. + . + 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: copyright-missing-perl-license-pointer +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for perl packages not pointing to common-licenses + Packages under the "same terms as Perl itself" should reference a + license in common-licenses. + . + 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: copyright-missing-apache2-license-pointer +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks for apache2 packages not pointing to common-licenses + Packages under the apache2-license should reference a + license in common-licenses. + . + 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: copyright-poor-common-licenses +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks not referring to common licenses + Packages should refer to common licenses with full path if they + use a common license. + . + 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: copyright-crln +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: check for Windows newlines + This package should trigger a tag for having Windows newlines in + the copyright file. + . + 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: copyright-full-agpl-3 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks inclusion of AGPL-3 in full text + This should not trigger a tag as AGPL-3 is not in common-licenses. + . + 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: copyright-old-fsf +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: checks use of old FSF address + This should trigger a tag for using old FSF address. + . + 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. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-crln.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-crln.copyright new file mode 100644 index 0000000..43b49cf --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-crln.copyright @@ -0,0 +1,36 @@ +This package was debianized by Tobias Toedter on +Thu, 20 Mar 2008 23:48:15 +0100 + +It was downloaded from + +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184 + +Upstream Authors: + + Tobias Toedter + +Copyright: + + Copyright (C) 2008 Tobias Toedter + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright 2008, Tobias Toedter +and is licensed under the GPL, see above. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright new file mode 100644 index 0000000..dba13ed --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-agpl-3.copyright @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-apache-2.copyright @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright new file mode 100644 index 0000000..4a0fe1c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gfdl.copyright @@ -0,0 +1,397 @@ + GNU Free Documentation License + Version 1.2, November 2002 + + + Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +functional and useful document "free" in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. + +This License is a kind of "copyleft", which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The "Document", below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as "you". You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. + +A "Modified Version" of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of +the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall subject +(or to related matters) and contains nothing that could fall directly +within that overall subject. (Thus, if the Document is in part a +textbook of mathematics, a Secondary Section may not explain any +mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The "Invariant Sections" are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. + +The "Cover Texts" are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. + +A "Transparent" copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input format, SGML +or XML using a publicly available DTD, and standard-conforming simple +HTML, PostScript or PDF designed for human modification. Examples of +transparent image formats include PNG, XCF and JPG. Opaque formats +include proprietary formats that can be read and edited only by +proprietary word processors, SGML or XML for which the DTD and/or +processing tools are not generally available, and the +machine-generated HTML, PostScript or PDF produced by some word +processors for output purposes only. + +The "Title Page" means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, "Title Page" means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + +A section "Entitled XYZ" means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as "Acknowledgements", +"Dedications", "Endorsements", or "History".) To "Preserve the Title" +of such a section when you modify the Document means that it remains a +section "Entitled XYZ" according to this definition. + +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. + + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + + +3. COPYING IN QUANTITY + +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. + + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has fewer than five), + unless they release you from this requirement. +C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section Entitled "History", Preserve its Title, and add + to it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section Entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission. +K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section all + the substance and tone of each of the contributor acknowledgements + and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles. +M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. +N. Do not retitle any existing section to be Entitled "Endorsements" + or to conflict in title with any Invariant Section. +O. Preserve any Warranty Disclaimers. + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section Entitled "Endorsements", provided it contains +nothing but endorsements of your Modified Version by various +parties--for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections Entitled "History" +in the various original documents, forming one section Entitled +"History"; likewise combine any sections Entitled "Acknowledgements", +and any sections Entitled "Dedications". You must delete all sections +Entitled "Endorsements". + + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. + + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an "aggregate" if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. + + +8. TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. + +If a section in the Document is Entitled "Acknowledgements", +"Dedications", or "History", the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. + + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document is void, and will +automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. + + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + + Copyright (c) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with the + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. + +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright new file mode 100644 index 0000000..1facebe --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-1.copyright @@ -0,0 +1,206 @@ +A copy of the GNU General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + THE COPYRIGHT HOLDER DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA, PROFITS, QPA OR GPA, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 + + Copyright (C) 1989 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The license agreements of most software companies try to keep users +at the mercy of those companies. By contrast, our General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. The +General Public License applies to the Free Software Foundation's +software and to any other program whose authors commit to using it. +You can use it for your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Specifically, the General Public License is designed to make +sure that you have the freedom to give away or sell copies of free +software, that you receive source code or can get it if you want it, +that you can change the software or use pieces of it in new free +programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of a such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must tell them their rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any program or other work which +contains a notice placed by the copyright holder saying it may be +distributed under the terms of this General Public License. The +"Program", below, refers to any such program or work, and a "work based +on the Program" means either the Program or any work containing the +Program or a portion of it, either verbatim or with modifications. Each +licensee is addressed as "you". + + 1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this +General Public License and to the absence of any warranty; and give any +other recipients of the Program a copy of this General Public License +along with the Program. You may charge a fee for the physical act of +transferring a copy. + + 2. You may modify your copy or copies of the Program or any portion of +it, and copy and distribute such modifications under the terms of Paragraph +1 above, provided that you also do the following: + + a) cause the modified files to carry prominent notices stating that + you changed the files and the date of any change; and + + b) cause the whole of any work that you distribute or publish, that + in whole or in part contains the Program or any part thereof, either + with or without modifications, to be licensed at no charge to all + third parties under the terms of this General Public License (except + that you may choose to grant warranty protection to some or all + third parties, at your option). + + c) If the modified program normally reads commands interactively when + run, you must cause it, when started running for such interactive use + in the simplest and most usual way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this General + Public License. + + d) You may charge a fee for the physical act of transferring a + copy, and you may at your option offer warranty protection in + exchange for a fee. + +Mere aggregation of another independent work with the Program (or its +derivative) on a volume of a storage or distribution medium does not bring +the other work under the scope of these terms. + + 3. You may copy and distribute the Program (or a portion or derivative of +it, under Paragraph 2) in object code or executable form under the terms of +Paragraphs 1 and 2 above provided that you also do one of the following: + + a) accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of + Paragraphs 1 and 2 above; or, + + b) accompany it with a written offer, valid for at least three + years, to give any third party free (except for a nominal charge + for the cost of distribution) a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of + Paragraphs 1 and 2 above; or, + + c) accompany it with the information you received as to where the + corresponding source code may be obtained. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form alone.) + +Source code for a work means the preferred form of the work for making +modifications to it. For an executable file, complete source code means +all the source code for all modules it contains; but, as a special +exception, it need not include source code for modules which are standard +libraries that accompany the operating system on which the executable +file runs, or for standard header files or definitions files that +accompany that operating system. + + 4. You may not copy, modify, sublicense, distribute or transfer the +Program except as expressly provided under this General Public License. +Any attempt otherwise to copy, modify, sublicense, distribute or transfer +the Program is void, and will automatically terminate your rights to use +the Program under this License. However, parties who have received +copies, or rights to use copies, from you under this General Public +License will not have their licenses terminated so long as such parties +remain in full compliance. + + 5. By copying, distributing or modifying the Program (or any work based +on the Program) you indicate your acceptance of this license to do so, +and all its terms and conditions. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these +terms and conditions. You may not impose any further restrictions on the +recipients' exercise of the rights granted herein. + + 7. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of the license which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +the license, you may choose any version ever published by the Free Software +Foundation. + + 8. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright new file mode 100644 index 0000000..f94bb0d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl-2.copyright @@ -0,0 +1,344 @@ +A copy of the GNU General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/gpl-2.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-gpl.copyright @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright new file mode 100644 index 0000000..5dabe34 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-full-lgpl.copyright @@ -0,0 +1,171 @@ +A copy of the GNU Lesser General Public License is available on +the World Wide Web at `http://www.gnu.org/licenses/lgpl-3.0.txt'. You can +also obtain it by writing to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright new file mode 100644 index 0000000..78a493a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-iso-8859-1.copyright @@ -0,0 +1,3 @@ +Copyright (C) 2008 Author + +Äußerst ärgerlich, falls nicht UTF-8 benutzt würde. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright new file mode 100644 index 0000000..dceee0e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-misc-errors.copyright @@ -0,0 +1,22 @@ +This copyright file contains several errors. + +Downloaded from + +You should not use the template for +Upstream Author(s): Tobias +Copyright 2008 Tobias + +The path /usr/share/common-licences/GPL contains a spelling error. + +It's wrong to reference a compressed license, like this: +/usr/share/common-licenses/BSD.gz + +This path /usr/share/doc/copyright is obsolete. + +The path /usr/share/common-licenses/GPL2 is missing a hyphen. + +This copyright info was automatically extracted from the perl module. +It may not be accurate, so you better check the module sources +if you don't want to get into legal troubles. + +References to /usr/share/common-licenses/BSD are deprecated. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright new file mode 100644 index 0000000..e71e0f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-apache2-license-pointer.copyright @@ -0,0 +1,25 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Midnight Commander +Source: http://www.midnight-commander.org/downloads +Copyright: 1996-2013 Free Software Foundation +License: Apache-2.0 + +Files: * +Copyright: 2004,2007 Oren Ben-Kiki +License: Apache-2.0 + +License: Apache-2.0 + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright new file mode 100644 index 0000000..97f8cda --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-missing-perl-license-pointer.copyright @@ -0,0 +1,5 @@ +This copyright file is for libmythical-perl. The module is licenses under +the same terms as Perl itself but we've forgotten to add a reference to the +copy of the Perl license in common-licenses. + +Copyright 2010 The Mythical Perl Module Team diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-no-errors.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-no-errors.copyright new file mode 100644 index 0000000..d31a720 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-no-errors.copyright @@ -0,0 +1,36 @@ +This package was debianized by Tobias Toedter on +Thu, 20 Mar 2008 23:48:15 +0100 + +It was downloaded from + +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184 + +Upstream Authors: + + Tobias Toedter + +Copyright: + + Copyright (C) 2008 Tobias Toedter + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright 2008, Tobias Toedter +and is licensed under the GPL, see above. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright new file mode 100644 index 0000000..00946fc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-old-fsf.copyright @@ -0,0 +1,19 @@ +To the extend this is copyrightable (if at all), it is: + Copyright 2012 Niels Thykier . + +This program is free software; you may 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, or (at your option) +any later version. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 2 is available as +/usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-php.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-php.copyright new file mode 100644 index 0000000..338cf09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-php.copyright @@ -0,0 +1,151 @@ +A copyright file referring to two problematic PHP licenses. + +Copyright 2008 Some Guy. + +-------------------------------------------------------------------- + The PHP License, version 2.02 +Copyright (c) 1999 - 2002 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior permission from the + PHP Group. This does not apply to add-on libraries or tools + that work in conjunction with PHP. In such a case the PHP + name may be used to indicate that the product supports PHP. + + 4. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + http://www.php.net/". + + 6. The software incorporates the Zend Engine, a product of Zend + Technologies, Ltd. ("Zend"). The Zend Engine is licensed to the + PHP Association (pursuant to a grant from Zend that can be + found at http://www.php.net/license/ZendGrant/) for + distribution to you under this license agreement, only as a + part of PHP. In the event that you separate the Zend Engine + (or any portion thereof) from the rest of the software, or + modify the Zend Engine, or any portion thereof, your use of the + separated or modified Zend Engine software shall not be governed + by this license, and instead shall be governed by the license + set forth at http://www.zend.com/license/ZendLicense/. + + + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + + + + +-------------------------------------------------------------------- + The PHP License, version 3.0 +Copyright (c) 1999 - 2003 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +This product includes the Zend Engine, freely available at +. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright new file mode 100644 index 0000000..5a24980 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-poor-common-licenses.copyright @@ -0,0 +1,24 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + 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 3 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, see + +The full text of this license is in common-licenses/GPL-3 + diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-versionless.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-versionless.copyright new file mode 100644 index 0000000..c08f501 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-versionless.copyright @@ -0,0 +1,2 @@ +This package is copyright (c) 2009, Some Name and is +licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-w3c.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-w3c.copyright new file mode 100644 index 0000000..95c3f40 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/copyright-w3c.copyright @@ -0,0 +1,95 @@ +This package was debianized by J Random Developer on +Tue, 8 Nov 2005 00:27:44 +0100. + +It was downloaded from http://search.cpan.org/dist/W3C-LinkChecker/ + +Copyright Holder: the software was developed by following people for the + W3C: + The W3C Link Checker Team + +License: according to the README file, the source code of the W3C linkchecker +is available under the terms of the W3C Software Copyright (compatible with +the GNU GPL), which can be found at + + http://www.w3.org/Consortium/Legal/copyright-software + +and is reproduced below: + + + W3C � SOFTWARE NOTICE AND LICENSE + + [1]http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + + This work (and included software, documentation such as READMEs, or + other related items) is being provided by the copyright holders under + the following license. By obtaining, using and/or copying this work, + you (the licensee) agree that you have read, understood, and will + comply with the following terms and conditions. + + Permission to copy, modify, and distribute this software and its + documentation, with or without modification, for any purpose and + without fee or royalty is hereby granted, provided that you include + the following on ALL copies of the software and documentation or + portions thereof, including modifications: + 1. The full text of this NOTICE in a location viewable to users of + the redistributed or derivative work. + 2. Any pre-existing intellectual property disclaimers, notices, or + terms and conditions. If none exist, the [2]W3C Software Short + Notice should be included (hypertext is preferred, text is + permitted) within the body of any redistributed or derivative + code. + 3. Notice of any changes or modifications to the files, including the + date changes were made. (We recommend you provide URIs to the + location from which the code is derived.) + + THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT + HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR + DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, + TRADEMARKS OR OTHER RIGHTS. + + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL + OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR + DOCUMENTATION. + + The name and trademarks of copyright holders may NOT be used in + advertising or publicity pertaining to the software without specific, + written prior permission. Title to copyright in this software and any + associated documentation will at all times remain with copyright + holders. + + ____________________________________ + + This formulation of W3C's notice and license became active on December + 31 2002. This version removes the copyright ownership notice such that + this license can be used with materials other than those owned by the + W3C, reflects that ERCIM is now a host of the W3C, includes references + to this specific dated version of the license, and removes the + ambiguous grant of "use". Otherwise, this version is the same as the + [3]previous version and is written so as to preserve the [4]Free + Software Foundation's assessment of GPL compatibility and [5]OSI's + certification under the [6]Open Source Definition. Please see our + [7]Copyright FAQ for common questions about using materials from our + site, including specific terms and conditions for packages like + libwww, Amaya, and Jigsaw. Other questions about this notice can be + directed to [8]site-policy@w3.org. + + + Joseph Reagle <[9]site-policy@w3.org> + + Last revised $Id: copyright-software-20021231.html,v 1.11 2004/07/06 + 16:02:49 slesch Exp $ + +References + + 1. http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + 2. http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231.html + 3. http://www.w3.org/Consortium/Legal/copyright-software-19980720 + 4. http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses + 5. http://www.opensource.org/licenses/W3C.php + 6. http://www.opensource.org/docs/definition.php + 7. http://www.w3.org/Consortium/Legal/IPR-FAQ + 8. mailto:site-policy@w3.org + 9. mailto:site-policy@w3.org + diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/rules new file mode 100755 index 0000000..50ff78f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_installdocs: + dh_installdocs + install -m 644 debian/copyright-no-errors.copyright debian/copyright-symlink/usr/share/doc/copyright-symlink/symlink + rm debian/copyright-symlink/usr/share/doc/copyright-symlink/copyright + ln -s symlink debian/copyright-symlink/usr/share/doc/copyright-symlink/copyright + gzip -n -9 debian/copyright-compressed/usr/share/doc/copyright-compressed/copyright + mkdir -p debian/copyright-old-style/usr/doc/copyright + # This should (now) trigger a no-copyright-file (as there is no copyright file + # in the right location). + mv debian/copyright-old-style/usr/share/doc/copyright-old-style/copyright debian/copyright-old-style/usr/doc/copyright/copyright-old-style diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/fill-values new file mode 100644 index 0000000..1bf7f36 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-general +Description: Test checking of copyright files diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/desc b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/desc new file mode 100644 index 0000000..aeb8c23 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-general +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/hints b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/hints new file mode 100644 index 0000000..1247240 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-general/eval/hints @@ -0,0 +1,16 @@ +copyright-file-general (source): wiki-copyright-format-uri http://wiki.debian.org/Proposals/CopyrightFormat?recall=184 [debian/copyright-crln.copyright] +copyright-file-general (source): unknown-copyright-format-uri [debian/copyright-no-errors.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-w3c.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-versionless.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-poor-common-licenses.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-php.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-old-fsf.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-missing-perl-license-pointer.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-misc-errors.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-lgpl.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-gpl.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-gpl-2.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-gpl-1.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-gfdl.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-apache-2.copyright] +copyright-file-general (source): no-dep5-copyright [debian/copyright-full-agpl-3.copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..c41fc78 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %]-bad +Architecture: [% $package_architecture %] +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. It may + be an empty package. + +Package: [% $source %]-pedantic +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] -- pedantic edition :) + Checks the pedantic version of the versionless copyright file check. + . + This is a test package designed to exercise some check 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. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright new file mode 100644 index 0000000..b59cb92 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-bad.copyright @@ -0,0 +1,20 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld + +This program is free software; you may redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation in its version 3. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 3 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-3.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright new file mode 100644 index 0000000..2591c9b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/debian/copyright-file-license-symlink-pedantic.copyright @@ -0,0 +1,21 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +So far as it is copyrightable at all, this template is + Copyright (C) 2008 Frank Lichtenheld + +This program is free software; you may 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, or (at your option) +any later version. + +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. See the GNU General Public License +for more details. + +A copy of the GNU General Public License version 2 is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/fill-values new file mode 100644 index 0000000..1a3cd35 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-license-symlink +Description: Test the versionless license files checks diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/desc b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/desc new file mode 100644 index 0000000..dc6fefb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: copyright-file-license-symlink +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/hints b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/hints new file mode 100644 index 0000000..dff3886 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/copyright-file-license-symlink/eval/hints @@ -0,0 +1,2 @@ +copyright-file-license-symlink (source): no-dep5-copyright [debian/copyright-file-license-symlink-pedantic.copyright] +copyright-file-license-symlink (source): no-dep5-copyright [debian/copyright-file-license-symlink-bad.copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/fill-values new file mode 100644 index 0000000..2c57a2a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-gfdl-invariants +Description: Check for GFDL invariants sections diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi new file mode 100644 index 0000000..ba8175d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi @@ -0,0 +1,12 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the @acronym{GNU} Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, with the Front-Cover texts +being ``A @acronym{GNU} Manual,'' and with the Back-Cover Texts as in +(a) below. A copy of the license is included in the section entitled +``@acronym{GNU} Free Documentation License.'' + +(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and +modify this @acronym{GNU} manual. Buying copies from the @acronym{FSF} +supports it in developing @acronym{GNU} and promoting software +freedom.'' diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex new file mode 100644 index 0000000..a0a6634 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex @@ -0,0 +1,6 @@ +\section*{GNU Free Documentation License}\label{SEC:FDL} +\subsection*{GNU Free Documentation License}\label{SEC:FDL} + \subsubsection{GNU Free Documentation License}\label{SEC:FDL} + +This document is distributed under the term of the GNU Free Documentation +License. See, the attached file for copying conditions. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/empty.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/empty.texi new file mode 100644 index 0000000..8e87b5f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/empty.texi @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi new file mode 100644 index 0000000..7ad0640 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation. + +A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf new file mode 100644 index 0000000..19560b4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf @@ -0,0 +1,125 @@ +{\rtf1\ansi\ansicpg1252\cocoartf102{\fonttbl\f2\fnil Bitstream Charter;\f0\fnil Droid Sans Mono;\f1\fnil FreeSans;} +{\colortbl;\red0\green0\blue200;\red0\green0\blue0;\red255\green0\blue0;} +{{\NeXTGraphic iconoGimp3.tif \width1816 \height1309}\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\f0\fs24 \'AC}\f1\fs48 \b\cf1 \'A1Welcome to FisicaLab!\cf0\fs24\b0\cf2 \par +\par +\fs20\i Copyright (C) 2009, 2010, 2012 German A. Arias.\par + Permission is granted to copy, distribute and/or modify this document\par + under the terms of the GNU Free Documentation License, Version 1.3\par + or any later version published by the Free Software Foundation;\par + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.\par + A copy of the license is included in the section entitled "GNU\par + Free Documentation License".\fs24\i0 \par +\par +\par +FisicaLab is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details (FisicaLab take care of them). This allows the user to become familiar with the physical concepts without running the risk of getting lost in mathematical details. And so, when the user gain confidence in applying physical concepts, will be better prepared to solve the problems by hand (with pen and paper). FisicaLab is easy to use and very intuitive. However, in order to take advantage of all its features, we recommend you read first these help files.\par +\par +FisicaLab display to two windows, one named \b Modules and elements\b0 and other named \b Chalkboard\b0 . The first of these windows, contain all modules that can be used to solve problems. These modules are grouped by: kinematics, static, dynamics, ... (see image below). You can select one of these groups with the buttons at the top of the window, marked with (1) in the image. When you leave the mouse\rquote s cursor above one of these buttons, a label with the group name is displayed. The buttons marked with (2) let you select the system of units, SI or English. You can see the modules of the selected group inside the box marked with (3). The tabs marked with (4) let you select one of the available modules. The elements of the selected module are displayed inside the box marked with (5). This elements let you set the problems. Inside the box marked with (6) you can write the element\rquote s data (if any element is selected, this box will be empty).\f2 \par +\par + \cf0\f0{{\NeXTGraphic FisicaLabPanel.jpg \width7680 \height10760}\'AC}\f2\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +\f1 The window named \b Chalkboard\b0 (see image below), have at the top two buttons, marked with (7). The button at the left let you solve the problem, and the other is to clean the chalkboard. The black box marked with (8) is the chalkboard, where you add the elements to set the problems. You need keep in mind, although you can\rquote t see, that the chalkboard is a grid formed with cells of 50x50 pixels. By default the chalkboard size is 26x18 cells. In \b Preferences\b0 panel you can change the size to a maximum of 100x100 cells (A greater size than the default could be useful for trusses problems). The text view marked with (9) is where FisicaLab show the answer and messages. The checkbox marked with (10) erase the content of the text view before show the next answer or message. If you want keep the previous content, unselect this checkbox. In this case you can add notes to identify the results of the different problems.\f2 \par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic FisicaLabPizarra.jpg \width8540 \height6680}\'AC}\f2\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +\par +\f1\fs28\b Handling the elements\f2\fs24\b0 \par + \par +\f1 To add elements at the chalkboard, do a click above the desired element. The mouse\rquote s cursor will become in an open hand, meaning this that we will add an element. Do a click above the chalkboard in the position where you want the element, the mouse\rquote s cursor will back at its original shape. Each time you add a new element, or select one different, a yellow square will be drawn around the current element. The data of the current element are displayed, for its edition, at panel \b Modules and elements\b0 . When you leave the mouse\rquote s cursor above one element in the chalkboard, a label with the element\rquote s data is displayed. In \b Preferences\b0 panel you can configure the font size of these labels.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic chalkboardProperties.jpg \width9020 \height4600}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +If you want move an element, click above it with the \b Control\b0 key pressed, the mouse\rquote s cursor will become in a close hand, meaning this that we are moving an element. Do click in the new position and the mouse\rquote s cursor will back at its original shape. In other hand, if you want delete an element, do click above it with the \b Shift\b0 key pressed.\par +\par +Keep in mind that FisicaLab don\rquote t let you combine elements from different modules. The elements in each module are enough to set a wide variety of problems.\f2 \par +\par +\par +\f1\fs28\b Element data\f2\fs24\b0 \par +\par +\f1 When you select an element in the chalkboard, or add a new element, you will see a table at the bottom of the window \b Modules and elements\b0 . With a double click above any field of the second column, you can write the data. FisicaLab supports scientific notation, to use this use the letter E. For example, to write the number 3.45x10-5, write:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 3.45E-5\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +All numerical data must be without spaces. For example, the following numbers are wrong:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc - 5.3\par +7.8E - 8\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Also, FisicaLab can use many conversion factors. To use these, add the character @ before the conversion. If you have selected the SI system, FisicaLab assumes that all data are in meters, kg, seconds, etc. With the English system, FisicaLab assumes that all data are in feet, pounds, slugs, seconds, etc. (in the English system the mass must be in slugs). For example, if you want write an speed of 75 km/h, use:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 75 @ km/h\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Here, we have one space before and after the character @, but these are for clarity, and are not required. Each module has its how conversion factors, as you can see in the sections that deal about these. \par +\par +You can use letters or words to represent the unknown data. If, for example, the final velocity is an unknown data, you can represent this like:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc fv\par +finalv\par +fvel\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql or any other combination. But, we recommend you use letters or words that are related with the unknown data. Also, the conversion factors can be used with the unknown data. For example, if the time is unknown, and you want this in minutes, write something like:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc t @ min\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql The scientific notation can be used with the unknowns, adding the characters #E at the end of the name. For example, for a coefficient of thermal expansion, that is a small value:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc coefficient#E\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Also, this can be used with a conversion factor. For example, for a very long distance that we want in kilometers:\par +\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc distance#E @ km\par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +All the conversion factors are available in a contextual menu. After select the row of data where want add the factor, a right mouse click open a context menu with all available factors.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic menuContextual.jpg \width6120 \height5320}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +FisicaLab allows mathematical operations directly on the fields where you enter data. Can be carried out operations of addition (+), subtraction (-), multiplication (*) and division (/). Although not allowed to group operations by parentheses. It also provides some useful functions for certain calculations. These are listed below with its description:\par +\par +\b cos(ang)\tab \tab Calculates the cosine of the sexagesimal angle "ang".\par +sin(ang)\tab \tab Calculates the sine of the sexagesimal angle "ang".\par +tan(ang)\tab \tab Calculates the tangent of the sexagesimal angle "ang".\par +sqrt(x)\tab \tab Calculates the square root of the number "x".\par +hypot(a,b)\tab Calculates the hypotenuse of a right triangle whose legs are "a" and "b".\par +leg(c,a)\tab \tab Calculates the leg of the right triangle whose hypotenuse is "c" and the\par +\tab \tab \tab other leg is "a".\par +rd(m1,m2,d)\tab Calculates the distance of the mass "m1" to the center of mass of the\par +\tab \tab \tab system consisting of the masses "m1" and "m2", which are spaced a\par +\tab \tab \tab distance "d".\b0 \par +\par +The numbers that are passed as parameters to these functions must have consistent units. For example, in the \b hypot()\b0 function both legs must be in the same units, whether centimeters, meters, inches, etc. These functions can be used in operations of addition, subtraction, multiplication and division. In these operations blank spaces are not allowed. Here are some examples:\par +\par +\pard\ql\b\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 8*cos(34)\par +hypot(4,3)-2\par +rd(3,6,40)*sin(30) @ cm\par +15*8/hypot(13,8)\b0 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +Once entered the operation, FisicaLab will do the calculation and will write the result in the entry. Note that is possible to apply conversion factors. Although these can also be applied after carrying out the calculation.\par +\par +The fields where you enter angles do not allow the operations and functions described above. This is because these fields have their own operations and functions. For example, FisicaLab allows write the angles as slopes (a/b), and automatically convert this to sexagesimal angles. What is very useful for problems of trusses.\par +\par +\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic angulos.jpg \width5080 \height2660}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +For these fields are available two functions that calculates an angle from other relationships. These functions are:\par +\par +\b acos(a/c)\tab Calculates the sexagesimal angle whose cosine is the ratio "a/c".\par +asin(b/c)\tab \tab Calculates the sexagesimal angle whose sine is the ratio "b/c".\b0 \par +\par +If an operation is entered incorrectly, for example if it contains spaces or contains a function with an incorrect number of parameters, FisicaLab will do nothing and will take that string as an unknown.\par +\par +\par +\b Caution:\b0 \cf0\cf3 If, for example, you add a mass conversion factor in a time data, this will cause an error in the solution. And you will not get a message about this error.\cf0\f2\cf2 \par +\par +\par +\f1\fs28\b How it works\f2\fs24\b0 \par +\par +\f1 FisicaLab work over the base of \i number of equations = number of unknown data\i0 . In general you don\rquote t need worry about this. But in some cases you will see the error \b "The system is undetermined"\b0 . This occurs when you write numeric data in a field that must be an unknown data. The examples show this cases.\f2 \par +\par +\par +\f1\fs28\b Messages\f2\fs24\b0 \par +\par +\f1 FisicaLab write a wide variety of messages in the text view when a problem is wrong. However, you always will see a message about the calculation\rquote s status, as you can see in the following image:\par +\par +\pard\ql\f0\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0{{\NeXTGraphic cinema44.tif \width4760 \height800}\'AC}\f1\cf2 \par +\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par +The last line say \b "State = success"\b0 , meaning that the calculation was successful. Any other status different as \i success\i0 , mean that or the set problem don\rquote t have a solution, or an unexpected error occurred.\par +\par +} \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.html new file mode 100644 index 0000000..b8e14bc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.html @@ -0,0 +1,56 @@ + + +Some title + + + +This is +
+
+Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, +1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +2010, 2011, 2012 + +

Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with the +Invariant Sections being “Funding Free Software”, the Front-Cover +Texts being (a) (see below), and with the Back-Cover Texts being (b) +(see below). A copy of the license is included in the section entitled +“GNU Free Documentation License”. + +

(a) The Front-Cover Text is: + +

A GNU Manual + +

(b) The Back-Cover Text is: + +

You have freedom to copy and modify this GNU Manual, like GNU + software. Copies published raises funds. +

+
+
+ + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi new file mode 100644 index 0000000..aa1d8e0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, with the Front-Cover Texts being ``A Debian Manual'', +and with the Back-Cover Texts as in (a) below. A copy of the license +is included in the section entitled ``GNU Free Documentation +License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt new file mode 100644 index 0000000..e649d17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with the Invariant Sections being just "GNU +Manifesto", with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the section +entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt new file mode 100644 index 0000000..8883cac --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt @@ -0,0 +1,25 @@ +ADDENDUM: How to use this License for your documents +==================================================== + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + + Copyright (C) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + + If you have Invariant Sections, Front-Cover Texts and Back-Cover +Texts, replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with + the Front-Cover Texts being LIST, and with the Back-Cover Texts + being LIST. + + If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt new file mode 100644 index 0000000..fd6ed32 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt @@ -0,0 +1,8 @@ +No ;after version +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 +with no Invariant Sections, no Front-Cover Texts and +no Back-Cover Texts; +A copy of the license is included in the section entitled +license GNU Free Documentation License + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi new file mode 100644 index 0000000..2be8767 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi @@ -0,0 +1,12 @@ +Published by the Free Software Foundation, +51 Franklin Street, Fifth Floor +Boston, MA 02110-1301, USA + +Copyright @copyright{} 2005, 2010, 2014-2016 Sergey Poznyakoff + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover and Back-Cover texts. A copy of +the license is included in the section entitled ``GNU Free Documentation +License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po new file mode 100644 index 0000000..73f9c3a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po @@ -0,0 +1,16 @@ +#: C/index.docbook:65(legalnotice/para) +msgid "" +"Permission is granted to copy, distribute and/or modify this document under " +"the terms of the GNU Free Documentation License, " +"Version 1.1 or any later version published by the Free Software Foundation " +"with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A " +"copy of the license is included." +msgstr "" +"Das vorliegende Dokument kann gemäß den Bedingungen der GNU Free " +"Documentation License (GFDL), Version 1.1 oder jeder späteren, von der Free " +"Software Foundation veröffentlichten Version ohne unveränderbare Abschnitte " +"sowie ohne Texte auf dem vorderen und hinteren Buchdeckel kopiert, verteilt " +"und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem " +"Link oder in der mit diesem " +"Handbuch gelieferten Datei COPYING-DOCS." + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt new file mode 100644 index 0000000..d3490c4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt @@ -0,0 +1,9 @@ + +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License +(FDL), either version 1.2 of the license, +or (at your option) any later version published by the free software +foundation (FSF); with no invariant sections, +with no front-cover text, and with no back-cover texts +A copy of the license is included in the +section entitled "GNU Free Documentation License". \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml new file mode 100644 index 0000000..37449fb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml @@ -0,0 +1,6 @@ + This document documents free software; you can redistribute it + and/or modify it under the terms of the GNU General Public License + (&gpl;), either version 2 of the License, or (at your option) any + later version published by the &fsf;. + A copy of the license is included in . + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po new file mode 100644 index 0000000..d11e67b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po @@ -0,0 +1,9 @@ +# French translation for SANE backend options +# +# Permission is granted to copy, distribute and/or modify this document +# under the terms of the GNU Free Documentation License, Version 1.1 +# or any later version published by the Free Software Foundation; +# with no Invariant Sections, with no Front-Cover Texts, and with +# no Back-Cover. +# A copy of the license is included in the section entitled "GNU +# Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html new file mode 100644 index 0000000..6ace5df --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html @@ -0,0 +1,12 @@ + + + +
+

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant + Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix G, GNU Free Documentation License. +

+

The example programs in this book are free software; you can redistribute and/or modify them under the terms of the Python license as published by the Python Software Foundation. A copy of the license is included in Appendix H, Python license. +

+
+ + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c new file mode 100644 index 0000000..5291fd3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c @@ -0,0 +1,15 @@ +/* false positive from some package */ + static const char *copy_para[]= + { + "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006," + ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc." + ,"" + ,"Permission is granted to copy, distribute and/or modify this document" + ,"under the terms of the GNU Free Documentation License, Version 1.3 or" + ,"any later version published by the Free Software Foundation; with no" + ,"Invariant\nSections, with no\nFront-Cover Texts,\nand with no Back-Cover" + ,"Texts. A copy of the license is included in the ``GNU Free" + ,"Documentation License'' file as part of this distribution." + "" + ,NULL + }; diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c new file mode 100644 index 0000000..23aa0af --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c @@ -0,0 +1,15 @@ +/* false positive from findutils */ + static const char *copy_para[]= + { + "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006," + ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc." + ,"" + ,"Permission is granted to copy, distribute and/or modify this document" + ,"under the terms of the GNU Free Documentation License, Version 1.3 or" + ,"any later version published by the Free Software Foundation; with no" + ,"Invariant Sections, with no Front-Cover Texts, and with no Back-Cover" + ,"Texts. A copy of the license is included in the ``GNU Free" + ,"Documentation License'' file as part of this distribution." + "" + ,NULL + }; diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html new file mode 100644 index 0000000..ee27a4f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html @@ -0,0 +1,9 @@ +

+Permission is granted to copy, distribute +and/or modify this document under the terms +of the GNU Free Documentation License, Version +1.1 or any later version published by the +Free Software Foundation; with the Invariant +Sections being LIST THEIR TITLES, with the +Front-Cover Texts being LIST, and with the +Back-Cover Texts being LIST.

\ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html new file mode 100644 index 0000000..426c273 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html @@ -0,0 +1 @@ +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html new file mode 100644 index 0000000..fffca61 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html @@ -0,0 +1,13 @@ + + +false positive found in license text: +
+Copyright (C)  year  your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the Invariant Sections being list their titles, with
+the Front-Cover Texts being list, and with the Back-Cover Texts
+being list.
+A copy of the license is included in the section entitled ``GNU Free Documentation License''.
+
diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
new file mode 100644
index 0000000..fc52ba9
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
@@ -0,0 +1,13 @@
+false positive found in license text:
+@smallexample
+@group
+  Copyright (C)  @var{year}  @var{your name}.
+  Permission is granted to copy, distribute and/or modify this document
+  under the terms of the GNU Free Documentation License, Version 1.3
+  or any later version published by the Free Software Foundation;
+  with the Invariant Sections being @var{list their titles}, with the
+  Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}.
+  A copy of the license is included in the section entitled ``GNU
+  Free Documentation License''.
+@end group
+@end smallexample
diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
new file mode 100644
index 0000000..46cbd2f
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
@@ -0,0 +1,13 @@
+
+
+false positive found in license text:
+
+Copyright (C)  year  your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the
Invariant Sections
being list their titles, with +the Front-Cover Texts being list, and with the Back-Cover Texts +being list. +A copy of the license is included in the section entitled ``GNU Free Documentation License''. + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex new file mode 100644 index 0000000..00e496c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex @@ -0,0 +1,7 @@ +% Permission is granted to copy, distribute and/or modify this document +% under the terms of the GNU Free Documentation License, Version 1.1 or +% any later version published by the Free Software Foundation; with no +% Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +% Texts. A copy of the license is included in the section entitled +% ``GNU Free Documentation License.'' +% diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html new file mode 100644 index 0000000..f01cd4c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html @@ -0,0 +1,15 @@ + + +

+ Copyright 2008, Free Software Foundation. +

+ Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, + and with no Back-Cover + Texts. A copy of the license is included in + the section entitled "GNU Free Documentation License". +

+ + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info new file mode 100644 index 0000000..cc7a754 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info @@ -0,0 +1,14 @@ +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + +Copyright 2008, Free Software Foundation. + +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.1 or any later version published by the Free Software +Foundation; with noInvariant Sections (*note fdl-invariant::), +with no Front-Cover Texts (*note fdl-cover-texts::), and with no +Back-Cover Texts (*note fdl-cover-texts::). A copy of the license +is included in the section entitled "GNU Free Documentation +License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml new file mode 100644 index 0000000..9e77873 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml @@ -0,0 +1,15 @@ + + +

+ Copyright 2008, Free Software Foundation. +

+ Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, + and with no Back-Cover + Texts. A copy of the license is included in + the section entitled "GNU Free Documentation License". +

+ + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po new file mode 100644 index 0000000..07b3003 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po @@ -0,0 +1,42 @@ +#: C/fdl-appendix.xml:79(sect1/para) +msgid "" +"A <_:quote-1/> is a named appendix or a front-matter section of the <_:" +"link-2/> that deals exclusively with the relationship of the publishers or " +"authors of the Document to the Document's overall subject (or to related " +"matters) and contains nothing that could fall directly within that overall " +"subject. (For example, if the Document is in part a textbook of mathematics, " +"a Secondary Section may not explain any mathematics.) The relationship could " +"be a matter of historical connection with the subject or with related " +"matters, or of legal, commercial, philosophical, ethical or political " +"position regarding them." +msgstr "" +"Une <_:quote-1/> désigne une annexe au <_:link-2/>, ou toute information " +"indiquant les rapports entre l'auteur ou l'éditeur et le sujet (ou tout " +"autre sujet connexe) du Document, sans toutefois être en rapport direct avec " +"le sujet lui-même (par exemple, si le Document est un manuel de " +"mathématiques, une Section secondaire ne traitera d'aucune notion " +"mathématique). Cette section peut contenir des informations relatives à " +"l'historique du Document, des sources documentaires, des dispositions " +"légales, commerciales, philosophiques, ou des positions éthiques ou " +"politiques susceptibles de concerner le sujet traité." + + +#: C/fdl-appendix.xml:632(blockquote/para) +#, fuzzy +msgid "" +"Permission is granted to copy, distribute and/or modify this document under " +"the terms of the GNU Free Documentation License, Version 1.1 or any later " +"version published by the Free Software Foundation; with the <_:link-1/> being " +"LIST THEIR TITLES, with the <_:link-2/> being LIST, and with the <_:link-3/> " +"being LIST. A copy of the license is included in the section entitled <_:" +"quote-4/>." +msgstr "" +"Es wird die Erlaubnis gegeben, dieses Dokument zu kopieren, verteilen und/" +"oder zu verändern unter den Bedingungen der GNU Free Documentation License, " +"Version 1.1 oder einer späteren, von der Free Software Foundation " +"veröffentlichten Version; mit den Unveränderlichen Abschnitten. DEREN TITEL AUFGEZÄHLT sind, mit den " +"Vorderseitentexten, die AUFGEZÄHLT " +"sind, und mit den Rückseitentexten, " +"die AUFGEZÄHLT sind. Eine Kopie dieser Lizenz ist in dem Abschnitt enthalten, " +"der mit GNU Free Documentation License betitelt ist." diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff new file mode 100644 index 0000000..ae8c973 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff @@ -0,0 +1,102 @@ +Description: hyphen-used-as-minus-sign + This manual page seems to contain a hyphen where a minus sign was + intended. +Author: Ruben Molina +Forwarded: no +Last-Update: 2011-06-25 + +Index: kst-2.0.3/src/kst/kst.1.txt +=================================================================== +--- kst-2.0.3.orig/src/kst/kst.1.txt ++++ kst-2.0.3/src/kst/kst.1.txt +@@ -47,7 +47,7 @@ kst may be run entirely from within its + command line arguments are needed. kst has a powerful wizard for + easily setting up new plots. + +-In the second invocation, kst loads pre-saved plot specifications from the ++In the second invocation, kst loads pre\-saved plot specifications from the + file + .I kstfile + and optionally may override some of the settings in that file. +@@ -64,7 +64,7 @@ plot all curves in separate plots + .TP + .B \-a\fR + average frames (simple mean) when plotting with +-.B -s\fR. ++.B \-s\fR. + .TP + .B \-\-A4\fR + use A4 sized paper for printing. Requires +@@ -90,7 +90,7 @@ and instead use + .B \-f\ STARTFRAME\fR + begin plotting at + .I STARTFRAME +-frames into the data. Set to -1 to start at ++frames into the data. Set to \-1 to start at + .I NUMFRAMES + from the end of the data. + .TP +@@ -112,7 +112,7 @@ use US Letter sized paper for printing. + .B \-n\ NUMFRAMES\fR + plot at most + .I NUMFRAMES +-frames of data. Set to -1 to indicate all of the data. ++frames of data. Set to \-1 to indicate all of the data. + .TP + .B \-P\ PLOTNAME\fR + plot all plots in the plot named +@@ -145,7 +145,7 @@ frames when plotting. + .B \-x\ FIELD\fR + use + .I FIELD +-as the X-axis vector. ++as the X\-axis vector. + .TP + .B \-y\ FIELD\fR + plot +@@ -158,30 +158,30 @@ plot + as an image. + .SH EXAMPLES + Plot all data in column 2 from data.dat. +- kst data.dat -y 2 ++ kst data.dat \-y 2 + + Same as above, except only read 20 lines, starting at line 10. +- kst data.dat -f 10 -n 20 -y 2 ++ kst data.dat \-f 10 \-n 20 \-y 2 + + also read col 1. One plot per curve. +- kst data.dat -f 10 -n 20 -y 1 -y 2 ++ kst data.dat \-f 10 \-n 20 \-y 1 \-y 2 + + Read col 1 from data2.dat and col 1 from data.dat +- kst data.dat -f 10 -n 20 -y 2 data2.dat -y 1 ++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-y 1 + + Same as above, except read 40 lines starting at 30 in data2.dat +- kst data.dat -f 10 -n 20 -y 2 data2.dat -f 30 -n 40 -y 1 ++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-f 30 \-n 40 \-y 1 + + Specify the X vector and error bars: + Plot x = col 1 and Y = col 2 and error flags = col 3 from data.dat +- kst data.dat -x 1 -e 3 -y 2 ++ kst data.dat \-x 1 \-e 3 \-y 2 + + Get the X vector from data1.dat, and the Y vector from data2.dat. +- kst data1.dat -x 1 data2.dat -y 1 ++ kst data1.dat \-x 1 data2.dat \-y 1 + + Placement: + Plot column 2 and column 3 in plot P1 and column 4 in plot P2 +- kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4 ++ kst data.dat \-P P1 \-y 2 \-y 3 \-P P2 \-y 4 + .SH BUGS + Please report bugs to either the kst mailing list at + .I kst@kde.org +@@ -198,6 +198,6 @@ Matthew Truch + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no ++Invariant Sections, with no Front\-Cover Texts, and with no Back\-Cover + Texts. A copy of the license is included in the `COPYING.DOC' file + as part of the kst distribution. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook new file mode 100644 index 0000000..0168da6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.2 or any later version published by the Free Software +Foundation; with &FDLInvariantSections;, with &FDLFrontCoverText;, and +with &FDLBackCoverText;. A copy of the license is included in . + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader new file mode 100644 index 0000000..96f3be3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex new file mode 100644 index 0000000..d082bfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 +or any later version published by the +\href{http://www.fsf.org}{Free Software Foundation}; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled +``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex new file mode 100644 index 0000000..e193a16 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 +or any later version published by the +\hyperlink{http://www.fsf.org}{Free Software Foundation}; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled +``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex new file mode 100644 index 0000000..370ea73 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex @@ -0,0 +1,2 @@ +Copyright @sx(c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-\/Cover Texts, and no Back-\/Cover Texts. A copy of the license is included in the section entitled \char`\"{}GNU +Free Documentation License\char`\"{}. \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex new file mode 100644 index 0000000..107d9fb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation +License\url{http://www.gnu.org/copyleft/fdl.html}, Version 1.1 or any +later version published by the Free Software Foundation; with no +Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the chapter entitled "GNU +Free Documentation License". \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml new file mode 100644 index 0000000..8a5eb6e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml @@ -0,0 +1,7 @@ + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 or + any later version published by the Free Software Foundation. There + are no invariant sections. A copy of the license is included in the + section entitled "GNU Free Documentation License". + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi new file mode 100644 index 0000000..56939ee --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 +or any later version published by the Free Software Foundation; +with no Invariant Sections. +A copy of the license is included in the section entitled ``GNU +Free Documentation License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt new file mode 100644 index 0000000..4e66d64 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt @@ -0,0 +1,19 @@ +Permission is granted to copy, distribute and/or modify the +documentation for GNU LilyPond under the terms of the GNU Free +Documentation License as published by the Free Software Foundation, +either version 1.3, or (at your option) any later version; with no +Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. + +A copy of the license is contained in the file COPYING.FDL. + +The following exceptions apply: + + * It does not apply to input files (contained in the + directory tree Documentation/snippets/); these are in + the public domain. + + * It does not apply to any manual which explicitly states + another license. + + * It does not apply to the MusicXML unit test suite, + which is licensed under the MIT license. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi new file mode 100644 index 0000000..dffaccc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover, and no Back-Cover texts. +A copy of the license is included in the section entitled ``GNU Free +Documentation License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html new file mode 100644 index 0000000..e1fd5a2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html @@ -0,0 +1,28 @@ + + +

Documentation files should have license notices also. Manuals should +use the GNU Free Documentation License. Following is an example of the +license notice to use after the copyright line(s) using all the +features of the GFDL. +

+
+
Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being ``GNU General Public License'', with the
+Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts
+as in (a) below.  A copy of the license is included in the section
+entitled ``GNU Free Documentation License''.
+
+(a) The FSF's Back-Cover Text is: ``You have the freedom to
+copy and modify this GNU manual.  Buying copies from the FSF
+supports it in developing GNU and promoting software freedom.''
+
+ +

If the FSF does not publish this manual on paper, then omit the last +sentence in (a) that talks about copies from GNU Press. If the FSF is +not the copyright holder, then replace ‘FSF’ with the appropriate +name. +

+ + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi new file mode 100644 index 0000000..633e758 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi @@ -0,0 +1,13 @@ +Documentation files should have license notices also. Manuals should +use the GNU Free Documentation License. Following is an example of the +license notice to use after the copyright line(s) using all the +features of the GFDL. + +@smallexample +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with the +Invariant Sections being ``GNU General Public License'', with the +Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts +as in (a) below. A copy of the license is included in the section +entitled ``GNU Free Documentation License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi new file mode 100644 index 0000000..b5c2685 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi @@ -0,0 +1,7 @@ +@c Permission is granted to copy, distribute and/or modify this document +@c under the terms of the GNU Free Documentation License, Version 1.1 +@c or any later version published by the Free Software Foundation; +@c with no Invariant Sections, with no +@c Front-Cover Texts, and with no Back-Cover Texts. +@c A copy of the license is included in the section entitled ``GNU +@c Free Documentation License''. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c new file mode 100644 index 0000000..a58e927 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c @@ -0,0 +1,13 @@ + /*****************************************************************************/ +/** \mainpage Cal3D API Reference + *
+ *

+ * Permission is granted to copy, distribute and/or modify this document + * under the terms of the GNU Free Documentation License, Version 1.1 or + * any later version published by the Free Software Foundation; + * with no Invariant Sections, no Front-Cover Texts and + * no Back-Cover Texts; + * A copy of the license is included in the section entitled + * \link license "GNU Free Documentation License" \endlink . + *

+ *****************************************************************************/ diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi new file mode 100644 index 0000000..d9c1b54 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, no Front-Cover Texts and +no Back-Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi new file mode 100644 index 0000000..dd888e2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; no Invariant Sections, no Front-Cover Texts, +no Back-Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html new file mode 100644 index 0000000..747d2e0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt new file mode 100644 index 0000000..f33dfcd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt @@ -0,0 +1,7 @@ +.\" manual page for blaze, a command wrapper for BlazeBlogger +.\" +.\" Permission is granted to copy, distribute and/or modify this document +.\" under the terms of the GNU Free Documentation License, Version 1.3 or +.\" any later version published by the Free Software Foundation; with no +.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +.\" A copy of the license is included below. \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi new file mode 100644 index 0000000..22ae575 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi @@ -0,0 +1,8 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, no Front- +Cover Texts and +no Back- +Cover Texts. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 new file mode 100644 index 0000000..5a4df93 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 @@ -0,0 +1,9 @@ +.\" Copyright (C) XXX +.\" +.\" Permission is granted to copy, distribute and/or modify this document +.\" under the terms of the GNU Free Documentation License, Version 1.1 +.\" or any later version published by the Free Software Foundation; +.\" with the Invariant Sections being no invariant sections, with the +.\" Front-Cover Texts being no front-cover texts, and with the Back-Cover +.\" Texts being no back-cover texts. A copy of the license is included with +.\" this package in the file "COPYING.DOC." \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt new file mode 100644 index 0000000..3241276 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, Front-Cover or Back-Cover texts. A copy of the license +is included in the section entitled ``GNU Free Documentation License''. \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt new file mode 100644 index 0000000..950d936 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt @@ -0,0 +1,4 @@ +Permission is granted to copy, distribute and/or modify this document under \ +the terms of the GNU Free Documentation License, Version 1.1 or any later \ +version published by the Free Software Foundation; without any Invariant \ +Sections. A copy of the license is included in the file GFDL. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt new file mode 100644 index 0000000..96037ac --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt @@ -0,0 +1,8 @@ +Parted 2.13 version with strange grammar. + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with the no Invariant Sections, with the no Front-Cover Texts, and +with no Back-Cover Texts. A copy of the license is included in the +file, COPYING.DOC. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po new file mode 100644 index 0000000..f1d17a5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po @@ -0,0 +1,15 @@ +För att använda GNU Free Documentation License för ett dokument du har skrivit, inkludera en kopia av licensen [det engelska originalet] i dokumentet och placera följande copyrightklausul omedelbart efter titelsidan: + +
+ + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with the Invariant Sections being LIST + THEIR TITLES, with the Front-Cover Texts being LIST, + and with the Back-Cover + Texts being LIST. A copy of the license is included in + the section entitled GNU Free Documentation + License. + +
diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff new file mode 100644 index 0000000..73e379b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff @@ -0,0 +1,7 @@ +1,6d0 +< Permission is granted to copy, distribute and/or modify this +< document under the terms of the GNU Free Documentation License, +< version 1.3 or any later version published by the Free Software +< Foundation; with no Invariant Sections, no Front-Cover Texts and +< no Back-Cover Texts. A copy of the license is included in the +< section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff new file mode 100644 index 0000000..600653e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff @@ -0,0 +1,18 @@ +*** make-stds.texi 2013-02-17 21:44:05.485250349 +0100 +--- normal.texi 2012-12-20 21:23:22.829397718 +0100 +*************** +*** 1,7 **** +! @c Permission is granted to copy, distribute and/or modify this document +! @c under the terms of the GNU Free Documentation License, Version 1.1 +! @c or any later version published by the Free Software Foundation; +! @c with no Invariant Sections, with no +! @c Front-Cover Texts, and with no Back-Cover Texts. +! @c A copy of the license is included in the section entitled ``GNU +! @c Free Documentation License''. +--- 1,6 ---- +! Permission is granted to copy, distribute and/or modify this +! document under the terms of the GNU Free Documentation License, +! version 1.3 or any later version published by the Free Software +! Foundation; with no Invariant Sections, no Front-Cover Texts and +! no Back-Cover Texts. A copy of the license is included in the +! section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff new file mode 100644 index 0000000..db6e4f9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff @@ -0,0 +1,9 @@ +--- /dev/null 2013-05-15 23:18:30.206386135 +0200 ++++ normal.texi 2012-12-20 21:23:22.829397718 +0100 +@@ -0,0 +1,6 @@ ++Permission is granted to copy, distribute and/or modify this ++document under the terms of the GNU Free Documentation License, ++version 1.3 or any later version published by the Free Software ++Foundation; with no Invariant Sections, no Front-Cover Texts and ++no Back-Cover Texts. A copy of the license is included in the ++section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff new file mode 100644 index 0000000..347adff --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff @@ -0,0 +1,9 @@ +--- normal.texi 2012-12-20 21:23:22.829397718 +0100 ++++ /dev/null 2013-05-15 23:18:30.206386135 +0200 +@@ -1,6 +0,0 @@ +-Permission is granted to copy, distribute and/or modify this +-document under the terms of the GNU Free Documentation License, +-version 1.3 or any later version published by the Free Software +-Foundation; with no Invariant Sections, no Front-Cover Texts and +-no Back-Cover Texts. A copy of the license is included in the +-section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff new file mode 100644 index 0000000..f64bfaf --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff @@ -0,0 +1,7 @@ +0a1,6 +> Permission is granted to copy, distribute and/or modify this +> document under the terms of the GNU Free Documentation License, +> version 1.3 or any later version published by the Free Software +> Foundation; with no Invariant Sections, no Front-Cover Texts and +> no Back-Cover Texts. A copy of the license is included in the +> section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi new file mode 100644 index 0000000..2ab3103 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi @@ -0,0 +1,19 @@ +@copying +This manual documents PHP mode version @value{version} for +use with GNU Emacs. + +Copyright @copyright{} 2008 Aaron S. Hawley + +@quotation +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, and no +Cover Texts. A copy of the license is included in the +section entitled ``Copying This Manual.'' + +A copy of the license is also available from the Free +Software Foundation Web site at +@url{http://www.gnu.org/licenses/fdl.html}. + +@end quotation \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt new file mode 100644 index 0000000..8a0594a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt @@ -0,0 +1,7 @@ +Some user ident with pipe (|) + | Permission is granted to copy, distribute and/or modify this + | document under the terms of the GNU Free Documentation License, + | version 1.3 or any later version published by the Free Software + | Foundation; with no Invariant Sections, no Front-Cover Texts and + | no Back-Cover Texts. A copy of the license is included in the + | section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml new file mode 100644 index 0000000..58edd5b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml @@ -0,0 +1,8 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, no +Front-Cover Texts, and no Back-Cover Texts. +A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml new file mode 100644 index 0000000..112c734 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml @@ -0,0 +1,9 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; +with no invariant sections, front-cover texts or back-cover texts, +each as defined in the license. +A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html new file mode 100644 index 0000000..ff31741 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html @@ -0,0 +1,11 @@ +
+Permission is granted to copy, distribute +and/or modify this document under the terms of the GNU Free +Documentation License, Version 1.2 or any later version published by +the Free Software Foundation; with no Invariant Sections Texts.
+ + +A copy of the license is included here below.
+ + +
diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi new file mode 100644 index 0000000..c803dc5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi @@ -0,0 +1,9 @@ +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 or +any later version published by the Free Software Foundation; with the +Invariant Sections being ``GNU General Public License'' and ``GNU Free +Documentation License'', with no Front-Cover Texts, and with no +Back-Cover Texts. A copy of the license is included in the section +entitled ``GNU Free Documentation License''. +@end quotation \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po new file mode 100644 index 0000000..e0a41a6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po @@ -0,0 +1,8 @@ +#~ "Permission is granted to copy, distribute and/or modify this document " +#~ "under the terms of the GNU Free Documentation License, Version 1.1 or any " +#~ "later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR " +#~ "TITLES, with the Front-Cover Texts being LIST, and with the Back-" +#~ "Cover Texts being LIST. A copy of the license is included in the " +#~ "section entitled GNU Free Documentation License." \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi new file mode 100644 index 0000000..9327024 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the @acronym{GNU} Free Documentation License, +Version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Sections, with no Front-Cover texts +and with no Back-Cover Texts. A copy of the license is included in the section entitled +``@acronym{GNU} Free Documentation License.'' diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex new file mode 100644 index 0000000..b6e1240 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex @@ -0,0 +1,8 @@ +% note the end is not classical... +% Copyright (c) 2002--2004 Philipp Lehman +% Permission is granted to copy, distribute and/or modify this document under +% the terms of the GNU Free Documentation License, version 1.2, with no +% invariant sections, with no front-cover texts, and no back-cover texts. This +% document 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. diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex new file mode 100644 index 0000000..d4b872c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex @@ -0,0 +1,6 @@ +Copyright © 2002--2004 Philipp Lehman + +Permission is granted to copy, distribute and\slash or modify this document under the terms of the GNU Free Documentation License, version 1.2, with no invariant sections, no front-cover texts, and no back-cover texts. + +A copy of the license is included in the appendix. + diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt new file mode 100644 index 0000000..2043b26 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt @@ -0,0 +1,21 @@ +/* + * :permissions ("Permission is granted to copy, distribute and/or modify this document" + * "under the terms of the GNU Free Documentation License, Version 1.1" + * "or any later version published by the Free Software Foundation;" + * "with the Invariant Sections being:" + * "" + * " The GNU General Public License" + * " The GNU Free Documentation License" + * "" + * "with the Front-Cover Texts being" + * "" + * " (none)," + * "" + * "and with the Back-Cover Texts being" + * "" + * " (none)." + * "" + * "A copy of the license is included in the section entitled \"GNU" + * "Free Documentation License\".")) + * + */ \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml new file mode 100644 index 0000000..6f634a6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml @@ -0,0 +1,7 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation +License, Version 1.2 or any later version published by the +Free Software Foundation; with no Invariant Sections, no +Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled "GNU Free Documentation +License". \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt new file mode 100644 index 0000000..8463a59 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt @@ -0,0 +1,7 @@ +This is ok + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the + Free Software Foundation; with no Invariant Sections, Front- + or Back-Cover Texts. A copy of the license is included in the + section entitled "{GNU Free Documentation License}". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi new file mode 100644 index 0000000..8782eed --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi @@ -0,0 +1,6 @@ +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +version 1.3 or any later version published by the Free Software +Foundation; with no Invariant Section, no Front-Cover Text and +no Back-Cover Text. A copy of the license is included in the +section entitled "GNU Free Documentation License". diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 new file mode 100644 index 0000000..83a4acf --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 @@ -0,0 +1,12 @@ +.\" +.\" Manpage example +.\" +.PP +Permission is granted to copy, distribute and/or modify this document +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with the +Invariant Sections being \*(L"\s-1GNU\s0 General Public License\*(R" and \*(L"Funding +Free Software\*(R", the Front-Cover texts being (a) (see below), and with +the Back-Cover Texts being (b) (see below). A copy of the license is +included in the \fIgfdl\fR\|(7) man page. +.PP diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/desc b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/desc new file mode 100644 index 0000000..4120bab --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-gfdl-invariants +Test-Against: inconsistent-appstream-metadata-license +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/hints b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/debian/copyright new file mode 100644 index 0000000..4d23981 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org +Comment: This is part of the testsuite of lintian. + See the file debian/copyright + in the lintian source directory for more details. +Files-Excluded: some-file + +Files: * +Copyright: + 2008 Frank Lichtenheld + 2009 Russ Allbery + 2018 Felix Lechner +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/fill-values new file mode 100644 index 0000000..d8608d8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: excluded-files-in-native +Description: Field Excluded-Files is present in native package. +Version: 1.7+ds diff --git a/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/orig/some-file b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/orig/some-file new file mode 100644 index 0000000..c3f1f94 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/build-spec/orig/some-file @@ -0,0 +1 @@ +SOME CONTENTS. diff --git a/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/desc b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/desc new file mode 100644 index 0000000..275bc5e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/desc @@ -0,0 +1,2 @@ +Testname: excluded-files-in-native +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/hints b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/hints new file mode 100644 index 0000000..7c683c1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/excluded-files-in-native/eval/hints @@ -0,0 +1 @@ +excluded-files-in-native (source): source-ships-excluded-file some-file [debian/copyright:8] diff --git a/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/debian/copyright new file mode 100644 index 0000000..fa106e9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/debian/copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Comment: Test case from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888001#33 + +Files: * +License: GPL-3 +Copyright: © 2014 Mattia Rizzolo + +Files: file-does-not-exist +License: GPL-3 +Copyright: © 2014 Mattia Rizzolo + +License: GPL-3 + Please call the Free Software Foundation for a copy of the license. diff --git a/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/fill-values new file mode 100644 index 0000000..7072fa8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: file-does-not-exist +Description: Files paragraph references a file that does not exist. diff --git a/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/desc b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/desc new file mode 100644 index 0000000..dc5290f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/desc @@ -0,0 +1,3 @@ +Testname: file-does-not-exist +Check: debian/copyright/dep5 +See-Also: Bug#888001 diff --git a/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/hints b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/hints new file mode 100644 index 0000000..71b2f98 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/file-does-not-exist/eval/hints @@ -0,0 +1 @@ +file-does-not-exist (source): superfluous-file-pattern file-does-not-exist [debian/copyright:8] diff --git a/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/debian/copyright new file mode 100644 index 0000000..7935e5d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/debian/copyright @@ -0,0 +1,21 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Files-Included: + include-this + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/fill-values new file mode 100644 index 0000000..1e3bf97 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: lone-files-included +Skeleton: upload-non-native +Description: Filex-Included without Files-Excluded diff --git a/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/desc b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/desc new file mode 100644 index 0000000..bc56f04 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/desc @@ -0,0 +1,2 @@ +Testname: files-included-covers-none +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/hints b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/hints new file mode 100644 index 0000000..51d4974 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/files-included-covers-none/eval/hints @@ -0,0 +1 @@ +lone-files-included (source): superfluous-file-pattern (Files-Included) include-this [debian/copyright:2] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..4546c62 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-binary/eval/desc b/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/desc new file mode 100644 index 0000000..03b128e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/hints b/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/hints new file mode 100644 index 0000000..ecc0a09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/post-test b/t/recipes/checks/debian/copyright/dep5/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/desc b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/desc new file mode 100644 index 0000000..639a1ff --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/hints b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/hints new file mode 100644 index 0000000..a925398 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/hints @@ -0,0 +1 @@ +debconf (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/post-test b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..3e86b96 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses non-UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/copyright/dep5/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/desc b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/desc new file mode 100644 index 0000000..97216a4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/hints b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/hints new file mode 100644 index 0000000..07ecb25 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/post-test b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/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/debian/copyright/dep5/legacy-scripts/eval/desc b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/desc new file mode 100644 index 0000000..3dbe0ee --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/hints b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/hints new file mode 100644 index 0000000..6140e09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/hints @@ -0,0 +1 @@ +scripts (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/post-test b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright new file mode 100644 index 0000000..7c7783e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: wolfssl +Upstream-Contact: David Garske +Source: https://github.com/wolfssl/wolfssl/releases + +Files: + COPYING +Copyright: + 1989, 1991 Free Software Foundation, Inc. +License: No-Modify + +Files: + debian/* +Copyright: + 2014-2019 Felix Lechner +License: GPL-2+ + + +License: No-Modify + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +License: GPL-2+ + This package 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 package 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, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values new file mode 100644 index 0000000..5874162 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: license-file-listed-in-debian-copyright +Description: License files do not need entries in d/copyright. diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING new file mode 100644 index 0000000..c1e7ac7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/build-spec/orig/COPYING @@ -0,0 +1 @@ +TERMS OF SOFTWARE LICENSE diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc new file mode 100644 index 0000000..6cb134b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/desc @@ -0,0 +1,2 @@ +Testname: license-file-listed-in-debian-copyright +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints new file mode 100644 index 0000000..fc2d25f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/hints @@ -0,0 +1,2 @@ +license-file-listed-in-debian-copyright (source): update-debian-copyright 2019 vs CHANGELOG-YEAR [debian/copyright:14] +license-file-listed-in-debian-copyright (source): license-file-listed-in-debian-copyright COPYING [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/license-file-listed-in-debian-copyright/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/debian/copyright new file mode 100644 index 0000000..7935e5d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/debian/copyright @@ -0,0 +1,21 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Files-Included: + include-this + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/fill-values new file mode 100644 index 0000000..00de540 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: lone-files-included +Skeleton: upload-non-native +Description: File-Included without Files-Excluded diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/.matches b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/.matches new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/include-this b/t/recipes/checks/debian/copyright/dep5/lone-files-included/build-spec/orig/include-this new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/desc b/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/desc new file mode 100644 index 0000000..26325ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/desc @@ -0,0 +1,2 @@ +Testname: lone-files-included +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/hints b/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/hints new file mode 100644 index 0000000..e6e0778 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/lone-files-included/eval/hints @@ -0,0 +1 @@ +lone-files-included (source): file-included-already include-this [debian/copyright:2] diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/copyright new file mode 100644 index 0000000..5dd52d9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/copyright @@ -0,0 +1,34 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org +Comment: This is part of the testsuite of lintian. + See the file debian/copyright + in the lintian source directory for more details. + +Files: * +Copyright: + 2019 Felix Lechner +License: GPL-2+ + +Files: will-be-empty/* +Copyright: + 2019 Felix Lechner +License: GPL-2+ + +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/remove-file.patch b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/remove-file.patch new file mode 100644 index 0000000..e572221 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/remove-file.patch @@ -0,0 +1,10 @@ +Description: Remove the sole file in a directory + Should not trigger wildcard-matches-nothing-in-dep5-copyright. + For more information, please see Bug#844274. +Author: Felix Lechner +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/will-be-empty/removed-by-patch ++++ /dev/null +@@ -1 +0,0 @@ +-SOME CONTENT diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/series b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/series new file mode 100644 index 0000000..56b4ebb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/debian/patches/series @@ -0,0 +1 @@ +remove-file.patch diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/fill-values new file mode 100644 index 0000000..43ae87c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: patch-empties-directory +Description: False positive for wildcard-matches-nothing-in-dep5-copyright diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/orig/will-be-empty/removed-by-patch b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/orig/will-be-empty/removed-by-patch new file mode 100644 index 0000000..2517541 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/build-spec/orig/will-be-empty/removed-by-patch @@ -0,0 +1 @@ +SOME CONTENT diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/desc b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/desc new file mode 100644 index 0000000..d1935af --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/desc @@ -0,0 +1,5 @@ +Testname: patch-empties-directory +Check: debian/copyright/dep5 +Test-Against: + superfluous-file-pattern +See-Also: Bug#844274 diff --git a/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/hints b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/patch-empties-directory/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright new file mode 100644 index 0000000..3ff770b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright @@ -0,0 +1,11 @@ +# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905747#5 +# but split up for each of the two conditions +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * + debian/patches/* +Copyright: (C) 2018 Niels Thykier +License: License1 + +License: License1 + Please call the author for this license. diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch new file mode 100644 index 0000000..294a68c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch @@ -0,0 +1 @@ +A PATCH diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values new file mode 100644 index 0000000..412ba3e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: redundant-wildcard +Description: Two wildcards matching the same file in the same section diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file new file mode 100644 index 0000000..fadb157 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file @@ -0,0 +1 @@ +A FILE diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc new file mode 100644 index 0000000..dd15714 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc @@ -0,0 +1,3 @@ +Testname: redundant-wildcard +Check: debian/copyright/dep5 +See-Also: Bug#905747 diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints new file mode 100644 index 0000000..21912fa --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints @@ -0,0 +1,2 @@ +redundant-wildcard (source): update-debian-copyright 2018 vs CHANGELOG-YEAR [debian/copyright:7] +redundant-wildcard (source): redundant-globbing-patterns (* debian/patches/*) for debian/patches/a.patch [debian/copyright:5] diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/debian/copyright new file mode 100644 index 0000000..e6d13df --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org +Files-Excluded: gone + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/fill-values new file mode 100644 index 0000000..3ccc5e1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: repackaged-upstream-sources-not-advertised +Skeleton: upload-non-native +Description: Sources indicate they have been repacked diff --git a/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/desc b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/desc new file mode 100644 index 0000000..e233fa0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/desc @@ -0,0 +1,2 @@ +Testname: repackaged-upstream-sources-not-advertised +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/hints b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/hints new file mode 100644 index 0000000..e4baeb6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/repackaged-upstream-sources-not-advertised/eval/hints @@ -0,0 +1 @@ +repackaged-upstream-sources-not-advertised (source): repackaged-source-not-advertised [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/debian/copyright new file mode 100644 index 0000000..6cd1530 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/debian/copyright @@ -0,0 +1,47 @@ +# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779676#30 +# except for secure URL immediately below and block comment further down +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ipe-tools +Upstream-Contact: Otfried Cheong +Source: https://github.com/otfried/ipe-tools + +Files: figtoipe/* +Copyright: 1993-2008, Otfried Cheong + 2007-2015, Alexander Bürger +License: GPL-2+ + See /usr/share/common-licenses/GPL-2 + +Files: ipe5toxml/* +Copyright: 2005, Otfried Cheong + 2015, Alexander Bürger +License: public-domain + While the source code of svgtoipe does not include any licensing + information, the homepage of the ipe tool, + http://ipe7.sourceforge.net/, includes a hyperlink to the ipe-tools + github repository and says: + ``The source to ipe5toxml is in the public domain.'' + +Files: pdftoipe/* +Copyright: 2003-2014, Otfried Cheong +License: GPL-2 + See /usr/share/common-licenses/GPL-2 +Comment: + the pdftoipe source code itself is GPL-2+, but it is linked + to GPL-2 only libpoppler so it must be GPL-2, too + +Files: svgtoipe/* +Copyright: 2009-2014, Otfried Cheong +License: GPL-3+ + See /usr/share/common-licenses/GPL-3 + +#Files: matplotlib/* +#Copyright: 2014, Otfried Cheong +# 2014, Soyeon Baek +#Comment: +# not included in debian package + +Files: debian/* +Copyright: 2005-2011 Steve Robbins + 2008-2015, Alexander Bürger +License: GPL-2+ + See /usr/share/common-licenses/GPL-2 diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/fill-values new file mode 100644 index 0000000..dc39a8e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: reuse-identifier-in-files +Description: Reuse a license idenfifier in another Files paragraph (false positive) diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/figtoipe/a-file b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/figtoipe/a-file new file mode 100644 index 0000000..01d2c17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/figtoipe/a-file @@ -0,0 +1 @@ +SOME TEXT diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/ipe5toxml/a-file b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/ipe5toxml/a-file new file mode 100644 index 0000000..01d2c17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/ipe5toxml/a-file @@ -0,0 +1 @@ +SOME TEXT diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/pdftoipe/a-file b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/pdftoipe/a-file new file mode 100644 index 0000000..01d2c17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/pdftoipe/a-file @@ -0,0 +1 @@ +SOME TEXT diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/svgtoipe/a-file b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/svgtoipe/a-file new file mode 100644 index 0000000..01d2c17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/build-spec/orig/svgtoipe/a-file @@ -0,0 +1 @@ +SOME TEXT diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/desc b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/desc new file mode 100644 index 0000000..155b1fd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/desc @@ -0,0 +1,5 @@ +Testname: reuse-identifier-in-files +Check: debian/copyright/dep5 +Test-Against: + dep5-copyright-license-name-not-unique +See-Also: Bug#779676 diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/hints b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/hints new file mode 100644 index 0000000..f7d27de --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/hints @@ -0,0 +1 @@ +reuse-identifier-in-files (source): update-debian-copyright 2015 vs CHANGELOG-YEAR [debian/copyright:44] diff --git a/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/post-test b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reuse-identifier-in-files/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/debian/copyright new file mode 100644 index 0000000..1c5f619 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/debian/copyright @@ -0,0 +1,19 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: (C) 2018 Niels Thykier +License: License1 + +Files: debian/* +Copyright: (C) 2018 Niels Thykier +License: License1 + +Files: debian/* +Copyright: (C) 2019 Niels Thykier +License: License2 + +License: License1 + Please call the author for this license. + +License: License2 + Please call the author for this license. diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/fill-values new file mode 100644 index 0000000..6c5f8e6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: reused-wildcard +Description: Same globbing pattern appears twice diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/orig/a-file b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/orig/a-file new file mode 100644 index 0000000..fadb157 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/build-spec/orig/a-file @@ -0,0 +1 @@ +A FILE diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/desc b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/desc new file mode 100644 index 0000000..e3f0551 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/desc @@ -0,0 +1,3 @@ +Testname: reused-wildcard +Check: debian/copyright/dep5 +See-Also: Bug#905747 diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/hints b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/hints new file mode 100644 index 0000000..0b4a3c5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/hints @@ -0,0 +1,2 @@ +reused-wildcard (source): update-debian-copyright 2019 vs CHANGELOG-YEAR [debian/copyright:12] +reused-wildcard (source): duplicate-globbing-patterns debian/* (lines 7 11) [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/post-test b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/reused-wildcard/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/debian/copyright new file mode 100644 index 0000000..0c826f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/debian/copyright @@ -0,0 +1,20 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2014, somebody1 +License: gplv1 + something + +Files: space +Copyright: 2014, somebody1 +License: some space license + something + +Files: debian/* +Copyright: 2014, somebody1 +License: bsd + this is a valid license short name + diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/fill-values new file mode 100644 index 0000000..105eb13 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-bad-short-name +Description: Test for bad short name diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/README b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/README new file mode 100644 index 0000000..1a9d2ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/README @@ -0,0 +1 @@ +trivial diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/space b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/space new file mode 100644 index 0000000..82cbe04 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/build-spec/orig/space @@ -0,0 +1 @@ +space \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/desc new file mode 100644 index 0000000..2f2c957 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-bad-short-name +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/hints new file mode 100644 index 0000000..2c8bb8a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/hints @@ -0,0 +1,4 @@ +source-copyright-bad-short-name (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:17] +source-copyright-bad-short-name (source): space-in-std-shortname-in-dep5-copyright some space license [debian/copyright:13] +source-copyright-bad-short-name (source): invalid-short-name-in-dep5-copyright gplv1 [debian/copyright:8] +source-copyright-bad-short-name (source): invalid-short-name-in-dep5-copyright bsd [debian/copyright:18] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-bad-short-name/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/debian/copyright new file mode 100644 index 0000000..d890aa5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format: +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/fill-values new file mode 100644 index 0000000..e23273f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-boilerplate-uri +Description: Test for boilerplate DEP 5-like URI diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/desc new file mode 100644 index 0000000..d581f76 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-boilerplate-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/hints new file mode 100644 index 0000000..81f7b8c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-boilerplate-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-boilerplate-uri (source): boilerplate-copyright-format-uri [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright new file mode 100644 index 0000000..eadfebd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/debian/copyright @@ -0,0 +1,113 @@ +Format: https://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 +Upstream-Name: Doohickey +Upstream-Maintainer: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Comment: I'm a bogus paragraph. + +Files: a/*, b/* +Copyright: 2011 J. Random Hacker +License: GPL-2 + +Files: c +Copyright: 2010 J. Random Hacker + +Files: d +License: GPL-3 + +Files: 5 +License: MIT +Copyright: 2010 J. Random Hacker + +Comment: Oops, missing a Files for this paragraph. +License: BSD-3 +Copyright: 2010 J. Random Hacker + +Files: debian/* +License: GPL-2 or GPL-3 with Font +Copyright: 2010 J. Random Hacker + +Files: debian/copyright +License: GPL-2 or GPL-3 with Font exception +Copyright: 2012 J. Random Hacker + +Files: debian/control +License: GPL-2 and custom +Copyright: 2010 J. Random Hacker + +License: custom + Custom test license + + +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: GPL-3 with Font + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + . + A fake font exception. + +License: GPL-3 with Font exception + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + . + Fake font exception. + +License: GPL-3 + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the “Softwareâ€), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED “AS ISâ€, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values new file mode 100644 index 0000000..e433ff8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-dep5-general +Description: Test for various errors in DEP 5 copyright files diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc new file mode 100644 index 0000000..677c43f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-dep5-general +Test-Against: + incomplete-creative-commons-license +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints new file mode 100644 index 0000000..341af85 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/hints @@ -0,0 +1,14 @@ +source-copyright-dep5-general (source): update-debian-copyright 2012 vs CHANGELOG-YEAR [debian/copyright:32] +source-copyright-dep5-general (source): unused-license-paragraph-in-dep5-copyright expat [debian/copyright:96] +source-copyright-dep5-general (source): unknown-paragraph-in-dep5-copyright [debian/copyright:6] +source-copyright-dep5-general (source): obsolete-field-in-dep5-copyright Upstream-Maintainer Upstream-Contact [debian/copyright:3] +source-copyright-dep5-general (source): missing-license-text-in-dep5-copyright GPL-3 [debian/copyright:94] +source-copyright-dep5-general (source): missing-license-text-in-dep5-copyright BSD-3 [debian/copyright:23] +source-copyright-dep5-general (source): missing-license-paragraph-in-dep5-copyright mit [debian/copyright:19] +source-copyright-dep5-general (source): missing-license-paragraph-in-dep5-copyright gpl-3 [debian/copyright:16] +source-copyright-dep5-general (source): missing-field-in-dep5-copyright License [debian/copyright:12] +source-copyright-dep5-general (source): missing-field-in-dep5-copyright Copyright [debian/copyright:15] +source-copyright-dep5-general (source): comma-separated-files-in-dep5-copyright [debian/copyright:8] +source-copyright-dep5-general (source): bad-exception-format-in-dep5-copyright gpl-3 with font [debian/copyright:58] +source-copyright-dep5-general (source): bad-exception-format-in-dep5-copyright gpl-3 with font [debian/copyright:27] +source-copyright-dep5-general (source): ambiguous-paragraph-in-dep5-copyright [debian/copyright:22] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-general/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/debian/copyright new file mode 100644 index 0000000..30c307c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format: https://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/fill-values new file mode 100644 index 0000000..1b5f611 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-dep5-syntax-error +Description: Test for DEP 5 syntax error diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/desc new file mode 100644 index 0000000..f6cc383 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-dep5-syntax-error +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/hints new file mode 100644 index 0000000..0f97785 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-dep5-syntax-error/eval/hints @@ -0,0 +1 @@ +source-copyright-dep5-syntax-error (source): syntax-error-in-dep5-copyright Continuation line not in paragraph (line 13). Missing a dot on the previous line? [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/debian/copyright new file mode 100644 index 0000000..f9d5a2a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/debian/copyright @@ -0,0 +1,97 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ +License: + +Files: * +Copyright: +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +Files: debian/* +Copyright: 2014, somebodydebian +License: + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +Files: +Copyright: 2014, somebody +License: GPL-2+ + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +Files: m4/ +Copyright: 2014, somebodym4 +License: + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: + +License: GPL-2+ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/fill-values new file mode 100644 index 0000000..2fe94f7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-empty-field +Description: Test for empty required field diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/desc new file mode 100644 index 0000000..d43f068 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-empty-field +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/hints new file mode 100644 index 0000000..e826004 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/hints @@ -0,0 +1,12 @@ +source-copyright-empty-field (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:26] +source-copyright-empty-field (source): superfluous-file-pattern m4/ [debian/copyright:77] +source-copyright-empty-field (source): superfluous-file-pattern * [debian/copyright:7] +source-copyright-empty-field (source): missing-license-text-in-dep5-copyright [debian/copyright:95] +source-copyright-empty-field (source): missing-license-text-in-dep5-copyright GPL-2+ [debian/copyright:97] +source-copyright-empty-field (source): missing-field-in-dep5-copyright (empty field) Files [debian/copyright:43] +source-copyright-empty-field (source): missing-field-in-dep5-copyright (empty field) Copyright [debian/copyright:8] +source-copyright-empty-field (source): empty-short-license-in-dep5-copyright [debian/copyright:95] +source-copyright-empty-field (source): empty-short-license-in-dep5-copyright [debian/copyright:79] +source-copyright-empty-field (source): empty-short-license-in-dep5-copyright [debian/copyright:61] +source-copyright-empty-field (source): empty-short-license-in-dep5-copyright [debian/copyright:5] +source-copyright-empty-field (source): empty-short-license-in-dep5-copyright [debian/copyright:27] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-empty-field/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/debian/copyright new file mode 100644 index 0000000..fa0be7c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/debian/copyright @@ -0,0 +1,19 @@ +Files-Excluded: foo + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/fill-values new file mode 100644 index 0000000..c5f012e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: source-copyright-files-excluded-without-copyright-format-1.0 +Skeleton: upload-non-native +Description: Test for files listed in Files-Excluded diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/desc new file mode 100644 index 0000000..0956e4c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-files-excluded-without-copyright-format-1.0 +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/hints new file mode 100644 index 0000000..2ca5e41 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-files-excluded-without-copyright-format-1.0/eval/hints @@ -0,0 +1,2 @@ +source-copyright-files-excluded-without-copyright-format-1.0 (source): no-dep5-copyright [debian/copyright] +source-copyright-files-excluded-without-copyright-format-1.0 (source): files-excluded-without-copyright-format-1.0 [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/debian/copyright new file mode 100644 index 0000000..b8340bc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: filea +Copyright: 2011 J. Random Hacker +License: GPL-2 + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/fill-values new file mode 100644 index 0000000..fad1ab9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-global-files-wildcard-not-first-paragraph +Description: Test for Files: * not being the first paragraph diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/orig/filea b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/build-spec/orig/filea new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/desc new file mode 100644 index 0000000..6cdbf3c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-global-files-wildcard-not-first-paragraph +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/hints new file mode 100644 index 0000000..9ec205d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-global-files-wildcard-not-first-paragraph/eval/hints @@ -0,0 +1,2 @@ +source-copyright-global-files-wildcard-not-first-paragraph (source): superfluous-file-pattern filea [debian/copyright:6] +source-copyright-global-files-wildcard-not-first-paragraph (source): global-files-wildcard-not-first-paragraph-in-dep5-copyright [debian/copyright:10] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/debian/copyright new file mode 100644 index 0000000..9102490 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/debian/copyright @@ -0,0 +1,81 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: opensesame +Upstream-Contact: Sebastiaan Mathot +Source: http://www.cogsci.nl/software/opensesame + +Files: * +Copyright: 2010-2012, Sebastiaan Mathot +License: GPL-3 + On Debian systems, the full text of the GNU General Public License version 3 + can be found in the file `/usr/share/common-licenses/GPL-3'. + +Files: resources/*.ttf +Copyright: 2006, 2007, 2008, 2009, 2010 Google Corp. + Droid is a trademark of Google Corp. +License: Apache-2.0 + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: sounds/* +Copyright: 1996-2011, The K Desktop Environment project http://www.kde.org + Marc-Andre Lureau + Bastien Nocera + Andreas Hyden + Seth Nickell + Ronald Bultje + Thomas Vander Stichele + William Jon McCann +License: GPL-2+ + The full text of the GNU General Public License version 2 is available on + Debian systems in /usr/share/common-licenses/GPL-2. + +Files: resources/theme/default/os-custom-icons/* +Copyright: 2010-2011, Matthieu James + 2012, Daniel Fore + 2012, Sebastiaan Mathot +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: debian/* +Copyright: 2010-2012, Sebastiaan Mathot + 2011, Michael Hanke +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/it_IT.ts +Copyright: 2012, Andrea Epifani +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/fr_FR.ts +Copyright: 2013, Romain Monfollet +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/zh_CN.ts +Copyright: 2013, Gabriel Chan + 2013, Jerry Li +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/templates/eco_alt_template.opensesame.tar.gz +Copyright: 2012, Francisco Javier Moreno-Martinez + 2012, Pedro R. Montoro + 2012, Sebastiaan Mathot +License: CC-BY-3.0 + +License: CC-BY-3.0 + You are free: + to Share (to copy, distribute and transmit the work) and + to Remix (to adapt the work) under the following conditions: + . + Attribution — You must attribute the work in the manner specified by the + author or licensor (but not in any way that suggests that they endorse you + or your use of the work). + . + For more information, see http://creativecommons.org/licenses/by/3.0/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/fill-values new file mode 100644 index 0000000..444f75c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-incomplete-creative-commons-b +Description: Test for incomplete Creative Commons licenses (b) diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/desc new file mode 100644 index 0000000..b65de32 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-incomplete-creative-commons-b +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/hints new file mode 100644 index 0000000..6abf857 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/hints @@ -0,0 +1,11 @@ +source-copyright-incomplete-creative-commons-b (source): update-debian-copyright 2012 vs CHANGELOG-YEAR [debian/copyright:41] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern sounds/* [debian/copyright:19] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/ts/zh_CN.ts [debian/copyright:59] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/ts/it_IT.ts [debian/copyright:47] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/ts/fr_FR.ts [debian/copyright:53] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/theme/default/os-custom-icons/* [debian/copyright:32] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/templates/eco_alt_template.opensesame.tar.gz [debian/copyright:66] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern resources/*.ttf [debian/copyright:12] +source-copyright-incomplete-creative-commons-b (source): superfluous-file-pattern * [debian/copyright:6] +source-copyright-incomplete-creative-commons-b (source): insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ [debian/copyright] +source-copyright-incomplete-creative-commons-b (source): incomplete-creative-commons-license cc-by-3.0 [debian/copyright:72] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/post-test new file mode 100644 index 0000000..daec1dd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-b/eval/post-test @@ -0,0 +1,4 @@ +/: dep5-copyright-license-name-not-unique .*/ d +/: unused-file-paragraph-in-dep5-copyright .*/ d +/: wildcard-matches-nothing-in-dep5-copyright .*/ d +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/debian/copyright new file mode 100644 index 0000000..9a5bb1d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/debian/copyright @@ -0,0 +1,379 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: flycheck +Source: https://github.com/flycheck/flycheck + +Files: * +Copyright: (C) 2012-2015, 2016, 2017 Sebastian Wiesner and Flycheck contributors + (C) 2013, 2014 Free Software Foundation, Inc. +License: GPL-3+ + +Files: doc/* +Copyright: (C) 2012-2015, 2017 Sebastian Wiesner and Flycheck contributors +License: CC-BY-SA-4.0 + +Files: doc/*.py +Copyright: (C) 2012-2015 Sebastian Wiesner and Flycheck contributors +License: GPL-3+ + +Files: flycheck.svg +Copyright: (C) 2014-2015 Sebastian Wiesner +License: CC-BY-SA-4.0 + +Files: debian/* +Copyright: (C) 2016, 2017 Sean Whitton +License: GPL-3+ + +License: GPL-3+ + 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 3 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, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3 + +License: CC-BY-SA-4.0 + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + . + Section 1 – Definitions. + . + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material and in + which the Licensed Material is translated, altered, arranged, + transformed, or otherwise modified in a manner requiring permission + under the Copyright and Similar Rights held by the Licensor. For + purposes of this Public License, where the Licensed Material is a + musical work, performance, or sound recording, Adapted Material is + always produced where the Licensed Material is synched in timed + relation with a moving image. + . + b. Adapter's License means the license You apply to Your Copyright and + Similar Rights in Your contributions to Adapted Material in accordance + with the terms and conditions of this Public License. + . + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative Commons + as essentially the equivalent of this Public License. + . + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights specified + in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + . + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright Treaty + adopted on December 20, 1996, and/or similar international agreements. + . + f. Exceptions and Limitations means fair use, fair dealing, and/or any + other exception or limitation to Copyright and Similar Rights that + applies to Your use of the Licensed Material. + . + g. License Elements means the license attributes listed in the name of + a Creative Commons Public License. The License Elements of this Public + License are Attribution and ShareAlike. + . + h. Licensed Material means the artistic or literary work, database, or + other material to which the Licensor applied this Public License. + . + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to all + Copyright and Similar Rights that apply to Your use of the Licensed + Material and that the Licensor has authority to license. + . + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + . + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such as + reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the public + may access the material from a place and at a time individually chosen + by them. + . + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of the + Council of 11 March 1996 on the legal protection of databases, as + amended and/or succeeded, as well as other essentially equivalent + rights anywhere in the world. + . + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + . + Section 2 – Scope. + . + a. License grant. + . + 1. Subject to the terms and conditions of this Public License, the + Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to exercise the + Licensed Rights in the Licensed Material to: + . + A. reproduce and Share the Licensed Material, in whole or in part; and + . + B. produce, reproduce, and Share Adapted Material. + . + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public License does + not apply, and You do not need to comply with its terms and + conditions. + . + 3. Term. The term of this Public License is specified in Section 6(a). + . + 4. Media and formats; technical modifications allowed. The Licensor + authorizes You to exercise the Licensed Rights in all media and + formats whether now known or hereafter created, and to make technical + modifications necessary to do so. The Licensor waives and/or agrees + not to assert any right or authority to forbid You from making + technical modifications necessary to exercise the Licensed Rights, + including technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, simply + making modifications authorized by this Section 2(a)(4) never produces + Adapted Material. + . + 5. Downstream recipients. + . + A. Offer from the Licensor – Licensed Material. Every recipient of the + Licensed Material automatically receives an offer from the Licensor to + exercise the Licensed Rights under the terms and conditions of this + Public License. + . + B. Additional offer from the Licensor – Adapted Material. Every + recipient of Adapted Material from You automatically receives an offer + from the Licensor to exercise the Licensed Rights in the Adapted + Material under the conditions of the Adapter’s License You apply. + . + C. No downstream restrictions. You may not offer or impose any + additional or different terms or conditions on, or apply any Effective + Technological Measures to, the Licensed Material if doing so restricts + exercise of the Licensed Rights by any recipient of the Licensed + Material. + . + 6. No endorsement. Nothing in this Public License constitutes or may + be construed as permission to assert or imply that You are, or that + Your use of the Licensed Material is, connected with, or sponsored, + endorsed, or granted official status by, the Licensor or others + designated to receive attribution as provided in Section + 3(a)(1)(A)(i). + . + b. Other rights. + . + 1. Moral rights, such as the right of integrity, are not licensed + under this Public License, nor are publicity, privacy, and/or other + similar personality rights; however, to the extent possible, the + Licensor waives and/or agrees not to assert any such rights held by + the Licensor to the limited extent necessary to allow You to exercise + the Licensed Rights, but not otherwise. + . + 2. Patent and trademark rights are not licensed under this Public + License. + . + 3. To the extent possible, the Licensor waives any right to collect + royalties from You for the exercise of the Licensed Rights, whether + directly or through a collecting society under any voluntary or + waivable statutory or compulsory licensing scheme. In all other cases + the Licensor expressly reserves any right to collect such royalties. + . + Section 3 – License Conditions. + . + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + . + a. Attribution. + . + 1. If You Share the Licensed Material (including in modified form), + You must: + . + A. retain the following if it is supplied by the Licensor with the + Licensed Material: + . + i. identification of the creator(s) of the Licensed Material and any + others designated to receive attribution, in any reasonable manner + requested by the Licensor (including by pseudonym if designated); + . + ii. a copyright notice; + . + iii. a notice that refers to this Public License; + . + iv. a notice that refers to the disclaimer of warranties; + . + v. a URI or hyperlink to the Licensed Material to the extent + reasonably practicable; + . + B. indicate if You modified the Licensed Material and retain an + indication of any previous modifications; and + . + C. indicate the Licensed Material is licensed under this Public + License, and include the text of, or the URI or hyperlink to, this + Public License. + . + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable + manner based on the medium, means, and context in which You Share the + Licensed Material. For example, it may be reasonable to satisfy the + conditions by providing a URI or hyperlink to a resource that includes + the required information. + . + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent reasonably + practicable. + . + b. ShareAlike.In addition to the conditions in Section 3(a), if You + Share Adapted Material You produce, the following conditions also + apply. + . + 1. The Adapter’s License You apply must be a Creative Commons license + with the same License Elements, this version or later, or a BY-SA + Compatible License. + . + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition in any + reasonable manner based on the medium, means, and context in which You + Share Adapted Material. + . + 3. You may not offer or impose any additional or different terms or + conditions on, or apply any Effective Technological Measures to, + Adapted Material that restrict exercise of the rights granted under + the Adapter's License You apply. + . + Section 4 – Sui Generis Database Rights. + . + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + . + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to + extract, reuse, reproduce, and Share all or a substantial portion of + the contents of the database; + . + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database Rights, + then the database in which You have Sui Generis Database Rights (but + not its individual contents) is Adapted Material, including for + purposes of Section 3(b); and + . + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. For the + avoidance of doubt, this Section 4 supplements and does not replace + Your obligations under this Public License where the Licensed Rights + include other Copyright and Similar Rights. + . + Section 5 – Disclaimer of Warranties and Limitation of Liability. + . + a. Unless otherwise separately undertaken by the Licensor, to the + extent possible, the Licensor offers the Licensed Material as-is and + as-available, and makes no representations or warranties of any kind + concerning the Licensed Material, whether express, implied, statutory, + or other. This includes, without limitation, warranties of title, + merchantability, fitness for a particular purpose, non-infringement, + absence of latent or other defects, accuracy, or the presence or + absence of errors, whether or not known or discoverable. Where + disclaimers of warranties are not allowed in full or in part, this + disclaimer may not apply to You. + . + b. To the extent possible, in no event will the Licensor be liable to + You on any legal theory (including, without limitation, negligence) or + otherwise for any direct, special, indirect, incidental, + consequential, punitive, exemplary, or other losses, costs, expenses, + or damages arising out of this Public License or use of the Licensed + Material, even if the Licensor has been advised of the possibility of + such losses, costs, expenses, or damages. Where a limitation of + liability is not allowed in full or in part, this limitation may not + apply to You. + . + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent possible, + most closely approximates an absolute disclaimer and waiver of all + liability. + . + Section 6 – Term and Termination. + . + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with this + Public License, then Your rights under this Public License terminate + automatically. + . + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + . + 1. automatically as of the date the violation is cured, provided it is + cured within 30 days of Your discovery of the violation; or + . + 2. upon express reinstatement by the Licensor. + . + c. For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations of + this Public License. + . + d. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so will + not terminate this Public License. + . + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + . + Section 7 – Other Terms and Conditions. + . + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + . + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and independent + of the terms and conditions of this Public License. + . + Section 8 – Interpretation. + . + a. For the avoidance of doubt, this Public License does not, and shall + not be interpreted to, reduce, limit, restrict, or impose conditions + on any use of the Licensed Material that could lawfully be made + without permission under this Public License. + . + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + . + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + . + d. Nothing in this Public License constitutes or may be interpreted as + a limitation upon, or waiver of, any privileges and immunities that + apply to the Licensor or You, including from the legal processes of + any jurisdiction or authority. + . + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.†Except for the limited purpose of + indicating that material is shared under a Creative Commons public + license or as otherwise permitted by the Creative Commons policies + published at creativecommons.org/policies, Creative Commons does not + authorize the use of the trademark “Creative Commons†or any other + trademark or logo of Creative Commons without its prior written + consent including, without limitation, in connection with any + unauthorized modifications to any of its public licenses or any other + arrangements, understandings, or agreements concerning use of licensed + material. For the avoidance of doubt, this paragraph does not form + part of the public licenses. Creative Commons may be contacted at + creativecommons.org. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/fill-values new file mode 100644 index 0000000..7f24052 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-incomplete-creative-commons-unrel +Description: Test for incomplete Creative Commons licenses (good) diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/desc new file mode 100644 index 0000000..7d96eef --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-incomplete-creative-commons-unrel +Test-Against: + incomplete-creative-commons-license +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/hints new file mode 100644 index 0000000..3669c43 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/hints @@ -0,0 +1,5 @@ +source-copyright-incomplete-creative-commons-unrel (source): update-debian-copyright 2017 vs CHANGELOG-YEAR [debian/copyright:23] +source-copyright-incomplete-creative-commons-unrel (source): superfluous-file-pattern flycheck.svg [debian/copyright:18] +source-copyright-incomplete-creative-commons-unrel (source): superfluous-file-pattern doc/*.py [debian/copyright:14] +source-copyright-incomplete-creative-commons-unrel (source): superfluous-file-pattern doc/* [debian/copyright:10] +source-copyright-incomplete-creative-commons-unrel (source): superfluous-file-pattern * [debian/copyright:5] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/post-test new file mode 100644 index 0000000..279aa2e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons-unrel/eval/post-test @@ -0,0 +1,3 @@ +/: unused-file-paragraph-in-dep5-copyright .*/ d +/: wildcard-matches-nothing-in-dep5-copyright .*/ d +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/debian/copyright new file mode 100644 index 0000000..641bb23 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/debian/copyright @@ -0,0 +1,79 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: opensesame +Upstream-Contact: Sebastiaan Mathot +Source: http://www.cogsci.nl/software/opensesame + +Files: * +Copyright: 2010-2012, Sebastiaan Mathot +License: GPL-3 + On Debian systems, the full text of the GNU General Public License version 3 + can be found in the file `/usr/share/common-licenses/GPL-3'. + +Files: resources/*.ttf +Copyright: 2006, 2007, 2008, 2009, 2010 Google Corp. + Droid is a trademark of Google Corp. +License: Apache-2.0 + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: sounds/* +Copyright: 1996-2011, The K Desktop Environment project http://www.kde.org + Marc-Andre Lureau + Bastien Nocera + Andreas Hyden + Seth Nickell + Ronald Bultje + Thomas Vander Stichele + William Jon McCann +License: GPL-2+ + The full text of the GNU General Public License version 2 is available on + Debian systems in /usr/share/common-licenses/GPL-2. + +Files: resources/theme/default/os-custom-icons/* +Copyright: 2010-2011, Matthieu James + 2012, Daniel Fore + 2012, Sebastiaan Mathot +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: debian/* +Copyright: 2010-2012, Sebastiaan Mathot + 2011, Michael Hanke +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/it_IT.ts +Copyright: 2012, Andrea Epifani +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/fr_FR.ts +Copyright: 2013, Romain Monfollet +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/ts/zh_CN.ts +Copyright: 2013, Gabriel Chan + 2013, Jerry Li +License: GPL-3 + The full text of the GNU General Public License version 3 is available on + Debian systems in /usr/share/common-licenses/GPL-3. + +Files: resources/templates/eco_alt_template.opensesame.tar.gz +Copyright: 2012, Francisco Javier Moreno-Martinez + 2012, Pedro R. Montoro + 2012, Sebastiaan Mathot +License: CC-BY-3.0 + You are free: + to Share (to copy, distribute and transmit the work) and + to Remix (to adapt the work) under the following conditions: + . + Attribution — You must attribute the work in the manner specified by the + author or licensor (but not in any way that suggests that they endorse you + or your use of the work). + . + For more information, see http://creativecommons.org/licenses/by/3.0/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/fill-values new file mode 100644 index 0000000..83a1c12 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-incomplete-creative-commons +Description: Test for incomplete Creative Commons licenses diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/desc new file mode 100644 index 0000000..58178db --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-incomplete-creative-commons +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/hints new file mode 100644 index 0000000..2ffb3e6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/hints @@ -0,0 +1,11 @@ +source-copyright-incomplete-creative-commons (source): update-debian-copyright 2012 vs CHANGELOG-YEAR [debian/copyright:41] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern sounds/* [debian/copyright:19] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/ts/zh_CN.ts [debian/copyright:59] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/ts/it_IT.ts [debian/copyright:47] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/ts/fr_FR.ts [debian/copyright:53] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/theme/default/os-custom-icons/* [debian/copyright:32] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/templates/eco_alt_template.opensesame.tar.gz [debian/copyright:66] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern resources/*.ttf [debian/copyright:12] +source-copyright-incomplete-creative-commons (source): superfluous-file-pattern * [debian/copyright:6] +source-copyright-incomplete-creative-commons (source): insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ [debian/copyright] +source-copyright-incomplete-creative-commons (source): incomplete-creative-commons-license cc-by-3.0 [debian/copyright:70] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/post-test new file mode 100644 index 0000000..daec1dd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-incomplete-creative-commons/eval/post-test @@ -0,0 +1,4 @@ +/: dep5-copyright-license-name-not-unique .*/ d +/: unused-file-paragraph-in-dep5-copyright .*/ d +/: wildcard-matches-nothing-in-dep5-copyright .*/ d +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/debian/copyright new file mode 100644 index 0000000..22d390a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/debian/copyright @@ -0,0 +1,16 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2014, somebody1 +License: CC0-1.0 + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tortor + dolor, laoreet et laoreet non, pretium in nunc. Sed dapibus quis lorem + quis gravida. Cras sed purus consequat, dictum purus nec, venenatis sem. + Nullam placerat et lacus at bibendum. Maecenas varius sapien ut aliquet + elementum. Vestibulum vel rutrum ligula, quis pellentesque velit. Duis + molestie velit eget aliquet sollicitudin. Nunc eget metus nec nibh + maximus iaculis in non urna. Cras maximus dui ac mauris maximus + porttitor. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/fill-values new file mode 100644 index 0000000..7f31358 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/fill-values @@ -0,0 +1,2 @@ +Testname: source-copyright-inconsistent-appstream-metadata-license +Skeleton: upload-native diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/bad.xml b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/bad.xml new file mode 100644 index 0000000..bb4f84c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/bad.xml @@ -0,0 +1,18 @@ + + + org.gnupg.scdaemon + does-not-match-anything + scdaemon + USB SmartCard Readers + +

+ GnuPG's scdaemon provides access to USB tokens and smartcard + readers that provide cryptographic functionality (e.g. use of + protected secret keys). +

+
+ + usb:v046Ap0005d* + usb:v0BF8p1006d* + +
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/good.xml b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/good.xml new file mode 100644 index 0000000..b316fd5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/build-spec/orig/good.xml @@ -0,0 +1,18 @@ + + + org.gnupg.scdaemon + CC0-1.0 + scdaemon + USB SmartCard Readers + +

+ GnuPG's scdaemon provides access to USB tokens and smartcard + readers that provide cryptographic functionality (e.g. use of + protected secret keys). +

+
+ + usb:v046Ap0005d* + usb:v046Ap0010d* + +
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/desc new file mode 100644 index 0000000..da84972 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-inconsistent-appstream-metadata-license +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/hints new file mode 100644 index 0000000..5471a72 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-inconsistent-appstream-metadata-license/eval/hints @@ -0,0 +1 @@ +source-copyright-inconsistent-appstream-metadata-license (source): inconsistent-appstream-metadata-license bad.xml (does-not-match-anything != cc0-1.0) [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/debian/copyright new file mode 100644 index 0000000..082beb1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: © 2011 J. Random Hacker +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/fill-values new file mode 100644 index 0000000..c7f18be --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-insecure-uri +Description: Test for insecure Format: URIs diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/desc new file mode 100644 index 0000000..7673493 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-insecure-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/hints new file mode 100644 index 0000000..be71ba9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-insecure-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-insecure-uri (source): insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/build-spec/fill-values new file mode 100644 index 0000000..63a3f72 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: source-copyright-missing-non-free-explanation-unrel +Description: Test for missing contrib/non-free explanations +Section: contrib/doc diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/desc new file mode 100644 index 0000000..1d6ed08 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-missing-non-free-explanation-unrel +Test-Against: + missing-explanation-for-contrib-or-non-free-package +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/debian/copyright new file mode 100644 index 0000000..5c38963 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org + +Files: * +Copyright: 2009, Russ Allbery +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/fill-values new file mode 100644 index 0000000..0ebd510 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: source-copyright-missing-non-free-explanation +Description: Test for missing contrib/non-free explanations +Section: contrib/doc diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/desc new file mode 100644 index 0000000..e9487f9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-missing-non-free-explanation +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/hints new file mode 100644 index 0000000..4767345 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-non-free-explanation/eval/hints @@ -0,0 +1 @@ +source-copyright-missing-non-free-explanation (source): missing-explanation-for-contrib-or-non-free-package [debian/copyright:1] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/debian/copyright new file mode 100644 index 0000000..6a3aeb6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/debian/copyright @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org +Files-Excluded: dummy + +Files: * +Copyright: 2009, Russ Allbery +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/fill-values new file mode 100644 index 0000000..24f64b0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: source-copyright-missing-repack-explanation-unrel +Skeleton: upload-non-native +Version: 1+dfsg-1 +Description: Test for missing repack explanations (false-positive) diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/desc new file mode 100644 index 0000000..1e95830 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-missing-repack-explanation-unrel +Test-Against: + missing-explanation-for-repacked-upstream-tarball +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation-unrel/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/debian/copyright new file mode 100644 index 0000000..5c38963 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org + +Files: * +Copyright: 2009, Russ Allbery +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/fill-values new file mode 100644 index 0000000..9137106 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: source-copyright-missing-repack-explanation +Skeleton: upload-non-native +Version: 1+dfsg-1 +Description: Test for missing repack explanations diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/desc new file mode 100644 index 0000000..4721a46 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-missing-repack-explanation +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/hints new file mode 100644 index 0000000..94889c1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-missing-repack-explanation/eval/hints @@ -0,0 +1 @@ +source-copyright-missing-repack-explanation (source): missing-explanation-for-repacked-upstream-tarball [debian/copyright:1] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/debian/copyright new file mode 100644 index 0000000..3fcbad9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This is not a dep5 copyright file + +Copyright (c) 2013 + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the “Softwareâ€), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED “AS ISâ€, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/fill-values new file mode 100644 index 0000000..6d211ea --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-nodep5 +Description: Test for no dep5 source copyright diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/desc new file mode 100644 index 0000000..9701b2b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-nodep5 +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/hints new file mode 100644 index 0000000..23dbe21 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-nodep5/eval/hints @@ -0,0 +1 @@ +source-copyright-nodep5 (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/debian/copyright new file mode 100644 index 0000000..f73439f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: Doohickey +Maintainer: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/fill-values new file mode 100644 index 0000000..b13e28f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-ood-uri +Description: Test for out-of-date DEP 5-like URI diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/desc new file mode 100644 index 0000000..030b769 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-ood-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/hints new file mode 100644 index 0000000..3907382 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-ood-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-ood-uri (source): out-of-date-copyright-format-uri http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright new file mode 100644 index 0000000..31e3563 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright @@ -0,0 +1,16 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2014, somebody1 +License: this | that + +Files: debian/* +Copyright: 2014, somebody1 +License: this|that + this is a valid license short name + +License: this | that + should be "this or that" diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values new file mode 100644 index 0000000..a5bfa60 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-pipe-as-or +Description: Test for the pipe symbol being used as an "or" diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README new file mode 100644 index 0000000..1a9d2ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README @@ -0,0 +1 @@ +trivial diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc new file mode 100644 index 0000000..2ddc75d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-pipe-as-or +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints new file mode 100644 index 0000000..7ecd5b0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints @@ -0,0 +1,5 @@ +source-copyright-pipe-as-or (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:11] +source-copyright-pipe-as-or (source): space-in-std-shortname-in-dep5-copyright this | that [debian/copyright:8] +source-copyright-pipe-as-or (source): space-in-std-shortname-in-dep5-copyright this | that [debian/copyright:15] +source-copyright-pipe-as-or (source): pipe-symbol-used-as-license-disjunction this | that [debian/copyright:8] +source-copyright-pipe-as-or (source): pipe-symbol-used-as-license-disjunction this | that [debian/copyright:15] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright new file mode 100644 index 0000000..82dfe2c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Files-Excluded: exclude-this + exclude-dir + */exclude-dir + exclude-dir-2/* + .* + */js/jquery.js + lib/* + debian/* + debian/copyright + recreated-file + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff new file mode 100644 index 0000000..a40e2b1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff @@ -0,0 +1,6 @@ +Re-create a file. + +--- /dev/null ++++ debian/recreated-file +@@ -0,0 +1 @@ ++This file was created via a patch system and should be ignored. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series new file mode 100644 index 0000000..ab898ca --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series @@ -0,0 +1 @@ +0001-recreate-file.diff diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values new file mode 100644 index 0000000..6cef61f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: source-copyright-source-files-excluded +Skeleton: upload-non-native +Version: 1.0+dfsg-1 +Description: Test for files listed in Files-Excluded diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2 b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc new file mode 100644 index 0000000..2605614 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc @@ -0,0 +1,4 @@ +Testname: source-copyright-source-files-excluded +Test-Against: + files-excluded-without-copyright-format-1.0 +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints new file mode 100644 index 0000000..2f9d869 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints @@ -0,0 +1,5 @@ +source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-this [debian/copyright:2] +source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir/filename-2 [debian/copyright:2] +source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir/filename [debian/copyright:2] +source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir-2/filename [debian/copyright:2] +source-copyright-source-files-excluded (source): source-ships-excluded-file .matches [debian/copyright:2] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/copyright new file mode 100644 index 0000000..8ff4ab0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/copyright @@ -0,0 +1,56 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2014, somebody1 +License: Fixme + Fixme-license text + + +Files: debian/* +Copyright: 2015, somebody2 +License: unknown + Fixme + +Files: debian/a +Copyright: 2016, somebody2 +License: unknow + Fixme + +Files: debian/b +Copyright: 2014, somebody2 +License: todo + Fixme + +Files: debian/c +comment: some spacing +Copyright: 2017, somebody2 +License: - + Fixme + +Files: debian/d +comment: some spacing +Copyright: 2014, somebody2 +License: - + Fixme + +Files: debian/e +Comment: too many false positive with space +Copyright: 2014, somebody2 +License: undefined license + Fixme + +Files: debian/f +comment: some spacing +Copyright: 2014, somebody2 +License: undefined + Fixme + +Files: debian/g +comment: false positive +Copyright: 2014, somebody2 +License: common public license - v 1.0 + Fixme + diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/plus+file b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/debian/plus+file new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/fill-values new file mode 100644 index 0000000..9588707 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-undefined +Description: Test for fixme/todo/unknown diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/desc new file mode 100644 index 0000000..f0c691e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-undefined +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/hints new file mode 100644 index 0000000..eb13a9f --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/hints @@ -0,0 +1,19 @@ +source-copyright-undefined (source): update-debian-copyright 2017 vs CHANGELOG-YEAR [debian/copyright:29] +source-copyright-undefined (source): superfluous-file-pattern debian/g [debian/copyright:51] +source-copyright-undefined (source): superfluous-file-pattern debian/f [debian/copyright:45] +source-copyright-undefined (source): superfluous-file-pattern debian/e [debian/copyright:39] +source-copyright-undefined (source): superfluous-file-pattern debian/d [debian/copyright:33] +source-copyright-undefined (source): superfluous-file-pattern debian/c [debian/copyright:27] +source-copyright-undefined (source): superfluous-file-pattern debian/b [debian/copyright:22] +source-copyright-undefined (source): superfluous-file-pattern debian/a [debian/copyright:17] +source-copyright-undefined (source): superfluous-file-pattern * [debian/copyright:6] +source-copyright-undefined (source): space-in-std-shortname-in-dep5-copyright undefined license [debian/copyright:42] +source-copyright-undefined (source): space-in-std-shortname-in-dep5-copyright common public license - v 1.0 [debian/copyright:54] +source-copyright-undefined (source): license-problem-undefined-license unknown [debian/copyright:14] +source-copyright-undefined (source): license-problem-undefined-license unknow [debian/copyright:19] +source-copyright-undefined (source): license-problem-undefined-license undefined license [debian/copyright:42] +source-copyright-undefined (source): license-problem-undefined-license undefined [debian/copyright:48] +source-copyright-undefined (source): license-problem-undefined-license todo [debian/copyright:24] +source-copyright-undefined (source): license-problem-undefined-license fixme [debian/copyright:8] +source-copyright-undefined (source): license-problem-undefined-license - [debian/copyright:36] +source-copyright-undefined (source): license-problem-undefined-license - [debian/copyright:30] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-undefined/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright new file mode 100644 index 0000000..1f88946 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ +License: some-license + some license + +Files: * +Copyright: 2014, somebody1 +License: some-license + +Files: code +Copyright: none +License: public-domain + this work is PD because I say so + +Files: code2 +Copyright: none +License: public-domain + this work is also in the public domain + +Files: debian/* +Copyright: 2014, somebody1 +License: other-license + this is a valid license short name + +Files: NEWS +Copyright: 2014, somebody1 +License: other-license + this is a valid license short name 3 + +License: other-license + other-license + +License: other-license + other-license 2 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values new file mode 100644 index 0000000..f730d09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-unique +Description: Test if standalone paragraph name are unique diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS new file mode 100644 index 0000000..8a7f3d9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS @@ -0,0 +1 @@ +no news \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README new file mode 100644 index 0000000..1a9d2ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README @@ -0,0 +1 @@ +trivial diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code new file mode 100644 index 0000000..1e2b25a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code @@ -0,0 +1 @@ +simple 3rd party code diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 new file mode 100644 index 0000000..31d7114 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 @@ -0,0 +1 @@ +another simple 3rd party code diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc new file mode 100644 index 0000000..68f492a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-unique +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints new file mode 100644 index 0000000..9474fab --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints @@ -0,0 +1,6 @@ +source-copyright-unique (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:23] +source-copyright-unique (source): unused-license-paragraph-in-dep5-copyright other-license [debian/copyright:35] +source-copyright-unique (source): unused-license-paragraph-in-dep5-copyright other-license [debian/copyright:32] +source-copyright-unique (source): dep5-file-paragraph-references-header-paragraph some-license [debian/copyright:8] +source-copyright-unique (source): dep5-copyright-license-name-not-unique other-license [debian/copyright:35] +source-copyright-unique (source): dep5-copyright-license-name-not-unique other-license [debian/copyright:32] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/debian/copyright new file mode 100644 index 0000000..63e0f4b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format-Specification: http://bzr.debian.org/loggerhead/dep/dep5/trunk/annotate/110/dep5.mdwn +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/fill-values new file mode 100644 index 0000000..a8c3d18 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-unknown-uri +Description: Test for unknown DEP 5-like URI diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/desc new file mode 100644 index 0000000..19eb061 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-unknown-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/hints new file mode 100644 index 0000000..eb7e817 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unknown-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-unknown-uri (source): unknown-copyright-format-uri http://bzr.debian.org/loggerhead/dep/dep5/trunk/annotate/110/dep5.mdwn [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/debian/copyright new file mode 100644 index 0000000..cf66541 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/fill-values new file mode 100644 index 0000000..d6c7346 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-unversioned-uri +Description: Test for unversioned DEP 5-like URI diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/desc new file mode 100644 index 0000000..0ac0fed --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-unversioned-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/hints new file mode 100644 index 0000000..24233ca --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unversioned-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-unversioned-uri (source): unversioned-copyright-format-uri http://dep.debian.net/deps/dep5/ [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/debian/copyright new file mode 100644 index 0000000..4b8947c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/debian/copyright @@ -0,0 +1,22 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Name: Doohickey +Upstream-Maintainer: J. Random Hacker +Upstream-Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2011 J. Random Hacker +License: GPL-2 + This package 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; version 2 dated June, 1991. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in the file `/usr/share/common-licenses/GPL-2'. diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/fill-values new file mode 100644 index 0000000..c25663d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-wiki-uri +Description: Test for wiki.debian.org DEP 5-like URI diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/desc new file mode 100644 index 0000000..62b154c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-wiki-uri +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/hints new file mode 100644 index 0000000..11c2375 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wiki-uri/eval/hints @@ -0,0 +1 @@ +source-copyright-wiki-uri (source): wiki-copyright-format-uri http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/debian/copyright new file mode 100644 index 0000000..e9828d4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/debian/copyright @@ -0,0 +1,43 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: file?with?commas + deb* +Copyright: 2014, somebody1 +Comment: this paragraph is superfluous because all files are matched + by the following paragraphs +License: mylicense + Fixme + +Files: i-do-not-exist +Copyright: 2014, somebody1 +License: mylicense-1 + Fixme + +Files: invalid-escape\n +Copyright: 2014, somebody1 +License: mylicense-2 + Fixme + +Files: debian/* +Copyright: 2014, somebody1 +License: mylicense-3 + Fixme + +Files: + file,with,commas +Copyright: 2014, somebody1 +Comment: this paragraph starts with a newline and ends with a space +License: mylicense-4 + Fixme + +Files: rare-filenames/01-file-with-(something-in-parenthesis).png + rare-filenames/02-or-perhaps-only-one-{-which-causes-a-compile-failure.png + rare-filenames/03-even-]-is-not-safe.png + rare-filenames/04-Perhaps-even-|-will-cause-problems.png + rare-filenames/05-Lets-not-forget-^-and-$-for-added-fun.png +Copyright: 2014, somebody1 +License: mylicense-5 + Fixme diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/fill-values new file mode 100644 index 0000000..4861b6c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-wildcard-matching +Description: Test whether the Files wildcards match all files in the source diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING new file mode 100644 index 0000000..421376d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING @@ -0,0 +1 @@ +dummy diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING.CC-BY-SA-3.0 b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING.CC-BY-SA-3.0 new file mode 100644 index 0000000..421376d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/COPYING.CC-BY-SA-3.0 @@ -0,0 +1 @@ +dummy diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/LICENSE b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/LICENSE new file mode 100644 index 0000000..421376d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/LICENSE @@ -0,0 +1 @@ +dummy diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/file,with,commas b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/file,with,commas new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/i-have-no-copyright-information b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/i-have-no-copyright-information new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/01-file-with-(something-in-parenthesis).png b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/01-file-with-(something-in-parenthesis).png new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/02-or-perhaps-only-one-{-which-causes-a-compile-failure.png b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/02-or-perhaps-only-one-{-which-causes-a-compile-failure.png new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/03-even-]-is-not-safe.png b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/03-even-]-is-not-safe.png new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/04-Perhaps-even-|-will-cause-problems.png b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/04-Perhaps-even-|-will-cause-problems.png new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/05-Lets-not-forget-^-and-$-for-added-fun.png b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/build-spec/orig/rare-filenames/05-Lets-not-forget-^-and-$-for-added-fun.png new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/desc new file mode 100644 index 0000000..660d288 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-wildcard-matching +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/hints new file mode 100644 index 0000000..2fc8b34 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/hints @@ -0,0 +1,7 @@ +source-copyright-wildcard-matching (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:25] +source-copyright-wildcard-matching (source): superfluous-file-pattern invalid-escape\n [debian/copyright:19] +source-copyright-wildcard-matching (source): superfluous-file-pattern i-do-not-exist [debian/copyright:14] +source-copyright-wildcard-matching (source): superfluous-file-pattern file?with?commas [debian/copyright:6] +source-copyright-wildcard-matching (source): superfluous-file-pattern deb* [debian/copyright:6] +source-copyright-wildcard-matching (source): invalid-escape-sequence-in-dep5-copyright \n [debian/copyright:19] +source-copyright-wildcard-matching (source): file-without-copyright-information i-have-no-copyright-information [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-wildcard-matching/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2d380f5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + * This line has a speling error. + - This line has the same speling error, but we should only + get one tag for it. + * Corrected spelling: abov -> above. + * Corrected typo: abov -> above. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/copyright new file mode 100644 index 0000000..30cbe5c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This duplicate duplicate word should not trigger. (re. #897402) + +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2010 Russ Allbery + +This text should not generate a spelling error for "ment": + + computer software documentation," as such terms are used in + 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- + ment only as a commercial end item. Consistent with 48 C.F.R. + 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), + +But deafult is still a spelling error. + +This text should not generate a spelling error for the duplicate "a" (re. #844166) + + following Attribution Information: (a) a copyright notice including the name diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/doc-base new file mode 100644 index 0000000..3839a9b --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/doc-base @@ -0,0 +1,9 @@ +Document: spelling-general +Title: Check for debian doc-base spelling errors +Author: Russ Allbery +Abstract: This control file exercises, picky, speling error checks for + Debian doc-base files, such as meta-package. +Section: Programming + +Format: text +Files: /usr/share/doc/spelling-general/copyright diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/add-readme new file mode 100644 index 0000000..b1647ba --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/add-readme @@ -0,0 +1,8 @@ +This is a deliberate speling error. duplicate + +duplicate + +--- upstream.orig/README ++++ upstream/README +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/nonrel new file mode 100644 index 0000000..48e7740 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/nonrel @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; description mentions typo) + +--- upstream.orig/nonrel ++++ upstream/nonrel +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/series new file mode 100644 index 0000000..0bfb03d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/series @@ -0,0 +1,3 @@ +add-readme +spelling +nonrel diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/spelling new file mode 100644 index 0000000..29b9cfd --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/debian/patches/spelling @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; filename match) + +--- upstream.orig/spelling ++++ upstream/spelling +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/fill-values new file mode 100644 index 0000000..1c8c790 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: spelling-general +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: General checks for spelling errors diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/desc b/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/desc new file mode 100644 index 0000000..bb19368 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-general +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/hints b/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/hints new file mode 100644 index 0000000..6ec43c5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/spelling-general/eval/hints @@ -0,0 +1 @@ +spelling-general (source): no-dep5-copyright [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/debian/copyright new file mode 100644 index 0000000..b6f6c00 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/debian/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Lintian +Upstream-Contact: +Source: http://lintian.debian.org +Comment: This is part of the testsuite of lintian. + See the file debian/copyright + in the lintian source directory for more details. + +Files: * +Copyright: + 2008 Frank Lichtenheld + 2009 Russ Allbery + 2018 Felix Lechner +License: GPL-2+ + This program is free software; you may 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, or (at your option) + any later version. + . + TAB FOLLOWS. + . + PARAGRAPH INDENTED WITH TAB. + . + TAB PRECEDES. + . + 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. See the GNU General Public License + for more details. + . + A copy of the GNU General Public License version 2 is available as + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux distribution + or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. + You can also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/fill-values new file mode 100644 index 0000000..c815b61 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: tab-in-license-text +Description: Test for disallowed tab character in DEP-5 long license text diff --git a/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/desc b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/desc new file mode 100644 index 0000000..be68783 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/desc @@ -0,0 +1,2 @@ +Testname: tab-in-license-text +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/hints b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/hints new file mode 100644 index 0000000..b3655d2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/tab-in-license-text/eval/hints @@ -0,0 +1 @@ +tab-in-license-text (source): tab-in-license-text [debian/copyright:14] diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/rules b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/rules new file mode 100644 index 0000000..1ecb975 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +DESTDIR = debian/$(shell dh_listpackages) +APPSYNC_DIR=$(DESTDIR)/usr/share/metainfo/ +UDEV_DIR=$(DESTDIR)/lib/udev/rules.d/ + +%: + dh $@ + +override_dh_install: + dh_install + install -m 0644 debian/udev-rules.metadata.xml $(APPSYNC_DIR) + ln -s dangling $(UDEV_DIR)/60-dangling-symlink.rules diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.dirs b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.dirs new file mode 100644 index 0000000..d0cd146 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.dirs @@ -0,0 +1,2 @@ +lib/udev/rules.d +usr/share/metainfo diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.metadata.xml b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.metadata.xml new file mode 100644 index 0000000..2564e98 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.metadata.xml @@ -0,0 +1,22 @@ + + + udev-rules + MIT + lintian udev-rules test + Test udev related checks in lintian + +

+ 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. +

+
+ + usb:v0000p0001d* + usb:v0000p0002d* + usb:v0000p0003d* + usb:v0000p0004d* + usb:v0000p000Ad* + +
diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.udev b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.udev new file mode 100644 index 0000000..e35482d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/debian/udev-rules.udev @@ -0,0 +1,25 @@ +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0001", \ + MODE="0666" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0002", \ + MODE="0660", GROUP="plugdev" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0003", \ + TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0004", \ + MODE="0660", GROUP="plugdev", TAG+="uaccess" + +ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="0005", \ + MODE="0660", GROUP="plugdev", TAG+="uaccess" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0000", ATTR{idProduct}=="000a", \ + ID_TEST_DEVICE="1" + +SUBSYSTEM!="usb", GOTO="target" +ENV{DEVTYPE}!="usb_device", GOTO="target" +ATTR{idVendor}=="0000", ATTR{idProduct}=="0000", RUN+="missing-subsystem-false-positive" +LABEL="target" + +# Ensure we trigger this one after a GOTO +ATTR{idVendor}=="0000", ATTR{idProduct}=="0000", RUN+="missing-subsystem" diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/fill-values new file mode 100644 index 0000000..6463c54 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: udev-rules +Description: Check udev rules for mistakes diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/desc b/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/desc new file mode 100644 index 0000000..3d6a92e --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/desc @@ -0,0 +1,2 @@ +Testname: udev-rules +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/hints b/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/hints new file mode 100644 index 0000000..291b20d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/udev-rules/eval/hints @@ -0,0 +1 @@ +udev-rules (source): inconsistent-appstream-metadata-license debian/udev-rules.metadata.xml (mit != gpl-2+) [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright new file mode 100644 index 0000000..4fd9937 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright @@ -0,0 +1,21 @@ +# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905747#5 +# but split up for each of the two conditions +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: (C) 2018 Niels Thykier +License: License1 + +Files: debian/patches/* +Copyright: (C) 2019 Niels Thykier +License: License1 + +Files: debian/* +Copyright: (C) 2018 Niels Thykier +License: License2 + +License: License1 + Please call the author for this license. + +License: License2 + Please call the author for this license. diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch new file mode 100644 index 0000000..294a68c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch @@ -0,0 +1 @@ +A PATCH diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values new file mode 100644 index 0000000..79c5734 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: wildcard-out-of-order +Description: Wildcards not ordered by depth in the directory tree diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file new file mode 100644 index 0000000..fadb157 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file @@ -0,0 +1 @@ +A FILE diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc new file mode 100644 index 0000000..ffd1a6d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc @@ -0,0 +1,3 @@ +Testname: wildcard-out-of-order +Check: debian/copyright/dep5 +See-Also: Bug#905747 diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints new file mode 100644 index 0000000..e2ec0eb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints @@ -0,0 +1,3 @@ +wildcard-out-of-order (source): update-debian-copyright 2019 vs CHANGELOG-YEAR [debian/copyright:10] +wildcard-out-of-order (source): superfluous-file-pattern debian/patches/* [debian/copyright:9] +wildcard-out-of-order (source): globbing-patterns-out-of-order debian/patches/* debian/* debian/patches/a.patch [debian/copyright:13] diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + + + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is (C) 2008, Russ Allbery and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Further changes by Javier Fernandez-Sanguino +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# 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. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" 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 +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +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. +\fBgeneric-dh-make-2008\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. +.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 +generic-dh-make-2008 was written by . +.PP +This manual page was written by Russ Allbery , +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 29, 2008"> + + SECTION"> + rra@debian.org"> + + GENERIC-DH-MAKE-2008"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (but may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows 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 + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/desc b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..35dfeaf --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: debian/copyright +See-Also: + Bug#497347 diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/hints b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..b5417b3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/hints @@ -0,0 +1,5 @@ +generic-dh-make-2008 (binary): helper-templates-in-copyright +generic-dh-make-2008 (binary): copyright-without-copyright-notice +generic-dh-make-2008 (binary): copyright-with-old-dh-make-debian-copyright +generic-dh-make-2008 (binary): copyright-has-url-from-dh_make-boilerplate +generic-dh-make-2008 (binary): copyright-contains-dh_make-todo-boilerplate diff --git a/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/post-test b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/rules b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/fill-values b/t/recipes/checks/debian/copyright/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/orig/README b/t/recipes/checks/debian/copyright/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/debian/copyright/generic-empty/build-spec/pre-build b/t/recipes/checks/debian/copyright/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/debian/copyright/generic-empty/eval/desc b/t/recipes/checks/debian/copyright/generic-empty/eval/desc new file mode 100644 index 0000000..eee49bb --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/generic-empty/eval/hints b/t/recipes/checks/debian/copyright/generic-empty/eval/hints new file mode 100644 index 0000000..4c97d8f --- /dev/null +++ b/t/recipes/checks/debian/copyright/generic-empty/eval/hints @@ -0,0 +1,2 @@ +generic-empty (source): no-debian-copyright-in-source +generic-empty (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..4546c62 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-binary/eval/desc b/t/recipes/checks/debian/copyright/legacy-binary/eval/desc new file mode 100644 index 0000000..060c487 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-binary/eval/hints b/t/recipes/checks/debian/copyright/legacy-binary/eval/hints new file mode 100644 index 0000000..aaada18 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-binary/eval/hints @@ -0,0 +1,2 @@ +binary (binary): possible-gpl-code-linked-with-openssl +binary (binary): old-fsf-address-in-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-binary/eval/post-test b/t/recipes/checks/debian/copyright/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/eval/desc b/t/recipes/checks/debian/copyright/legacy-debconf/eval/desc new file mode 100644 index 0000000..6ea363a --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/eval/hints b/t/recipes/checks/debian/copyright/legacy-debconf/eval/hints new file mode 100644 index 0000000..bed3522 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/eval/hints @@ -0,0 +1,8 @@ +debconf-test-preinst (binary): old-fsf-address-in-copyright-file +debconf-test-preinst (binary): copyright-contains-dh_make-todo-boilerplate +debconf-test-postinst (binary): old-fsf-address-in-copyright-file +debconf-test-postinst (binary): copyright-contains-dh_make-todo-boilerplate +debconf-test-noscripts (binary): old-fsf-address-in-copyright-file +debconf-test-noscripts (binary): copyright-contains-dh_make-todo-boilerplate +debconf-test (binary): old-fsf-address-in-copyright-file +debconf-test (binary): copyright-contains-dh_make-todo-boilerplate diff --git a/t/recipes/checks/debian/copyright/legacy-debconf/eval/post-test b/t/recipes/checks/debian/copyright/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/desc b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..1782fc0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/hints b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..2ebfa16 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/post-test b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + 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: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + 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. diff --git a/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + 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/debian/copyright/legacy-fields/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/debian/copyright/legacy-fields/eval/desc b/t/recipes/checks/debian/copyright/legacy-fields/eval/desc new file mode 100644 index 0000000..10be13b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-fields/eval/hints b/t/recipes/checks/debian/copyright/legacy-fields/eval/hints new file mode 100644 index 0000000..6ce7d6e --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/eval/hints @@ -0,0 +1,2 @@ +fields (binary): no-copyright-file +another-version (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-fields/eval/post-test b/t/recipes/checks/debian/copyright/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-filenames/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/bokmål + 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/debian/copyright/legacy-filenames/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/debian/copyright/legacy-filenames/eval/desc b/t/recipes/checks/debian/copyright/legacy-filenames/eval/desc new file mode 100644 index 0000000..2f3ffb9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-filenames/eval/hints b/t/recipes/checks/debian/copyright/legacy-filenames/eval/hints new file mode 100644 index 0000000..577cfcf --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-filenames/eval/hints @@ -0,0 +1,3 @@ +more-filename-games (binary): no-copyright-file +filenames (binary): no-copyright-file +filename-games (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-filenames/eval/post-test b/t/recipes/checks/debian/copyright/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..3e86b96 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses non-UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/copyright/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/eval/desc b/t/recipes/checks/debian/copyright/legacy-foo++/eval/desc new file mode 100644 index 0000000..0dc67a8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/eval/hints b/t/recipes/checks/debian/copyright/legacy-foo++/eval/hints new file mode 100644 index 0000000..22a97cb --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-foo++/eval/post-test b/t/recipes/checks/debian/copyright/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group +Uploaders: Anyone but Jeroen +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script 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. It may + be an empty package. diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell /dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '</dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat </dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz \ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..234d577 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..b0944ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/hints @@ -0,0 +1 @@ +maintainer-scripts (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/copyright/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/copyright/legacy-relations/eval/desc b/t/recipes/checks/debian/copyright/legacy-relations/eval/desc new file mode 100644 index 0000000..51af737 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-relations/eval/hints b/t/recipes/checks/debian/copyright/legacy-relations/eval/hints new file mode 100644 index 0000000..ee30253 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations-multiple-libs (binary): usr-share-doc-symlink-without-dependency relations +relations (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/legacy-relations/eval/post-test b/t/recipes/checks/debian/copyright/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/copyright/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/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/copyright/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/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/copyright/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/copyright/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/debian/copyright/legacy-scripts/eval/desc b/t/recipes/checks/debian/copyright/legacy-scripts/eval/desc new file mode 100644 index 0000000..10da391 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/eval/hints b/t/recipes/checks/debian/copyright/legacy-scripts/eval/hints new file mode 100644 index 0000000..5ab0622 --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/eval/hints @@ -0,0 +1 @@ +scripts (binary): copyright-file-lacks-pointer-to-perl-license diff --git a/t/recipes/checks/debian/copyright/legacy-scripts/eval/post-test b/t/recipes/checks/debian/copyright/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/copyright/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values new file mode 100644 index 0000000..da1fd11 --- /dev/null +++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: named-copyright-in-source +Description: Builds single package and uses d/$package.copyright as name diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build new file mode 100755 index 0000000..90f1ee3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh + +cd "$1/debian" +mv copyright named-copyright-in-source.copyright diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc new file mode 100644 index 0000000..f3ddca1 --- /dev/null +++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc @@ -0,0 +1,2 @@ +Testname: named-copyright-in-source +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints new file mode 100644 index 0000000..4000c74 --- /dev/null +++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints @@ -0,0 +1 @@ +named-copyright-in-source (source): named-copyright-for-single-installable [debian/named-copyright-in-source.copyright] diff --git a/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/fill-values b/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/fill-values new file mode 100644 index 0000000..013c23c --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-missing +Description: Test for missing copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/pre-build b/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/pre-build new file mode 100755 index 0000000..50ea07f --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-missing/build-spec/pre-build @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/debian/copyright/source-copyright-missing/eval/desc b/t/recipes/checks/debian/copyright/source-copyright-missing/eval/desc new file mode 100644 index 0000000..0cf3873 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-missing +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-missing/eval/hints b/t/recipes/checks/debian/copyright/source-copyright-missing/eval/hints new file mode 100644 index 0000000..73ace17 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-missing/eval/hints @@ -0,0 +1,2 @@ +source-copyright-missing (source): no-debian-copyright-in-source +source-copyright-missing (binary): no-copyright-file diff --git a/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/fill-values new file mode 100644 index 0000000..2b5fdb3 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-symlink +Description: Test for symlinked debian/copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/pre-build b/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/pre-build new file mode 100755 index 0000000..0afeafe --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-symlink/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh +cd "$1/debian" +mv copyright source-copyright-symlink.copyright +ln -sf source-copyright-symlink.copyright copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/desc b/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/desc new file mode 100644 index 0000000..8d47ecf --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-symlink +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/hints b/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/hints new file mode 100644 index 0000000..27b032a --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-symlink/eval/hints @@ -0,0 +1 @@ +source-copyright-symlink (source): debian-copyright-is-symlink [debian/copyright] diff --git a/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/copyright new file mode 100644 index 0000000..049fb78 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/copyright @@ -0,0 +1,56 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker +Source: http://examples.com/doohickey/source/ + +Files: * +Copyright: 2014, somebody1 +License: Fixme + Fixme-license text + + +Files: debian/* +Copyright: 2014, somebody2 +License: unknown + Fixme + +Files: debian/a +Copyright: 2014, somebody2 +License: unknow + Fixme + +Files: debian/b +Copyright: 2014, somebody2 +License: todo + Fixme + +Files: debian/c +comment: some spacing +Copyright: 2014, somebody2 +License: - + Fixme + +Files: debian/d +comment: some spacing +Copyright: 2014, somebody2 +License: - + Fixme + +Files: debian/e +Comment: too many false positive with space +Copyright: 2014, somebody2 +License: undefined license + Fixme + +Files: debian/f +comment: some spacing +Copyright: 2014, somebody2 +License: undefined + Fixme + +Files: debian/g +comment: false positive +Copyright: 2014, somebody2 +License: common public license - v 1.0 + Fixme + diff --git a/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/plus+file b/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/debian/plus+file new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/fill-values b/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/fill-values new file mode 100644 index 0000000..9588707 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-undefined/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-undefined +Description: Test for fixme/todo/unknown diff --git a/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/desc b/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/desc new file mode 100644 index 0000000..7fa8574 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-undefined +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/hints b/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/hints new file mode 100644 index 0000000..cff9e45 --- /dev/null +++ b/t/recipes/checks/debian/copyright/source-copyright-undefined/eval/hints @@ -0,0 +1 @@ +source-copyright-undefined (binary): spelling-error-in-copyright unknow unknown diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2d380f5 --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + * This line has a speling error. + - This line has the same speling error, but we should only + get one tag for it. + * Corrected spelling: abov -> above. + * Corrected typo: abov -> above. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/copyright new file mode 100644 index 0000000..30cbe5c --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This duplicate duplicate word should not trigger. (re. #897402) + +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2010 Russ Allbery + +This text should not generate a spelling error for "ment": + + computer software documentation," as such terms are used in + 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- + ment only as a commercial end item. Consistent with 48 C.F.R. + 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), + +But deafult is still a spelling error. + +This text should not generate a spelling error for the duplicate "a" (re. #844166) + + following Attribution Information: (a) a copyright notice including the name diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/doc-base new file mode 100644 index 0000000..3839a9b --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/doc-base @@ -0,0 +1,9 @@ +Document: spelling-general +Title: Check for debian doc-base spelling errors +Author: Russ Allbery +Abstract: This control file exercises, picky, speling error checks for + Debian doc-base files, such as meta-package. +Section: Programming + +Format: text +Files: /usr/share/doc/spelling-general/copyright diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/add-readme new file mode 100644 index 0000000..b1647ba --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/add-readme @@ -0,0 +1,8 @@ +This is a deliberate speling error. duplicate + +duplicate + +--- upstream.orig/README ++++ upstream/README +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/nonrel new file mode 100644 index 0000000..48e7740 --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/nonrel @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; description mentions typo) + +--- upstream.orig/nonrel ++++ upstream/nonrel +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/series new file mode 100644 index 0000000..0bfb03d --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/series @@ -0,0 +1,3 @@ +add-readme +spelling +nonrel diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/spelling new file mode 100644 index 0000000..29b9cfd --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/debian/patches/spelling @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; filename match) + +--- upstream.orig/spelling ++++ upstream/spelling +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/copyright/spelling-general/build-spec/fill-values b/t/recipes/checks/debian/copyright/spelling-general/build-spec/fill-values new file mode 100644 index 0000000..1c8c790 --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: spelling-general +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: General checks for spelling errors diff --git a/t/recipes/checks/debian/copyright/spelling-general/eval/desc b/t/recipes/checks/debian/copyright/spelling-general/eval/desc new file mode 100644 index 0000000..62005c6 --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-general +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/spelling-general/eval/hints b/t/recipes/checks/debian/copyright/spelling-general/eval/hints new file mode 100644 index 0000000..66eb250 --- /dev/null +++ b/t/recipes/checks/debian/copyright/spelling-general/eval/hints @@ -0,0 +1 @@ +spelling-general (binary): spelling-error-in-copyright deafult default diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/config b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/config new file mode 100644 index 0000000..fdec12b --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/config @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +# Forget to load the confmodule +# . /usr/share/debconf/confmodule + + +db_input low debconf/note-abuse +db_go + + +db_input unknown debconf/unknown-priority +db_go + +db_fset debconf/deprecated-default isdefault true + +db_input low debconf/deprecated-default +db_go + +db_input low debconf/translated +db_go diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/da.po b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/da.po new file mode 100644 index 0000000..d659394 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/da.po @@ -0,0 +1,42 @@ +# Danish translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-01 22:49+0200\n" +"PO-Revision-Date: 2012-07-23 23:08+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: Danish\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Ubrugelig note" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "This is a note abuse" +msgstr "Dette er et note misbrug" + +#. Type: error +#. Description +#: ../templates:3001 +msgid "Invoked with unknown debconf priority" +msgstr "Kaldt med ukendt debconf prioritet" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this use deprecated?" +msgstr "Er denne brug forældet?" diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..2107421 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/po/templates.pot @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-01 22:49+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "This is a note abuse" +msgstr "" + +#. Type: error +#. Description +#: ../templates:3001 +msgid "Invoked with unknown debconf priority" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this use deprecated?" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/templates new file mode 100644 index 0000000..5097b3a --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/debian/templates @@ -0,0 +1,15 @@ +Template: debconf/translated +Type: error +_Description: Useless note + +Template: debconf/note-abuse +Type: note +_Description: This is a note abuse + +Template: debconf/unknown-priority +Type: error +_Description: Invoked with unknown debconf priority + +Template: debconf/deprecated-default +Type: boolean +_Description: Is this use deprecated? diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/fill-values new file mode 100644 index 0000000..bf494b1 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-config-general +Description: Test for various debconf config issues diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/eval/desc b/t/recipes/checks/debian/debconf/debconf-config-general/eval/desc new file mode 100644 index 0000000..e2a46b0 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-config-general +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-config-general/eval/hints b/t/recipes/checks/debian/debconf/debconf-config-general/eval/hints new file mode 100644 index 0000000..73b5290 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-general/eval/hints @@ -0,0 +1,4 @@ +debconf-config-general (binary): unknown-debconf-priority unknown [config:12] +debconf-config-general (binary): possible-debconf-note-abuse debconf/note-abuse [config:8] +debconf-config-general (binary): isdefault-flag-is-deprecated [config:15] +debconf-config-general (binary): config-does-not-load-confmodule [config] diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/config b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/config new file mode 100644 index 0000000..d429f9b --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/config @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/control.in b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/control.in new file mode 100644 index 0000000..68a964d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/rules b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/rules new file mode 100755 index 0000000..558750b --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +TMP=debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_builddeb: + chmod 0644 "$(TMP)/DEBIAN/config" + dh_builddeb diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/fill-values new file mode 100644 index 0000000..3ea2f84 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debconf-config-not-executable +Description: Test for debian/config not being executable +Extra-Build-Depends: dpkg (<< 1.19.0) +# dpkg 1.19.0 will error out due to https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=cd791ccf8117398ea765eda3a92db52a9cf04c23 diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/desc b/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/desc new file mode 100644 index 0000000..be30442 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/desc @@ -0,0 +1,3 @@ +Testname: debconf-config-not-executable +Check: debian/debconf +# dpkg 1.19.0 will error out due to https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=cd791ccf8117398ea765eda3a92db52a9cf04c23 diff --git a/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/hints b/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/hints new file mode 100644 index 0000000..e5b6aaa --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-config-not-executable/eval/hints @@ -0,0 +1,4 @@ +debconf-config-not-executable (binary): postinst-does-not-load-confmodule +debconf-config-not-executable (binary): no-debconf-templates +debconf-config-not-executable (binary): debconf-config-not-executable +debconf-config-not-executable (binary): control-file-has-bad-permissions config 0644 != 0755 diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/install b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/install new file mode 100644 index 0000000..28c8417 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/install @@ -0,0 +1 @@ +script usr/share/lintian diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/da.po b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/da.po new file mode 100644 index 0000000..343c3e8 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/da.po @@ -0,0 +1,25 @@ +# Danish translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-25 11:04+0200\n" +"PO-Revision-Date: 2012-07-23 23:08+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: Danish\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Ubrugelig note" + diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..fd4f94f --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/po/templates.pot @@ -0,0 +1,25 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-25 11:04+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/templates new file mode 100644 index 0000000..a45cfa3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/debian/templates @@ -0,0 +1,4 @@ +Template: debconf/translated +Type: error +_Description: Useless note + diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/fill-values new file mode 100644 index 0000000..98b6768 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-is-not-registry +Description: Test for using debconf as a registry diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/config-gen.pl b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/config-gen.pl new file mode 100644 index 0000000..e6588b7 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/config-gen.pl @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +# Helper script to generate d/config from d/templates. +# It is just here to make sure all templates are "used". + +use strict; +use warnings; + +print < ) { + + if ($line =~ /^Template:\s*(\S+)\s*$/) { + + my $template = $1; + next + unless defined $template; + + print "db_input high $template || true\n"; + print "db_go\n\n"; + } +} + +exit 0; diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/gen-source.mk b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/gen-source.mk new file mode 100755 index 0000000..f6f5975 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/gen-source.mk @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +all: debian/config + +debian/config: debian/templates + perl config-gen.pl < $< > $@ + + diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/script b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/script new file mode 100755 index 0000000..3a05d3a --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/orig/script @@ -0,0 +1,6 @@ +#!/bin/sh + +. /usr/share/debconf/confmodule + +db_get debconf/translated +db_go diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/pre-build b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/pre-build new file mode 100755 index 0000000..bfcb477 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh + +DIR="$1" +make --silent -C "$DIR" -f "$DIR/gen-source.mk" all diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/desc b/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/desc new file mode 100644 index 0000000..c4cd0cd --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-is-not-registry +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/hints b/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/hints new file mode 100644 index 0000000..117dfba --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-is-not-registry/eval/hints @@ -0,0 +1 @@ +debconf-is-not-registry (binary): debconf-is-not-a-registry [usr/share/lintian/script:3] diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/config b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/config new file mode 100644 index 0000000..9659eb3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/config @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get debconf/translated +db_go + diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/da.po b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/da.po new file mode 100644 index 0000000..e7cceb3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/da.po @@ -0,0 +1,24 @@ +# Danish translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-23 23:07+0200\n" +"PO-Revision-Date: 2012-07-23 23:08+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: Danish\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Ubrugelig note" diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..3edd4a9 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/po/templates.pot @@ -0,0 +1,24 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-23 23:07+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postinst new file mode 100644 index 0000000..df9df64 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +db_input low debconf/translated +db_go + + diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postrm b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postrm new file mode 100644 index 0000000..5169df8 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ -f /usr/share/debconf/confmodule.sh ] ; then + . /usr/share/debconf/confmodule.sh + # no debconf purging +fi diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/preinst b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/preinst new file mode 100644 index 0000000..8d41696 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get debconf/translated || true +db_go + +#DEBHELPER# + diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/rules b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/rules new file mode 100644 index 0000000..e1f0e1b --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +PKG=debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_builddeb: + # Manually copy the scripts - otherwise debhelper with insert + # the "correct magic" in each of them. + cp -a debian/preinst debian/postinst debian/postrm "$(PKG)/DEBIAN" + chmod 0755 "$(PKG)/DEBIAN/preinst" "$(PKG)/DEBIAN/postinst" \ + "$(PKG)/DEBIAN/postrm" + sed -i '/#DEBHELPER#/ d' "$(PKG)/DEBIAN/preinst" \ + "$(PKG)/DEBIAN/postinst" "$(PKG)/DEBIAN/postrm" + dh_builddeb diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/templates new file mode 100644 index 0000000..a45cfa3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/debian/templates @@ -0,0 +1,4 @@ +Template: debconf/translated +Type: error +_Description: Useless note + diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/fill-values new file mode 100644 index 0000000..6f558ec --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-maintscripts-deps +Description: Test for various debconf maintscripts and dep issues diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/desc b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/desc new file mode 100644 index 0000000..aac2cc6 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-maintscripts-deps +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/hints b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/hints new file mode 100644 index 0000000..3c1fb67 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-maintscripts-deps/eval/hints @@ -0,0 +1,5 @@ +debconf-maintscripts-deps (binary): postrm-does-not-purge-debconf [postrm] +debconf-maintscripts-deps (binary): postinst-uses-db-input [postinst:5] +debconf-maintscripts-deps (binary): postinst-does-not-load-confmodule [postinst] +debconf-maintscripts-deps (binary): missing-debconf-dependency-for-preinst +debconf-maintscripts-deps (binary): loads-obsolete-confmodule /usr/share/debconf/confmodule.sh [postrm:5] diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/da.po b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/da.po new file mode 100644 index 0000000..343c3e8 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/da.po @@ -0,0 +1,25 @@ +# Danish translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-25 11:04+0200\n" +"PO-Revision-Date: 2012-07-23 23:08+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: Danish\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Ubrugelig note" + diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..fd4f94f --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/po/templates.pot @@ -0,0 +1,25 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-07-25 11:04+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/rules b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/rules new file mode 100644 index 0000000..f8e47a0 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_gencontrol: + sed -i '/^misc:Depends=/ d' debian/*substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/templates new file mode 100644 index 0000000..a45cfa3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/debian/templates @@ -0,0 +1,4 @@ +Template: debconf/translated +Type: error +_Description: Useless note + diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/fill-values new file mode 100644 index 0000000..bc71e44 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-missing-dep +Description: Test for missing debconf dependency diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/config-gen.pl b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/config-gen.pl new file mode 100644 index 0000000..e6588b7 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/config-gen.pl @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +# Helper script to generate d/config from d/templates. +# It is just here to make sure all templates are "used". + +use strict; +use warnings; + +print < ) { + + if ($line =~ /^Template:\s*(\S+)\s*$/) { + + my $template = $1; + next + unless defined $template; + + print "db_input high $template || true\n"; + print "db_go\n\n"; + } +} + +exit 0; diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/gen-source.mk b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/gen-source.mk new file mode 100755 index 0000000..f6f5975 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/orig/gen-source.mk @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +all: debian/config + +debian/config: debian/templates + perl config-gen.pl < $< > $@ + + diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/pre-build b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/pre-build new file mode 100755 index 0000000..bfcb477 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh + +DIR="$1" +make --silent -C "$DIR" -f "$DIR/gen-source.mk" all diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/desc b/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/desc new file mode 100644 index 0000000..baab935 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-missing-dep +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/hints b/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/hints new file mode 100644 index 0000000..4f4dcf5 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-missing-dep/eval/hints @@ -0,0 +1 @@ +debconf-missing-dep (binary): missing-debconf-dependency diff --git a/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/config b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/config new file mode 100644 index 0000000..6f264ea --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/config @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/postinst new file mode 100644 index 0000000..0ae7a18 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +#DEBHELPER# diff --git a/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/fill-values new file mode 100644 index 0000000..7075c56 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-no-templates/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-no-templates +Description: Test for missing debconf templates diff --git a/t/recipes/checks/debian/debconf/debconf-no-templates/eval/desc b/t/recipes/checks/debian/debconf/debconf-no-templates/eval/desc new file mode 100644 index 0000000..f1d7d8e --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-no-templates/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-no-templates +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-no-templates/eval/hints b/t/recipes/checks/debian/debconf/debconf-no-templates/eval/hints new file mode 100644 index 0000000..dac69aa --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-no-templates/eval/hints @@ -0,0 +1 @@ +debconf-no-templates (binary): no-debconf-templates diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/config b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/config new file mode 100644 index 0000000..6f264ea --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/config @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/templates new file mode 100644 index 0000000..adf2ece --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/debian/templates @@ -0,0 +1,3 @@ +Template: debconf/syntax-error +Type: note +Description whoops, I forgot a colon diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/fill-values new file mode 100644 index 0000000..2197de4 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-syntax-error +Description: Test for syntax error in debconf files diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/desc b/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/desc new file mode 100644 index 0000000..075c037 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-syntax-error +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/hints b/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/hints new file mode 100644 index 0000000..d48999c --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-syntax-error/eval/hints @@ -0,0 +1,2 @@ +debconf-syntax-error (source): syntax-error-in-debconf-template Cannot parse line 3: Description whoops, I forgot a colon [debian/templates] +debconf-syntax-error (binary): syntax-error-in-debconf-template Cannot parse line 3: Description whoops, I forgot a colon [templates] diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/control.in b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/control.in new file mode 100644 index 0000000..1140f19 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, cdebconf +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. diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en.po b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en.po new file mode 100644 index 0000000..0734922 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en.po @@ -0,0 +1,241 @@ +# English translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: 2012-10-01 22:54+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: English\n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Useless note" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "left, right, up, down" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "Pick the odd one out" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "Missing template field." + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "Is this a bad template?" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "Missing type" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "Template with unknown type" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "How do you like the default?" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "On a scale of \"false\" to \"true\"." + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "A boolean type would have been better" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "Preference" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "Missing a Choices field" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "Duplicate long description" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "Is the field below unknown?" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "What is the name of this package checker:" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "Select either x or y" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "Lintian is the best!" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "Do you like sakana?" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "Or do you prefer sake?" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "Aren't you tired of all these debconf prompts?" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" +"This template has a very long short description, is that what you call an " +"oxymoron?" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "I think Lintian is the best" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "Do you like Lintian?" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "Pick \"yes\" if you do." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "Name the title of this song:" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." + +#. Type: entropy +#. Description +#: ../templates:23001 +#| msgid "Template with unknown type" +msgid "Template with entropy type" +msgstr "Template with unknown type" diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en_US.po b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en_US.po new file mode 100644 index 0000000..450a03c --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/en_US.po @@ -0,0 +1,223 @@ +# English translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: 2012-10-01 22:54+0200\n" +"Last-Translator: Russ Allbery \n" +"Language-Team: English \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "" + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" + +#. Type: entropy +#. Description +#: ../templates:23001 +msgid "Template with entropy type" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..b7f5a7b --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/po/templates.pot @@ -0,0 +1,223 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "" + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" + +#. Type: entropy +#. Description +#: ../templates:23001 +msgid "Template with entropy type" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/postinst b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/templates b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/templates new file mode 100644 index 0000000..46ca184 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/debian/templates @@ -0,0 +1,124 @@ +Template: debconf/translated +Type: error +_Description: Useless note + +Template: debconf/unsplit-choices +Type: select +_Choices: left, right, up, down +_Description: Pick the odd one out + +Type: text +_Description: Missing template field. + +Template: debconf-malformed-template +Type: boolean +_Description: Is this a bad template? + +Template: debconf/no-type +_Description: Missing type + +Template: debconf/unknown-type +Type: lintian +_Description: Template with unknown type + +Template: debconf/boolean-bogus-default +Type: boolean +Default: lintian +_Description: How do you like the default? + On a scale of "false" to "true". + +Template: debconf/select-boolean-choice +Type: select +Choices: yes, no +_Description: A boolean type would have been better + +Template: debconf/select-empty-trans-choices +Type: select +Choices: sakana, sake +Choices-Da: +_Description: Preference + +Template: debconf/select-without-choices +Type: select +_Description: Missing a Choices field + +Template: debconf/no-description +Type: error + +Template: debconf/duplicate-long-desc +Type: error +_Description: Duplicate long description + Duplicate long description + +Template: debconf/unknown-field +Type: boolean +_Description: Is the field below unknown? +Unknown-field: yes, it is. + +Template: debconf/malformed-prompt +Type: string +_Description: What is the name of this package checker: + +Template: debconf/imperative-select +Type: select +Choices: x,y +_Description: Select either x or y + +Template: debconf/malformed-question +Type: boolean +_Description: Lintian is the best! + +Template: debconf/question-in-extended +Type: boolean +_Description: Do you like sakana? + Or do you prefer sake? + +Template: debconf/malformed-note-title +Type: note +_Description: Aren't you tired of all these debconf prompts? + +Template: debconf/too-long-short-desc +Type: boolean +_Description: This template has a very long short description, is that what you call an oxymoron? + +Template: debconf/first-person +Type: select +Choices: lintian, no-lintian +_Description: I think Lintian is the best + +Template: debconf/assumption +Type: boolean +_Description: Do you like Lintian? + Pick "yes" if you do. + +Template: debconf/5-green-bottles-on-the-wall +Type: string +_Description: Name the title of this song: + Five green bottles sitting on the wall, + Five green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be four green bottles sitting on the wall. + . + Four green bottles sitting on the wall, + Four green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be three green bottles sitting on the wall. + . + Three green bottles sitting on the wall, + Three green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be two green bottles sitting on the wall. + . + Two green bottles sitting on the wall, + Two green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be one green bottle sitting on the wall. + . + One green bottle sitting on the wall, + One green bottle sitting on the wall, + And if one green bottle should accidentally fall, + There'll be no green bottles sitting on the wall. + +Template: debconf/entropy-type +Type: entropy +_Description: Template with entropy type diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/fill-values new file mode 100644 index 0000000..2018d2c --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-templates-general +Description: Test for various debconf template issues diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/config-gen.pl b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/config-gen.pl new file mode 100644 index 0000000..e6588b7 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/config-gen.pl @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +# Helper script to generate d/config from d/templates. +# It is just here to make sure all templates are "used". + +use strict; +use warnings; + +print < ) { + + if ($line =~ /^Template:\s*(\S+)\s*$/) { + + my $template = $1; + next + unless defined $template; + + print "db_input high $template || true\n"; + print "db_go\n\n"; + } +} + +exit 0; diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/gen-source.mk b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/gen-source.mk new file mode 100755 index 0000000..f6f5975 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/orig/gen-source.mk @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +all: debian/config + +debian/config: debian/templates + perl config-gen.pl < $< > $@ + + diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/pre-build b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/pre-build new file mode 100755 index 0000000..bfcb477 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh + +DIR="$1" +make --silent -C "$DIR" -f "$DIR/gen-source.mk" all diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/eval/desc b/t/recipes/checks/debian/debconf/debconf-templates-general/eval/desc new file mode 100644 index 0000000..4e1bb81 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-templates-general +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-templates-general/eval/hints b/t/recipes/checks/debian/debconf/debconf-templates-general/eval/hints new file mode 100644 index 0000000..908230a --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-templates-general/eval/hints @@ -0,0 +1,22 @@ +debconf-templates-general (source): template-uses-unsplit-choices debconf/unsplit-choices [debian/templates:7] +debconf-templates-general (binary): using-question-in-extended-description-in-templates debconf/question-in-extended [templates:91] +debconf-templates-general (binary): using-imperative-form-in-templates debconf/imperative-select [templates:81] +debconf-templates-general (binary): using-first-person-in-templates debconf/first-person [templates:109] +debconf-templates-general (binary): unknown-template-type lintian [templates:27] +debconf-templates-general (binary): unknown-field-in-templates debconf/unknown-field Unknown-field [templates:71] +debconf-templates-general (binary): too-long-short-description-in-templates debconf/too-long-short-desc [templates:103] +debconf-templates-general (binary): too-long-extended-description-in-templates debconf/5-green-bottles-on-the-wall [templates:121] +debconf-templates-general (binary): select-without-choices debconf/select-without-choices [templates:52] +debconf-templates-general (binary): select-with-boolean-choices debconf/select-boolean-choice [templates:41] +debconf-templates-general (binary): no-template-type debconf/no-type [templates:22] +debconf-templates-general (binary): no-template-name [templates:13] +debconf-templates-general (binary): no-template-description debconf/no-description [templates:57] +debconf-templates-general (binary): mismatch-translated-choices debconf/select-empty-trans-choices Choices-Da [templates:47] +debconf-templates-general (binary): malformed-title-in-templates debconf/malformed-note-title [templates:98] +debconf-templates-general (binary): malformed-template-name debconf-malformed-template [templates:17] +debconf-templates-general (binary): malformed-question-in-templates debconf/malformed-question [templates:86] +debconf-templates-general (binary): malformed-prompt-in-templates debconf/malformed-prompt [templates:75] +debconf-templates-general (binary): making-assumptions-about-interfaces-in-templates debconf/assumption [templates:114] +debconf-templates-general (binary): empty-translated-choices debconf/select-empty-trans-choices Choices-Da [templates:47] +debconf-templates-general (binary): duplicate-long-description-in-template debconf/duplicate-long-desc [templates:62] +debconf-templates-general (binary): boolean-template-has-bogus-default debconf/boolean-bogus-default lintian [templates:33] diff --git a/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/dpkg-overrides b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/dpkg-overrides new file mode 100644 index 0000000..250f0b6 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/dpkg-overrides @@ -0,0 +1 @@ +-DBinary="../unpacked/debian/changelog@NULL@" diff --git a/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/fill-values b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/fill-values new file mode 100644 index 0000000..f979196 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: debconf-traversal +Version: 1 +Description: Test for traversal issues via debconf templates diff --git a/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/post-build b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/post-build new file mode 100755 index 0000000..b419dc6 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-traversal/build-spec/post-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="$1" + +perl -pi -e 's/\@NULL\@/\0/g' "$product" diff --git a/t/recipes/checks/debian/debconf/debconf-traversal/eval/desc b/t/recipes/checks/debian/debconf/debconf-traversal/eval/desc new file mode 100644 index 0000000..e4e1548 --- /dev/null +++ b/t/recipes/checks/debian/debconf/debconf-traversal/eval/desc @@ -0,0 +1,3 @@ +Testname: debconf-traversal +Test-Against: syntax-error-in-debconf-template +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/debconf-traversal/eval/hints b/t/recipes/checks/debian/debconf/debconf-traversal/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/eval/desc b/t/recipes/checks/debian/debconf/legacy-debconf/eval/desc new file mode 100644 index 0000000..d6e9b44 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/eval/hints b/t/recipes/checks/debian/debconf/legacy-debconf/eval/hints new file mode 100644 index 0000000..688e979 --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/eval/hints @@ -0,0 +1,49 @@ +debconf-udeb (udeb): unknown-field-in-templates debian-installer/debconf-udeb/title description-de.UTF-8 [templates:4] +debconf-udeb (udeb): unknown-field-in-templates debian-installer/debconf-udeb/title description [templates:3] +debconf-udeb (udeb): missing-debconf-dependency +debconf (source): template-uses-unsplit-choices debconf/testmulti-escape [debian/debconf-test.templates:12] +debconf-test-preinst (binary): unknown-field-in-templates debconf/test description [templates:3] +debconf-test-preinst (binary): possible-debconf-note-abuse debconf/test [preinst:8] +debconf-test-preinst (binary): missing-debconf-dependency-for-preinst +debconf-test-preinst (binary): loads-obsolete-confmodule /usr/share/debconf/confmodule.sh [preinst:4] +debconf-test-postinst (binary): unknown-field-in-templates debconf/test description [templates:3] +debconf-test-postinst (binary): postinst-uses-db-input [postinst:5] +debconf-test-postinst (binary): possible-debconf-note-abuse debconf/test [postinst:5] +debconf-test-postinst (binary): no-debconf-config +debconf-test-noscripts (binary): unused-debconf-template debconf/test [templates:1] +debconf-test-noscripts (binary): unknown-field-in-templates debconf/test description [templates:3] +debconf-test-noscripts (binary): postrm-does-not-purge-debconf postrm +debconf-test-noscripts (binary): no-debconf-config +debconf-test (binary): using-question-in-extended-description-in-templates debconf/testboolean [templates:19] +debconf-test (binary): using-imperative-form-in-templates debconf/should-be-boolean [templates:93] +debconf-test (binary): using-imperative-form-in-templates debconf/1st-person [templates:54] +debconf-test (binary): using-first-person-in-templates debconf/1st-person [templates:54] +debconf-test (binary): unused-debconf-template debconf/translate [templates:67] +debconf-test (binary): unused-debconf-template debconf/teststring [templates:22] +debconf-test (binary): unused-debconf-template debconf/testnote [templates:47] +debconf-test (binary): unused-debconf-template debconf/testmulti-escape [templates:11] +debconf-test (binary): unused-debconf-template debconf/testmulti [templates:5] +debconf-test (binary): unused-debconf-template debconf/testboolean [templates:17] +debconf-test (binary): unused-debconf-template debconf/should-be-no-longer-a-problem [templates:96] +debconf-test (binary): unused-debconf-template debconf/should-be-boolean [templates:90] +debconf-test (binary): unused-debconf-template debconf/no-description [templates:64] +debconf-test (binary): unused-debconf-template debconf/language [templates:79] +debconf-test (binary): unused-debconf-template debconf/internal [templates:58] +debconf-test (binary): unused-debconf-template debconf/error [templates:85] +debconf-test (binary): unused-debconf-template debconf/1st-person [templates:51] +debconf-test (binary): unknown-field-in-templates debconf/test description [templates:3] +debconf-test (binary): unknown-debconf-priority normal [config:10] +debconf-test (binary): unknown-debconf-priority LOW [config:9] +debconf-test (binary): too-long-short-description-in-templates debconf/testnote [templates:49] +debconf-test (binary): too-long-extended-description-in-templates debconf/teststring [templates:24] +debconf-test (binary): select-with-boolean-choices debconf/should-be-boolean [templates:92] +debconf-test (binary): possible-debconf-note-abuse debconf/test [postinst:7] +debconf-test (binary): possible-debconf-note-abuse debconf/test [config:18] +debconf-test (binary): no-template-type debconf/language [templates:79] +debconf-test (binary): no-template-description debconf/no-description [templates:64] +debconf-test (binary): mismatch-translated-choices debconf/testmulti-escape Choices-de.UTF-8 [templates:13] +debconf-test (binary): malformed-title-in-templates debconf/testnote [templates:49] +debconf-test (binary): malformed-question-in-templates debconf/testboolean [templates:19] +debconf-test (binary): malformed-question-in-templates debconf/should-be-no-longer-a-problem [templates:98] +debconf-test (binary): malformed-prompt-in-templates debconf/teststring [templates:24] +debconf-test (binary): making-assumptions-about-interfaces-in-templates debconf/testboolean [templates:19] diff --git a/t/recipes/checks/debian/debconf/legacy-debconf/eval/post-test b/t/recipes/checks/debian/debconf/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/debconf/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/debconf/national-encoding/build-spec/debian/templates b/t/recipes/checks/debian/debconf/national-encoding/build-spec/debian/templates new file mode 100644 index 0000000..9a2dfc1 --- /dev/null +++ b/t/recipes/checks/debian/debconf/national-encoding/build-spec/debian/templates @@ -0,0 +1,3 @@ +Template: debconf/translated +Type: error +_Description: Nicht nützlich diff --git a/t/recipes/checks/debian/debconf/national-encoding/build-spec/fill-values b/t/recipes/checks/debian/debconf/national-encoding/build-spec/fill-values new file mode 100644 index 0000000..d6c7a70 --- /dev/null +++ b/t/recipes/checks/debian/debconf/national-encoding/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: national-encoding +Description: National encoding in debconf template diff --git a/t/recipes/checks/debian/debconf/national-encoding/eval/desc b/t/recipes/checks/debian/debconf/national-encoding/eval/desc new file mode 100644 index 0000000..7350979 --- /dev/null +++ b/t/recipes/checks/debian/debconf/national-encoding/eval/desc @@ -0,0 +1,2 @@ +Testname: national-encoding +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/national-encoding/eval/hints b/t/recipes/checks/debian/debconf/national-encoding/eval/hints new file mode 100644 index 0000000..6869670 --- /dev/null +++ b/t/recipes/checks/debian/debconf/national-encoding/eval/hints @@ -0,0 +1 @@ +national-encoding (binary): no-debconf-config diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/English.po b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/English.po new file mode 100644 index 0000000..e99b822 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/English.po @@ -0,0 +1 @@ +Not a PO file or an English translation. diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..da5857e --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/POTFILES.in @@ -0,0 +1,3 @@ +# This is a comment, which should be ignored. +[type: gettext/rfc822deb] templates +some-other-file diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/de.po b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/de.po new file mode 100644 index 0000000..545fd25 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/de.po @@ -0,0 +1,2 @@ +This is just some random other file that isn't a German translation at +all. diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..420734f --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/po/templates.pot @@ -0,0 +1,30 @@ +msgid "" +msgstr "" +"Project-Id-Version: Lintian 2.4.3\n" +"PO-Revision-Date: +2010-07-25 17:07 -0700\n" +"Last-Translator: Russ Allbery \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Default +#: ../templates:1001 +msgid "foo" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This is a string question used for testing:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This is a second string question:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This one ensures no 100% translation of the template." diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates new file mode 100644 index 0000000..b626825 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates @@ -0,0 +1,10 @@ +Template: po-debconf-general/test +Type: string +_Default: foo +Description: This is a string question used for testing: + +Template: po-debconf-general/test-2 +Type: string +Default: bar +_Description: This is a second string question: + This one ensures no 100% translation of the template. diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates.en_US b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates.en_US new file mode 100644 index 0000000..617a474 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/debian/templates.en_US @@ -0,0 +1,5 @@ +Template: po-debconf-general/test +Type: string +Default: foo +_Description: This is an English translation that shouldn't be in this + directory. diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/fill-values b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/fill-values new file mode 100644 index 0000000..bbcbc61 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: po-debconf-general +Description: General tests for debconf translations diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/eval/desc b/t/recipes/checks/debian/debconf/po-debconf-general/eval/desc new file mode 100644 index 0000000..c4ebe68 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/eval/desc @@ -0,0 +1,2 @@ +Testname: po-debconf-general +Check: debian/debconf diff --git a/t/recipes/checks/debian/debconf/po-debconf-general/eval/hints b/t/recipes/checks/debian/debconf/po-debconf-general/eval/hints new file mode 100644 index 0000000..0d9bd21 --- /dev/null +++ b/t/recipes/checks/debian/debconf/po-debconf-general/eval/hints @@ -0,0 +1,3 @@ +po-debconf-general (binary): unused-debconf-template po-debconf-general/test-2 [templates:6] +po-debconf-general (binary): unused-debconf-template po-debconf-general/test [templates:1] +po-debconf-general (binary): no-debconf-config diff --git a/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/debian/not-forwarded.desktop b/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/debian/not-forwarded.desktop new file mode 100644 index 0000000..7d47ab9 --- /dev/null +++ b/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/debian/not-forwarded.desktop @@ -0,0 +1 @@ +A MENU ENTRY ACCORDING FREEDESKTOP.ORG diff --git a/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/fill-values b/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/fill-values new file mode 100644 index 0000000..3cf49b9 --- /dev/null +++ b/t/recipes/checks/debian/desktop-entries/desktop-file/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: desktop-file +Skeleton: source-non-native +Description: Maintainer keeps a *.desktop menu item in ./debian diff --git a/t/recipes/checks/debian/desktop-entries/desktop-file/eval/desc b/t/recipes/checks/debian/desktop-entries/desktop-file/eval/desc new file mode 100644 index 0000000..0e834a9 --- /dev/null +++ b/t/recipes/checks/debian/desktop-entries/desktop-file/eval/desc @@ -0,0 +1,3 @@ +Testname: desktop-file +Check: debian/desktop-entries +See-Also: social contract item 2, developer-reference 3.1.4, policy 4.3, Bug#755161 diff --git a/t/recipes/checks/debian/desktop-entries/desktop-file/eval/hints b/t/recipes/checks/debian/desktop-entries/desktop-file/eval/hints new file mode 100644 index 0000000..2da647f --- /dev/null +++ b/t/recipes/checks/debian/desktop-entries/desktop-file/eval/hints @@ -0,0 +1 @@ +desktop-file (source): maintainer-desktop-entry [debian/not-forwarded.desktop] diff --git a/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS new file mode 100644 index 0000000..da28de5 --- /dev/null +++ b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS @@ -0,0 +1,62 @@ +unison (2.48.4-3) unstable; urgency=medium + + This version is compiled with a new version of OCaml (4.08.1) and + is incompatible with previous versions of unison shipped in Debian, + in particular the one in Debian 10 (buster). + + -- Stéphane Glondu Tue, 03 Dec 2019 11:38:54 +0100 + +unison (2.40.63-1) experimental; urgency=low + + This new version uses a protocol incompatible with the precedent one + (2.32.52) which was the version available in Debian 6.0 (a.k.a. + "Squeeze"). If you want to synchronize with the previous version of + Unison, use the unison2.32.52 package. + + -- Stéphane Glondu Sat, 14 Jan 2012 11:31:14 +0100 + +unison (2.13.16-1) unstable; urgency=low + + As of version 2.10.2, the package use an alternative to let the user + choose between unison and unison2.9.1 binaries for unison and + unison-gtk. The binaries used in unison and unison-gtk package were + versionned binaries (ie unison2.10.2 and unison2.10.2-gtk). This was a + mistake. When trying to upgrade to new upstream version, former + alternatives were not removed and you keep symlinks to non existent + binaries (ie you stay with unison pointing to unison2.10.2). This + behavior is corrected by using a stable name for unison binaries (ie + unison-latest-stable). + + If you have configured alternatives, you may encounter some problem, + because during upgrade the symlink won't be updated, since it has been + user configured. In this case, you should run "update-alternatives + --auto unison && update-alternatives --auto unison-gtk" to restore the + good behavior. + + -- Sylvain Le Gall Sat, 13 Aug 2005 20:17:11 +0200 + +unison (2.10.2-2) unstable; urgency=low + + Upgrading from version 2.9.1 to 2.10.2 involves a lot of changes. In + particular, most of the configuration of the former stable release + (2.9.1) is no longer valid. Archive format has changed: if you have any + unsynchronized changes when you upgrade to this new archive format, you + have to merge them all by hand. You can also use the new package + unison2.9.1 (which is the former stable release) to synchronise your + old archive before migrating. + + Version 2.10.2 and 2.9.1 are not compatible. You will need to have the + same version of unison on both end of the synchronisation link (ie if + you need to synchronise two computers, you will need to have unison + 2.10.2 on both). + + -- Sylvain Le Gall Mon, 25 Apr 2005 23:06:44 +0200 + +unison (2.10.2-1) unstable; urgency=medium + + With this new stable release, a package split has been made. Now the + package unison will always hold the latest stable release of unison. + If you need to use the former stable release, you will need to install + unison2.9.1, which is a new debian package. + + -- Sylvain Le Gall Tue, 19 Apr 2005 00:08:05 +0200 diff --git a/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..da28de5 --- /dev/null +++ b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/debian/NEWS.Debian @@ -0,0 +1,62 @@ +unison (2.48.4-3) unstable; urgency=medium + + This version is compiled with a new version of OCaml (4.08.1) and + is incompatible with previous versions of unison shipped in Debian, + in particular the one in Debian 10 (buster). + + -- Stéphane Glondu Tue, 03 Dec 2019 11:38:54 +0100 + +unison (2.40.63-1) experimental; urgency=low + + This new version uses a protocol incompatible with the precedent one + (2.32.52) which was the version available in Debian 6.0 (a.k.a. + "Squeeze"). If you want to synchronize with the previous version of + Unison, use the unison2.32.52 package. + + -- Stéphane Glondu Sat, 14 Jan 2012 11:31:14 +0100 + +unison (2.13.16-1) unstable; urgency=low + + As of version 2.10.2, the package use an alternative to let the user + choose between unison and unison2.9.1 binaries for unison and + unison-gtk. The binaries used in unison and unison-gtk package were + versionned binaries (ie unison2.10.2 and unison2.10.2-gtk). This was a + mistake. When trying to upgrade to new upstream version, former + alternatives were not removed and you keep symlinks to non existent + binaries (ie you stay with unison pointing to unison2.10.2). This + behavior is corrected by using a stable name for unison binaries (ie + unison-latest-stable). + + If you have configured alternatives, you may encounter some problem, + because during upgrade the symlink won't be updated, since it has been + user configured. In this case, you should run "update-alternatives + --auto unison && update-alternatives --auto unison-gtk" to restore the + good behavior. + + -- Sylvain Le Gall Sat, 13 Aug 2005 20:17:11 +0200 + +unison (2.10.2-2) unstable; urgency=low + + Upgrading from version 2.9.1 to 2.10.2 involves a lot of changes. In + particular, most of the configuration of the former stable release + (2.9.1) is no longer valid. Archive format has changed: if you have any + unsynchronized changes when you upgrade to this new archive format, you + have to merge them all by hand. You can also use the new package + unison2.9.1 (which is the former stable release) to synchronise your + old archive before migrating. + + Version 2.10.2 and 2.9.1 are not compatible. You will need to have the + same version of unison on both end of the synchronisation link (ie if + you need to synchronise two computers, you will need to have unison + 2.10.2 on both). + + -- Sylvain Le Gall Mon, 25 Apr 2005 23:06:44 +0200 + +unison (2.10.2-1) unstable; urgency=medium + + With this new stable release, a package split has been made. Now the + package unison will always hold the latest stable release of unison. + If you need to use the former stable release, you will need to install + unison2.9.1, which is a new debian package. + + -- Sylvain Le Gall Tue, 19 Apr 2005 00:08:05 +0200 diff --git a/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/fill-values b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/fill-values new file mode 100644 index 0000000..630a0bb --- /dev/null +++ b/t/recipes/checks/debian/filenames/duplicate-news-files/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: duplicate-news-files +Description: Contains both NEWS and NEWS.Debian files. diff --git a/t/recipes/checks/debian/filenames/duplicate-news-files/eval/desc b/t/recipes/checks/debian/filenames/duplicate-news-files/eval/desc new file mode 100644 index 0000000..32c4856 --- /dev/null +++ b/t/recipes/checks/debian/filenames/duplicate-news-files/eval/desc @@ -0,0 +1,3 @@ +Testname: duplicate-news-files +See-Also: #429510, #946126 +Check: debian/filenames diff --git a/t/recipes/checks/debian/filenames/duplicate-news-files/eval/hints b/t/recipes/checks/debian/filenames/duplicate-news-files/eval/hints new file mode 100644 index 0000000..a307101 --- /dev/null +++ b/t/recipes/checks/debian/filenames/duplicate-news-files/eval/hints @@ -0,0 +1 @@ +duplicate-news-files (source): duplicate-packaging-file better: debian/NEWS [debian/NEWS.Debian] diff --git a/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..da28de5 --- /dev/null +++ b/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/debian/NEWS.Debian @@ -0,0 +1,62 @@ +unison (2.48.4-3) unstable; urgency=medium + + This version is compiled with a new version of OCaml (4.08.1) and + is incompatible with previous versions of unison shipped in Debian, + in particular the one in Debian 10 (buster). + + -- Stéphane Glondu Tue, 03 Dec 2019 11:38:54 +0100 + +unison (2.40.63-1) experimental; urgency=low + + This new version uses a protocol incompatible with the precedent one + (2.32.52) which was the version available in Debian 6.0 (a.k.a. + "Squeeze"). If you want to synchronize with the previous version of + Unison, use the unison2.32.52 package. + + -- Stéphane Glondu Sat, 14 Jan 2012 11:31:14 +0100 + +unison (2.13.16-1) unstable; urgency=low + + As of version 2.10.2, the package use an alternative to let the user + choose between unison and unison2.9.1 binaries for unison and + unison-gtk. The binaries used in unison and unison-gtk package were + versionned binaries (ie unison2.10.2 and unison2.10.2-gtk). This was a + mistake. When trying to upgrade to new upstream version, former + alternatives were not removed and you keep symlinks to non existent + binaries (ie you stay with unison pointing to unison2.10.2). This + behavior is corrected by using a stable name for unison binaries (ie + unison-latest-stable). + + If you have configured alternatives, you may encounter some problem, + because during upgrade the symlink won't be updated, since it has been + user configured. In this case, you should run "update-alternatives + --auto unison && update-alternatives --auto unison-gtk" to restore the + good behavior. + + -- Sylvain Le Gall Sat, 13 Aug 2005 20:17:11 +0200 + +unison (2.10.2-2) unstable; urgency=low + + Upgrading from version 2.9.1 to 2.10.2 involves a lot of changes. In + particular, most of the configuration of the former stable release + (2.9.1) is no longer valid. Archive format has changed: if you have any + unsynchronized changes when you upgrade to this new archive format, you + have to merge them all by hand. You can also use the new package + unison2.9.1 (which is the former stable release) to synchronise your + old archive before migrating. + + Version 2.10.2 and 2.9.1 are not compatible. You will need to have the + same version of unison on both end of the synchronisation link (ie if + you need to synchronise two computers, you will need to have unison + 2.10.2 on both). + + -- Sylvain Le Gall Mon, 25 Apr 2005 23:06:44 +0200 + +unison (2.10.2-1) unstable; urgency=medium + + With this new stable release, a package split has been made. Now the + package unison will always hold the latest stable release of unison. + If you need to use the former stable release, you will need to install + unison2.9.1, which is a new debian package. + + -- Sylvain Le Gall Tue, 19 Apr 2005 00:08:05 +0200 diff --git a/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/fill-values b/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/fill-values new file mode 100644 index 0000000..91ce21d --- /dev/null +++ b/t/recipes/checks/debian/filenames/news-has-debian-extension/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: news-has-debian-extension +Description: Contains a NEWS.Debian file. diff --git a/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/desc b/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/desc new file mode 100644 index 0000000..bcecab7 --- /dev/null +++ b/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/desc @@ -0,0 +1,3 @@ +Testname: news-has-debian-extension +See-Also: #429510, #946126, #946041 +Check: debian/filenames diff --git a/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/hints b/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/hints new file mode 100644 index 0000000..7227dd6 --- /dev/null +++ b/t/recipes/checks/debian/filenames/news-has-debian-extension/eval/hints @@ -0,0 +1 @@ +news-has-debian-extension (source): incorrect-packaging-filename better: debian/NEWS [debian/NEWS.Debian] diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/changelog.in b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/changelog.in new file mode 100644 index 0000000..7174e69 --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/control.in b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/control.in new file mode 100644 index 0000000..c4d5304 --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/install b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/install new file mode 100644 index 0000000..47fc6a3 --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/debian/install @@ -0,0 +1 @@ +dummy usr/share/doc/foo/ diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/fill-values b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/fill-values new file mode 100644 index 0000000..faa216c --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-crlf-eols +Package-Architecture: all +Description: Check that control files with CRLF EOLs are reported diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/orig/dummy b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/orig/dummy new file mode 100644 index 0000000..5c3118d --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/build-spec/orig/dummy @@ -0,0 +1 @@ +dummy file diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/desc b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/desc new file mode 100644 index 0000000..36a6eab --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-crlf-eols +Check: debian/line-separators diff --git a/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/hints b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/hints new file mode 100644 index 0000000..b1c59a6 --- /dev/null +++ b/t/recipes/checks/debian/line-separators/cruft-crlf-eols/eval/hints @@ -0,0 +1,2 @@ +cruft-crlf-eols (source): carriage-return-line-feed [debian/control] +cruft-crlf-eols (source): carriage-return-line-feed [debian/changelog] diff --git a/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/debian/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..2bcfb95 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/debian/lintian-overrides @@ -0,0 +1,6 @@ +# This comment will not appear in the output, also the last +# tag should not have a comment due to the empty line between +# it and the one before it. + +# absolutly no context +cute-field diff --git a/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/fill-values new file mode 100644 index 0000000..2a6e91a --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: absolutely-misspelled +Description: Absolutely misspelled in override comment diff --git a/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/desc b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/desc new file mode 100644 index 0000000..5978f59 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/desc @@ -0,0 +1,2 @@ +Testname: absolutely-misspelled +Check: debian/lintian-overrides/comments diff --git a/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/hints b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/hints new file mode 100644 index 0000000..4aa816e --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/absolutely-misspelled/eval/hints @@ -0,0 +1 @@ +absolutely-misspelled (binary): spelling-in-override-comment cute-field absolutly absolutely [usr/share/lintian/overrides/absolutely-misspelled:5] diff --git a/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/debian/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..050ab92 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/debian/lintian-overrides @@ -0,0 +1,6 @@ +# This comment will not appear in the output, also the last +# tag should not have a comment due to the empty line between +# it and the one before it. + +# for postgresql +cute-field diff --git a/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/fill-values new file mode 100644 index 0000000..8aa25ef --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: lowercase-sql +Description: PostgreSQL not properly capitalized in override comment diff --git a/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/desc b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/desc new file mode 100644 index 0000000..3955372 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/desc @@ -0,0 +1,2 @@ +Testname: lowercase-sql +Check: debian/lintian-overrides/comments diff --git a/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/hints b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/hints new file mode 100644 index 0000000..3ed46b3 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/comments/lowercase-sql/eval/hints @@ -0,0 +1 @@ +lowercase-sql (binary): capitalization-in-override-comment cute-field postgresql PostgreSQL [usr/share/lintian/overrides/lowercase-sql:5] diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides new file mode 100644 index 0000000..c2811ff --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +cute-field duplicate-context-cute-field_1.0.dsc arch* +cute-field duplicate-context-cute-field_1.0.dsc arch* diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values new file mode 100644 index 0000000..474697d --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: duplicate-context-cute-field +Skeleton: source-native +Description: Same context used in two overrides diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build new file mode 100755 index 0000000..689ad67 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="$1" + +perl -pi -e 's/^(Architecture:)/\L$1\E/' "$product" diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc new file mode 100644 index 0000000..6e79c37 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc @@ -0,0 +1,2 @@ +Testname: duplicate-context-cute-field +Check: debian/lintian-overrides/duplicate diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints new file mode 100644 index 0000000..ceb0be1 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints @@ -0,0 +1 @@ +duplicate-context-cute-field (source): duplicate-override-context cute-field (lines 1 2) [debian/source/lintian-overrides] diff --git a/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/fill-values new file mode 100644 index 0000000..7521c6c --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-override-misplaced +Description: Check for misplaced override file detection diff --git a/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/orig/Makefile b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/orig/Makefile new file mode 100644 index 0000000..a4c0682 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/build-spec/orig/Makefile @@ -0,0 +1,18 @@ +ROOT = $(DESTDIR)/usr/share/doc/files-override-misplaced + +default: + : + +install: + mkdir -p $(DESTDIR)/usr/share/doc/files-override-misplaced + echo 'files-override-misplaced: some-override' \ + > $(DESTDIR)/usr/share/doc/files-override-misplaced/override.lintian + echo 'files-override-misplaced: some-override' \ + > $(DESTDIR)/usr/share/doc/files-override-misplaced/override.Lintian + gzip -n -9 $(DESTDIR)/usr/share/doc/files-override-misplaced/override.Lintian + mkdir -p $(DESTDIR)/usr/share/lintian/overrides/files-override-misplaced + touch $(DESTDIR)/usr/share/lintian/overrides/files-override-misplaced/some-override + mkdir -p $(DESTDIR)/usr/share/lintian/overrides/wrong-package + touch $(DESTDIR)/usr/share/lintian/overrides/wrong-package/some-override + +.PHONY: clean distclean realclean install check test diff --git a/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/desc b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/desc new file mode 100644 index 0000000..2954af8 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/desc @@ -0,0 +1,2 @@ +Testname: files-override-misplaced +Check: debian/lintian-overrides diff --git a/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/hints b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/hints new file mode 100644 index 0000000..788993e --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/files-override-misplaced/eval/hints @@ -0,0 +1,4 @@ +files-override-misplaced (binary): override-file-in-wrong-package wrong-package [usr/share/lintian/overrides/wrong-package/some-override] +files-override-misplaced (binary): override-file-in-wrong-location [usr/share/lintian/overrides/files-override-misplaced/some-override] +files-override-misplaced (binary): override-file-in-wrong-location [usr/share/doc/files-override-misplaced/override.lintian] +files-override-misplaced (binary): override-file-in-wrong-location [usr/share/doc/files-override-misplaced/override.Lintian.gz] diff --git a/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/debian/source/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/debian/source/lintian-overrides new file mode 100644 index 0000000..19eebe6 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/debian/source/lintian-overrides @@ -0,0 +1 @@ +missing-colon (source) cute-field duplicate-context-cute-field_1.0.dsc arch* diff --git a/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/fill-values new file mode 100644 index 0000000..425ec11 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: missing-colon +Skeleton: source-native +Description: Missing colon in a source override diff --git a/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/desc b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/desc new file mode 100644 index 0000000..2a5f4dc --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/desc @@ -0,0 +1,2 @@ +Testname: missing-colon +Check: debian/lintian-overrides/malformed diff --git a/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/hints b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/hints new file mode 100644 index 0000000..81bace9 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/malformed/missing-colon/eval/hints @@ -0,0 +1 @@ +missing-colon (source): malformed-override Expected a colon [debian/source/lintian-overrides:1] diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in new file mode 100644 index 0000000..88afb0f --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Multi-Arch: same +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. It may + be an empty package. + +Package: [% $source %]-nonrel +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] (false positive) + 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. + . + This is a false-positive. diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values new file mode 100644 index 0000000..085fb2f --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Description: Test for Multi-Arch: same package with arch-specific overrides +Package-Architecture: any diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc new file mode 100644 index 0000000..dce7d2b --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Test-Architectures: amd64 +Check: debian/lintian-overrides/mystery diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints new file mode 100644 index 0000000..a731e06 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints @@ -0,0 +1,2 @@ +fields-multi-arch-same-package-has-arch-specific-overrides-nonrel (binary): alien-tag foo [usr/share/lintian/overrides/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel:1] +fields-multi-arch-same-package-has-arch-specific-overrides (binary): alien-tag foo [usr/share/lintian/overrides/fields-multi-arch-same-package-has-arch-specific-overrides:1] diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/overrides b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/overrides new file mode 100644 index 0000000..fcf6f7b --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/overrides @@ -0,0 +1,2 @@ +lintian-override: +lintian-overrides: copyright-contains-dh_make-todo-boilerplate foo-bar-extra diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/rules b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/rules new file mode 100755 index 0000000..8685ec8 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +pkg=lintian-overrides + +%: + dh $@ + +override_dh_fixperms: + install -D -m 0644 $(CURDIR)/debian/overrides \ + $(CURDIR)/debian/$(pkg)/usr/share/lintian/overrides/$(pkg) + dh_fixperms + diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/fill-values new file mode 100644 index 0000000..b52ea67 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: lintian-overrides +Description: Test the couple of overrides-related tags diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/desc b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/desc new file mode 100644 index 0000000..e99d9d4 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/desc @@ -0,0 +1,2 @@ +Testname: lintian-overrides +Check: debian/lintian-overrides/mystery diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/hints b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/hints new file mode 100644 index 0000000..0b32d54 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/lintian-overrides/eval/hints @@ -0,0 +1 @@ +lintian-overrides (binary): alien-tag lintian-override: [usr/share/lintian/overrides/lintian-overrides:1] diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/install b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/install new file mode 100644 index 0000000..747a313 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/install @@ -0,0 +1 @@ +foo.1 /etc/apt/sources.list.d \ No newline at end of file diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..04ae11b --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/lintian-overrides @@ -0,0 +1,20 @@ +# This comment will not appear in the output, also the last +# tag should not have a comment due to the empty line between +# it and the one before it. + +# override without extra information +manpage-has-bad-whatis-entry +# Architecture specific override +[i386]: FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:6 /usr/etc/ +[!i386]: FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:6 /usr/etc/ +# exact extra information +FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:4 /usr/dict/ +# These are wildcard overrides +FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:2* +FSSTND-dir-in-manual-page */foo.1.gz:5 /usr/doc/ +FSSTND-dir-in-manual-page */foo.1.gz:3* + +# renamed tag +package-install-apt-sources * + +#FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz * more occurrences not shown diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/manpages b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/manpages new file mode 100644 index 0000000..efb5c57 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/debian/manpages @@ -0,0 +1 @@ +foo.1 diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/fill-values new file mode 100644 index 0000000..0facd1c --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: mixed-overrides +Package-Architecture: any +Description: Test override handling diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/orig/foo.1 b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/orig/foo.1 new file mode 100644 index 0000000..233a578 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/build-spec/orig/foo.1 @@ -0,0 +1,32 @@ +.TH FOO 1 "Sep 13, 2008" "Debian GNU/Linux" + +.SH DESCRIPTION +/usr/dict/ +/usr/doc/ +/usr/etc/ + + + + + +/usr/info/ +/usr/man/ +/usr/adm/ + + + + + + +/var/adm/ +/var/catman/ +/var/named/ + + + + + + +/var/nis/ +/var/preserve/ +/usr/preserve/ diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/desc b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/desc new file mode 100644 index 0000000..618dacd --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/desc @@ -0,0 +1,4 @@ +Testname: mixed-overrides +Check: debian/lintian-overrides/mystery +Test-Against: + alien-tag diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/hints b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/hints new file mode 100644 index 0000000..1a22602 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/mixed-overrides/eval/hints @@ -0,0 +1,2 @@ +mixed-overrides (binary): renamed-tag package-install-apt-sources => package-installs-apt-sources [usr/share/lintian/overrides/mixed-overrides:18] +mixed-overrides (binary): renamed-tag manpage-has-bad-whatis-entry => bad-whatis-entry [usr/share/lintian/overrides/mixed-overrides:6] diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/install b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/install new file mode 100644 index 0000000..747a313 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/install @@ -0,0 +1 @@ +foo.1 /etc/apt/sources.list.d \ No newline at end of file diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/manpages b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/manpages new file mode 100644 index 0000000..efb5c57 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/manpages @@ -0,0 +1 @@ +foo.1 diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/overrides-shown.lintian-overrides b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/overrides-shown.lintian-overrides new file mode 100644 index 0000000..bda39f8 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/debian/overrides-shown.lintian-overrides @@ -0,0 +1,21 @@ +# This comment will not appear in the output, also the last +# tag should not have a comment due to the empty line between +# it and the one before it. + +# override without extra information +manpage-has-bad-whatis-entry +# Architecture specific override +[i386]: FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:6 /usr/etc/ +[!i386]: FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:6 /usr/etc/ +# exact extra information +FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:4 /usr/dict/ +# These are wildcard overrides +FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz:2* +FSSTND-dir-in-manual-page */foo.1.gz:5 /usr/doc/ +# Comments in UTF-8: ✓ (☃) +FSSTND-dir-in-manual-page */foo.1.gz:3* + +# renamed tag +package-install-apt-sources * + +#FSSTND-dir-in-manual-page usr/share/man/man1/foo.1.gz * more occurrences not shown diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/fill-values new file mode 100644 index 0000000..ce9e283 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: overrides-shown +Package-Architecture: any +Description: Test override handling diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/orig/foo.1 b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/orig/foo.1 new file mode 100644 index 0000000..233a578 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/build-spec/orig/foo.1 @@ -0,0 +1,32 @@ +.TH FOO 1 "Sep 13, 2008" "Debian GNU/Linux" + +.SH DESCRIPTION +/usr/dict/ +/usr/doc/ +/usr/etc/ + + + + + +/usr/info/ +/usr/man/ +/usr/adm/ + + + + + + +/var/adm/ +/var/catman/ +/var/named/ + + + + + + +/var/nis/ +/var/preserve/ +/usr/preserve/ diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/desc b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/desc new file mode 100644 index 0000000..3c82de2 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/desc @@ -0,0 +1,5 @@ +Testname: overrides-shown +Options: --show-overrides +Check: debian/lintian-overrides/mystery +Test-Against: + alien-tag diff --git a/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/hints b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/hints new file mode 100644 index 0000000..d81abaf --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/mystery/overrides-shown/eval/hints @@ -0,0 +1,2 @@ +overrides-shown (binary): renamed-tag package-install-apt-sources => package-installs-apt-sources [usr/share/lintian/overrides/overrides-shown:19] +overrides-shown (binary): renamed-tag manpage-has-bad-whatis-entry => bad-whatis-entry [usr/share/lintian/overrides/overrides-shown:6] diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/debian/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..deea577 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/debian/lintian-overrides @@ -0,0 +1 @@ +[amd64]: cute-field diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/fill-values new file mode 100644 index 0000000..886cd60 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: amd64-on-arch-all +Skeleton: upload-native +Description: Override with amd64 architecture restriction on an Arch: all installable. diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/desc b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/desc new file mode 100644 index 0000000..a34c828 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/desc @@ -0,0 +1,2 @@ +Testname: amd64-on-arch-all +Check: debian/lintian-overrides/restricted diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/hints b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/hints new file mode 100644 index 0000000..d74e878 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/hints @@ -0,0 +1 @@ +amd64-on-arch-all (binary): invalid-override-restriction Architecture list in Arch:all installable [usr/share/lintian/overrides/amd64-on-arch-all:1] diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/debian/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..bb1c669 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/debian/lintian-overrides @@ -0,0 +1 @@ +[bingo]: cute-field diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/fill-values new file mode 100644 index 0000000..b30cb70 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: arch-bingo +Skeleton: upload-native +Description: Override with 'bingo' architecture restriction on an Arch: any installable +Package-Architecture: any diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/desc b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/desc new file mode 100644 index 0000000..8dfe2b2 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/desc @@ -0,0 +1,2 @@ +Testname: arch-bingo +Check: debian/lintian-overrides/restricted diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/hints b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/hints new file mode 100644 index 0000000..667ea2f --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/arch-bingo/eval/hints @@ -0,0 +1 @@ +arch-bingo (binary): invalid-override-restriction Unknown architecture wildcard bingo [usr/share/lintian/overrides/arch-bingo:1] diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in new file mode 100644 index 0000000..88afb0f --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Multi-Arch: same +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. It may + be an empty package. + +Package: [% $source %]-nonrel +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] (false positive) + 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. + . + This is a false-positive. diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values new file mode 100644 index 0000000..085fb2f --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Description: Test for Multi-Arch: same package with arch-specific overrides +Package-Architecture: any diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc new file mode 100644 index 0000000..7aa72a6 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Test-Architectures: amd64 +Check: debian/lintian-overrides/restricted +Test-Against: + invalid-override-restriction diff --git a/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript new file mode 100644 index 0000000..6a583d7 --- /dev/null +++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript @@ -0,0 +1,4 @@ +rm_conffile /etc/correct.conf 0.2~ foo +rm_conffile /etc/incorrect.conf 0.2~ foo -- "$@" +rm_conffile /etc/incorrect.conf 0.2~ foo -- "${@}" +rm_conffile /etc/incorrect.conf 0.2~ foo -- "$@" diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values new file mode 100644 index 0000000..c750dfe --- /dev/null +++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: maintscript-includes-maint-script-parameters +Dh-Compat-Level: 11 +Description: Check dh_installdeb .maintscript files diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc new file mode 100644 index 0000000..453fab1 --- /dev/null +++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc @@ -0,0 +1,2 @@ +Testname: maintscript-includes-maint-script-parameters +Check: debian/maintscript diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints new file mode 100644 index 0000000..6fcf5bf --- /dev/null +++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints @@ -0,0 +1,3 @@ +maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:4] +maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:3] +maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:2] diff --git a/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/bin/not-suitable-for-upstream b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/bin/not-suitable-for-upstream new file mode 100755 index 0000000..e47f731 --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/bin/not-suitable-for-upstream @@ -0,0 +1,3 @@ +#!/bin/sh + +# USER-FACING EXECUTABLE NOT SUITABLE FOR INCLUSION UPSTREAM diff --git a/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/not-suitable-for-upstream.1 b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/not-suitable-for-upstream.1 new file mode 100644 index 0000000..1c0946b --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/debian/not-suitable-for-upstream.1 @@ -0,0 +1 @@ +A MANPAGE diff --git a/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/fill-values b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/fill-values new file mode 100644 index 0000000..763e8dd --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: maintainer-provided-executable +Skeleton: source-non-native +Description: Maintainer manual page with executable also so provided (false positive) diff --git a/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/desc b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/desc new file mode 100644 index 0000000..82cc179 --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/desc @@ -0,0 +1,9 @@ +Testname: maintainer-provided-executable +Check: debian/manual-pages +Test-Against: + maintainer-manual-page +See-Also: + social contract item 2, + developer-reference 3.1.4, + policy 4.3, + Bug#755161 diff --git a/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/hints b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/maintainer-provided-executable/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/debian/not-forwarded.1 b/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/debian/not-forwarded.1 new file mode 100644 index 0000000..1c0946b --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/debian/not-forwarded.1 @@ -0,0 +1 @@ +A MANPAGE diff --git a/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/fill-values b/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/fill-values new file mode 100644 index 0000000..e9cf9d4 --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/manpage-in-1/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: manpage-in-1 +Skeleton: source-non-native +Description: Maintainer keeps a manpage from section 1 in ./debian diff --git a/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/desc b/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/desc new file mode 100644 index 0000000..bcce654 --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/desc @@ -0,0 +1,3 @@ +Testname: manpage-in-1 +Check: debian/manual-pages +See-Also: social contract item 2, developer-reference 3.1.4, policy 4.3, Bug#755161 diff --git a/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/hints b/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/hints new file mode 100644 index 0000000..818b90c --- /dev/null +++ b/t/recipes/checks/debian/manual-pages/manpage-in-1/eval/hints @@ -0,0 +1 @@ +manpage-in-1 (source): maintainer-manual-page [debian/not-forwarded.1] diff --git a/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/debian/not-installed b/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/debian/not-installed new file mode 100644 index 0000000..3bb0456 --- /dev/null +++ b/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/debian/not-installed @@ -0,0 +1 @@ +usr/lib/x86_64-linux-gnu/does-not-exist.a diff --git a/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/fill-values b/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/fill-values new file mode 100644 index 0000000..447697c --- /dev/null +++ b/t/recipes/checks/debian/not-installed/triplet-in-library-path/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: triplet-in-library-path +Skeleton: source-native +Description: Excludes a library from installation only on one architecture diff --git a/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/desc b/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/desc new file mode 100644 index 0000000..e46ecfc --- /dev/null +++ b/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/desc @@ -0,0 +1,3 @@ +Testname: triplet-in-library-path +Check: debian/not-installed +See-Also: Debian Bug#961973 diff --git a/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/hints b/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/hints new file mode 100644 index 0000000..32b37b5 --- /dev/null +++ b/t/recipes/checks/debian/not-installed/triplet-in-library-path/eval/hints @@ -0,0 +1 @@ +triplet-in-library-path (source): unwanted-path-too-specific usr/lib/x86_64-linux-gnu/does-not-exist.a [debian/not-installed:1] diff --git a/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch1 b/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch1 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch2 b/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/patch2 new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/series new file mode 100644 index 0000000..8c90984 --- /dev/null +++ b/t/recipes/checks/debian/patches/count/two-patches/build-spec/debian/patches/series @@ -0,0 +1,5 @@ +patch1 +# a comment +patch2 # another comment + # yet another comment +# patch3 diff --git a/t/recipes/checks/debian/patches/count/two-patches/build-spec/fill-values b/t/recipes/checks/debian/patches/count/two-patches/build-spec/fill-values new file mode 100644 index 0000000..436ad89 --- /dev/null +++ b/t/recipes/checks/debian/patches/count/two-patches/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: two-patches +Description: Package with two Debian patches diff --git a/t/recipes/checks/debian/patches/count/two-patches/eval/desc b/t/recipes/checks/debian/patches/count/two-patches/eval/desc new file mode 100644 index 0000000..333ef3b --- /dev/null +++ b/t/recipes/checks/debian/patches/count/two-patches/eval/desc @@ -0,0 +1,2 @@ +Testname: two-patches +Check: debian/patches/count diff --git a/t/recipes/checks/debian/patches/count/two-patches/eval/hints b/t/recipes/checks/debian/patches/count/two-patches/eval/hints new file mode 100644 index 0000000..e7e3e7d --- /dev/null +++ b/t/recipes/checks/debian/patches/count/two-patches/eval/hints @@ -0,0 +1 @@ +two-patches (source): number-of-patches 2 [debian/patches/series] diff --git a/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/debian/patches/applied-upstream.patch b/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/debian/patches/applied-upstream.patch new file mode 100644 index 0000000..a1193df --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/debian/patches/applied-upstream.patch @@ -0,0 +1,15 @@ +Description: Convert a source file to UTF-8 encoding. +Author: Felix Lechner +Applied-Upstream: https://gitlab.gnome.org/World/lollypop/-/commit/4c1435ee22220c4a7f2ccaa05bce60a3e64cb912 + +--- a/cyassl/ctaocrypt/tfm.h ++++ b/cyassl/ctaocrypt/tfm.h +@@ -28,7 +28,7 @@ + + + /** +- * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) ++ * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) + * to fit CyaSSL's needs. + */ + diff --git a/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/fill-values new file mode 100644 index 0000000..3017656 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/applied-upstream/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: applied-upstream +Description: Debian patch with Applied-Upstream (false positive) diff --git a/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/desc b/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/desc new file mode 100644 index 0000000..7dbb942 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/desc @@ -0,0 +1,5 @@ +Testname: applied-upstream +Check: debian/patches/dep3 +Test-Against: + patch-not-forwarded-upstream +See-Also: Bug#965119 diff --git a/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/hints b/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/applied-upstream/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/debian/patches/silent.patch b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/debian/patches/silent.patch new file mode 100644 index 0000000..f35f299 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/debian/patches/silent.patch @@ -0,0 +1,14 @@ +Description: Convert a source file to UTF-8 encoding. +Author: Felix Lechner + +--- a/cyassl/ctaocrypt/tfm.h ++++ b/cyassl/ctaocrypt/tfm.h +@@ -28,7 +28,7 @@ + + + /** +- * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) ++ * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) + * to fit CyaSSL's needs. + */ + diff --git a/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/fill-values new file mode 100644 index 0000000..479f07d --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: empty-forwarded-no-bug +Description: Debian patch with empty Forwarded and no Bug diff --git a/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/desc b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/desc new file mode 100644 index 0000000..0fd262b --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/desc @@ -0,0 +1,3 @@ +Testname: empty-forwarded-no-bug +Check: debian/patches/dep3 +See-Also: Bug#755153 diff --git a/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/hints b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/hints new file mode 100644 index 0000000..8a913be --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/empty-forwarded-no-bug/eval/hints @@ -0,0 +1 @@ +empty-forwarded-no-bug (source): patch-not-forwarded-upstream [debian/patches/silent.patch] diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/debian/patches/not-forwarded.patch b/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/debian/patches/not-forwarded.patch new file mode 100644 index 0000000..4b48b32 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/debian/patches/not-forwarded.patch @@ -0,0 +1,15 @@ +Description: Convert a source file to UTF-8 encoding. +Author: Felix Lechner +Forwarded: no + +--- a/cyassl/ctaocrypt/tfm.h ++++ b/cyassl/ctaocrypt/tfm.h +@@ -28,7 +28,7 @@ + + + /** +- * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) ++ * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) + * to fit CyaSSL's needs. + */ + diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/fill-values new file mode 100644 index 0000000..4cd9c11 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-no/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: forwarded-no +Description: Debian patch with Forwarded: no diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/desc b/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/desc new file mode 100644 index 0000000..edb980d --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/desc @@ -0,0 +1,3 @@ +Testname: forwarded-no +Check: debian/patches/dep3 +See-Also: Bug#755153 diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/hints b/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/hints new file mode 100644 index 0000000..428ce9f --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-no/eval/hints @@ -0,0 +1 @@ +forwarded-no (source): patch-not-forwarded-upstream [debian/patches/not-forwarded.patch] diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/debian/patches/no-forwarding-needed.patch b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/debian/patches/no-forwarding-needed.patch new file mode 100644 index 0000000..65e7f54 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/debian/patches/no-forwarding-needed.patch @@ -0,0 +1,15 @@ +Description: Convert a source file to UTF-8 encoding. +Author: Felix Lechner +Forwarded: not-needed + +--- a/cyassl/ctaocrypt/tfm.h ++++ b/cyassl/ctaocrypt/tfm.h +@@ -28,7 +28,7 @@ + + + /** +- * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) ++ * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) + * to fit CyaSSL's needs. + */ + diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/fill-values new file mode 100644 index 0000000..aae5187 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: forwarded-not-needed +Description: Debian patch with Forwarded: not-needed (false positive) diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/desc b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/desc new file mode 100644 index 0000000..b69011f --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/desc @@ -0,0 +1,5 @@ +Testname: forwarded-not-needed +Check: debian/patches/dep3 +Test-Against: + patch-not-forwarded-upstream +See-Also: Bug#755153 diff --git a/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/hints b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/forwarded-not-needed/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/debian/patches/13_document_modifiers.diff b/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/debian/patches/13_document_modifiers.diff new file mode 100644 index 0000000..76548ba --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/debian/patches/13_document_modifiers.diff @@ -0,0 +1,41 @@ +Description: Better document modifiers +Author: Emanuele Giaquinta +Origin: upstream, https://github.com/exg/rxvt-unicode/commit/b881e3714ba253d08dc1b900d9333b73759db126 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839769 +Last-Update: 2017-10-16 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: rxvt-unicode/doc/rxvt.1.pod +=================================================================== +--- rxvt-unicode.orig/doc/rxvt.1.pod 2017-10-16 11:03:33.669407628 -0400 ++++ rxvt-unicode/doc/rxvt.1.pod 2017-10-16 11:03:33.629407435 -0400 +@@ -1081,10 +1081,25 @@ + + (modifiers-)key + +-Where I can be any combination of B, B, +-B, B, B, B, B, B, B, +-B, B, B, and the abbreviated B, B, B, B, +-B, B, B, B, B<1>, B<2>, B<3>, B<4>, B<5>. ++Where I can be any combination of the following full or ++abbreviated modifier names: ++ ++=begin table ++ ++ B B ++ B B ++ B B ++ B B ++ B B ++ B B B ++ B B ++ B B<1> ++ B B<2> ++ B B<3> ++ B B<4> ++ B B<5> ++ ++=end table + + The B, B and B modifiers are usually aliased to + whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr diff --git a/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/fill-values new file mode 100644 index 0000000..d086fa1 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/origin-upstream/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: origin-upstream +Description: Debian patch with Origin: upstream, URL (taken from Bug#966140) diff --git a/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/desc b/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/desc new file mode 100644 index 0000000..8dd636e --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/desc @@ -0,0 +1,5 @@ +Testname: origin-upstream +Check: debian/patches/dep3 +Test-Against: + patch-not-forwarded-upstream +See-Also: Bug#966140 diff --git a/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/hints b/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/origin-upstream/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/debian/patches/no-forwarding-needed.patch b/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/debian/patches/no-forwarding-needed.patch new file mode 100644 index 0000000..2c51d06 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/debian/patches/no-forwarding-needed.patch @@ -0,0 +1,17 @@ +Description: Convert a source file to UTF-8 encoding. +Author: Felix Lechner + +# second pseudo-header allowed by DEP-3, see Bug#966024 +Forwarded: not-needed + +--- a/cyassl/ctaocrypt/tfm.h ++++ b/cyassl/ctaocrypt/tfm.h +@@ -28,7 +28,7 @@ + + + /** +- * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) ++ * Edited by Moisés Guimarães (moises.guimaraes@phoebus.com.br) + * to fit CyaSSL's needs. + */ + diff --git a/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/fill-values b/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/fill-values new file mode 100644 index 0000000..1e762d9 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/pseudo-header/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: pseudo-header +Description: Debian patch with Forwarded: not-needed in a pseudo-header (false positive) diff --git a/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/desc b/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/desc new file mode 100644 index 0000000..18c9f9d --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/desc @@ -0,0 +1,5 @@ +Testname: pseudo-header +Check: debian/patches/dep3 +Test-Against: + patch-not-forwarded-upstream +See-Also: Bug#966024 diff --git a/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/hints b/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/dep3/pseudo-header/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/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/debian/patches/dpatch/legacy-scripts/eval/desc b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/desc new file mode 100644 index 0000000..0dd0b1d --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/patches/dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/hints b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/hints new file mode 100644 index 0000000..4a90e73 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/hints @@ -0,0 +1,5 @@ +scripts (source): package-uses-deprecated-dpatch-patch-system +scripts (source): dpatch-missing-description [debian/patches/04_i_dont_have_a_description_either.patch] +scripts (source): dpatch-missing-description [debian/patches/02_i_dont_have_a_description.patch] +scripts (source): dpatch-index-references-non-existent-patch 01_some_other_patch_thats_not_in_the_package.dpatch +scripts (source): dpatch-index-references-non-existent-patch 01_not_here_right_now.dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/post-test b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/README.source new file mode 100644 index 0000000..4ff54b4 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/README.source @@ -0,0 +1 @@ +I am using dpatch. diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list new file mode 100644 index 0000000..52ee366 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list @@ -0,0 +1,12 @@ +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 +05_dep3.diff diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/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/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00options b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/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/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/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/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/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/debian/patches/dpatch/patch-systems-dpatch-description/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/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff new file mode 100644 index 0000000..5cbb237 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_dep3.diff by Russ Allbery +# +# Description: Patch using the DEP 3 patch header +# Author: Russ Allbery + +@DPATCH@ diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/fill-values b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/fill-values new file mode 100644 index 0000000..cb818e9 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-dpatch-description +Description: Test patch-system tags for a dpatch package +Extra-Build-Depends: dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/desc b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/desc new file mode 100644 index 0000000..7212807 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-dpatch-description +Check: debian/patches/dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/hints b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/hints new file mode 100644 index 0000000..f617634 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-dpatch-description/eval/hints @@ -0,0 +1,5 @@ +patch-systems-dpatch-description (source): package-uses-deprecated-dpatch-patch-system +patch-systems-dpatch-description (source): dpatch-missing-description [debian/patches/04_i_dont_have_a_description_either.patch] +patch-systems-dpatch-description (source): dpatch-missing-description [debian/patches/02_i_dont_have_a_description.patch] +patch-systems-dpatch-description (source): dpatch-index-references-non-existent-patch 01_some_other_patch_thats_not_in_the_package.dpatch +patch-systems-dpatch-description (source): dpatch-index-references-non-existent-patch 01_not_here_right_now.dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/README.source b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/README.source new file mode 100644 index 0000000..052084e --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/README.source @@ -0,0 +1 @@ +Some stuff about quilt here. diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README.patches b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README.patches new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/README.patches @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/series new file mode 100644 index 0000000..040d7e8 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/series @@ -0,0 +1,6 @@ +# tries to create an existing file, which fails in dpkg-source +# some-file +some-other-file -p0 +# non-existent patches trigger error in dpkg-source +# some-nonexistent-patch +# file-commented-out diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-file b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-file new file mode 100644 index 0000000..7749d40 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-file @@ -0,0 +1,11 @@ +Some regular patch creating a file. + +--- /dev/null ++++ debian/debian/some-file +@@ -0,0 +1,6 @@ ++Some ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-other-file b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-other-file new file mode 100644 index 0000000..ed24c8f --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/some-other-file @@ -0,0 +1,12 @@ +Some -p0 patch creating a file. + +--- /dev/null ++++ debian/some-other-file +@@ -0,0 +1,7 @@ ++Some ++other ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/README b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series new file mode 100644 index 0000000..4232ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series @@ -0,0 +1 @@ +file-mentioned-in-vendor-series diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/diff/README b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/diff/README new file mode 100644 index 0000000..55d9771 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/diff/README @@ -0,0 +1 @@ +Debian README diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/fill-values b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/fill-values new file mode 100644 index 0000000..ced4b7a --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-general +Skeleton: upload-non-native +Extra-Build-Depends: quilt, dpatch +Description: General tests of a quilt patch system diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/desc b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/desc new file mode 100644 index 0000000..154b396 --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-general +Check: debian/patches/dpatch diff --git a/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/hints b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/hints new file mode 100644 index 0000000..24b71da --- /dev/null +++ b/t/recipes/checks/debian/patches/dpatch/patch-systems-quilt-general/eval/hints @@ -0,0 +1,2 @@ +patch-systems-quilt-general (source): package-uses-deprecated-dpatch-patch-system +patch-systems-quilt-general (source): dpatch-build-dep-but-no-patch-list diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/patches/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/patches/legacy-debconf/eval/desc b/t/recipes/checks/debian/patches/legacy-debconf/eval/desc new file mode 100644 index 0000000..3043d9c --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/legacy-debconf/eval/hints b/t/recipes/checks/debian/patches/legacy-debconf/eval/hints new file mode 100644 index 0000000..d46c37c --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/eval/hints @@ -0,0 +1,2 @@ +debconf (source): patch-system-but-no-source-readme +debconf (source): patch-system dpatch diff --git a/t/recipes/checks/debian/patches/legacy-debconf/eval/post-test b/t/recipes/checks/debian/patches/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/patches/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/patches/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/patches/legacy-relations/eval/desc b/t/recipes/checks/debian/patches/legacy-relations/eval/desc new file mode 100644 index 0000000..adcbfe1 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/legacy-relations/eval/hints b/t/recipes/checks/debian/patches/legacy-relations/eval/hints new file mode 100644 index 0000000..e3cb73d --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations (source): patch-system-but-no-source-readme +relations (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/legacy-relations/eval/post-test b/t/recipes/checks/debian/patches/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/patches/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/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/patches/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/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/patches/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/patches/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/patches/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/debian/patches/legacy-scripts/eval/desc b/t/recipes/checks/debian/patches/legacy-scripts/eval/desc new file mode 100644 index 0000000..2f22144 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/legacy-scripts/eval/hints b/t/recipes/checks/debian/patches/legacy-scripts/eval/hints new file mode 100644 index 0000000..672cda0 --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/eval/hints @@ -0,0 +1,3 @@ +scripts (source): patch-system quilt +scripts (source): patch-system dpatch +scripts (source): more-than-one-patch-system diff --git a/t/recipes/checks/debian/patches/legacy-scripts/eval/post-test b/t/recipes/checks/debian/patches/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/README.source new file mode 100644 index 0000000..4ff54b4 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/README.source @@ -0,0 +1 @@ +I am using dpatch. diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list new file mode 100644 index 0000000..52ee366 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list @@ -0,0 +1,12 @@ +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 +05_dep3.diff diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/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/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00options b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/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/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/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/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/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/debian/patches/patch-systems-dpatch-description/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/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff new file mode 100644 index 0000000..5cbb237 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_dep3.diff by Russ Allbery +# +# Description: Patch using the DEP 3 patch header +# Author: Russ Allbery + +@DPATCH@ diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/fill-values new file mode 100644 index 0000000..cb818e9 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-dpatch-description +Description: Test patch-system tags for a dpatch package +Extra-Build-Depends: dpatch diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/desc b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/desc new file mode 100644 index 0000000..11ff095 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-dpatch-description +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/hints b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/hints new file mode 100644 index 0000000..646bd69 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-dpatch-description/eval/hints @@ -0,0 +1 @@ +patch-systems-dpatch-description (source): patch-system dpatch diff --git a/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/fill-values new file mode 100644 index 0000000..7bfde22 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-empty-series/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-empty-series +Description: Test for quilt patches with empty series +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/desc b/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/desc new file mode 100644 index 0000000..de141e2 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/desc @@ -0,0 +1,3 @@ +Testname: patch-systems-empty-series +See-Also: Debian Bug #525005 +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/hints b/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/hints new file mode 100644 index 0000000..c7f9fec --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-empty-series/eval/hints @@ -0,0 +1 @@ +patch-systems-empty-series (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/diff/README b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/diff/README new file mode 100644 index 0000000..c2513f3 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/diff/README @@ -0,0 +1 @@ +README with some Debian change to create a diff diff --git a/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/fill-values new file mode 100644 index 0000000..0922b52 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-no-patch-system +Skeleton: upload-non-native +Source-Format: 1.0 +Description: Diagnose lack of a patch system diff --git a/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/desc b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/desc new file mode 100644 index 0000000..a6feb2f --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-no-patch-system +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/hints b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/hints new file mode 100644 index 0000000..7e66d4d --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-patch-system/eval/hints @@ -0,0 +1 @@ +patch-systems-no-patch-system (source): direct-changes-in-diff-but-no-patch-system README diff --git a/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/01_this_patch_is_ok new file mode 100644 index 0000000..7eee707 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/01_this_patch_is_ok @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/series new file mode 100644 index 0000000..a342eb3 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/debian/patches/series @@ -0,0 +1 @@ +01_this_patch_is_ok diff --git a/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/fill-values new file mode 100644 index 0000000..d307faf --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-no-readme-source +Description: Patch system with no README.source +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/desc b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/desc new file mode 100644 index 0000000..0d70fa3 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/desc @@ -0,0 +1,3 @@ +Testname: patch-systems-no-readme-source +See-Also: Debian Bug #537969 +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/hints b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/hints new file mode 100644 index 0000000..a53bbab --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-no-readme-source/eval/hints @@ -0,0 +1,2 @@ +patch-systems-no-readme-source (source): patch-system-but-no-source-readme +patch-systems-no-readme-source (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 new file mode 100644 index 0000000..7d0132f --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a/a 2008-11-11 19:38:12.000000000 +0000 ++++ a/a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/series new file mode 100644 index 0000000..9ca2b60 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/debian/patches/series @@ -0,0 +1 @@ +debian-changes-1.0-1 diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/fill-values new file mode 100644 index 0000000..69be6ed --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-debian-changes +Description: Test a 3.0 (quilt) package which has a debian-changes-XXX patch +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/orig/a b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/orig/a new file mode 100644 index 0000000..c0acc64 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/build-spec/orig/a @@ -0,0 +1 @@ +sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/desc new file mode 100644 index 0000000..db1fb19 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-debian-changes +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/hints new file mode 100644 index 0000000..94bd4e2 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-debian-changes/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-debian-changes (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok new file mode 100644 index 0000000..7eee707 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description new file mode 100644 index 0000000..12128b8 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description @@ -0,0 +1,5 @@ +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch new file mode 100644 index 0000000..025656a --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch @@ -0,0 +1,8 @@ +diff --git a/a b/a +index eb39593..7258d2f 100644 +--- a 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,3 @@ + sample text + and some more sample text ++and yet another line diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description new file mode 100644 index 0000000..09bfd88 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description @@ -0,0 +1,17 @@ +Description: + This patch include a templated text for description + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . +diff --git a/a b/a +index eb39593..7258d2f 100644 +--- a 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,4 @@ + sample text + and some more sample text + and yet another line ++and so on diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series new file mode 100644 index 0000000..a7ab472 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series @@ -0,0 +1,4 @@ +01_this_patch_is_ok +02_this_one_has_no_description +03_a_git_patch +04_template_description diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values new file mode 100644 index 0000000..d957fdd --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-quilt-description +Description: Test for quilt patches which do not have accompanying descriptions +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc new file mode 100644 index 0000000..bcfc987 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc @@ -0,0 +1,3 @@ +Testname: patch-systems-quilt-description +See-Also: Debian Bug #498892 +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints new file mode 100644 index 0000000..c79c3e1 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-description (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/README.source new file mode 100644 index 0000000..052084e --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/README.source @@ -0,0 +1 @@ +Some stuff about quilt here. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README.patches b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README.patches new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/README.patches @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/series new file mode 100644 index 0000000..040d7e8 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/series @@ -0,0 +1,6 @@ +# tries to create an existing file, which fails in dpkg-source +# some-file +some-other-file -p0 +# non-existent patches trigger error in dpkg-source +# some-nonexistent-patch +# file-commented-out diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-file b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-file new file mode 100644 index 0000000..7749d40 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-file @@ -0,0 +1,11 @@ +Some regular patch creating a file. + +--- /dev/null ++++ debian/debian/some-file +@@ -0,0 +1,6 @@ ++Some ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-other-file b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-other-file new file mode 100644 index 0000000..ed24c8f --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/some-other-file @@ -0,0 +1,12 @@ +Some -p0 patch creating a file. + +--- /dev/null ++++ debian/some-other-file +@@ -0,0 +1,7 @@ ++Some ++other ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/README b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series new file mode 100644 index 0000000..4232ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series @@ -0,0 +1 @@ +file-mentioned-in-vendor-series diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/diff/README b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/diff/README new file mode 100644 index 0000000..55d9771 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/diff/README @@ -0,0 +1 @@ +Debian README diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/fill-values new file mode 100644 index 0000000..ced4b7a --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-general +Skeleton: upload-non-native +Extra-Build-Depends: quilt, dpatch +Description: General tests of a quilt patch system diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/desc new file mode 100644 index 0000000..f856f3e --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-general +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/hints new file mode 100644 index 0000000..a78e16f --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-general/eval/hints @@ -0,0 +1,3 @@ +patch-systems-quilt-general (source): patch-system quilt +patch-systems-quilt-general (source): patch-system dpatch +patch-systems-quilt-general (source): more-than-one-patch-system diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok new file mode 100644 index 0000000..7eee707 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/series new file mode 100644 index 0000000..0ca9c9c --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/debian/patches/series @@ -0,0 +1 @@ +01_this_patch_is_ok \ No newline at end of file diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/fill-values new file mode 100644 index 0000000..40b486d --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-quilt-no-newline +Description: Patch system with no debian/series that does not end with newline +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/desc new file mode 100644 index 0000000..32a8f15 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-no-newline +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/hints new file mode 100644 index 0000000..4e852b0 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-newline/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-no-newline (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/fill-values new file mode 100644 index 0000000..5234bfe --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: patch-systems-quilt-no-series +Skeleton: upload-non-native +Source-Format: 1.0 +Description: Test for quilt patches with no series +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/orig/README b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/orig/README new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/build-spec/orig/README @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/desc new file mode 100644 index 0000000..e57d098 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-no-series +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/hints new file mode 100644 index 0000000..5067cf1 --- /dev/null +++ b/t/recipes/checks/debian/patches/patch-systems-quilt-no-series/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-no-series (source): patch-system quilt diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/patches/wig-pen b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/patches/wig-pen new file mode 100644 index 0000000..a452b53 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/patches/wig-pen @@ -0,0 +1,5 @@ +--- upstream/README ++++ debian/README +@@ -1 +1 @@ +-README ++README for wig&pen diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/rules b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/substvars b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/fill-values new file mode 100644 index 0000000..edb39d9 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-wig-pen +Skeleton: upload-non-native +Source-Format: 2.0 +Description: Check for cruft added in a 2.0 package diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/orig/README b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/orig/README new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/orig/README @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/pre-build b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/pre-build new file mode 100755 index 0000000..78f359c --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/desc b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/desc new file mode 100644 index 0000000..9e824e6 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-general-wig-pen +Test-Against: patch-file-present-but-not-mentioned-in-series +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/hints b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/cruft-general-wig-pen/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/control b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/rules b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/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. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/desc b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/desc new file mode 100644 index 0000000..c70804e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/hints b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/hints new file mode 100644 index 0000000..d8929ea --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/hints @@ -0,0 +1 @@ +relations (source): quilt-build-dep-but-no-series-file diff --git a/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/post-test b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/patches/quilt/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/debian/patches/quilt/legacy-scripts/eval/desc b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/desc new file mode 100644 index 0000000..d5236c9 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/hints b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/hints new file mode 100644 index 0000000..71dee45 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/hints @@ -0,0 +1,6 @@ +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/04_i_dont_have_a_description_either.patch] +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/03_specified_without_dpatch.dpatch] +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/02_i_dont_have_a_description.patch] +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/00options] +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/00list] +scripts (source): patch-file-present-but-not-mentioned-in-series [debian/patches/00list.sparc] diff --git a/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/post-test b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/fill-values new file mode 100644 index 0000000..7bfde22 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-empty-series +Description: Test for quilt patches with empty series +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/desc new file mode 100644 index 0000000..213374f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/desc @@ -0,0 +1,4 @@ +Testname: patch-systems-empty-series +Test-Against: quilt-build-dep-but-no-series-file +See-Also: Debian Bug #525005 +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-empty-series/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 new file mode 100644 index 0000000..7d0132f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/debian-changes-1.0-1 @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a/a 2008-11-11 19:38:12.000000000 +0000 ++++ a/a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/series new file mode 100644 index 0000000..9ca2b60 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/debian/patches/series @@ -0,0 +1 @@ +debian-changes-1.0-1 diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/fill-values new file mode 100644 index 0000000..69be6ed --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-debian-changes +Description: Test a 3.0 (quilt) package which has a debian-changes-XXX patch +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/orig/a b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/orig/a new file mode 100644 index 0000000..c0acc64 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/build-spec/orig/a @@ -0,0 +1 @@ +sample text diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/desc new file mode 100644 index 0000000..2a5f21f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-debian-changes +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/hints new file mode 100644 index 0000000..fd3a321 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-debian-changes/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-debian-changes (source): format-3.0-but-debian-changes-patch [debian/patches/debian-changes-1.0-1] diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok new file mode 100644 index 0000000..7eee707 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description new file mode 100644 index 0000000..12128b8 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description @@ -0,0 +1,5 @@ +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch new file mode 100644 index 0000000..025656a --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch @@ -0,0 +1,8 @@ +diff --git a/a b/a +index eb39593..7258d2f 100644 +--- a 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,3 @@ + sample text + and some more sample text ++and yet another line diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/04_template_description b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/04_template_description new file mode 100644 index 0000000..09bfd88 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/04_template_description @@ -0,0 +1,17 @@ +Description: + This patch include a templated text for description + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . +diff --git a/a b/a +index eb39593..7258d2f 100644 +--- a 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,4 @@ + sample text + and some more sample text + and yet another line ++and so on diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/series new file mode 100644 index 0000000..a7ab472 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/series @@ -0,0 +1,4 @@ +01_this_patch_is_ok +02_this_one_has_no_description +03_a_git_patch +04_template_description diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/fill-values new file mode 100644 index 0000000..d957fdd --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-quilt-description +Description: Test for quilt patches which do not have accompanying descriptions +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc new file mode 100644 index 0000000..90fcde3 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc @@ -0,0 +1,3 @@ +Testname: patch-systems-quilt-description +See-Also: Debian Bug #498892 +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints new file mode 100644 index 0000000..dd7eb59 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints @@ -0,0 +1,3 @@ +patch-systems-quilt-description (source): quilt-patch-using-template-description [debian/patches/04_template_description] +patch-systems-quilt-description (source): quilt-patch-missing-description [debian/patches/03_a_git_patch] +patch-systems-quilt-description (source): quilt-patch-missing-description [debian/patches/02_this_one_has_no_description] diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/README.source new file mode 100644 index 0000000..052084e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/README.source @@ -0,0 +1 @@ +Some stuff about quilt here. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README.patches b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README.patches new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/README.patches @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/series new file mode 100644 index 0000000..040d7e8 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/series @@ -0,0 +1,6 @@ +# tries to create an existing file, which fails in dpkg-source +# some-file +some-other-file -p0 +# non-existent patches trigger error in dpkg-source +# some-nonexistent-patch +# file-commented-out diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-file b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-file new file mode 100644 index 0000000..7749d40 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-file @@ -0,0 +1,11 @@ +Some regular patch creating a file. + +--- /dev/null ++++ debian/debian/some-file +@@ -0,0 +1,6 @@ ++Some ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-other-file b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-other-file new file mode 100644 index 0000000..ed24c8f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/some-other-file @@ -0,0 +1,12 @@ +Some -p0 patch creating a file. + +--- /dev/null ++++ debian/some-other-file +@@ -0,0 +1,7 @@ ++Some ++other ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/README b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series new file mode 100644 index 0000000..4232ed0 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series @@ -0,0 +1 @@ +file-mentioned-in-vendor-series diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/diff/README b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/diff/README new file mode 100644 index 0000000..55d9771 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/diff/README @@ -0,0 +1 @@ +Debian README diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/fill-values new file mode 100644 index 0000000..ced4b7a --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-general +Skeleton: upload-non-native +Extra-Build-Depends: quilt, dpatch +Description: General tests of a quilt patch system diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/desc new file mode 100644 index 0000000..d60faca --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-general +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/hints new file mode 100644 index 0000000..211bcbd --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-general/eval/hints @@ -0,0 +1,6 @@ +patch-systems-quilt-general (source): quilt-patch-with-non-standard-options some-other-file -p0 [debian/patches/series:3] +patch-systems-quilt-general (source): quilt-patch-using-template-description [debian/patches/debian-changes-1.0-1] +patch-systems-quilt-general (source): patch-file-present-but-not-mentioned-in-series [debian/patches/subdir/file-not-referenced-in-series-2] +patch-systems-quilt-general (source): patch-file-present-but-not-mentioned-in-series [debian/patches/file-not-referenced-in-series] +patch-systems-quilt-general (source): package-uses-vendor-specific-patch-series [debian/patches/vendorname.series] +patch-systems-quilt-general (source): format-3.0-but-debian-changes-patch [debian/patches/debian-changes-1.0-1] diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/series new file mode 100644 index 0000000..a920a3a --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/series @@ -0,0 +1 @@ +some-change.patch diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/some-change.patch b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/some-change.patch new file mode 100644 index 0000000..c34fd8f --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/debian/patches/some-change.patch @@ -0,0 +1,6 @@ +Description: Does something very useful - it hides "empty-series" tag +--- a/README 2010-12-27 14:09:55.025074505 +0100 ++++ b/README 2010-12-27 14:10:09.656080199 +0100 +@@ -1 +1,2 @@ + Hello World ++Goodbye world diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/fill-values new file mode 100644 index 0000000..16086dc --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: patch-systems-quilt-no-depends +Description: Test for quilt series but no B-D on quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/orig/README b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/orig/README new file mode 100644 index 0000000..557db03 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/build-spec/orig/README @@ -0,0 +1 @@ +Hello World diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/desc new file mode 100644 index 0000000..6b230a3 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/desc @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-no-depends +Test-Against: + patch-file-present-but-not-mentioned-in-series +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/hints new file mode 100644 index 0000000..b868327 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-depends/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-no-depends (source): quilt-series-but-no-build-dep [debian/patches/series] diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok new file mode 100644 index 0000000..7eee707 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/01_this_patch_is_ok @@ -0,0 +1,7 @@ +This is a description of the patch + +--- a.orig 2008-11-11 19:38:12.000000000 +0000 ++++ a 2008-11-11 19:38:26.000000000 +0000 +@@ -1 +1,2 @@ + sample text ++and some more sample text diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/series new file mode 100644 index 0000000..0ca9c9c --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/debian/patches/series @@ -0,0 +1 @@ +01_this_patch_is_ok \ No newline at end of file diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/fill-values new file mode 100644 index 0000000..40b486d --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-quilt-no-newline +Description: Patch system with no debian/series that does not end with newline +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/desc new file mode 100644 index 0000000..0cee74b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-no-newline +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/hints new file mode 100644 index 0000000..5417fe3 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-newline/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-no-newline (source): quilt-series-without-trailing-newline [debian/patches/series] diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/debian/README.source @@ -0,0 +1 @@ +This package uses quilt. See /usr/share/doc/quilt/README.source. diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/fill-values new file mode 100644 index 0000000..5234bfe --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: patch-systems-quilt-no-series +Skeleton: upload-non-native +Source-Format: 1.0 +Description: Test for quilt patches with no series +Extra-Build-Depends: quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/orig/README b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/orig/README new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/build-spec/orig/README @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/desc new file mode 100644 index 0000000..db2e53d --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-no-series +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/hints new file mode 100644 index 0000000..d9f628c --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-no-series/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-no-series (source): quilt-build-dep-but-no-series-file diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2d380f5 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + * This line has a speling error. + - This line has the same speling error, but we should only + get one tag for it. + * Corrected spelling: abov -> above. + * Corrected typo: abov -> above. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/copyright b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/copyright new file mode 100644 index 0000000..30cbe5c --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This duplicate duplicate word should not trigger. (re. #897402) + +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2010 Russ Allbery + +This text should not generate a spelling error for "ment": + + computer software documentation," as such terms are used in + 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- + ment only as a commercial end item. Consistent with 48 C.F.R. + 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), + +But deafult is still a spelling error. + +This text should not generate a spelling error for the duplicate "a" (re. #844166) + + following Attribution Information: (a) a copyright notice including the name diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/doc-base new file mode 100644 index 0000000..3839a9b --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/doc-base @@ -0,0 +1,9 @@ +Document: spelling-general +Title: Check for debian doc-base spelling errors +Author: Russ Allbery +Abstract: This control file exercises, picky, speling error checks for + Debian doc-base files, such as meta-package. +Section: Programming + +Format: text +Files: /usr/share/doc/spelling-general/copyright diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/add-readme new file mode 100644 index 0000000..b1647ba --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/add-readme @@ -0,0 +1,8 @@ +This is a deliberate speling error. duplicate + +duplicate + +--- upstream.orig/README ++++ upstream/README +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel new file mode 100644 index 0000000..48e7740 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; description mentions typo) + +--- upstream.orig/nonrel ++++ upstream/nonrel +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel2 b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel2 new file mode 100644 index 0000000..e7dd209 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/nonrel2 @@ -0,0 +1,8 @@ +From: Speling Error +Date: Mon, 10 Sep 2018 05:16:45 +0200 +Subject: Foo bar + +--- upstream.orig/nonrel2 ++++ upstream/nonrel2 +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/series new file mode 100644 index 0000000..d31f673 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/series @@ -0,0 +1,4 @@ +add-readme +spelling +nonrel +nonrel2 diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/spelling new file mode 100644 index 0000000..29b9cfd --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/debian/patches/spelling @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; filename match) + +--- upstream.orig/spelling ++++ upstream/spelling +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/fill-values new file mode 100644 index 0000000..1c8c790 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: spelling-general +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: General checks for spelling errors diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/eval/desc b/t/recipes/checks/debian/patches/quilt/spelling-general/eval/desc new file mode 100644 index 0000000..6d9495e --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-general +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/spelling-general/eval/hints b/t/recipes/checks/debian/patches/quilt/spelling-general/eval/hints new file mode 100644 index 0000000..05d7e24 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/spelling-general/eval/hints @@ -0,0 +1 @@ +spelling-general (source): spelling-error-in-patch-description speling spelling [debian/patches/add-readme] diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2d380f5 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + * This line has a speling error. + - This line has the same speling error, but we should only + get one tag for it. + * Corrected spelling: abov -> above. + * Corrected typo: abov -> above. + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/copyright b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/copyright new file mode 100644 index 0000000..30cbe5c --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/copyright @@ -0,0 +1,21 @@ +This duplicate duplicate word should not trigger. (re. #897402) + +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2010 Russ Allbery + +This text should not generate a spelling error for "ment": + + computer software documentation," as such terms are used in + 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- + ment only as a commercial end item. Consistent with 48 C.F.R. + 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), + +But deafult is still a spelling error. + +This text should not generate a spelling error for the duplicate "a" (re. #844166) + + following Attribution Information: (a) a copyright notice including the name diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/doc-base new file mode 100644 index 0000000..3839a9b --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/doc-base @@ -0,0 +1,9 @@ +Document: spelling-general +Title: Check for debian doc-base spelling errors +Author: Russ Allbery +Abstract: This control file exercises, picky, speling error checks for + Debian doc-base files, such as meta-package. +Section: Programming + +Format: text +Files: /usr/share/doc/spelling-general/copyright diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/add-readme new file mode 100644 index 0000000..b1647ba --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/add-readme @@ -0,0 +1,8 @@ +This is a deliberate speling error. duplicate + +duplicate + +--- upstream.orig/README ++++ upstream/README +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel new file mode 100644 index 0000000..48e7740 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; description mentions typo) + +--- upstream.orig/nonrel ++++ upstream/nonrel +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel2 b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel2 new file mode 100644 index 0000000..e7dd209 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/nonrel2 @@ -0,0 +1,8 @@ +From: Speling Error +Date: Mon, 10 Sep 2018 05:16:45 +0200 +Subject: Foo bar + +--- upstream.orig/nonrel2 ++++ upstream/nonrel2 +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/series new file mode 100644 index 0000000..d31f673 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/series @@ -0,0 +1,4 @@ +add-readme +spelling +nonrel +nonrel2 diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/spelling new file mode 100644 index 0000000..29b9cfd --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/debian/patches/spelling @@ -0,0 +1,6 @@ +This is a deliberate speling error. (false positive; filename match) + +--- upstream.orig/spelling ++++ upstream/spelling +@@ -0,0 +1 @@ ++Added by patch system. diff --git a/t/recipes/checks/debian/patches/spelling-general/build-spec/fill-values b/t/recipes/checks/debian/patches/spelling-general/build-spec/fill-values new file mode 100644 index 0000000..1c8c790 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: spelling-general +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: General checks for spelling errors diff --git a/t/recipes/checks/debian/patches/spelling-general/eval/desc b/t/recipes/checks/debian/patches/spelling-general/eval/desc new file mode 100644 index 0000000..0af4036 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-general +Check: debian/patches diff --git a/t/recipes/checks/debian/patches/spelling-general/eval/hints b/t/recipes/checks/debian/patches/spelling-general/eval/hints new file mode 100644 index 0000000..b86bb71 --- /dev/null +++ b/t/recipes/checks/debian/patches/spelling-general/eval/hints @@ -0,0 +1 @@ +spelling-general (source): patch-system quilt diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/control.in b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/control.in new file mode 100644 index 0000000..1140f19 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, cdebconf +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. diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en.po b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en.po new file mode 100644 index 0000000..0734922 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en.po @@ -0,0 +1,241 @@ +# English translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: 2012-10-01 22:54+0200\n" +"Last-Translator: Niels Thykier \n" +"Language-Team: English\n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "Useless note" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "left, right, up, down" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "Pick the odd one out" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "Missing template field." + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "Is this a bad template?" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "Missing type" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "Template with unknown type" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "How do you like the default?" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "On a scale of \"false\" to \"true\"." + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "A boolean type would have been better" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "Preference" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "Missing a Choices field" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "Duplicate long description" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "Is the field below unknown?" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "What is the name of this package checker:" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "Select either x or y" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "Lintian is the best!" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "Do you like sakana?" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "Or do you prefer sake?" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "Aren't you tired of all these debconf prompts?" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" +"This template has a very long short description, is that what you call an " +"oxymoron?" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "I think Lintian is the best" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "Do you like Lintian?" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "Pick \"yes\" if you do." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "Name the title of this song:" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." + +#. Type: entropy +#. Description +#: ../templates:23001 +#| msgid "Template with unknown type" +msgid "Template with entropy type" +msgstr "Template with unknown type" diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en_US.po b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en_US.po new file mode 100644 index 0000000..450a03c --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/en_US.po @@ -0,0 +1,223 @@ +# English translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Niels Thykier , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: 2012-10-01 22:54+0200\n" +"Last-Translator: Russ Allbery \n" +"Language-Team: English \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "" + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" + +#. Type: entropy +#. Description +#: ../templates:23001 +msgid "Template with entropy type" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..b7f5a7b --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/po/templates.pot @@ -0,0 +1,223 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-01 22:34+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#: ../templates:1001 +msgid "Useless note" +msgstr "" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "left, right, up, down" +msgstr "" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "Pick the odd one out" +msgstr "" + +#. Type: text +#. Description +#: ../templates:3001 +msgid "Missing template field." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4001 +msgid "Is this a bad template?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:5001 +msgid "Missing type" +msgstr "" + +#. Type: lintian +#. Description +#: ../templates:6001 +msgid "Template with unknown type" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "How do you like the default?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:7001 +msgid "On a scale of \"false\" to \"true\"." +msgstr "" + +#. Type: select +#. Description +#: ../templates:8001 +msgid "A boolean type would have been better" +msgstr "" + +#. Type: select +#. Description +#: ../templates:9001 +msgid "Preference" +msgstr "" + +#. Type: select +#. Description +#: ../templates:10001 +msgid "Missing a Choices field" +msgstr "" + +#. Type: error +#. Description +#. Type: error +#. Description +#: ../templates:12001 +msgid "Duplicate long description" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:13001 +msgid "Is the field below unknown?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:14001 +msgid "What is the name of this package checker:" +msgstr "" + +#. Type: select +#. Description +#: ../templates:15001 +msgid "Select either x or y" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:16001 +msgid "Lintian is the best!" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Do you like sakana?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:17001 +msgid "Or do you prefer sake?" +msgstr "" + +#. Type: note +#. Description +#: ../templates:18001 +msgid "Aren't you tired of all these debconf prompts?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:19001 +msgid "" +"This template has a very long short description, is that what you call an " +"oxymoron?" +msgstr "" + +#. Type: select +#. Description +#: ../templates:20001 +msgid "I think Lintian is the best" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Do you like Lintian?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:21001 +msgid "Pick \"yes\" if you do." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "Name the title of this song:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Five green bottles sitting on the wall, Five green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be four " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Four green bottles sitting on the wall, Four green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be three " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Three green bottles sitting on the wall, Three green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be two " +"green bottles sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"Two green bottles sitting on the wall, Two green bottles sitting on the " +"wall, And if one green bottle should accidentally fall, There'll be one " +"green bottle sitting on the wall." +msgstr "" + +#. Type: string +#. Description +#: ../templates:22001 +msgid "" +"One green bottle sitting on the wall, One green bottle sitting on the wall, " +"And if one green bottle should accidentally fall, There'll be no green " +"bottles sitting on the wall." +msgstr "" + +#. Type: entropy +#. Description +#: ../templates:23001 +msgid "Template with entropy type" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/postinst b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/templates b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/templates new file mode 100644 index 0000000..46ca184 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/debian/templates @@ -0,0 +1,124 @@ +Template: debconf/translated +Type: error +_Description: Useless note + +Template: debconf/unsplit-choices +Type: select +_Choices: left, right, up, down +_Description: Pick the odd one out + +Type: text +_Description: Missing template field. + +Template: debconf-malformed-template +Type: boolean +_Description: Is this a bad template? + +Template: debconf/no-type +_Description: Missing type + +Template: debconf/unknown-type +Type: lintian +_Description: Template with unknown type + +Template: debconf/boolean-bogus-default +Type: boolean +Default: lintian +_Description: How do you like the default? + On a scale of "false" to "true". + +Template: debconf/select-boolean-choice +Type: select +Choices: yes, no +_Description: A boolean type would have been better + +Template: debconf/select-empty-trans-choices +Type: select +Choices: sakana, sake +Choices-Da: +_Description: Preference + +Template: debconf/select-without-choices +Type: select +_Description: Missing a Choices field + +Template: debconf/no-description +Type: error + +Template: debconf/duplicate-long-desc +Type: error +_Description: Duplicate long description + Duplicate long description + +Template: debconf/unknown-field +Type: boolean +_Description: Is the field below unknown? +Unknown-field: yes, it is. + +Template: debconf/malformed-prompt +Type: string +_Description: What is the name of this package checker: + +Template: debconf/imperative-select +Type: select +Choices: x,y +_Description: Select either x or y + +Template: debconf/malformed-question +Type: boolean +_Description: Lintian is the best! + +Template: debconf/question-in-extended +Type: boolean +_Description: Do you like sakana? + Or do you prefer sake? + +Template: debconf/malformed-note-title +Type: note +_Description: Aren't you tired of all these debconf prompts? + +Template: debconf/too-long-short-desc +Type: boolean +_Description: This template has a very long short description, is that what you call an oxymoron? + +Template: debconf/first-person +Type: select +Choices: lintian, no-lintian +_Description: I think Lintian is the best + +Template: debconf/assumption +Type: boolean +_Description: Do you like Lintian? + Pick "yes" if you do. + +Template: debconf/5-green-bottles-on-the-wall +Type: string +_Description: Name the title of this song: + Five green bottles sitting on the wall, + Five green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be four green bottles sitting on the wall. + . + Four green bottles sitting on the wall, + Four green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be three green bottles sitting on the wall. + . + Three green bottles sitting on the wall, + Three green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be two green bottles sitting on the wall. + . + Two green bottles sitting on the wall, + Two green bottles sitting on the wall, + And if one green bottle should accidentally fall, + There'll be one green bottle sitting on the wall. + . + One green bottle sitting on the wall, + One green bottle sitting on the wall, + And if one green bottle should accidentally fall, + There'll be no green bottles sitting on the wall. + +Template: debconf/entropy-type +Type: entropy +_Description: Template with entropy type diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/fill-values new file mode 100644 index 0000000..2018d2c --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debconf-templates-general +Description: Test for various debconf template issues diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/config-gen.pl b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/config-gen.pl new file mode 100644 index 0000000..e6588b7 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/config-gen.pl @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +# Helper script to generate d/config from d/templates. +# It is just here to make sure all templates are "used". + +use strict; +use warnings; + +print < ) { + + if ($line =~ /^Template:\s*(\S+)\s*$/) { + + my $template = $1; + next + unless defined $template; + + print "db_input high $template || true\n"; + print "db_go\n\n"; + } +} + +exit 0; diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/gen-source.mk b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/gen-source.mk new file mode 100755 index 0000000..f6f5975 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/orig/gen-source.mk @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +all: debian/config + +debian/config: debian/templates + perl config-gen.pl < $< > $@ + + diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/pre-build b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/pre-build new file mode 100755 index 0000000..bfcb477 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/build-spec/pre-build @@ -0,0 +1,4 @@ +#!/bin/sh + +DIR="$1" +make --silent -C "$DIR" -f "$DIR/gen-source.mk" all diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/desc b/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/desc new file mode 100644 index 0000000..ab9ee47 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/desc @@ -0,0 +1,2 @@ +Testname: debconf-templates-general +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/hints b/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/hints new file mode 100644 index 0000000..e225a5a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/debconf-templates-general/eval/hints @@ -0,0 +1 @@ +debconf-templates-general (source): debconf-translation-using-general-list [debian/po/en_US.po] diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/config b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/config new file mode 100755 index 0000000..224c204 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/config @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get test/checksum_error || true + diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/control.in b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/control.in new file mode 100644 index 0000000..1140f19 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, cdebconf +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. diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..1c61d48 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +# taken from preseed 1.90; see #883653; FL +[type: gettext/rfc822deb] templates diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..3abfcf6 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/templates.pot @@ -0,0 +1,37 @@ +# taken from preseed 1.90; see #883653; FL + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: preseed\n" +"Report-Msgid-Bugs-To: preseed@packages.debian.org\n" +"POT-Creation-Date: 2016-11-22 22:34+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: error +#. Description +#. XXX: should be made translatable after Stretch +#: ../templates:1001 +msgid "Checksum error" +msgstr "" + +#. Type: error +#. Description +#. XXX: should be made translatable after Stretch +#: ../templates:1001 +msgid "" +"The ${ALGORITHM} checksum of the file retrieved from <${LOCATION}> fails to " +"match the expected value of \"${CHECKSUM}\". The file may be corrupt, or " +"the provided checksums may be out of date." +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/zh_CN.po b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/zh_CN.po new file mode 100644 index 0000000..5be7a86 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/po/zh_CN.po @@ -0,0 +1,64 @@ +# taken from preseed 1.90; see #883653; FL + +# THIS FILE IS GENERATED AUTOMATICALLY FROM THE D-I PO MASTER FILES +# The master files can be found under packages/po/ +# +# DO NOT MODIFY THIS FILE DIRECTLY: SUCH CHANGES WILL BE LOST +# +# Simplified Chinese translation for Debian Installer. +# +# Copyright (C) 2003-2008 Software in the Public Interest, Inc. +# This file is distributed under the same license as debian-installer. +# +# Translated by Yijun Yuan (2004), Carlos Z.F. Liu (2004,2005,2006), +# Ming Hua (2005,2006,2007,2008), Xiyue Deng (2008), Kov Chai (2008), +# Kenlen Lai (2008), WCM (2008), Ren Xiaolei (2008). +# +# +# Translations from iso-codes: +# Tobias Toedter , 2007. +# Translations taken from ICU SVN on 2007-09-09 +# +# Free Software Foundation, Inc., 2002, 2003, 2007, 2008. +# Alastair McKinstry , 2001,2002. +# Translations taken from KDE: +# - Wang Jian , 2000. +# - Carlos Z.F. Liu , 2004 - 2006. +# LI Daobing , 2007, 2008, 2009, 2010. +# YunQiang Su , 2011. +# +# Mai Hao Hui , 2001 (translations from galeon) +# YunQiang Su , 2010, 2011, 2012, 2013. +# Yangfl , 2017. +# +msgstr "" +"Project-Id-Version: debian-installer\n" +"Report-Msgid-Bugs-To: preseed@packages.debian.org\n" +"POT-Creation-Date: 2016-11-22 22:34+0000\n" +"PO-Revision-Date: 2017-06-11 18:20+0800\n" +"Last-Translator: Yangfl \n" +"Language-Team: \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: error +#. Description +#. XXX: should be made translatable after Stretch +#: ../templates:1001 +msgid "Checksum error" +msgstr "校验ç é”™è¯¯" + +#. Type: error +#. Description +#. XXX: should be made translatable after Stretch +#: ../templates:1001 +msgid "" +"The ${ALGORITHM} checksum of the file retrieved from <${LOCATION}> fails to " +"match the expected value of \"${CHECKSUM}\". The file may be corrupt, or " +"the provided checksums may be out of date." +msgstr "" +"从 <${LOCATION}> 下载的文件 ${ALGORITHM} 校验ç ä¸ç¬¦åˆé¢„期,预期的值" +"为“${CHECKSUM}â€ã€‚文件å¯èƒ½å·²ç»æŸæ¯ï¼Œæˆ–所æ供的校验ç å¯èƒ½å·²ç»è¿‡æœŸã€‚" diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/postinst b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/postinst new file mode 100644 index 0000000..4d6cb4d --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +. /usr/share/debconf/confmodule + diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/templates b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/templates new file mode 100644 index 0000000..144f922 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/debian/templates @@ -0,0 +1,22 @@ +Template: test/checksum_error +Type: error +# Lintian test note: The space between '# and CHECKSUM' in the lines +# below is the unicode character NO BREAK SPACE U+00A0 (\302\240 in +# UTF-8) and the sole reason why intltool-update fails. +# +# ERROR: xgettext failed to generate PO template file because there is non-ASCII +# string marked for translation. Please make sure that all strings marked +# for translation are in uniform encoding (say UTF-8), then *prepend* the +# following line to POTFILES.in and rerun intltool-update: +# +# [encoding: UTF-8] +# +# taken from preseed 1.90; see #883653; FL +# +# Translators : DO NOT TRANSLATE variable names : ALGORITHM, LOCATION +# and CHECKSUM +# :sl2: +_Description: Checksum error + The ${ALGORITHM} checksum of the file retrieved from <${LOCATION}> fails + to match the expected value of "${CHECKSUM}". The file may be corrupt, + or the provided checksums may be out of date. diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/fill-values new file mode 100644 index 0000000..7862c3f --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: invalid-potfiles-in +Skeleton: upload-native +Description: Test for invalid POTFILES.in for debconf template diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/desc b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/desc new file mode 100644 index 0000000..4e65531 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/desc @@ -0,0 +1,2 @@ +Testname: invalid-potfiles-in +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/hints b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/hints new file mode 100644 index 0000000..40d9932 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/invalid-potfiles-in/eval/hints @@ -0,0 +1 @@ +invalid-potfiles-in (source): invalid-potfiles-in [debian/po/POTFILES.in] diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/desc b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/desc new file mode 100644 index 0000000..93e1d45 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/hints b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/hints new file mode 100644 index 0000000..636bc66 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/hints @@ -0,0 +1,12 @@ +debconf (source): untranslatable-debconf-templates [debian/debconf-test.templates:58] +debconf (source): untranslatable-debconf-templates [debian/debconf-test.templates:47] +debconf (source): unknown-encoding-in-po-file [debian/po/fr.po] +debconf (source): translated-default-field [debian/debconf-test.templates:72] +debconf (source): translated-default-field [debian/debconf-test.templates:67] +debconf (source): stray-translated-debconf-templates [debian/debconf-test.templates.de] +debconf (source): no-complete-debconf-translation +debconf (source): newer-debconf-templates [debian/po/templates.pot] +debconf (source): misnamed-po-file [debian/po/sample-file.po] +debconf (source): misnamed-po-file [debian/po/lang.po] +debconf (source): invalid-po-file [debian/po/sample-file.po] +debconf (source): invalid-po-file [debian/po/fr.po] diff --git a/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/post-test b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/English.po b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/English.po new file mode 100644 index 0000000..e99b822 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/English.po @@ -0,0 +1 @@ +Not a PO file or an English translation. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..da5857e --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/POTFILES.in @@ -0,0 +1,3 @@ +# This is a comment, which should be ignored. +[type: gettext/rfc822deb] templates +some-other-file diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/de.po b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/de.po new file mode 100644 index 0000000..545fd25 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/de.po @@ -0,0 +1,2 @@ +This is just some random other file that isn't a German translation at +all. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..420734f --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/po/templates.pot @@ -0,0 +1,30 @@ +msgid "" +msgstr "" +"Project-Id-Version: Lintian 2.4.3\n" +"PO-Revision-Date: +2010-07-25 17:07 -0700\n" +"Last-Translator: Russ Allbery \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Default +#: ../templates:1001 +msgid "foo" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This is a string question used for testing:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This is a second string question:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This one ensures no 100% translation of the template." diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates new file mode 100644 index 0000000..b626825 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates @@ -0,0 +1,10 @@ +Template: po-debconf-general/test +Type: string +_Default: foo +Description: This is a string question used for testing: + +Template: po-debconf-general/test-2 +Type: string +Default: bar +_Description: This is a second string question: + This one ensures no 100% translation of the template. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates.en_US b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates.en_US new file mode 100644 index 0000000..617a474 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/debian/templates.en_US @@ -0,0 +1,5 @@ +Template: po-debconf-general/test +Type: string +Default: foo +_Description: This is an English translation that shouldn't be in this + directory. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/fill-values new file mode 100644 index 0000000..bbcbc61 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: po-debconf-general +Description: General tests for debconf translations diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/desc b/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/desc new file mode 100644 index 0000000..72652db --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/desc @@ -0,0 +1,2 @@ +Testname: po-debconf-general +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/hints b/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/hints new file mode 100644 index 0000000..af584a3 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-general/eval/hints @@ -0,0 +1,8 @@ +po-debconf-general (source): untranslatable-debconf-templates [debian/templates:4] +po-debconf-general (source): translated-default-field [debian/templates:3] +po-debconf-general (source): stray-translated-debconf-templates [debian/templates.en_US] +po-debconf-general (source): no-complete-debconf-translation +po-debconf-general (source): missing-file-from-potfiles-in some-other-file [debian/po/POTFILES.in:3] +po-debconf-general (source): misnamed-po-file [debian/po/English.po] +po-debconf-general (source): invalid-po-file [debian/po/de.po] +po-debconf-general (source): invalid-po-file [debian/po/English.po] diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/config b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/config new file mode 100755 index 0000000..240b7f8 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/config @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get po-debconf-general/test || true +db_get po-debconf-general/test-2 || true + diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/po/en.po b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/po/en.po new file mode 100644 index 0000000..dbf7e69 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/po/en.po @@ -0,0 +1,17 @@ +# Woohoo, translations - here to suppress a "no-complete-translation" +# +msgid "" +msgstr "" +"Project-Id-Version: po-debconf-missing\n" +"Report-Msgid-Bugs-To: po-debconf-missing@packages.debian.org\n" +"POT-Creation-Date: 2009-08-24 19:24+0200\n" +"PO-Revision-Date: 2010-09-03 23:51+0200\n" +"Last-Translator: Lintian Maintainers \n" +"Language-Team: Lintian Maintainers \n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + + diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/postinst b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/postinst new file mode 100644 index 0000000..0ae7a18 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +#DEBHELPER# diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/templates b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/templates new file mode 100644 index 0000000..1285e40 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/debian/templates @@ -0,0 +1,10 @@ +Template: po-debconf-general/test +Type: string +Default: foo +_Description: This is a string question used for testing: + +Template: po-debconf-general/test-2 +Type: string +Default: bar +_Description: This is a second string question: + This one ensures no 100% translation of the template. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/fill-values new file mode 100644 index 0000000..0e4fc01 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: po-debconf-missing +Description: Test for missing po-debconf files diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/desc b/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/desc new file mode 100644 index 0000000..9a65aef --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: po-debconf-missing +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/hints b/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/hints new file mode 100644 index 0000000..6830040 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-missing/eval/hints @@ -0,0 +1,2 @@ +po-debconf-missing (source): missing-templates-pot +po-debconf-missing (source): missing-potfiles-in diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/config b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/config new file mode 100755 index 0000000..240b7f8 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/config @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get po-debconf-general/test || true +db_get po-debconf-general/test-2 || true + diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/postinst b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/postinst new file mode 100644 index 0000000..0ae7a18 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +#DEBHELPER# diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/templates b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/templates new file mode 100644 index 0000000..1d685bc --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/debian/templates @@ -0,0 +1,10 @@ +Template: po-debconf-general/test +Type: string +Default: foo +Description: This is a string question used for testing: + +Template: po-debconf-general/test-2 +Type: string +Default: bar +Description: This is a second string question: + This one ensures no 100% translation of the template. diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/fill-values b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/fill-values new file mode 100644 index 0000000..1b56e55 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: po-debconf-no-po-debconf +Description: Test for not using po-debconf diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/desc b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/desc new file mode 100644 index 0000000..d3b4ab1 --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: po-debconf-no-po-debconf +Check: debian/po-debconf diff --git a/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/hints b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/hints new file mode 100644 index 0000000..2fd5c5b --- /dev/null +++ b/t/recipes/checks/debian/po-debconf/po-debconf-no-po-debconf/eval/hints @@ -0,0 +1,3 @@ +po-debconf-no-po-debconf (source): untranslatable-debconf-templates [debian/templates:9] +po-debconf-no-po-debconf (source): untranslatable-debconf-templates [debian/templates:4] +po-debconf-no-po-debconf (source): not-using-po-debconf diff --git a/t/recipes/checks/debian/readme/bad-email-format/build-spec/debian/README.Debian b/t/recipes/checks/debian/readme/bad-email-format/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/readme/bad-email-format/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/readme/bad-email-format/build-spec/fill-values b/t/recipes/checks/debian/readme/bad-email-format/build-spec/fill-values new file mode 100644 index 0000000..d3e7aca --- /dev/null +++ b/t/recipes/checks/debian/readme/bad-email-format/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: bad-email-format +Description: Debian.README with email address in unknown format diff --git a/t/recipes/checks/debian/readme/bad-email-format/eval/desc b/t/recipes/checks/debian/readme/bad-email-format/eval/desc new file mode 100644 index 0000000..0269f3d --- /dev/null +++ b/t/recipes/checks/debian/readme/bad-email-format/eval/desc @@ -0,0 +1,2 @@ +Testname: bad-email-format +Check: debian/readme diff --git a/t/recipes/checks/debian/readme/bad-email-format/eval/hints b/t/recipes/checks/debian/readme/bad-email-format/eval/hints new file mode 100644 index 0000000..72ab52d --- /dev/null +++ b/t/recipes/checks/debian/readme/bad-email-format/eval/hints @@ -0,0 +1 @@ +bad-email-format (binary): readme-debian-contains-invalid-email-address foo@unknown [usr/share/doc/bad-email-format/README.Debian] diff --git a/t/recipes/checks/debian/readme/bad-email-format/eval/post-test b/t/recipes/checks/debian/readme/bad-email-format/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/readme/bad-email-format/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/readme/debian-readme-general/build-spec/debian/README.Debian b/t/recipes/checks/debian/readme/debian-readme-general/build-spec/debian/README.Debian new file mode 100644 index 0000000..482b668 --- /dev/null +++ b/t/recipes/checks/debian/readme/debian-readme-general/build-spec/debian/README.Debian @@ -0,0 +1,11 @@ +This is a test README.Debian with a few problems that Lintian should +catch, like accidentaly misspelled words. + +Here is a reference to /usr/doc/debian-readme-general, which is an old +path that nothing should use any more. + +ALS is not a spelling error for also and ANG is not a spelling error for +and. In general, possible acronyms like COMIT should be ignored. But +only to a certain length; CHNAGES is still wrong. + + -- Unknown diff --git a/t/recipes/checks/debian/readme/debian-readme-general/build-spec/fill-values b/t/recipes/checks/debian/readme/debian-readme-general/build-spec/fill-values new file mode 100644 index 0000000..b2d9b73 --- /dev/null +++ b/t/recipes/checks/debian/readme/debian-readme-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-readme-general +Description: General tests for README.Debian diff --git a/t/recipes/checks/debian/readme/debian-readme-general/eval/desc b/t/recipes/checks/debian/readme/debian-readme-general/eval/desc new file mode 100644 index 0000000..0df2974 --- /dev/null +++ b/t/recipes/checks/debian/readme/debian-readme-general/eval/desc @@ -0,0 +1,3 @@ +Testname: debian-readme-general +See-Also: Debian Bug#556456 +Check: debian/readme diff --git a/t/recipes/checks/debian/readme/debian-readme-general/eval/hints b/t/recipes/checks/debian/readme/debian-readme-general/eval/hints new file mode 100644 index 0000000..a5b1e27 --- /dev/null +++ b/t/recipes/checks/debian/readme/debian-readme-general/eval/hints @@ -0,0 +1,4 @@ +debian-readme-general (binary): spelling-error-in-readme-debian accidentaly accidentally [usr/share/doc/debian-readme-general/README.Debian] +debian-readme-general (binary): spelling-error-in-readme-debian CHNAGES CHANGES [usr/share/doc/debian-readme-general/README.Debian] +debian-readme-general (binary): readme-debian-mentions-usr-doc [usr/share/doc/debian-readme-general/README.Debian:4] +debian-readme-general (binary): readme-debian-contains-invalid-email-address unknown@unknown [usr/share/doc/debian-readme-general/README.Debian] diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + + + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is (C) 2008, Russ Allbery and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Further changes by Javier Fernandez-Sanguino +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# 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. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" 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 +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +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. +\fBgeneric-dh-make-2008\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. +.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 +generic-dh-make-2008 was written by . +.PP +This manual page was written by Russ Allbery , +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 29, 2008"> + + SECTION"> + rra@debian.org"> + + GENERIC-DH-MAKE-2008"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (but may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows 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 + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/desc b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..5300245 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: debian/readme +See-Also: + Bug#497347 diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/hints b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..31f43d3 --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/hints @@ -0,0 +1 @@ +generic-dh-make-2008 (binary): readme-debian-contains-debmake-template [usr/share/doc/generic-dh-make-2008/README.Debian] diff --git a/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/post-test b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/readme/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/eval/desc b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..8573044 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: debian/readme diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/eval/hints b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..8781179 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (binary): readme-debian-mentions-usr-doc [usr/share/doc/etcfiles/README.Debian:2] diff --git a/t/recipes/checks/debian/readme/legacy-etcfiles/eval/post-test b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..3e86b96 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description also uses non-UTF8 high bytes chars: ÄÖÜß + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/readme/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/readme/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/readme/legacy-foo++/eval/desc b/t/recipes/checks/debian/readme/legacy-foo++/eval/desc new file mode 100644 index 0000000..552bd50 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/readme diff --git a/t/recipes/checks/debian/readme/legacy-foo++/eval/hints b/t/recipes/checks/debian/readme/legacy-foo++/eval/hints new file mode 100644 index 0000000..3a3d628 --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (binary): readme-debian-contains-invalid-email-address foo@unknown [usr/share/doc/foo++/README.Debian.gz] diff --git a/t/recipes/checks/debian/readme/legacy-foo++/eval/post-test b/t/recipes/checks/debian/readme/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/readme/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in new file mode 100644 index 0000000..9b17d19 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/rules b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/fill-values b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/fill-values new file mode 100644 index 0000000..f97b076 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-binary-targets +Description: Test for "Rules-Requires-Root: binary-targets" diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/desc b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/desc new file mode 100644 index 0000000..78f3775 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-binary-targets +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/hints b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/hints new file mode 100644 index 0000000..fedc8bd --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-binary-targets/eval/hints @@ -0,0 +1 @@ +control-file-rules-requires-root-binary-targets (source): custom-compression-in-debian-rules dh_builddeb -- -Zgzip [debian/rules:7] diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/control.in b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/control.in new file mode 100644 index 0000000..503994d --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/rules b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/fill-values b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/fill-values new file mode 100644 index 0000000..7359a3f --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-rules-requires-root-no +Description: Test for "Rules-Requires-Root: no" diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/desc b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/desc new file mode 100644 index 0000000..3b22695 --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-rules-requires-root-no +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/hints b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/hints new file mode 100644 index 0000000..f1f23af --- /dev/null +++ b/t/recipes/checks/debian/rules/control-file-rules-requires-root-no/eval/hints @@ -0,0 +1 @@ +control-file-rules-requires-root-no (source): custom-compression-in-debian-rules dh_builddeb -- -Zgzip [debian/rules:7] diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/debian/rules b/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/debian/rules new file mode 100644 index 0000000..3d706f5 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zgzip diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/fill-values b/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/fill-values new file mode 100644 index 0000000..97909d8 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-compat-old +Description: Test for old debian/compat file diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/eval/desc b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/desc new file mode 100644 index 0000000..769274c --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-compat-old +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/eval/hints b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/hints new file mode 100644 index 0000000..d7b6688 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/hints @@ -0,0 +1 @@ +debhelper-compat-old (source): custom-compression-in-debian-rules dh_builddeb -- -Zgzip [debian/rules:7] diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 diff --git a/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/debian/rules b/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/debian/rules new file mode 100755 index 0000000..69a9f01 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export DEB_BUILD_OPTIONS=nocheck +export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,-fortify + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/fill-values b/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/fill-values new file mode 100644 index 0000000..39b1f51 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-deb-build-options/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-deb-build-options +Description: Test the value of DEB_BUILD_OPTIONS diff --git a/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/desc b/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/desc new file mode 100644 index 0000000..f8ef095 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-deb-build-options +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/hints b/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/hints new file mode 100644 index 0000000..00e0056 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-deb-build-options/eval/hints @@ -0,0 +1 @@ +debhelper-deb-build-options (source): debian-rules-sets-DEB_BUILD_OPTIONS [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/debian/rules b/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/debian/rules new file mode 100755 index 0000000..111f495 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DH_COMPAT=10 + +%: + dh $@ + +DH_COMPAT=8 diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/fill-values b/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/fill-values new file mode 100644 index 0000000..31ffc38 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-dh-compat +Description: Test the value of DH_COMPAT diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/desc b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/desc new file mode 100644 index 0000000..72261d3 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-compat +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/hints b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/hints new file mode 100644 index 0000000..cd1a705 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/hints @@ -0,0 +1 @@ +debhelper-dh-compat (source): debian-rules-sets-DH_COMPAT [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/control.in b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/control.in new file mode 100644 index 0000000..6a7a04d --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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: debhelper-pre-depends +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Depends} +Description: [% $description %] extra string + 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. Extra + string to not to trigger duplicated description tags. It may + be an empty package. + +Package: debhelper-suggests +Architecture: [% $package_architecture %] +Suggests: ${misc:Depends} +Description: [% $description %] another extra string + 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. Extra + string. It may be an empty package. diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/rules b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/rules new file mode 100755 index 0000000..a622013 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +%: + dh $@ + +binary: binary-arch binary-indep +binary-arch: +binary-indep: + -dh_clideps + -dh_gstscancodecs + dh_lisp || true + # Should trigger a versioned dependency requirement for dpatch + -dh_dpatch_patch +# We don't warn about commands inside make conditionals, so none of these +# get any warnings. +ifeq "$(USE_DH_PYTHON3)" "y" + dh_python3 +else + ifeq "$(USE_PYSUPPORT)" "y" + dh_pysupport + endif +endif + dh binary-indep + -dh_strip_nondeterminism + -dh_scour diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/fill-values b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/fill-values new file mode 100644 index 0000000..7857128 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-no-depends +Dh-Compat-Level: 9 +Description: Test dependency requirements for debhelper +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/eval/desc b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/desc new file mode 100644 index 0000000..5d1b514 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/desc @@ -0,0 +1,5 @@ +Testname: debhelper-no-depends +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debian/rules +# Overrides the "data/debhelper/compat-level" diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/eval/hints b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/hints new file mode 100644 index 0000000..f4bb314 --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/hints @@ -0,0 +1 @@ +debhelper-no-depends (source): rules-require-build-prerequisite (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..67c590a --- /dev/null +++ b/t/recipes/checks/debian/rules/debhelper-no-depends/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,2 @@ +@include-parent +pedantic=8 diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/debian/rules b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/debian/rules new file mode 100755 index 0000000..38cb607 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export DEB_BADFLAGS_MAINT_APPEND = -Wl,--as-needed + +export DEB_GOODFLAGS_MAINT_APPEND = -lprefix -Wl,--no-as-needed -lfoo, -Wl,-as-needed -lsuffix +export DEB_GOODFLAGS_MAINT_APPEND = -lprefix -Wl,--as-needed -Wl,--no-as-needed -lsuffix + +%: + dh $@ + +override_dh_autoreconf: + -dh_autoreconf --as-needed diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/fill-values b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/fill-values new file mode 100644 index 0000000..54f985e --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-rules-uses-as-needed-linker-flag +Description: Test for --as-needed in debian/rules. diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/desc b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/desc new file mode 100644 index 0000000..5afa7c8 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-rules-uses-as-needed-linker-flag +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/hints b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/hints new file mode 100644 index 0000000..f7f3eac --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-as-needed-linker-flag/eval/hints @@ -0,0 +1,2 @@ +debian-rules-uses-as-needed-linker-flag (source): debian-rules-uses-as-needed-linker-flag [debian/rules:3] +debian-rules-uses-as-needed-linker-flag (source): debian-rules-uses-as-needed-linker-flag [debian/rules:12] diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/debian/rules b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/debian/rules new file mode 100755 index 0000000..88fd899 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + # Good + echo $(shell py3versions -s) + echo $(shell py3versions -vs) + echo $(shell py3versions -sv) + echo $(shell py3versions -v) + + # Bad + echo $(shell py3versions -i) + echo $(shell py3versions -vi) + echo $(shell py3versions --installed) + echo $(shell py3versions --verbose --installed) diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/fill-values b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/fill-values new file mode 100644 index 0000000..cf63f8e --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-rules-uses-installed-python-versions +Description: Tests for py3versions -i diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/desc b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/desc new file mode 100644 index 0000000..86dc9f4 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-rules-uses-installed-python-versions +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/hints b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/hints new file mode 100644 index 0000000..baeea5d --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-installed-python-versions/eval/hints @@ -0,0 +1,7 @@ +debian-rules-uses-installed-python-versions (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -vs [debian/rules:9] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -sv [debian/rules:10] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -s [debian/rules:8] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-installed-python-versions py3versions -vi [debian/rules:15] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-installed-python-versions py3versions -i [debian/rules:14] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-installed-python-versions py3versions --verbose --installed [debian/rules:17] +debian-rules-uses-installed-python-versions (source): debian-rules-uses-installed-python-versions py3versions --installed [debian/rules:16] diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/debian/rules b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/debian/rules new file mode 100755 index 0000000..d92a6d5 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + # Good + echo $(shell py3versions -v) + + # Bad + echo $(shell py3versions -s) + echo $(shell py3versions -vs) + echo $(shell py3versions -sv) + echo $(shell py3versions --supported) diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/fill-values b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/fill-values new file mode 100644 index 0000000..ee784f1 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-rules-uses-supported-python-versions-without-python-all-build-depends +Description: Tests for py3versions -s without python3-all build-depends diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/desc b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/desc new file mode 100644 index 0000000..2068b7e --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-rules-uses-supported-python-versions-without-python-all-build-depends +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/hints b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/hints new file mode 100644 index 0000000..06b59c5 --- /dev/null +++ b/t/recipes/checks/debian/rules/debian-rules-uses-supported-python-versions-without-python-all-build-depends/eval/hints @@ -0,0 +1,4 @@ +debian-rules-uses-supported-python-versions-without-python-all-build-depends (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -vs [debian/rules:12] +debian-rules-uses-supported-python-versions-without-python-all-build-depends (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -sv [debian/rules:13] +debian-rules-uses-supported-python-versions-without-python-all-build-depends (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions -s [debian/rules:11] +debian-rules-uses-supported-python-versions-without-python-all-build-depends (source): debian-rules-uses-supported-python-versions-without-python-all-build-depends py3versions --supported [debian/rules:14] diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules new file mode 100644 index 0000000..000210b --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh ${@} diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values new file mode 100644 index 0000000..eb6c44c --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: curly-braces +Skeleton: source-native +Description: Uses dh sequencer with curly variable notation (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc new file mode 100644 index 0000000..c37f999 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc @@ -0,0 +1,5 @@ +Testname: curly-braces +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: Debian Bug#947115 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules new file mode 100644 index 0000000..76cf643 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export USER=fake +export HOME=$(CURDIR)/debian/fake-home + +$(CURDIR)/debian/fake-home: + mkdir $(CURDIR)/debian/fake-home + +%: $(CURDIR)/debian/fake-home + dh $@ diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values new file mode 100644 index 0000000..3fc8de8 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: double-quotes +Skeleton: source-native +Description: Uses dh sequencer with explicit dependency (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc new file mode 100644 index 0000000..1c1cef1 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc @@ -0,0 +1,5 @@ +Testname: dependency +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: #968108 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules new file mode 100644 index 0000000..5875e30 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh "$@" diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values new file mode 100644 index 0000000..443e7fc --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: double-quotes +Skeleton: source-native +Description: Uses dh sequencer with double quotes around variable (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc new file mode 100644 index 0000000..10cff19 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc @@ -0,0 +1,5 @@ +Testname: double-quotes +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: https://salsa.debian.org/lintian/lintian/merge_requests/288 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules new file mode 100644 index 0000000..6ad65cc --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + PREFIX=/usr dh $@ diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values new file mode 100644 index 0000000..cc67457 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: environment-prefix +Skeleton: source-native +Description: Uses dh sequencer with a prefix setting an environment variable (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc new file mode 100644 index 0000000..13dab36 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc @@ -0,0 +1,6 @@ +Testname: environment-prefix +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: + Bug#981712 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules new file mode 100644 index 0000000..f7b25c5 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +.PHONY: binary binary-arch binary-indep build build-arch build-indep clean install +binary-arch build build-arch build-indep clean install: + dh $@ + +binary binary-indep: + dh $@ + +build-stamp: + dh $@ diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values new file mode 100644 index 0000000..50af747 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: explicit-targets +Skeleton: source-native +Description: Uses dh sequencer but not the % target wildcard diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc new file mode 100644 index 0000000..7e1ff3d --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc @@ -0,0 +1,5 @@ +Testname: explicit-targets +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: Debian Bug#930679 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules new file mode 100755 index 0000000..c3ff202 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules @@ -0,0 +1,76 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values new file mode 100644 index 0000000..90a87b4 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: no-dh-sequencer +Skeleton: upload-native +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Uses standard debhelper targets but not the dh sequencer +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc new file mode 100644 index 0000000..29c542e --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc @@ -0,0 +1,3 @@ +Testname: no-dh-sequencer +Check: debian/rules/dh-sequencer +See-Also: Debian Bug#930679 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints new file mode 100644 index 0000000..a2ff5e0 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints @@ -0,0 +1 @@ +no-dh-sequencer (source): no-dh-sequencer [debian/rules] diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules new file mode 100644 index 0000000..0ceea36 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $(@) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values new file mode 100644 index 0000000..07d9a39 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: parentheses +Skeleton: source-native +Description: Uses dh sequencer with parentheses around variable name (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc new file mode 100644 index 0000000..95b6225 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc @@ -0,0 +1,5 @@ +Testname: parentheses +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: Debian Bug#947115 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules new file mode 100644 index 0000000..2822991 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh '$@' diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values new file mode 100644 index 0000000..4add931 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: single-quotes +Skeleton: source-native +Description: Uses dh sequencer with single quotes around variable (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc new file mode 100644 index 0000000..895f051 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc @@ -0,0 +1,5 @@ +Testname: single-quotes +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: https://salsa.debian.org/lintian/lintian/merge_requests/288 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules new file mode 100644 index 0000000..f547287 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +%: + # this comment should not trigger a false positive + # neither should this one + dh $(@) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values new file mode 100644 index 0000000..933afac --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: with-comments +Skeleton: source-native +Description: Uses dh sequencer but with comments inside the Makefile recipe (false positive) diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc new file mode 100644 index 0000000..6a234e4 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc @@ -0,0 +1,5 @@ +Testname: with-comments +Check: debian/rules/dh-sequencer +Test-Against: + no-dh-sequencer +See-Also: Debian Bug#960485 diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian new file mode 100644 index 0000000..5ce4495 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +dh-test for Debian +------------------ + + + + -- Frank Lichtenheld , Thu, 4 Aug 2005 23:09:00 +0200 diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in new file mode 100644 index 0000000..580f946 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +generic-dh-make-2005 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release Closes: #nnnn (nnnn is the bug number of your ITP) + + -- Frank Lichtenheld Thu, 4 Aug 2005 23:09:00 +0200 + diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in new file mode 100644 index 0000000..4cbbc4e --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in @@ -0,0 +1,12 @@ +Source: generic-dh-make-2005 +Section: unknown +Priority: optional +Maintainer: Frank Lichtenheld +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.2 + +Package: generic-dh-make-2005 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright new file mode 100644 index 0000000..2bcce49 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Frank Lichtenheld on +Thu, 4 Aug 2005 23:09:00 +0200. + +It was downloaded from + +Copyright Holder: + +License: + + diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules new file mode 100755 index 0000000..ee4bffb --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. +# $(MAKE) + #docbook-to-man debian/dh-test.sgml > dh-test.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/dh-test. +# $(MAKE) install DESTDIR=$(CURDIR)/debian/dh-test + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_dhelp + #dh_suidregister # originally there, but no longer supported + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values new file mode 100644 index 0000000..01371b6 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values @@ -0,0 +1,8 @@ +Testname: generic-dh-make-2005 +Skeleton: upload-builder-only +Author: Frank Lichtenheld +Version: 1-1 +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2005 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README new file mode 100644 index 0000000..e6a5a27 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README @@ -0,0 +1,9 @@ +This is something close to the results of running dh_make on a basically +empty upstream tarball in 2005, but with the example files removed. It's +a useful test for the various dh_make template and boilerplate tags, as +well as many tags for ways of doing things dh_make used to promote but are +now deprecated or old debhelper commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old packages. diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc new file mode 100644 index 0000000..0608338 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-dh-make-2005 +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints new file mode 100644 index 0000000..ccb5124 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints @@ -0,0 +1,4 @@ +generic-dh-make-2005 (source): debian-rules-should-not-set-CFLAGS-from-noopt [debian/rules] +generic-dh-make-2005 (source): debian-rules-missing-required-target build-indep [debian/rules] +generic-dh-make-2005 (source): debian-rules-missing-required-target build-arch [debian/rules] +generic-dh-make-2005 (source): debian-rules-ignores-make-clean-error [debian/rules:47] diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/control.in b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/rules b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/fill-values b/t/recipes/checks/debian/rules/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/orig/README b/t/recipes/checks/debian/rules/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/debian/rules/generic-empty/build-spec/pre-build b/t/recipes/checks/debian/rules/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/debian/rules/generic-empty/eval/desc b/t/recipes/checks/debian/rules/generic-empty/eval/desc new file mode 100644 index 0000000..24610e0 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/generic-empty/eval/hints b/t/recipes/checks/debian/rules/generic-empty/eval/hints new file mode 100644 index 0000000..c6a9a40 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-empty/eval/hints @@ -0,0 +1,4 @@ +generic-empty (source): debian-rules-missing-required-target build-indep [debian/rules] +generic-empty (source): debian-rules-missing-required-target build-arch [debian/rules] +generic-empty (source): debian-rules-missing-required-target binary-indep [debian/rules] +generic-empty (source): debian-rules-missing-required-target binary-arch [debian/rules] diff --git a/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/debian/rules/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/rules/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/rules/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-binary/eval/desc b/t/recipes/checks/debian/rules/legacy-binary/eval/desc new file mode 100644 index 0000000..bf4eb52 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/legacy-binary/eval/hints b/t/recipes/checks/debian/rules/legacy-binary/eval/hints new file mode 100644 index 0000000..76fa038 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-binary/eval/hints @@ -0,0 +1,4 @@ +binary (source): debian-rules-missing-required-target build-indep [debian/rules] +binary (source): debian-rules-missing-required-target binary-indep [debian/rules] +binary (source): debian-rules-ignores-make-clean-error [debian/rules:14] +binary (source): debian-rules-calls-pwd [debian/rules:9] diff --git a/t/recipes/checks/debian/rules/legacy-binary/eval/post-test b/t/recipes/checks/debian/rules/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/control b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + 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: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + 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: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + 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: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld \n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/debian/rules/legacy-debconf/build-spec/fill-values b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/rules/legacy-debconf/eval/desc b/t/recipes/checks/debian/rules/legacy-debconf/eval/desc new file mode 100644 index 0000000..87b1b86 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/legacy-debconf/eval/hints b/t/recipes/checks/debian/rules/legacy-debconf/eval/hints new file mode 100644 index 0000000..fee3d99 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/eval/hints @@ -0,0 +1,2 @@ +debconf (source): debian-rules-calls-debhelper-in-odd-order dh_makeshlibs [debian/rules:58] +debconf (source): debian-rules-calls-debhelper-in-odd-order dh_makeshlibs [debian/rules:54] diff --git a/t/recipes/checks/debian/rules/legacy-debconf/eval/post-test b/t/recipes/checks/debian/rules/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/eval/desc b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..e11916e --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/eval/hints b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..0a58f09 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (source): debian-rules-missing-required-target binary-arch [debian/rules] diff --git a/t/recipes/checks/debian/rules/legacy-etcfiles/eval/post-test b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/control b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + 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: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + 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. diff --git a/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/rules b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + 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/debian/rules/legacy-fields/build-spec/fill-values b/t/recipes/checks/debian/rules/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/debian/rules/legacy-fields/eval/desc b/t/recipes/checks/debian/rules/legacy-fields/eval/desc new file mode 100644 index 0000000..e29ae38 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/legacy-fields/eval/hints b/t/recipes/checks/debian/rules/legacy-fields/eval/hints new file mode 100644 index 0000000..4ec1eba --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/eval/hints @@ -0,0 +1 @@ +fields (source): rules-require-build-prerequisite (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] diff --git a/t/recipes/checks/debian/rules/legacy-fields/eval/post-test b/t/recipes/checks/debian/rules/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/rules/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/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/rules/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/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/rules/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/rules/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/rules/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/debian/rules/legacy-scripts/eval/desc b/t/recipes/checks/debian/rules/legacy-scripts/eval/desc new file mode 100644 index 0000000..e56bb23 --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/legacy-scripts/eval/hints b/t/recipes/checks/debian/rules/legacy-scripts/eval/hints new file mode 100644 index 0000000..cb1cdbd --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/eval/hints @@ -0,0 +1,2 @@ +scripts (source): rules-require-build-prerequisite (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] +scripts (source): binary-arch-rules-but-pkg-is-arch-indep [debian/rules] diff --git a/t/recipes/checks/debian/rules/legacy-scripts/eval/post-test b/t/recipes/checks/debian/rules/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/rules/permissions-775/build-spec/fill-values b/t/recipes/checks/debian/rules/permissions-775/build-spec/fill-values new file mode 100644 index 0000000..709e867 --- /dev/null +++ b/t/recipes/checks/debian/rules/permissions-775/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: permissions-775 +Package-Architecture: all +Description: Test in which debian/rules has group write permissions. diff --git a/t/recipes/checks/debian/rules/permissions-775/build-spec/pre-build b/t/recipes/checks/debian/rules/permissions-775/build-spec/pre-build new file mode 100755 index 0000000..393800f --- /dev/null +++ b/t/recipes/checks/debian/rules/permissions-775/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +packagedir=$1 + +chmod 775 "$packagedir/debian/rules" diff --git a/t/recipes/checks/debian/rules/permissions-775/eval/desc b/t/recipes/checks/debian/rules/permissions-775/eval/desc new file mode 100644 index 0000000..47f7801 --- /dev/null +++ b/t/recipes/checks/debian/rules/permissions-775/eval/desc @@ -0,0 +1,4 @@ +Testname: permissions-775 +Check: debian/rules +Test-Against: debian-rules-not-executable +See-Also: Bug#945869, Bug#945869 diff --git a/t/recipes/checks/debian/rules/permissions-775/eval/hints b/t/recipes/checks/debian/rules/permissions-775/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/debian/rules new file mode 100755 index 0000000..dbb0df1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh build-arch + touch $@ + +build: build-arch build-indep + +# From deejayd 0.8.2-1 +clean: $(PYVERS:%=clean-python%) + +clean-python%: + dh_testdir + dh_testroot + + rm -f build-python* + python$* setup.py clean --all + find $(CURDIR) -name '*pyc' -exec rm -f {} \; + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep +.PHONY: binary binary-arch binary-indep install clean build build-arch build-indep diff --git a/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/fill-values new file mode 100644 index 0000000..7760bbe --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-build-dep-pattern/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-build-dep-pattern +Description: Check recognition of pattern dependencies diff --git a/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/desc b/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/desc new file mode 100644 index 0000000..075298a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/desc @@ -0,0 +1,3 @@ +Testname: rules-build-dep-pattern +See-Also: Bug#536405 +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/hints b/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/hints new file mode 100644 index 0000000..9827600 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-build-dep-pattern/eval/hints @@ -0,0 +1 @@ +rules-build-dep-pattern (source): rules-require-build-prerequisite (does not satisfy python2:any | python2-dev:any | python2.7:any | python2.7-dev:any | python3:any | python3-dev:any | python3-all:any | python3-all-dev:any | python3.4:any | python3.4-dev:any | python3.5:any | python3.5-dev:any | python3.6:any | python3.6-dev:any | python3.7:any | python3.7-dev:any) [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/debian/rules new file mode 100755 index 0000000..0407d98 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_strip: + dh_strip prefix --ddeb-migration=foo suffix + dh_strip prefix --dbgsym-migration=foo suffix + dh_strip prefix --dbgsym-migration='apostrophe' suffix + dh_strip prefix --dbgsym-migration='apostrophe << 1' suffix diff --git a/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/fill-values new file mode 100644 index 0000000..b6b29b8 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-debug-symbol-migration-possibly-complete +Description: Test for --dbgsym-migration etc. diff --git a/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/desc b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/desc new file mode 100644 index 0000000..fbb156b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-debug-symbol-migration-possibly-complete +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/hints b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/hints new file mode 100644 index 0000000..39d2436 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-debug-symbol-migration-possibly-complete/eval/hints @@ -0,0 +1,4 @@ +rules-debug-symbol-migration-possibly-complete (source): debug-symbol-migration-possibly-complete --ddeb-migration=foo [debian/rules:7] +rules-debug-symbol-migration-possibly-complete (source): debug-symbol-migration-possibly-complete --dbgsym-migration=foo [debian/rules:8] +rules-debug-symbol-migration-possibly-complete (source): debug-symbol-migration-possibly-complete --dbgsym-migration='apostrophe' [debian/rules:9] +rules-debug-symbol-migration-possibly-complete (source): debug-symbol-migration-possibly-complete --dbgsym-migration='apostrophe << 1' [debian/rules:10] diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules new file mode 100755 index 0000000..6f702fe --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + /bin/true +endif diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values new file mode 100644 index 0000000..2e8d239 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-a +Description: Test for missing checks for DEB_BUILD_PROFILES (false-positive) diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc new file mode 100644 index 0000000..9443f92 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-a +Test-Against: + override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/debian/rules new file mode 100755 index 0000000..11bd6cc --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Empty target follows +override_dh_auto_test: diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/fill-values new file mode 100644 index 0000000..17ed76d --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-b +Description: Test for missing checks for DEB_BUILD_PROFILES (false-positive) diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/desc b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/desc new file mode 100644 index 0000000..e174c5a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-b +Test-Against: + override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/hints b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-b/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/debian/rules new file mode 100755 index 0000000..91dd51c --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + dh_auto_test + dh_auto_test # Comment + mkdir ignore/ + rm -rf ignore/ + -dh_auto_test -- SUFFIX=1 + @dh_auto_test -- SUFFIX=1 + -cp -r ignore ignore/ + FOO=mydir dh_auto_test -- BAR=2 + : Disabled + echo "Disabled" + @echo "Disabled" + -echo "Disabled" + -mv -v ignore ignore/ + [ true ] || echo ignore + ENV="var" \ + ENV="var" \ + dh_auto_test || true + rm -f missing + test true && echo "foo" + rmdir missing || true + ln -sf foo bar + true + /bin/true diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/fill-values new file mode 100644 index 0000000..b4bb0d6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-c +Description: Test for missing checks for DEB_BUILD_PROFILES (false-positive) diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/desc b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/desc new file mode 100644 index 0000000..e9756fe --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-c +Test-Against: + override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/hints b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-c/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rules new file mode 100755 index 0000000..b46c122 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + /bin/sync diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values new file mode 100644 index 0000000..afa76a3 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-auto-test-does-not-check-deb-build-options +Description: Test for missing checks for DEB_BUILD_PROFILES diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc new file mode 100644 index 0000000..ec297d9 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-dh-auto-test-does-not-check-deb-build-options +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints new file mode 100644 index 0000000..8d657b1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints @@ -0,0 +1 @@ +rules-dh-auto-test-does-not-check-deb-build-options (source): override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:6] diff --git a/t/recipes/checks/debian/rules/rules-dh-order/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-order/build-spec/debian/rules new file mode 100755 index 0000000..8ea3133 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-order/build-spec/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f +%: + dh $@ + +# Test for calling debhelper commands out of order. We take advantage here +# of the fact checks/rules doesn't care what target the commands are called +# from by using several uncalled targets. + +reverse: + dh_builddeb + dh_gencontrol + dh_installdeb + dh_shlibdeps + dh_makeshlibs + +shared-order: + dh_shlibdeps + dh_makeshlibs + dh_installdeb + dh_gencontrol + dh_builddeb + +multiple-package: + dh_makeshlibs -pfoo + dh_shlibdeps -pfoo + dh_installdeb -pfoo + dh_gencontrol -pfoo + dh_builddeb -pfoo + + dh_makeshlibs -pbar + dh_gencontrol -pbar + dh_installdeb -pbar + dh_shlibdeps -pbar + dh_builddeb -pbar diff --git a/t/recipes/checks/debian/rules/rules-dh-order/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-order/build-spec/fill-values new file mode 100644 index 0000000..fae0b62 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-order/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-order +Description: Test order of dh command invocations diff --git a/t/recipes/checks/debian/rules/rules-dh-order/eval/desc b/t/recipes/checks/debian/rules/rules-dh-order/eval/desc new file mode 100644 index 0000000..2ce04c4 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-order/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-dh-order +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-order/eval/hints b/t/recipes/checks/debian/rules/rules-dh-order/eval/hints new file mode 100644 index 0000000..b0d36b0 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-order/eval/hints @@ -0,0 +1,5 @@ +rules-dh-order (source): debian-rules-calls-debhelper-in-odd-order dh_shlibdeps [debian/rules:13] +rules-dh-order (source): debian-rules-calls-debhelper-in-odd-order dh_makeshlibs [debian/rules:18] +rules-dh-order (source): debian-rules-calls-debhelper-in-odd-order dh_makeshlibs [debian/rules:14] +rules-dh-order (source): debian-rules-calls-debhelper-in-odd-order dh_installdeb [debian/rules:12] +rules-dh-order (source): debian-rules-calls-debhelper-in-odd-order dh_gencontrol [debian/rules:11] diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/debian/rules new file mode 100755 index 0000000..79fc28b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +build: build-stamp +build-arch: +build-indep: + +build-stamp: + dh build + touch $@ + +clean: + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + # This target is not empty, but it should be + -install foo bar + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build build-arch build-indep diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/fill-values new file mode 100644 index 0000000..5307261 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-unused-target-nonempty +Description: Allow dh in unused targets, but nothing else diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/desc b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/desc new file mode 100644 index 0000000..55593d3 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/desc @@ -0,0 +1,3 @@ +Testname: rules-dh-unused-target-nonempty +See-Also: <20080806175819.GV11882@mail-vs.djpig.de> +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/hints b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/hints new file mode 100644 index 0000000..4a6f8cd --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target-nonempty/eval/hints @@ -0,0 +1 @@ +rules-dh-unused-target-nonempty (source): binary-arch-rules-but-pkg-is-arch-indep [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/debian/rules new file mode 100755 index 0000000..ca3e9b5 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh build-arch + touch $@ + +build: build-arch build-indep + +clean: + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build build-arch build-indep diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/fill-values new file mode 100644 index 0000000..bdeaa0e --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-unused-target +Description: Allow dh in unused targets diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target/eval/desc b/t/recipes/checks/debian/rules/rules-dh-unused-target/eval/desc new file mode 100644 index 0000000..5700bcb --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-unused-target/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-dh-unused-target +Test-Against: binary-arch-rules-but-pkg-is-arch-indep +See-Also: <20080806175819.GV11882@mail-vs.djpig.de> +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-unused-target/eval/hints b/t/recipes/checks/debian/rules/rules-dh-unused-target/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in new file mode 100644 index 0000000..4b34442 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends-Indep: [% $build_depends %], python +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules new file mode 100755 index 0000000..e1f72bf --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + +DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +DH_EXTRA_ADDONS = systemd + +%: + dh $@ + +clean: + dh_clean + echo $(DEB_BUILD_OPTS) $(PWD) + @echo $(_) + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + +override_dh_shlibdeps: + dh_shlibdeps -V "liblintian0 (>= 0.0.1)" diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values new file mode 100644 index 0000000..f3cc7ce --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: rules-general +Package-Architecture: all +Description: Test various debian/rules checks +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/rules/rules-general/eval/desc b/t/recipes/checks/debian/rules/rules-general/eval/desc new file mode 100644 index 0000000..8adced2 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-general +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-general/eval/hints b/t/recipes/checks/debian/rules/rules-general/eval/hints new file mode 100644 index 0000000..8587a20 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-general/eval/hints @@ -0,0 +1,8 @@ +rules-general (source): missing-build-depends-for-clean-target-in-debian-rules (does not satisfy debhelper:any | debhelper-compat:any) [debian/rules] +rules-general (source): debian-rules-uses-special-shell-variable [debian/rules:15] +rules-general (source): debian-rules-uses-deb-build-opts [debian/rules:14] +rules-general (source): debian-rules-updates-control-automatically [debian/rules:6] +rules-general (source): debian-rules-should-not-use-DH_EXTRA_ADDONS systemd [debian/rules:7] +rules-general (source): debian-rules-passes-version-info-to-dh_shlibdeps [debian/rules:23] +rules-general (source): debian-rules-is-dh_make-template [debian/rules:17] +rules-general (source): debian-rules-calls-pwd [debian/rules:14] diff --git a/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/debian/rules new file mode 100755 index 0000000..3445f5c --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +%: + dh $@ + +binary-arch: + # EMPTY + +define checkdir + test -f debian/rules +endef diff --git a/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/fill-values new file mode 100644 index 0000000..84cbc2b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignore-define/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-ignore-define +Description: Ignore define blocks when checking rule files diff --git a/t/recipes/checks/debian/rules/rules-ignore-define/eval/desc b/t/recipes/checks/debian/rules/rules-ignore-define/eval/desc new file mode 100644 index 0000000..eab87e6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignore-define/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-ignore-define +Test-Against: binary-arch-rules-but-pkg-is-arch-indep +See-Also: Debian Bug#510869 +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-ignore-define/eval/hints b/t/recipes/checks/debian/rules/rules-ignore-define/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/Makefile b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/Makefile new file mode 100644 index 0000000..959feb8 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/Makefile @@ -0,0 +1,3 @@ +all: + +distclean: diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/rules new file mode 100755 index 0000000..63556d9 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_clean: + $(MAKE) -Cdebian distclean + + diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/fill-values new file mode 100644 index 0000000..e882565 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-ignores-error-clean-fp +Description: Check against Lintian false-positive error diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/desc b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/desc new file mode 100644 index 0000000..5e15233 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/desc @@ -0,0 +1,3 @@ +Testname: rules-ignores-error-clean-fp +Test-Against: debian-rules-ignores-make-clean-error +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/hints b/t/recipes/checks/debian/rules/rules-ignores-error-clean-fp/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/debian/rules new file mode 100755 index 0000000..b86584f --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_clean: + -$(MAKE) distclean + + diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/fill-values new file mode 100644 index 0000000..e9f8da3 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-ignores-error-clean +Description: Check for rules ignoring clean error diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/orig/Makefile b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/orig/Makefile new file mode 100644 index 0000000..959feb8 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean/build-spec/orig/Makefile @@ -0,0 +1,3 @@ +all: + +distclean: diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/desc b/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/desc new file mode 100644 index 0000000..e41f791 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-ignores-error-clean +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/hints b/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/hints new file mode 100644 index 0000000..ef99bcf --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-ignores-error-clean/eval/hints @@ -0,0 +1 @@ +rules-ignores-error-clean (source): debian-rules-ignores-make-clean-error [debian/rules:6] diff --git a/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/rules new file mode 100755 index 0000000..3f98954 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + diff --git a/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/fill-values new file mode 100644 index 0000000..78c210e --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: rules-including-deprecated-makefiles +Dh-Compat-Level: 10 +Description: Test for debian/rules with deprecated included file +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) +Extra-Build-Depends: cdbs diff --git a/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/desc b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/desc new file mode 100644 index 0000000..e43aa61 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/desc @@ -0,0 +1,3 @@ +Testname: rules-including-deprecated-makefiles +Test-Conflicts: dh-buildinfo +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/hints b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/hints new file mode 100644 index 0000000..c3f7ceb --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-including-deprecated-makefiles/eval/hints @@ -0,0 +1 @@ +rules-including-deprecated-makefiles (source): debian-rules-uses-deprecated-makefile /usr/share/cdbs/1/rules/simple-patchsys.mk [debian/rules:4] diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules new file mode 100755 index 0000000..512e7e1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + + include debian/rules.mk diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules.mk b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules.mk new file mode 100644 index 0000000..4e68614 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/debian/rules.mk @@ -0,0 +1,2 @@ +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/fill-values new file mode 100644 index 0000000..9d39a99 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-missing-targets-with-includes +Description: Test a debian/rules with targets included from another file diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/desc b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/desc new file mode 100644 index 0000000..81a5355 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-missing-targets-with-includes +Test-Against: debian-rules-missing-required-target +See-Also: Debian Bug#607281 +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/hints b/t/recipes/checks/debian/rules/rules-missing-targets-with-includes/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules new file mode 100755 index 0000000..e92755b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +# This should trigger a missing $type targets, since +# we know the makefile does not implement them. +include /usr/share/javahelper/java-vars.mk + +clean build binary: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values new file mode 100644 index 0000000..36d2a17 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: rules-missing-targets-with-known-includes +Description: Test for debian/rules with known included file +Extra-Build-Depends: javahelper diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc new file mode 100644 index 0000000..34b9af5 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-missing-targets-with-known-includes +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints new file mode 100644 index 0000000..a8a5c95 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints @@ -0,0 +1,4 @@ +rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target build-indep [debian/rules] +rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target build-arch [debian/rules] +rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target binary-indep [debian/rules] +rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target binary-arch [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/control.in b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/control.in new file mode 100644 index 0000000..8aa2a58 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: any +Depends: ${misc:Depends}, [% $source %]-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: [% $source %]-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/debian/rules/rules-missing-targets/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/rules new file mode 100644 index 0000000..3e3c60f --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +# Missing build-arch/build-indep :) +build clean binary binary-arch binary-indep: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/fill-values new file mode 100644 index 0000000..e98756d --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: rules-missing-targets +Version: 1.0+dfsg-1 +Skeleton: upload-non-native +Description: Test for missing targets in debian/rules diff --git a/t/recipes/checks/debian/rules/rules-missing-targets/eval/desc b/t/recipes/checks/debian/rules/rules-missing-targets/eval/desc new file mode 100644 index 0000000..c0f6a2e --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-missing-targets +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-missing-targets/eval/hints b/t/recipes/checks/debian/rules/rules-missing-targets/eval/hints new file mode 100644 index 0000000..5c57705 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-missing-targets/eval/hints @@ -0,0 +1,2 @@ +rules-missing-targets (source): debian-rules-missing-required-target build-indep [debian/rules] +rules-missing-targets (source): debian-rules-missing-required-target build-arch [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/debian/rules new file mode 100755 index 0000000..97e5f8d --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/bin/sh +# This should be a makefile. +exec dh "$@" + +# fake targets to trick lintian into believing the +# required targets are present (removed unrelated errors). +binary: +binary-arch: +binary-indep: +build: +build-arch: +build-indep: +clean: diff --git a/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/fill-values new file mode 100644 index 0000000..33a94d1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-not-makefile/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-not-makefile +Description: Check if the rules file is a makefile diff --git a/t/recipes/checks/debian/rules/rules-not-makefile/eval/desc b/t/recipes/checks/debian/rules/rules-not-makefile/eval/desc new file mode 100644 index 0000000..8f22a2e --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-not-makefile/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-not-makefile +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-not-makefile/eval/hints b/t/recipes/checks/debian/rules/rules-not-makefile/eval/hints new file mode 100644 index 0000000..492bf1f --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-not-makefile/eval/hints @@ -0,0 +1 @@ +rules-not-makefile (source): debian-rules-not-a-makefile [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/debian/rules new file mode 100755 index 0000000..c4d25dc --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_clean: + true + dh_clean # This rule is a false positive + +override_dh_fixperms: + true + $(overridden_command) # This rule is a false positive + +override_dh_fixperms-indep: + dh_fixperms + +override_dh_fixperms-arch: + dh_fixperms diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/fill-values new file mode 100644 index 0000000..64e6684 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-override-dh-foo-does-not-call-dh-foo-unrel +Description: Test for missing calls to dh_foo in override_dh_foo (false positives) diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/desc b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/desc new file mode 100644 index 0000000..5518f3b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/desc @@ -0,0 +1,5 @@ +Testname: rules-override-dh-foo-does-not-call-dh-foo-unrel +Test-Against: + override_dh_clean-does-not-call-dh_clean + override_dh_fixperms-does-not-call-dh_fixperms +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/hints b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo-unrel/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/debian/rules new file mode 100755 index 0000000..9270348 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Empty targets +override_dh_clean: +override_dh_fixperms: +override_dh_fixperms-indep: +override_dh_fixperms-arch: diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/fill-values new file mode 100644 index 0000000..d652d91 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-override-dh-foo-does-not-call-dh-foo +Description: Test for missing calls to dh_foo in override_dh_foo diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/desc b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/desc new file mode 100644 index 0000000..92a9b16 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-override-dh-foo-does-not-call-dh-foo +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/hints b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/hints new file mode 100644 index 0000000..171356a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-override-dh-foo-does-not-call-dh-foo/eval/hints @@ -0,0 +1,4 @@ +rules-override-dh-foo-does-not-call-dh-foo (source): override_dh_fixperms-does-not-call-dh_fixperms [debian/rules:9] +rules-override-dh-foo-does-not-call-dh-foo (source): override_dh_fixperms-does-not-call-dh_fixperms [debian/rules:8] +rules-override-dh-foo-does-not-call-dh-foo (source): override_dh_fixperms-does-not-call-dh_fixperms [debian/rules:10] +rules-override-dh-foo-does-not-call-dh-foo (source): override_dh_clean-does-not-call-dh_clean [debian/rules:7] diff --git a/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/debian/rules new file mode 100644 index 0000000..9ea710e --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +DATE = $(shell dpkg-parsechangelog -SDate) +SOURCE = $(shell dpkg-parsechangelog -SSource) +SOURCE2 = $(shell dpkg-parsechangelog | grep ^Source | cut -d" " -f2) +VERSION = $(shell dpkg-parsechangelog -SVersion) +VERSION2 = $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p') +TIMESTAMP = $(shell dpkg-parsechangelog -STimestamp) + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/fill-values new file mode 100644 index 0000000..1f930fb --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-parses-dpkg-parsechangelog +Description: Test for debian/rules manually parsing dpkg-parsechangelog diff --git a/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/desc b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/desc new file mode 100644 index 0000000..33856af --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-parses-dpkg-parsechangelog +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/hints b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/hints new file mode 100644 index 0000000..88e06d0 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-parses-dpkg-parsechangelog/eval/hints @@ -0,0 +1,6 @@ +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:8] +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:7] +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:6] +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:5] +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:4] +rules-parses-dpkg-parsechangelog (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/debian/rules new file mode 100755 index 0000000..eef8ddc --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = sanitize=+all + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/fill-values new file mode 100644 index 0000000..1fac498 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-sanitize-all-buildflag +Description: Test for sanitize=+all diff --git a/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/desc b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/desc new file mode 100644 index 0000000..606ce75 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-sanitize-all-buildflag +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/hints b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/hints new file mode 100644 index 0000000..8602693 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sanitize-all-buildflag/eval/hints @@ -0,0 +1 @@ +rules-sanitize-all-buildflag (source): debian-rules-should-not-use-sanitize-all-buildflag [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/debian/rules new file mode 100755 index 0000000..77454fa --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DEB_HOST_ARCH = invalid +export DEB_BUILD_ARCH := invalid +export DEB_TARGET_ARCH ?= false-positive + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/fill-values new file mode 100644 index 0000000..7d7bc0a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-sets-dpkg-architecture-variable +Description: Test for unnecessary dpkg-architecture assignments diff --git a/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/desc b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/desc new file mode 100644 index 0000000..bc0cb7a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-sets-dpkg-architecture-variable +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/hints b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/hints new file mode 100644 index 0000000..e636d4b --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-sets-dpkg-architecture-variable/eval/hints @@ -0,0 +1,2 @@ +rules-sets-dpkg-architecture-variable (source): debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:3] +rules-sets-dpkg-architecture-variable (source): debian-rules-sets-dpkg-architecture-variable DEB_BUILD_ARCH [debian/rules:4] diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules new file mode 100755 index 0000000..fbbdc99 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zxz -z 9 + dh_builddeb -- -z9 -Z xz + dh_builddeb -- -z8 -Z xz + dh_builddeb -- -z9 -Zgzip + dh_builddeb -- -Zxz -Sextreme -z9 + dh_builddeb -- -Zxz -z9 -Sextreme diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values new file mode 100644 index 0000000..683fab9 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-should-not-use-custom-compression-settings +Description: Test for over-eager tarball compression etc. diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc new file mode 100644 index 0000000..8f09d8f --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-should-not-use-custom-compression-settings +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints new file mode 100644 index 0000000..09e88f1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints @@ -0,0 +1,6 @@ +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z9 -Zgzip [debian/rules:10] +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z9 -Z xz [debian/rules:8] +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z8 -Z xz [debian/rules:9] +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -z9 -Sextreme [debian/rules:12] +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -Sextreme -z9 [debian/rules:11] +rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -z 9 [debian/rules:7] diff --git a/t/recipes/checks/debian/rules/rules-special-variables/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-special-variables/build-spec/debian/rules new file mode 100644 index 0000000..fe1e7a6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-special-variables/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +DEB_CFLAGS_APPEND:= -Wl,--as-needed + +%: + dh $@ + diff --git a/t/recipes/checks/debian/rules/rules-special-variables/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-special-variables/build-spec/fill-values new file mode 100644 index 0000000..6ca7a03 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-special-variables/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-special-variables +Description: Test for debian/rules using special variables diff --git a/t/recipes/checks/debian/rules/rules-special-variables/eval/desc b/t/recipes/checks/debian/rules/rules-special-variables/eval/desc new file mode 100644 index 0000000..3fc89d6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-special-variables/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-special-variables +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-special-variables/eval/hints b/t/recipes/checks/debian/rules/rules-special-variables/eval/hints new file mode 100644 index 0000000..198af25 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-special-variables/eval/hints @@ -0,0 +1,2 @@ +rules-special-variables (source): debian-rules-uses-wrong-environment-variable [debian/rules:3] +rules-special-variables (source): debian-rules-uses-as-needed-linker-flag [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/rules-symlink/build-spec/debian/rules.real b/t/recipes/checks/debian/rules/rules-symlink/build-spec/debian/rules.real new file mode 100644 index 0000000..2d33f6a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-symlink/build-spec/debian/rules.real @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-symlink/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-symlink/build-spec/fill-values new file mode 100644 index 0000000..e68b709 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-symlink +Description: Test for debian/rules being a symlink diff --git a/t/recipes/checks/debian/rules/rules-symlink/build-spec/pre-build b/t/recipes/checks/debian/rules/rules-symlink/build-spec/pre-build new file mode 100755 index 0000000..c887d2c --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-symlink/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# Create d/rules as a symlink. + +ROOT_DIR="$1" + +ln -fs rules.real "${ROOT_DIR}/debian/rules" diff --git a/t/recipes/checks/debian/rules/rules-symlink/eval/desc b/t/recipes/checks/debian/rules/rules-symlink/eval/desc new file mode 100644 index 0000000..858059c --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-symlink +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-symlink/eval/hints b/t/recipes/checks/debian/rules/rules-symlink/eval/hints new file mode 100644 index 0000000..02f26f1 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-symlink/eval/hints @@ -0,0 +1 @@ +rules-symlink (source): debian-rules-is-symlink [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/debian/rules new file mode 100755 index 0000000..6749484 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +get-orig-source: + uscan --noconf --force-download --rename --download-current-version --destdir=.. diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/fill-values new file mode 100644 index 0000000..898d615 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-unnecessary-get-orig-source +Description: Test for unnecessary get-orig-source targets diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/desc b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/desc new file mode 100644 index 0000000..067529a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-unnecessary-get-orig-source +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/hints b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/hints new file mode 100644 index 0000000..accab16 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-get-orig-source/eval/hints @@ -0,0 +1 @@ +rules-unnecessary-get-orig-source (source): debian-rules-contains-unnecessary-get-orig-source-target [debian/rules] diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/control.in b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..dea8a56 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], dpkg-dev (>= 1.18.8), debhelper (>= 10.10) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Depends: ${misc:Depends} +Description: Test package + 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. diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/rules new file mode 100755 index 0000000..ec2dec6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s) + +export SOURCE_DATE_EPOCH = $(shell date +%s) + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/fill-values new file mode 100644 index 0000000..76255aa --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-unnecessary-source-date-epoch-unrel +Description: Test for unnecessary SOURCE_DATE_EPOCH assignments (false positive) diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/desc b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/desc new file mode 100644 index 0000000..ae35f68 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-unnecessary-source-date-epoch-unrel +Test-Against: + unnecessary-source-date-epoch-assignment +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/hints b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/hints new file mode 100644 index 0000000..eb59578 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch-unrel/eval/hints @@ -0,0 +1 @@ +rules-unnecessary-source-date-epoch-unrel (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/control.in b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/control.in new file mode 100644 index 0000000..163f8bc --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: dpkg-dev (>= 1.18.7), debhelper (>= 10.9) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: Test package + 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. diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/rules new file mode 100755 index 0000000..ec2dec6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s) + +export SOURCE_DATE_EPOCH = $(shell date +%s) + +%: + dh $@ diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/fill-values new file mode 100644 index 0000000..b8dc1b6 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: rules-unnecessary-source-date-epoch +Dh-Compat-Level: 10 +Description: Test for unnecessary SOURCE_DATE_EPOCH assignments diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/desc b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/desc new file mode 100644 index 0000000..d1cf5d7 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-unnecessary-source-date-epoch +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/hints b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/hints new file mode 100644 index 0000000..4c1864a --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-unnecessary-source-date-epoch/eval/hints @@ -0,0 +1,3 @@ +rules-unnecessary-source-date-epoch (source): unnecessary-source-date-epoch-assignment [debian/rules:5] +rules-unnecessary-source-date-epoch (source): unnecessary-source-date-epoch-assignment [debian/rules:3] +rules-unnecessary-source-date-epoch (source): debian-rules-parses-dpkg-parsechangelog [debian/rules:3] diff --git a/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/debian/rules new file mode 100644 index 0000000..bdb1c68 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + + TARGETS := build clean binary binary-arch binary-indep build-arch build-indep + +$(TARGETS): + dh $@ + +.PHONY: $(TARGETS) + diff --git a/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/fill-values new file mode 100644 index 0000000..45c7abb --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-variable-targets/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-variable-targets +Description: Test against missing targets in debian/rules diff --git a/t/recipes/checks/debian/rules/rules-variable-targets/eval/desc b/t/recipes/checks/debian/rules/rules-variable-targets/eval/desc new file mode 100644 index 0000000..00b2ccc --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-variable-targets/eval/desc @@ -0,0 +1,3 @@ +Testname: rules-variable-targets +Test-Against: debian-rules-missing-recommended-target +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-variable-targets/eval/hints b/t/recipes/checks/debian/rules/rules-variable-targets/eval/hints new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/control.in new file mode 100644 index 0000000..1109beb --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/control.in @@ -0,0 +1,48 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: mylibany +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + + +Package: libany6gcc1v6 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] with gcc 6 version + 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 test if v6 string are correctly escaped + +Package: libany5gcc1v5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] with gcc 5 version + 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 test if v5 string are correctly escaped + +Package: libanyq16-6 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] with Q16 version + 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 test if string are correctly escaped like for imagemagick. + . + library name is not libanyQ166 \ No newline at end of file diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.install b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.install new file mode 100644 index 0000000..283bc61 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.install @@ -0,0 +1 @@ +/usr/lib/libany5gcc.* \ No newline at end of file diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.symbols b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.symbols new file mode 100644 index 0000000..a394502 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany5gcc1v5.symbols @@ -0,0 +1,2 @@ +libany5gcc.so.1 libany5gcc1v5 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.install b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.install new file mode 100644 index 0000000..9485e87 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.install @@ -0,0 +1 @@ +/usr/lib/libany6gcc.* \ No newline at end of file diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.symbols b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.symbols new file mode 100644 index 0000000..aee5f00 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libany6gcc1v6.symbols @@ -0,0 +1,2 @@ +libany6gcc.so.1v6 libany6gcc1v6 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.install b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.install new file mode 100644 index 0000000..b4ecaea --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.install @@ -0,0 +1 @@ +/usr/lib/libanyQ16* \ No newline at end of file diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.symbols b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.symbols new file mode 100644 index 0000000..0f32f79 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/libanyq16-6.symbols @@ -0,0 +1,2 @@ +libanyQ16.so.1v6 libanyQ16-6 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.install b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.install new file mode 100644 index 0000000..5c86ce1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.install @@ -0,0 +1 @@ +/usr/lib/libany.* \ No newline at end of file diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.symbols b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.symbols new file mode 100644 index 0000000..9b6f454 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/debian/mylibany.symbols @@ -0,0 +1,2 @@ +libany.so.1 mylibany #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/fill-values b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/fill-values new file mode 100644 index 0000000..523eb0b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: binaries-doesnt-match-sonames +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for library package that does not match SONAME diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/Makefile new file mode 100644 index 0000000..21a67b5 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/Makefile @@ -0,0 +1,23 @@ +CC=gcc +MYCFLAGS=-Wall -Winline -O2 -fPIC +CFLAGS:=$(MYCFLAGS) $(CPPFLAGS) $(CFLAGS) + +SONAMES:= libany.so.1 libany6gcc.so.1v6 libany5gcc.so.1 libanyQ16.so.6 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/code.c new file mode 100644 index 0000000..0c4f917 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/build-spec/orig/code.c @@ -0,0 +1,9 @@ +#include +#include + +void e(char *p, int i, void (*f)(char *)){ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/desc b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/desc new file mode 100644 index 0000000..02d87f3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-doesnt-match-sonames +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/hints b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/hints new file mode 100644 index 0000000..6cf925b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-doesnt-match-sonames/eval/hints @@ -0,0 +1,4 @@ +mylibany (binary): symbols-file-missing-build-depends-package-field libany.so.1 [symbols] +libanyq16-6 (binary): symbols-file-missing-build-depends-package-field libanyQ16.so.6 [symbols] +libany6gcc1v6 (binary): symbols-file-missing-build-depends-package-field libany6gcc.so.1v6 [symbols] +libany5gcc1v5 (binary): symbols-file-missing-build-depends-package-field libany5gcc.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/control.in new file mode 100644 index 0000000..d8adb1b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libbasic2 +Section: libs +Architecture: [% $package_architecture %] +Depends: some-pkg, ${misc:Depends}, ${shlib: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. It may + be an empty package. diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..0119bca --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/libbasic2.symbols @@ -0,0 +1,4 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 +libbasic++.so.2 libbasic2 #MINVER# + (c++)cxx_lib_interface@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/rules new file mode 100644 index 0000000..188f490 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +# Make sure the C++ library actually links to libc +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed + +%: + dh $@ + +override_dh_gencontrol: + # Remove the shlib:Depends since it will contain libc + sed -i '/shlib:Depends=/ d' debian/libbasic2.substvars + echo "shlib:depends=" >> debian/libbasic2.substvars + dh_gencontrol diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/fill-values b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/fill-values new file mode 100644 index 0000000..0f58398 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-missing-depends-on-libc +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing libc depends +Package-Architecture: any diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/Makefile new file mode 100644 index 0000000..fcf25f4 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/Makefile @@ -0,0 +1,14 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + g++ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs \ + -Wl,-soname,libbasic++.so.2 -olibbasic++.so.2 cpp.cxx + +install: + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + install -m 644 -c -s libbasic++.so.2 $(DESTDIR)/usr/lib/libbasic++.so.2 + +clean distclean: + rm -f libbasic.so.2 libbasic++.so.2 + +check test: diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/basic.c b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx new file mode 100644 index 0000000..1338e40 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx @@ -0,0 +1,14 @@ +#include +#include + +using namespace std; + +template T +cxx_lib_interface(vector &v) +{ + cout << ":-) hello world" << endl; + return v[0]; +} + + + diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/desc b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/desc new file mode 100644 index 0000000..368818c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends-on-libc +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/hints b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/hints new file mode 100644 index 0000000..7290044 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends-on-libc/eval/hints @@ -0,0 +1,2 @@ +libbasic2 (binary): symbols-file-missing-build-depends-package-field libbasic.so.2 [symbols] +libbasic2 (binary): symbols-file-missing-build-depends-package-field libbasic++.so.2 [symbols] diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/control.in new file mode 100644 index 0000000..3b37179 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Section: libs +Depends: ${misc:Depends}, ${shlib: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. It may + be an empty package. diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/libbasic2.symbols b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c2b8fb3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/libbasic2.symbols @@ -0,0 +1,2 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/rules new file mode 100644 index 0000000..8a83255 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_builddeb: + sed -i '/Depends:/ d' debian/libbasic2/DEBIAN/control + dh_builddeb diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/fill-values b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/fill-values new file mode 100644 index 0000000..b1caef8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-missing-depends +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing depends line +Package-Architecture: any diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/Makefile new file mode 100644 index 0000000..6fc3968 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/basic.c b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/desc b/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/desc new file mode 100644 index 0000000..e3ef2c0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-missing-depends +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/hints b/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/hints new file mode 100644 index 0000000..d4e8830 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-missing-depends/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): symbols-file-missing-build-depends-package-field libbasic.so.2 [symbols] diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/control.in new file mode 100644 index 0000000..2efaa33 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/control.in @@ -0,0 +1,25 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends}, multiarch-support +Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same +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. + . + Note there is an explicitly pre-depends on multiarch-support, since + older versions of debhelper might not use it yet. dpkg-dev will + remove the duplicate entry (if any). + + + diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/libbasic2.symbols b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c2b8fb3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/debian/libbasic2.symbols @@ -0,0 +1,2 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/fill-values b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/fill-values new file mode 100644 index 0000000..c508b75 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-multiarch-same +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test of multiarch same package with unsafe binaries diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/Makefile new file mode 100644 index 0000000..ad7783b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/Makefile @@ -0,0 +1,12 @@ + +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + +install: + install -d $(DESTDIR)/usr/lib/ + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/basic.c b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/desc b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/desc new file mode 100644 index 0000000..cd079c8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/desc @@ -0,0 +1,2 @@ +Testname: binaries-multiarch-same +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/hints b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/hints new file mode 100644 index 0000000..d4e8830 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch-same/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): symbols-file-missing-build-depends-package-field libbasic.so.2 [symbols] diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/control.in new file mode 100644 index 0000000..aa271ff --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/control.in @@ -0,0 +1,21 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libbasic2 +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends}, multiarch-support +Depends: ${misc:Depends}, ${shlibs: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. It may + be an empty package. + . + Note there is an explicitly pre-depends on multiarch-support, since + older versions of debhelper might not use it yet. dpkg-dev will + remove the duplicate entry (if any). diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/libbasic2.symbols b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/libbasic2.symbols new file mode 100644 index 0000000..c2b8fb3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/libbasic2.symbols @@ -0,0 +1,2 @@ +libbasic.so.2 libbasic2 #MINVER# + lib_interface@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/rules new file mode 100644 index 0000000..249fe25 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +# Since dpkg in stable (Squeeze) does not support MULTIARCH we cannot use +# dpkg-architecture -qDEB_HOST_MULTIARCH +# Therefore this test is hardcoded to x86 and amd64 + +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq (i386,$(ARCH)) + TRIPLET = i386-linux-gnu +else + TRIPLET = x86_64-linux-gnu +endif + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_makeshlibs: + # dpkg-dev uses ld.so.conf so if we do not pass the lib directly + # this will fail on all x86 machines without with libc6 < 2.13-5 + dh_makeshlibs -- -edebian/libbasic2/usr/lib/$(TRIPLET)/libbasic.so.2 diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/fill-values b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/fill-values new file mode 100644 index 0000000..a521479 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: binaries-multiarch +Description: Test of a correct multiarch package +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/Makefile new file mode 100644 index 0000000..979e366 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/Makefile @@ -0,0 +1,26 @@ + +# Since dpkg in stable (Squeeze) does not support MULTIARCH we cannot use +# dpkg-architecture -qDEB_HOST_MULTIARCH +# Therefore this test is hardcoded to x86 and amd64 + +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq (i386,$(ARCH)) + TRIPLET = i386-linux-gnu +else + TRIPLET = x86_64-linux-gnu +endif + + +all: + gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c + +install: + # install it under the correct triplet directory + install -d $(DESTDIR)/usr/lib/$(TRIPLET) + install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/$(TRIPLET)/libbasic.so.2 + +clean distclean: + rm -f libbasic.so.2 + +check test: diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/basic.c b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/basic.c new file mode 100644 index 0000000..27e93fc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/build-spec/orig/basic.c @@ -0,0 +1,19 @@ +#include +#include + +static void +hardening_trigger(char *p, int i, void (*f)(char *)) +{ + char test[10]; + memcpy(test, p, i); + f(test); + printf("%s", test); +} + +int +lib_interface(void) +{ + printf("Hello world!\n"); + hardening_trigger(NULL, 0, NULL); + return 0; +} diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/desc b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/desc new file mode 100644 index 0000000..d50c6ad --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/desc @@ -0,0 +1,3 @@ +Testname: binaries-multiarch +Test-Architectures: i386 amd64 +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/hints b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/hints new file mode 100644 index 0000000..d4e8830 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/hints @@ -0,0 +1 @@ +libbasic2 (binary): symbols-file-missing-build-depends-package-field libbasic.so.2 [symbols] diff --git a/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/post-test b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/post-test new file mode 100644 index 0000000..fdc0a20 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/binaries-multiarch/eval/post-test @@ -0,0 +1,2 @@ +s/i386-linux-gnu/x86_64-linux-gnu/ +s/is for i386/is for amd64/ diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/control.in new file mode 100644 index 0000000..addc2fc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libpublic1 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, +Multi-Arch: same +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: libpublic-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, +Multi-Arch: foreign +Description: [% $description %] (dev) + 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. + . + Supposedly includes some headers. + + diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic-dev.install b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic-dev.install new file mode 100644 index 0000000..012244d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic-dev.install @@ -0,0 +1 @@ +usr/lib/*/*.so diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.install b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.symbols b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.symbols new file mode 100644 index 0000000..d8226ca --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/debian/libpublic1.symbols @@ -0,0 +1,3 @@ +libexecbit.so.1 libexecbit1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/fill-values b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/fill-values new file mode 100644 index 0000000..2b7d50c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: files-wrong-ma-foreign +Description: Test for wrong usage of Multi-Arch foreign +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/Makefile new file mode 100644 index 0000000..ff58c3a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/Makefile @@ -0,0 +1,24 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libpublic.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) +LIBDIR := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)$(LIBDIR) + install -m 0644 *.so* $(DESTDIR)$(LIBDIR) + set -e ; for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)$(LIBDIR)/$$FILE ; \ + ln -s $${FILE}.0.1 $(DESTDIR)$(LIBDIR)/$$(echo $$FILE | perl -pe 's/\.so\K.*//') ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/desc b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/desc new file mode 100644 index 0000000..527b859 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/desc @@ -0,0 +1,2 @@ +Testname: files-wrong-ma-foreign +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/hints b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/hints new file mode 100644 index 0000000..a157d77 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/files-wrong-ma-foreign/eval/hints @@ -0,0 +1 @@ +libpublic1 (binary): symbols-file-missing-build-depends-package-field libpublic.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/_symbols b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/_symbols new file mode 100644 index 0000000..46e6af1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/_symbols @@ -0,0 +1,23 @@ + This line should flag a syntax error +# but this one shouldn't +| although this one should, but for a different reason + and so should this + +libhello.so.0 libhello0 #MINVER# +| libhello0c2 (>= 1.2) , libhelloc0c2 (<< 1.3) +| hello-dbg3| libhelloc0c3|foobar (= 1.2) |hello-dbg2 +| hello-dbg + hello@Base 1.0 +* Build-Dep-Foo: bar + hello2@Base 2.0 4 + hello3@Base 2.0 1 + hello3@Base 2.0 A + dummy + +libhello.so.2 libhello2 #MINVER# +* Build-Depends-Package: libbar +| libhello2 (>= 1:2.3) + hello@Base 2.0 + +libhello.so.0 libhello0 #MINVER# + duplicate@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/changelog.in b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/changelog.in new file mode 100644 index 0000000..02da925 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/changelog.in @@ -0,0 +1,13 @@ +debug ([% $version %]) [% $distribution %]; urgency=low + + * NMU. + (uploaded by the maintainer and with repeated version number) + + -- Russ Allbery Tue, 4 Apr 2006 20:27:22 +0000 + +debug (1.0) unstable; urgency=low + + * Initial version. + + -- Russ Allbery Sat, 4 Mar 2006 21:31:06 -0800 + diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/control b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/control new file mode 100644 index 0000000..fcb2b86 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/control @@ -0,0 +1,85 @@ +Source: debug +Section: utils +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: not-debhelper (>= 0.4.3) +Standards-Version: 3.7.0 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information + Lintian regression test for external debugging file handling. This test + contains the binary. + . + 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: hello-dbg +Priority: optional +Section: debug +Architecture: any +Depends: hello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (symbols) + Lintian regression test for external debugging file handling. This test + contains the binary symbols. + . + 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: libhello0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library) + Lintian regression test for external debugging file handling. This test + contains a library. + . + 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: libhello0-dbg +Section: debug +Priority: optional +Architecture: any +Depends: libhello (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Test for external debugging information (library symbols) + Lintian regression test for external debugging file handling. This test + contains the library symbols. + . + 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: hi-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0 +Description: Test for external debugging symbols + Lintian regression test for external debugging files handling. This test + contains the library symbols. + . + 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: hello-hello-dbg +Section: debug +Priority: optional +Architecture: any +Depends: foo-pkg, not-libhello0, hello +Description: Test for external debugging symbols - another try + Lintian regression test for external debugging files handling. This test + contains the library symbols. This package actually tests a combination of + the above. + . + 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. diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/copyright b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/copyright new file mode 100644 index 0000000..5d4f6c2 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/copyright @@ -0,0 +1,4 @@ +Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery . + +Test for copyright in capital letters. (#464992) +COPYRIGHT RUSS ALLBERY 2006 diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/rules new file mode 100755 index 0000000..b659895 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# turn off PIE in CC in case we have a PIEful toolchain: +ifneq ($(findstring -no-pie,$(shell gcc -no-pie 2>&1)),) + CC := gcc +else + CC := gcc -fno-pie -no-pie +endif + +build-indep: + +build-arch: build-stamp + +build-stamp: + dh_testdir + $(CC) -D_REENTRANT -fPIC -c libhello.c + $(CC) -o libhello.so.0.0 -shared -Wl,-soname,libhello.so.0 libhello.o + ln -s libhello.so.0.0 libhello.so + $(CC) -o hello hello.c -L. -lhello + touch build-stamp + +build: build-arch build-indep + +clean: + dh_testdir + dh_testroot + rm -f build-stamp *.o libhello.so.0.0 libhello.so + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + install -D hello $(CURDIR)/debian/hello/usr/bin/hello + install -D libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0.0 + ln -s libhello.so.0.0 \ + $(CURDIR)/debian/libhello0/usr/lib/libhello.so.0 + +# Build architecture-dependent files here. +export DH_OPTIONS +binary-arch: DH_OPTIONS=-a +binary-arch: build-stamp install + dh_testdir + dh_testroot + dh_installchangelogs -N hello-dbg + dh_installdocs + DH_OPTIONS= dh_strip -phello --dbg-package=hello-dbg + DH_OPTIONS= dh_strip -plibhello0 --dbg-package=libhello0-dbg + + # Now break a few things. Copy the debugging data into places it + # shouldn't be. + cp $(CURDIR)/debian/hello-dbg/usr/lib/debug/usr/bin/hello \ + $(CURDIR)/debian/hello/usr/bin/hello.dbg + cp $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/usr/lib/libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/libhello.so.dbg + + # Put a full copy of the library in libhello0-dbg in /usr/lib/debug, + # which is okay. + install -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/libhello.so.0.0 + + # Also put it in /usr/lib/debug/lib, which isn't. + install -D -m 644 libhello.so.0.0 \ + $(CURDIR)/debian/libhello0-dbg/usr/lib/debug/lib/libhello.so.0.0 + + # Requires a versioned dependency. + dh_icons + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -X debug + dh_installdeb + dh_shlibdeps -X debug + + # We do this by hand as otherwise dpkg-gensymbols + # will error due to the broken symbols file + # and abort the build; similarly the file in + # the source tree is _symbols so that dpkg + # doesn't attempt to sanity check it + install -d $(CURDIR)/debian/libhello0/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/libhello0/DEBIAN/symbols + # hello doesn't contain any shlibs, but we + # make it contain a symbols file + install -d $(CURDIR)/debian/hello/DEBIAN + install -m 644 $(CURDIR)/debian/_symbols \ + $(CURDIR)/debian/hello/DEBIAN/symbols + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +binary: binary-indep binary-arch +.PHONY: build-arch build-indep build binary binary-indep binary-arch clean install diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/fill-values b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/fill-values new file mode 100644 index 0000000..79eebf1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debug +Source: debug +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 7 +Description: Legacy test "debug" diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/hello.c b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/hello.c new file mode 100644 index 0000000..76f8337 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/hello.c @@ -0,0 +1,9 @@ +#include +#include "libhello.h" + +int +main(void) +{ + hello(); + exit(0); +} diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.c b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.c new file mode 100644 index 0000000..e2f8409 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.c @@ -0,0 +1,7 @@ +#include + +void +hello(void) +{ + printf("Hello, World!\n"); +} diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.h b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.h new file mode 100644 index 0000000..ef77476 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/build-spec/orig/libhello.h @@ -0,0 +1 @@ +void hello(void); diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/eval/desc b/t/recipes/checks/debian/shlibs/legacy-debug/eval/desc new file mode 100644 index 0000000..48b87f4 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/eval/desc @@ -0,0 +1,3 @@ +Testname: legacy-debug +Check: debian/shlibs +Test-Against: symbols-file-missing-build-depends-package-field diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/eval/hints b/t/recipes/checks/debian/shlibs/legacy-debug/eval/hints new file mode 100644 index 0000000..d9fdaff --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/eval/hints @@ -0,0 +1,48 @@ +libhello0 (binary): unknown-meta-field-in-symbols-file Build-Dep-Foo (libhello.so.0) [symbols:11] +libhello0 (binary): syntax-error-in-symbols-file [symbols:4] +libhello0 (binary): syntax-error-in-symbols-file [symbols:3] +libhello0 (binary): syntax-error-in-symbols-file [symbols:1] +libhello0 (binary): syntax-error-in-symbols-file [symbols:19] +libhello0 (binary): syntax-error-in-symbols-file [symbols:15] +libhello0 (binary): syntax-error-in-symbols-file [symbols:11] +libhello0 (binary): symbols-for-undeclared-shared-library libhello 2 +libhello0 (binary): symbols-file-missing-build-depends-package-field libhello.so.0 [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package libhelloc0c3 (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package libhelloc0c2 (<< 1.3) (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package libhello2 (libhello.so.2) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package libhello2 (>= 1:2.3) (libhello.so.2) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package libhello0c2 (>= 1.2) (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package hello-dbg3 (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package hello-dbg2 (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package hello-dbg (libhello.so.0) [symbols] +libhello0 (binary): symbols-declares-dependency-on-other-package foobar (= 1.2) (libhello.so.0) [symbols] +libhello0 (binary): surplus-shared-library-symbols libhello 2 [symbols] +libhello0 (binary): invalid-template-id-in-symbols-file should this [symbols:4] +libhello0 (binary): invalid-template-id-in-symbols-file A [symbols:14] +libhello0 (binary): invalid-template-id-in-symbols-file 4 [symbols:12] +libhello0 (binary): duplicate-entry-in-symbols-control-file (lines 6 22) libhello 0 [symbols] +hello (binary): unknown-meta-field-in-symbols-file Build-Dep-Foo (libhello.so.0) [symbols:11] +hello (binary): syntax-error-in-symbols-file [symbols:4] +hello (binary): syntax-error-in-symbols-file [symbols:3] +hello (binary): syntax-error-in-symbols-file [symbols:1] +hello (binary): syntax-error-in-symbols-file [symbols:19] +hello (binary): syntax-error-in-symbols-file [symbols:15] +hello (binary): syntax-error-in-symbols-file [symbols:11] +hello (binary): symbols-file-missing-build-depends-package-field libhello.so.0 [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhelloc0c3 (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhelloc0c2 (<< 1.3) (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhello2 (libhello.so.2) [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhello2 (>= 1:2.3) (libhello.so.2) [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhello0c2 (>= 1.2) (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package libhello0 (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package hello-dbg3 (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package hello-dbg2 (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package hello-dbg (libhello.so.0) [symbols] +hello (binary): symbols-declares-dependency-on-other-package foobar (= 1.2) (libhello.so.0) [symbols] +hello (binary): surplus-shared-library-symbols libhello 2 [symbols] +hello (binary): surplus-shared-library-symbols libhello 0 [symbols] +hello (binary): invalid-template-id-in-symbols-file should this [symbols:4] +hello (binary): invalid-template-id-in-symbols-file A [symbols:14] +hello (binary): invalid-template-id-in-symbols-file 4 [symbols:12] +hello (binary): empty-shared-library-symbols [symbols] +hello (binary): duplicate-entry-in-symbols-control-file (lines 6 22) libhello 0 [symbols] diff --git a/t/recipes/checks/debian/shlibs/legacy-debug/eval/post-test b/t/recipes/checks/debian/shlibs/legacy-debug/eval/post-test new file mode 100644 index 0000000..fc97c5f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-debug/eval/post-test @@ -0,0 +1,2 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debian/shlibs/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debian/shlibs/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc new file mode 100644 index 0000000..ad73840 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints new file mode 100644 index 0000000..8e668dc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints @@ -0,0 +1,20 @@ +libbaz2 (binary): no-symbols-control-file usr/lib/libbaz2.so.1.0.3b +libbaz1 (binary): symbols-for-undeclared-shared-library libbaz 2 +libbaz1 (binary): symbols-file-missing-build-depends-package-field libbaz.so.2 [symbols] +libbaz1 (binary): symbols-file-contains-debian-revision on symbol foo (libbaz.so.2) [symbols] +libbaz1 (binary): symbols-file-contains-current-version-with-debian-revision on symbol pw (libbaz.so.2) [symbols] +libbaz1 (binary): surplus-shared-library-symbols libbaz 2 [symbols] +libbaz1 (binary): ships-undeclared-shared-library libbaz2 1.0 for usr/lib/libfoo2.so.1.0.3b [shlibs] +libbaz1 (binary): shared-library-symbols-not-tracked libbaz3 1 for usr/lib/libbaz3.so.1.0.3b [symbols] +libbaz1 (binary): shared-library-symbols-not-tracked libbaz2 1.0 for usr/lib/libfoo2.so.1.0.3b [symbols] +libbaz1 (binary): shared-library-symbols-not-tracked libbaz.so for usr/lib/libbaz.so [symbols] +libbaz1 (binary): shared-library-not-shipped udeb: libdoesntexist2 1.0 [shlibs] +libbaz1 (binary): shared-library-not-shipped libdoesntexist2 1.0 [shlibs] +libbaz1 (binary): shared-library-not-shipped libbaz5 1 [shlibs] +libbaz1 (binary): shared-library-not-shipped libbaz4 1 [shlibs] +libbaz1 (binary): shared-library-not-shipped libbaz2 1.1 [shlibs] +libbaz1 (binary): shared-library-lacks-version usr/lib/libbaz.so libbaz.so +libbaz1 (binary): duplicate-in-shlibs (lines 7 8) udeb: libdoesntexist2 1.0 [shlibs] +libbaz1 (binary): duplicate-in-shlibs (lines 1 2) libdoesntexist2 1.0 [shlibs] +libbaz1 (binary): distant-prerequisite-in-shlibs libbaz2 [shlibs] +libbaz1 (binary): distant-prerequisite-in-shlibs libbaz1 (>> 1-1) [shlibs] diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/control.in new file mode 100644 index 0000000..a223c7e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/control.in @@ -0,0 +1,57 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libnoshf1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (no shlibs file) + 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. + . + Checks for missing shlibs file. + +Package: libeshf1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (empty shlibs file) + 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. + . + Checks for empty shlibs file. + +Package: libunshf1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (unused entry) + 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. + . + Checks for unused entry in shlibs file. + +Package: libfdshf1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (foreign dep) + 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. + . + Checks for foreign dependency entry in shlibs file. + +Package: libdupshf1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dup entry) + 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. + . + Checks for duplicate entry in shlibs file. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.install b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.install new file mode 100644 index 0000000..7452fe1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.install @@ -0,0 +1 @@ +usr/lib/libdupshf* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.symbols new file mode 100644 index 0000000..166a346 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libdupshf1.symbols @@ -0,0 +1,3 @@ +libdupshf.so.1 libdupshf1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.install b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.install new file mode 100644 index 0000000..5ef4c2d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.install @@ -0,0 +1 @@ +usr/lib/libeshf* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.symbols new file mode 100644 index 0000000..fdd0204 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libeshf1.symbols @@ -0,0 +1,3 @@ +libeshf.so.1 libeshf1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.install b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.install new file mode 100644 index 0000000..c01a368 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.install @@ -0,0 +1 @@ +usr/lib/libfdshf* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.symbols new file mode 100644 index 0000000..4a18831 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libfdshf1.symbols @@ -0,0 +1,3 @@ +libfdshf.so.1 libfdshf1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.install b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.install new file mode 100644 index 0000000..175a915 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.install @@ -0,0 +1 @@ +usr/lib/libnoshf* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.symbols new file mode 100644 index 0000000..fef945e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libnoshf1.symbols @@ -0,0 +1,3 @@ +libnoshf.so.1 libnoshf1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.install b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.install new file mode 100644 index 0000000..dcdae56 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.install @@ -0,0 +1 @@ +usr/lib/libunshf* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.symbols new file mode 100644 index 0000000..737842d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/libunshf1.symbols @@ -0,0 +1,3 @@ +libunshf.so.1 libunshf1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/rules new file mode 100644 index 0000000..0cd4c15 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +DUPSHF:=debian/libdupshf1/DEBIAN/shlibs + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_builddeb: + # Work around "smart tools" that check the shlibs + # before installing them. + rm -f debian/libnoshf1/DEBIAN/shlibs + echo "# aloha" > debian/libeshf1/DEBIAN/shlibs + echo "libfoo 1 libunshf1 (> 0.1)" >> debian/libunshf1/DEBIAN/shlibs + sed -i 's/libfdshf1/libforeign1/' debian/libfdshf1/DEBIAN/shlibs + cat $(DUPSHF) $(DUPSHF) > $(DUPSHF).tmp + mv -f $(DUPSHF).tmp $(DUPSHF) + dh_builddeb diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/fill-values new file mode 100644 index 0000000..9336eee --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: shared-libs-control-file +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to shlibs files diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/Makefile new file mode 100644 index 0000000..37bef22 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/Makefile @@ -0,0 +1,23 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libnoshf.so.1 libeshf.so.1 libunshf.so.1 libfdshf.so.1 \ + libdupshf.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/desc new file mode 100644 index 0000000..9ccf196 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-control-file +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/hints new file mode 100644 index 0000000..87f69e6 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-control-file/eval/hints @@ -0,0 +1,11 @@ +libunshf1 (binary): symbols-file-missing-build-depends-package-field libunshf.so.1 [symbols] +libunshf1 (binary): shared-library-not-shipped libfoo 1 [shlibs] +libunshf1 (binary): outdated-relation-in-shlibs libunshf1 (> 0.1) [shlibs] +libnoshf1 (binary): symbols-file-missing-build-depends-package-field libnoshf.so.1 [symbols] +libnoshf1 (binary): no-shlibs usr/lib/libnoshf.so.1.0.1 +libfdshf1 (binary): symbols-file-missing-build-depends-package-field libfdshf.so.1 [symbols] +libfdshf1 (binary): distant-prerequisite-in-shlibs libforeign1 [shlibs] +libeshf1 (binary): symbols-file-missing-build-depends-package-field libeshf.so.1 [symbols] +libeshf1 (binary): ships-undeclared-shared-library libeshf 1 for usr/lib/libeshf.so.1.0.1 [shlibs] +libdupshf1 (binary): symbols-file-missing-build-depends-package-field libdupshf.so.1 [symbols] +libdupshf1 (binary): duplicate-in-shlibs (lines 1 2) libdupshf 1 [shlibs] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/control.in new file mode 100644 index 0000000..9ca1147 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo-1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libfoo-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, + libfoo-1 (= ${binary:Version}) +Description: [% $description %] - dev + 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. + . + Dev package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.install b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.install new file mode 100644 index 0000000..cb060ec --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.install @@ -0,0 +1,2 @@ +lib/libbar-1.so +usr/lib/libfoo-1.so diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.symbols new file mode 100644 index 0000000..910a1e5 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-1.symbols @@ -0,0 +1,7 @@ +libfoo-1.so libfoo-1 #MINVER# + e@Base 1.0 + energy@Base 0.9 + +libbar-1.so libfoo-1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-dev.install b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-dev.install new file mode 100644 index 0000000..ed7b146 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/debian/libfoo-dev.install @@ -0,0 +1,3 @@ +usr/include +usr/lib/libbar.so +usr/lib/libfoo.so diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/fill-values new file mode 100644 index 0000000..5240e59 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: shared-libs-dev-symlink-fp +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test against dev symlink fp diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/Makefile new file mode 100644 index 0000000..decdff1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/Makefile @@ -0,0 +1,27 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAME:= libfoo-1.so +LSONAME:= libbar-1.so +devsymlink=$(shell echo $(1) | perl -pe 's:-[\d\.]*\.so$$:\.so:') +LIBFILES:=$(SONAME) $(LSONAME) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$@ $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/lib + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 -d $(DESTDIR)/usr/include + install -m 0644 $(LSONAME) $(DESTDIR)/lib + install -m 0644 $(SONAME) $(DESTDIR)/usr/lib + ln -s /lib/$(LSONAME) $(DESTDIR)/usr/lib/$(call devsymlink,$(LSONAME)) + ln -s $(SONAME) $(DESTDIR)/usr/lib/$(call devsymlink,$(SONAME)) + install -m 0644 code.h $(DESTDIR)/usr/include + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.c new file mode 100644 index 0000000..9a88735 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.c @@ -0,0 +1,16 @@ +#include +#include +#include "code.h" + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.h b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.h new file mode 100644 index 0000000..570beae --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/build-spec/orig/code.h @@ -0,0 +1,8 @@ +#ifndef CODE_H_ +#define CODE_H_ + +double e(void (*f)(char *)); + +double energy(double mass); + +#endif diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/desc new file mode 100644 index 0000000..c26091f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-dev-symlink-fp +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/hints new file mode 100644 index 0000000..09ab005 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink-fp/eval/hints @@ -0,0 +1,2 @@ +libfoo-1 (binary): symbols-file-missing-build-depends-package-field libfoo-1.so [symbols] +libfoo-1 (binary): symbols-file-missing-build-depends-package-field libbar-1.so [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..dfba657 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libfoo-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, + libfoo1 (= ${binary:Version}) +Description: [% $description %] - dev + 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. + . + Dev package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo-dev.install b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo-dev.install new file mode 100644 index 0000000..e43b95c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo-dev.install @@ -0,0 +1 @@ +usr/include diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.install b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.install new file mode 100644 index 0000000..08fa063 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.install @@ -0,0 +1 @@ +usr/lib/libfoo.so.* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/fill-values new file mode 100644 index 0000000..9c44aa5 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: shared-libs-dev-symlink +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to dev symlink diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/Makefile new file mode 100644 index 0000000..a7a50b9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/Makefile @@ -0,0 +1,24 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 -d $(DESTDIR)/usr/include + install -m 0644 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + install -m 0644 code.h $(DESTDIR)/usr/include + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.c new file mode 100644 index 0000000..9a88735 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.c @@ -0,0 +1,16 @@ +#include +#include +#include "code.h" + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.h b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.h new file mode 100644 index 0000000..570beae --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/build-spec/orig/code.h @@ -0,0 +1,8 @@ +#ifndef CODE_H_ +#define CODE_H_ + +double e(void (*f)(char *)); + +double energy(double mass); + +#endif diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/desc new file mode 100644 index 0000000..451ac80 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-dev-symlink +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/hints new file mode 100644 index 0000000..a7f8c30 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-dev-symlink/eval/hints @@ -0,0 +1 @@ +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/control.in new file mode 100644 index 0000000..86a2064 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libexecbit1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/libexecbit1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/libexecbit1.symbols new file mode 100644 index 0000000..d8226ca --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/libexecbit1.symbols @@ -0,0 +1,3 @@ +libexecbit.so.1 libexecbit1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/rules new file mode 100644 index 0000000..9082f3f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_fixperms: + # Do nothing, TYIA diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/fill-values new file mode 100644 index 0000000..0f19b1b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-exec-bit +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to libs with exec bit diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/Makefile new file mode 100644 index 0000000..0997289 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/Makefile @@ -0,0 +1,23 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libexecbit.so.1 libbadperm.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *execbit*.so* $(DESTDIR)/usr/lib + install -m 0600 *badperm*.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/desc new file mode 100644 index 0000000..efef29f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-exec-bit +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/hints new file mode 100644 index 0000000..b576dcd --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-bit/eval/hints @@ -0,0 +1,2 @@ +libexecbit1 (binary): symbols-file-missing-build-depends-package-field libexecbit.so.1 [symbols] +libexecbit1 (binary): symbols-file-missing-build-depends-package-field libbadperm.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/control.in new file mode 100644 index 0000000..bd81464 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libexecstack1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/libexecstack1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/libexecstack1.symbols new file mode 100644 index 0000000..1cc72ae --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/debian/libexecstack1.symbols @@ -0,0 +1,3 @@ +libexecstack.so.1 libexecstack1 #MINVER# + foo@Base 1.0 + get@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/fill-values new file mode 100644 index 0000000..7ca10e3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-exec-stack +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to libs with exec stack diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/Makefile new file mode 100644 index 0000000..1754891 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libexecstack.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): foo.o get.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/foo.c b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/foo.c new file mode 100644 index 0000000..7f41799 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/foo.c @@ -0,0 +1,9 @@ +extern int get(int, int (*)(int)); + +int foo(int a) { + int b = a; + int bar(int a) { + return a + b; + } + return get(a, bar); +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/get.c b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/get.c new file mode 100644 index 0000000..8207637 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/build-spec/orig/get.c @@ -0,0 +1,6 @@ +int get(int a, int (*f)(int)) { + return f(a); +} + +extern int foo(int); + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/desc new file mode 100644 index 0000000..f2a5f21 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-exec-stack +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/hints new file mode 100644 index 0000000..57bd1d2 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exec-stack/eval/hints @@ -0,0 +1 @@ +libexecstack1 (binary): symbols-file-missing-build-depends-package-field libexecstack.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/control.in new file mode 100644 index 0000000..86a2064 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libexecbit1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/libexecbit1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/libexecbit1.symbols new file mode 100644 index 0000000..0b26833 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/debian/libexecbit1.symbols @@ -0,0 +1,2 @@ +libexecbit.so.1 libexecbit1 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/fill-values new file mode 100644 index 0000000..8c30582 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-exit-fork +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to libs invoking both exit(3) and fork(2) diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/Makefile new file mode 100644 index 0000000..68d5863 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libexecbit.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/code.c new file mode 100644 index 0000000..df63394 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/build-spec/orig/code.c @@ -0,0 +1,12 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + if (fork() != 0) + exit(1); + return x; +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/desc new file mode 100644 index 0000000..fc71c36 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-exit-fork +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/hints new file mode 100644 index 0000000..6105735 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit-fork/eval/hints @@ -0,0 +1 @@ +libexecbit1 (binary): symbols-file-missing-build-depends-package-field libexecbit.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/control.in new file mode 100644 index 0000000..86a2064 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libexecbit1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/libexecbit1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/libexecbit1.symbols new file mode 100644 index 0000000..0b26833 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/debian/libexecbit1.symbols @@ -0,0 +1,2 @@ +libexecbit.so.1 libexecbit1 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/fill-values new file mode 100644 index 0000000..99c4585 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-exit +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to libs invoking exit(3) diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/Makefile new file mode 100644 index 0000000..68d5863 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libexecbit.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/code.c new file mode 100644 index 0000000..297a4e8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/build-spec/orig/code.c @@ -0,0 +1,13 @@ +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + if (x < 0.0) { + exit(1); + } else { + return x; + } +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/desc new file mode 100644 index 0000000..cc20e73 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-exit +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/hints new file mode 100644 index 0000000..6105735 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-exit/eval/hints @@ -0,0 +1 @@ +libexecbit1 (binary): symbols-file-missing-build-depends-package-field libexecbit.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..c20a449 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/fill-values new file mode 100644 index 0000000..b000a7b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: shared-libs-ldconfig-not-symlink +Package-Architecture: any +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test ldconfig symlink not being a symlink diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/Makefile new file mode 100644 index 0000000..2e3306e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/Makefile @@ -0,0 +1,20 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + install -T -m 0644 *.so* $(DESTDIR)/usr/lib/libfoo.so.1 + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/desc new file mode 100644 index 0000000..56356db --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-ldconfig-not-symlink +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/hints new file mode 100644 index 0000000..a7f8c30 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-not-symlink/eval/hints @@ -0,0 +1 @@ +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.install b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.install new file mode 100644 index 0000000..fe6951d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.install @@ -0,0 +1,2 @@ +app usr/lib/app + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst new file mode 100755 index 0000000..3e67b7e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +ldconfig + +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm new file mode 100755 index 0000000..eaeb28d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.postrm @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +if [ "$1" = remove ] ; then ldconfig ; fi + +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers new file mode 100644 index 0000000..dd86603 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/app.triggers @@ -0,0 +1 @@ +activate-noawait ldconfig diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..9960ee9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/control.in @@ -0,0 +1,47 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (missing ldc) + 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. + . + Checks for missing ldconfig in scripts. + +Package: libfish1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (preinst/rm ldc) + 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. + . + Checks for ldconfig in preinst/prerm scripts. + +Package: libuns1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (unsafe ldc) + 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. + . + Checks for unsafe ldconfig usage scripts. + +Package: app +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (useless ldc) + 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. + . + Checks for useless ldconfig usage in scripts. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install new file mode 100644 index 0000000..b1c4ec9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.install @@ -0,0 +1 @@ +usr/lib/libfish* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst new file mode 100755 index 0000000..3e67b7e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.preinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +ldconfig + +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm new file mode 100755 index 0000000..3e67b7e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.prerm @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +ldconfig + +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols new file mode 100644 index 0000000..2c5a075 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfish1.symbols @@ -0,0 +1,3 @@ +libfish.so.1 libfish1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install new file mode 100644 index 0000000..f3a3a05 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.install @@ -0,0 +1 @@ +usr/lib/libfoo* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst new file mode 100755 index 0000000..2615bf9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postinst @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +# No ldconfig +if false ; then true ; fi + +# -- we will remove all debhelper stuff later. +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm new file mode 100755 index 0000000..9b2f636 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if false ; then true ; fi + + +# -- we will remove all debhelper stuff later. +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install new file mode 100644 index 0000000..b91d5ff --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.install @@ -0,0 +1 @@ +usr/lib/libuns* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm new file mode 100755 index 0000000..acc5d15 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +ldconfig + + +# -- we will remove all debhelper stuff later. +#DEBHELPER# diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols new file mode 100644 index 0000000..d91149f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/libuns1.symbols @@ -0,0 +1,3 @@ +libuns.so.1 libuns1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/rules new file mode 100755 index 0000000..b1c71a9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_builddeb: + for P in $$(dh_listpackages) ; do \ + for S in postinst postrm preinst prerm ; do \ + if [ -f debian/$${P}.$${S} ] ; then \ + cp -af debian/$${P}.$${S} debian/$${P}/DEBIAN/$${S} ; \ + chmod 0755 debian/$${P}/DEBIAN/$${S} ; \ + sed -i '/#DEBHELPER#/ d' debian/$${P}/DEBIAN/$${S} ; \ + fi ; \ + done ; \ + done + # Work around debhelper adding triggers instead of explicit + # ldconfig calls + rm -f debian/libfoo1/DEBIAN/triggers + dh_builddeb diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/fill-values new file mode 100644 index 0000000..2159596 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: shared-libs-ldconfig-scripts +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to ldconfig in scripts diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/Makefile new file mode 100644 index 0000000..4d3c286 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 libfish.so.1 libuns.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lm + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/app b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/app new file mode 100755 index 0000000..04f1961 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/app @@ -0,0 +1,2 @@ +#!/bin/sh +echo Hello World diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/desc new file mode 100644 index 0000000..a05f43e --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-ldconfig-scripts +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/hints new file mode 100644 index 0000000..67c138b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-scripts/eval/hints @@ -0,0 +1,3 @@ +libuns1 (binary): symbols-file-missing-build-depends-package-field libuns.so.1 [symbols] +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] +libfish1 (binary): symbols-file-missing-build-depends-package-field libfish.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/control.in new file mode 100644 index 0000000..c20a449 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/fill-values new file mode 100644 index 0000000..74b1f2a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: shared-libs-ldconfig-wrong-file +Package-Architecture: any +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test ldconfig symlink with wrong target diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/Makefile new file mode 100644 index 0000000..373cbd2 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + echo "Strauss: Also Sprach Zarathustra" > \ + $(DESTDIR)/usr/lib/some-other-file + ln -s some-other-file $(DESTDIR)/usr/lib/libfoo.so.1 + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/desc new file mode 100644 index 0000000..7cba095 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-ldconfig-wrong-file +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/hints new file mode 100644 index 0000000..a7f8c30 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-ldconfig-wrong-file/eval/hints @@ -0,0 +1 @@ +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..86a2064 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libexecbit1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/libexecbit1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/libexecbit1.symbols new file mode 100644 index 0000000..0b26833 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/debian/libexecbit1.symbols @@ -0,0 +1,2 @@ +libexecbit.so.1 libexecbit1 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/fill-values new file mode 100644 index 0000000..50aa473 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-missing-ldconfig-symlink +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for missing ldconfig symlink for shared libs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/Makefile new file mode 100644 index 0000000..6de6868 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/Makefile @@ -0,0 +1,19 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libexecbit.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c new file mode 100644 index 0000000..65887f3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c @@ -0,0 +1,10 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/desc new file mode 100644 index 0000000..04a4305 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/desc @@ -0,0 +1,3 @@ +Testname: shared-libs-missing-ldconfig-symlink +Check: debian/shlibs + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/hints new file mode 100644 index 0000000..6105735 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-missing-ldconfig-symlink/eval/hints @@ -0,0 +1 @@ +libexecbit1 (binary): symbols-file-missing-build-depends-package-field libexecbit.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/control.in new file mode 100644 index 0000000..29d4c58 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libhallo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +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/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/libhallo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/libhallo1.symbols new file mode 100644 index 0000000..4c27e3f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/debian/libhallo1.symbols @@ -0,0 +1,2 @@ +libhallo.so.1 libhallo1 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/fill-values new file mode 100644 index 0000000..de5d6cc --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-multi-arch-foreign +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for shared libs in m-a foreign pkgs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/Makefile new file mode 100644 index 0000000..ac55af7 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libhallo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -fPIC -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/code.c new file mode 100644 index 0000000..65887f3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/build-spec/orig/code.c @@ -0,0 +1,10 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/desc new file mode 100644 index 0000000..6dee0b4 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-multi-arch-foreign +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/hints new file mode 100644 index 0000000..8a5512d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-multi-arch-foreign/eval/hints @@ -0,0 +1 @@ +libhallo1 (binary): symbols-file-missing-build-depends-package-field libhallo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/control.in new file mode 100644 index 0000000..c749732 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libhallo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/libhallo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/libhallo1.symbols new file mode 100644 index 0000000..4c27e3f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/debian/libhallo1.symbols @@ -0,0 +1,2 @@ +libhallo.so.1 libhallo1 #MINVER# + e@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/fill-values new file mode 100644 index 0000000..c238ab1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-no-gnu-stack +Package-Architecture: any +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test for shared libs without PT_GNU_STACK diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/Makefile new file mode 100644 index 0000000..8d357a8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/Makefile @@ -0,0 +1,23 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libhallo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -fPIC -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + ./erase-pt-gnu-stack $@ + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0755 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/code.c new file mode 100644 index 0000000..65887f3 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/code.c @@ -0,0 +1,10 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/erase-pt-gnu-stack b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/erase-pt-gnu-stack new file mode 100755 index 0000000..d3b7e59 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/build-spec/orig/erase-pt-gnu-stack @@ -0,0 +1,9 @@ +#!/usr/bin/perl -pi + +use strict; +use warnings; + +my $PT_GNU_STACK = 0x6474e551; +my $be = pack('L>', $PT_GNU_STACK); +my $le = pack('L<', $PT_GNU_STACK); +s/\Q$be\E|\Q$le\E/\0\0\0\0/g; diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/desc new file mode 100644 index 0000000..cab1f1c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-no-gnu-stack +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/hints new file mode 100644 index 0000000..8a5512d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-gnu-stack/eval/hints @@ -0,0 +1 @@ +libhallo1 (binary): symbols-file-missing-build-depends-package-field libhallo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/control.in new file mode 100644 index 0000000..c20a449 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.install b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.install new file mode 100644 index 0000000..1d2eaab --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.install @@ -0,0 +1 @@ +some-lib usr/lib diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.shlibs b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.shlibs new file mode 100644 index 0000000..f233a64 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.shlibs @@ -0,0 +1 @@ +libfoo 1 libfoo1 (>= 1.0) diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/fill-values new file mode 100644 index 0000000..730c2cd --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: shared-libs-no-shared-lib +Package-Architecture: any +Description: Test checks shlib without SO diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/orig/some-lib b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/orig/some-lib new file mode 100644 index 0000000..5707e12 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/build-spec/orig/some-lib @@ -0,0 +1 @@ +Aloah world diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/desc new file mode 100644 index 0000000..1b13462 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-no-shared-lib +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/hints new file mode 100644 index 0000000..38aca0a --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-no-shared-lib/eval/hints @@ -0,0 +1 @@ +libfoo1 (binary): empty-shlibs [shlibs] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..c20a449 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..a1f052b --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/debian/libfoo1.symbols @@ -0,0 +1,3 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 + energy@Base 0.9 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/fill-values new file mode 100644 index 0000000..cec22d9 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: shared-libs-non-dev-symlink +Package-Architecture: any +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to dev symlink diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/Makefile new file mode 100644 index 0000000..b62fa17 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/Makefile @@ -0,0 +1,21 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + ln -s libfoo.so.1.0.1 $(DESTDIR)/usr/lib/libfoo.so.1 + ln -s libfoo.so.1.0.1 $(DESTDIR)/usr/lib/libfoo.so + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/desc new file mode 100644 index 0000000..905bf7f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-non-dev-symlink +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/hints new file mode 100644 index 0000000..a7f8c30 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-dev-symlink/eval/hints @@ -0,0 +1 @@ +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/Makefile.in b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/Makefile.in new file mode 100644 index 0000000..372897d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/Makefile.in @@ -0,0 +1,110 @@ +# this makefile was adapted from the standard template to do just one thing: +# to ensure that no building takes place on architectures other than i386. +# +# dpkg-buildpackage croaks not only on build errors but also if there simply +# is nothing to do. source packages are nowadays permitted to create +# undeclared build artifacts. there is no way to tell when a build should +# or should not proceed (although the buildds use a heuristic based on the +# dsc). +# +# this makefile also touches the build product to make sure it exists. for +# historical reasons, the test runner check that (although perhaps it should +# not). +# +# more information may be available at Bug#949066. + +ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) + +package = [% $source %] +upstream_version = [% $upstream_version %] +type = [% $type %] + +packagedir = $(package)-$(upstream_version) + +origdata = $(ROOT_DIR)/orig +origtargz = $(package)_$(upstream_version).orig.tar.gz + +debiandata = $(ROOT_DIR)/debian +formatfile = $(debiandata)/source/format + +diffdata = $(ROOT_DIR)/diff + +private_key = $(ROOT_DIR)/upstream/private-key.asc + +pre_build = $(ROOT_DIR)/pre-build +post_build = $(ROOT_DIR)/post-build +pre_upstream = $(ROOT_DIR)/pre-upstream + +product = [% $build_product %] +upload_type = [% $upload_type %] + +ifeq ($(upload_type),source) +extraflags = -S +else +extraflags = +endif + +.DEFAULT_GOAL := $(product) + +ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),i386) +$(product): $(origtargz) + if [ -r $(origtargz) -a -r $(private_key) ] ; then \ + tmpdir=$(shell mktemp -d) ; \ + gpg --homedir "$$tmpdir" --import $(private_key) ; \ + gpg --homedir "$$tmpdir" --batch --yes --armor --output $(origtargz).asc \ + --detach-sign $(origtargz) ; \ + gpg-connect-agent --homedir "$$tmpdir" KILLAGENT /bye ; \ + rm -rf "$$tmpdir" ; \ + fi + if [ -d $(diffdata)/. ] ; then \ + cp -rp $(diffdata)/. $(packagedir) ; \ + fi + if [ -d $(debiandata)/. ] ; then \ + cp -rp $(debiandata)/. $(packagedir)/debian ; \ + fi + + if [ -x $(pre_build) ] ; then \ + $(pre_build) $(shell realpath $(packagedir)) ; \ + fi + + cd $(packagedir) && dpkg-buildpackage -rfakeroot $(extraflags) -us -uc -d \ + -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --source-option=--auto-commit + + if [ -x $(post_build) ] ; then \ + $(post_build) $(shell realpath $(packagedir)) ; \ + fi +else +$(product): + touch $(product) +endif + +ifeq ($(type),native) +$(origtargz): + -mkdir $(packagedir) + if [ -d $(origdata)/. ] ; then \ + cp -rp $(origdata)/. $(packagedir) ; \ + fi +else +$(origtargz): + -mkdir $(packagedir) + if [ -d $(origdata)/. ] ; then \ + cp -rp $(origdata)/. $(packagedir) ; \ + fi + + if [ -x $(pre_upstream) ] ; then \ + $(pre_upstream) $(shell realpath $(packagedir)) ; \ + fi + + tar czf $(origtargz) $(packagedir) + + if [ -f $(formatfile) ] && grep --quiet "^3\.. (quilt)$$" $(formatfile) ; then \ + rm -rf $(packagedir)/debian ; \ + fi +endif + +.PHONY: clean +clean: + rm -rf $(packagedir) + if [ "$(type)" = "native" ] ; then \ + rm -f $(origtargz) ; \ + fi diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/control.in new file mode 100644 index 0000000..47c51c7 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libbaz3-1 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/symbols b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/symbols new file mode 100644 index 0000000..63ba04d --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/debian/symbols @@ -0,0 +1,3 @@ +libbaz3.so libbaz3-1 #MINVER# + pw@Base 1.0 + stackprotfix@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/fill-values new file mode 100644 index 0000000..cb0b316 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: shared-libs-non-pic-i386 +Package-Architecture: i386 +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to non-pic code diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/Makefile new file mode 100644 index 0000000..c5ec48c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/Makefile @@ -0,0 +1,26 @@ +CC=gcc + +NOPICOBJS=non-pic.o +SONAME:=libbaz3.so.1 + +NOPIC_CFLAGS = $(CFLAGS) -fno-PIE +NOPIC_LDFLAGS = $(LDFLAGS) -fno-PIE -fno-pie + +all: libbaz3.so.1.0.3b + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(NOPIC_LDFLAGS) -o $@ -shared -Wl,-soname,$(SONAME) $^ -lc + +%.o: %.c + $(CC) $(NOPIC_CFLAGS) $(CPPFLAGS) -o $@ -c $< + +clean: + rm -f *.a *.o *.so* *.sho + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + ln -s libbaz3.so.1.0.3b $(DESTDIR)/usr/lib/$(SONAME) + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c new file mode 100644 index 0000000..f0fa719 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c @@ -0,0 +1,11 @@ +#include +#include + +double pw(double p){ + return exp(p); +} + +void stackprotfix(void (*f)(char *, size_t)) { + char buffer[10]; + f(buffer, sizeof(buffer)); +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/desc new file mode 100644 index 0000000..7d0d190 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/desc @@ -0,0 +1,3 @@ +Testname: shared-libs-non-pic-i386 +Test-Architectures: i386 +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/hints new file mode 100644 index 0000000..13e63f6 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/hints @@ -0,0 +1 @@ +libbaz3-1 (binary): symbols-file-missing-build-depends-package-field libbaz3.so.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/post-test b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/post-test new file mode 100755 index 0000000..11ad2c8 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-non-pic-i386/eval/post-test @@ -0,0 +1 @@ +/: hardening-.*/ d diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/compat.in b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/control.in new file mode 100644 index 0000000..021518f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/control.in @@ -0,0 +1,48 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (deb revision) + 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. + . + Checks for deb revisions in symbols files and other brokenness. + +Package: libsym1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (missing) + 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. + . + Checks for missing symbol file. + + +Package: libesym1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (empty symbols) + 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. + . + Checks for empty symbol file/missing shlib in symbols file. + +Package: nolibrary +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (not a library) + 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. + . + Check for shipping a symbols file without a library. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libesym1.install b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libesym1.install new file mode 100644 index 0000000..750092c --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libesym1.install @@ -0,0 +1 @@ +usr/lib/libesym* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.install b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.install new file mode 100644 index 0000000..f3a3a05 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.install @@ -0,0 +1 @@ +usr/lib/libfoo* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.symbols b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.symbols new file mode 100644 index 0000000..7b91609 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libfoo1.symbols @@ -0,0 +1,10 @@ +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0-1 + energy@Base 0.9-1 + +# duplicate +# - e@Base has a bad index +# - energy@Base is a syntax error (missing version) +libfoo.so.1 libfoo1 #MINVER# + e@Base 1.0 1 + energy@Base diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libsym1.install b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libsym1.install new file mode 100644 index 0000000..7faef4f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/libsym1.install @@ -0,0 +1 @@ +usr/lib/libsym* diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/nolibrary.install b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/nolibrary.install new file mode 100644 index 0000000..241d370 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/nolibrary.install @@ -0,0 +1 @@ +someconf.conf etc/ diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/rules new file mode 100644 index 0000000..9ef2bb2 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +override_dh_builddeb: + # Apparently some of the tools are too smart to install + # a redundant/empty symbols file in the package, so here + # is a non-empty useless symbols file! + echo "# Aloha!" > debian/libesym1/DEBIAN/symbols + echo "# Aloha!" > debian/nolibrary/DEBIAN/symbols + # ... they are also too smart to install slightly broken + # variants of symbols files + install -m 0644 debian/libfoo1.symbols debian/libfoo1/DEBIAN/symbols + dh_builddeb diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/fill-values new file mode 100644 index 0000000..63a0f65 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/fill-values @@ -0,0 +1,5 @@ +Testname: shared-libs-symbols-file +Skeleton: upload-non-native +Default-Build-Depends: debhelper (>= 9.20151004~) +Dh-Compat-Level: 9 +Description: Test checks related to symbols files diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/Makefile new file mode 100644 index 0000000..5ab4ec1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/Makefile @@ -0,0 +1,22 @@ +CC=gcc +CFLAGS+= -fPIC + +SONAMES:= libfoo.so.1 libsym.so.1 libesym.so.1 +LIBFILES:= $(patsubst %,%.0.1, $(SONAMES)) + +all: $(LIBFILES) + +$(LIBFILES): code.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(patsubst %.0.1,%,$@) $^ -lc + +clean: + rm -f *.a *.o *.so* + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.so* $(DESTDIR)/usr/lib + for FILE in $(SONAMES) ; do \ + ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \ + done + +.PHONY: install clean diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/code.c b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/code.c new file mode 100644 index 0000000..0ed08e0 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/code.c @@ -0,0 +1,15 @@ +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +double energy(double mass){ + return pow(10.0, 8.0) * pow(3.0, 2.0) * mass; +} + diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/someconf.conf b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/someconf.conf new file mode 100644 index 0000000..16940ea --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/build-spec/orig/someconf.conf @@ -0,0 +1,2 @@ +# Yada yada yada +Var=Val diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/desc new file mode 100644 index 0000000..a35e821 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/desc @@ -0,0 +1,2 @@ +Testname: shared-libs-symbols-file +Check: debian/shlibs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/hints new file mode 100644 index 0000000..d7b0307 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-symbols-file/eval/hints @@ -0,0 +1,9 @@ +nolibrary (binary): empty-shared-library-symbols [symbols] +libsym1 (binary): no-symbols-control-file usr/lib/libsym.so.1.0.1 +libfoo1 (binary): syntax-error-in-symbols-file [symbols:10] +libfoo1 (binary): symbols-file-missing-build-depends-package-field libfoo.so.1 [symbols] +libfoo1 (binary): symbols-file-contains-debian-revision on symbol energy@Base (libfoo.so.1) [symbols] +libfoo1 (binary): symbols-file-contains-current-version-with-debian-revision on symbol e@Base (libfoo.so.1) [symbols] +libfoo1 (binary): invalid-template-id-in-symbols-file 1 [symbols:9] +libfoo1 (binary): duplicate-entry-in-symbols-control-file (lines 1 8) libfoo 1 [symbols] +libesym1 (binary): shared-library-symbols-not-tracked libesym 1 for usr/lib/libesym.so.1.0.1 [symbols] diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/control.in b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/control.in new file mode 100644 index 0000000..d0e5f60 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/rules b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/rules new file mode 100755 index 0000000..f60e347 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +# Do this manually so it works with jessie's debhelper without +# breaking of stretch because we get two triggers. +# - This rules file can be removed once lintian requires +# debhelper/9.20160403 or newer. +override_dh_makeshlibs: + dh_makeshlibs -n diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/symbols b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/symbols new file mode 100644 index 0000000..76a969f --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/symbols @@ -0,0 +1,2 @@ +libfoo.so libfoo #MINVER# + foo@Base 1.0 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/triggers b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/triggers new file mode 100644 index 0000000..dd86603 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/debian/triggers @@ -0,0 +1 @@ +activate-noawait ldconfig diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/fill-values b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/fill-values new file mode 100644 index 0000000..8343487 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: shared-libs-unversioned +Package-Architecture: any +Description: Test handling of shared libraries without versioned SONAMEs diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/Makefile b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/Makefile new file mode 100644 index 0000000..daf74d1 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/Makefile @@ -0,0 +1,15 @@ +CC = gcc + +all: libfoo.so + +libfoo.so: foo.o + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libfoo.so $^ -lc + +%.o: %.c + $(CC) $(CFLAGS) $(CPPFLAGS) -fPIC -o $@ -c $< + +install: + install -d $(DESTDIR)/usr/lib + install -m644 libfoo.so $(DESTDIR)/usr/lib/ + +.PHONY: distclean realclean clean install test check diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/foo.c b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/foo.c new file mode 100644 index 0000000..aa323d5 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/build-spec/orig/foo.c @@ -0,0 +1,24 @@ +/* + * Be sure that this library uses a function from libc. Otherwise, gcc is + * smart enough not to link it with libc and we get more tags for missing + * dependency lines. + */ + +#include +#include +#include + +double e(void (*f)(char *)){ + char tmp[10]; + double x; + f(tmp); + x = atof(tmp); + return exp(x); +} + +int +foo(int num) +{ + printf("%d\n", num); + return num * 42; +} diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/desc b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/desc new file mode 100644 index 0000000..1937c93 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/desc @@ -0,0 +1,5 @@ +Testname: shared-libs-unversioned +Check: debian/shlibs +Test-Against: + ships-undeclared-shared-library +See-Also: Debian Bug#506673 diff --git a/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/hints b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/hints new file mode 100644 index 0000000..eee1d97 --- /dev/null +++ b/t/recipes/checks/debian/shlibs/shared-libs-unversioned/eval/hints @@ -0,0 +1,2 @@ +libfoo (binary): symbols-file-missing-build-depends-package-field libfoo.so [symbols] +libfoo (binary): shared-library-lacks-version usr/lib/libfoo.so libfoo.so diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/build-spec/fill-values b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/build-spec/fill-values new file mode 100644 index 0000000..0e031d2 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-source-dir-classifications +Description: Test for d-s-d classifications tags diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/desc b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/desc new file mode 100644 index 0000000..1c4797f --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-source-dir-classifications +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/hints b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/hints new file mode 100644 index 0000000..a3bdc6a --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-classifications/eval/hints @@ -0,0 +1 @@ +debian-source-dir-classifications (source): source-format 3.0 (native) diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/debian/source/options b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/debian/source/options new file mode 100644 index 0000000..22a4de9 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/debian/source/options @@ -0,0 +1,2 @@ +compression = xz +compression-level = 9 diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/fill-values b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/fill-values new file mode 100644 index 0000000..05e98a5 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debian-source-dir-custom-compression-settings +Source-Format: 3.0 (native) +Description: Check for custom compression settings in debian/source/format diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/desc b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/desc new file mode 100644 index 0000000..5d3372f --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-source-dir-custom-compression-settings +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/hints b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/hints new file mode 100644 index 0000000..f03bb46 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-custom-compression-settings/eval/hints @@ -0,0 +1,3 @@ +debian-source-dir-custom-compression-settings (source): source-format 3.0 (native) +debian-source-dir-custom-compression-settings (source): custom-compression-in-debian-source-options compression-level = 9 [debian/source/options:2] +debian-source-dir-custom-compression-settings (source): custom-compression-in-debian-source-options compression = xz [debian/source/options:1] diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/debian/source/formt b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/debian/source/formt new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/debian/source/formt @@ -0,0 +1 @@ +1.0 diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/fill-values b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/fill-values new file mode 100644 index 0000000..8b1c351 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debian-source-dir-general +Description: General tests for debian/source/* checks diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/pre-build b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/pre-build new file mode 100755 index 0000000..9442d4c --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-general/build-spec/pre-build @@ -0,0 +1,2 @@ +#!/bin/sh +rm "$1"/debian/source/format diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/desc b/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/desc new file mode 100644 index 0000000..fedd774 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-source-dir-general +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/hints b/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/hints new file mode 100644 index 0000000..c9d8043 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-general/eval/hints @@ -0,0 +1,4 @@ +debian-source-dir-general (source): unknown-file-in-debian-source [debian/source/formt] +debian-source-dir-general (source): source-format 1.0 [implicit native] +debian-source-dir-general (source): older-source-format 1.0 +debian-source-dir-general (source): missing-debian-source-format diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/patches/series b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/patches/series new file mode 100644 index 0000000..94cd91e --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/patches/series @@ -0,0 +1,11 @@ +# some line that ends with quilt-patches-deb-export-hook +# this looks like series file + + # but really it is just a bunch + +# of blank + +# lines + +# and # + # comments diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/source/git-patches b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/source/git-patches new file mode 100644 index 0000000..359925d --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/debian/source/git-patches @@ -0,0 +1,11 @@ +upstream/$UPSTREAM_VERSION..patches/$DEB_VERSION + + + # this is an indented comment + + + + # some more blank lines + + + diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/fill-values b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/fill-values new file mode 100644 index 0000000..70ac870 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: debian-source-dir-gitpkg-series +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Test for trivial series file in git-patches-not-exported diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/orig/an_empty_file b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/build-spec/orig/an_empty_file new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/desc b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/desc new file mode 100644 index 0000000..4ede50f --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/desc @@ -0,0 +1,2 @@ +Testname: debian-source-dir-gitpkg-series +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/hints b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/hints new file mode 100644 index 0000000..8e9437c --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg-series/eval/hints @@ -0,0 +1,2 @@ +debian-source-dir-gitpkg-series (source): source-format 3.0 (quilt) +debian-source-dir-gitpkg-series (source): git-patches-not-exported [debian/patches/series] diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/debian/source/git-patches b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/debian/source/git-patches new file mode 100644 index 0000000..be4c03c --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/debian/source/git-patches @@ -0,0 +1,11 @@ +# upstream/$UPSTREAM_VERSION..patches/$DEB_VERSION + + + # this is an indented comment + + + + # some more blank lines + + + diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/fill-values b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/fill-values new file mode 100644 index 0000000..f8455d2 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: debian-source-dir-gitpkg +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Test for false positives in git-patches-not-exported diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/desc b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/desc new file mode 100644 index 0000000..8526d22 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/desc @@ -0,0 +1,4 @@ +Testname: debian-source-dir-gitpkg +Test-Against: + git-patches-not-exported +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/hints b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/hints new file mode 100644 index 0000000..6212855 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/debian-source-dir-gitpkg/eval/hints @@ -0,0 +1 @@ +debian-source-dir-gitpkg (source): source-format 3.0 (quilt) diff --git a/t/recipes/checks/debian/source-dir/source-format-1.0/build-spec/fill-values b/t/recipes/checks/debian/source-dir/source-format-1.0/build-spec/fill-values new file mode 100644 index 0000000..12123e7 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/source-format-1.0/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: source-format-1.0 +Source-Format: 1.0 +Description: General tests for debian/source/* checks diff --git a/t/recipes/checks/debian/source-dir/source-format-1.0/eval/desc b/t/recipes/checks/debian/source-dir/source-format-1.0/eval/desc new file mode 100644 index 0000000..c7df978 --- /dev/null +++ b/t/recipes/checks/debian/source-dir/source-format-1.0/eval/desc @@ -0,0 +1,2 @@ +Testname: source-format-1.0 +Check: debian/source-dir diff --git a/t/recipes/checks/debian/source-dir/source-format-1.0/eval/hints b/t/recipes/checks/debian/source-dir/source-format-1.0/eval/hints new file mode 100644 index 0000000..3fdf38f --- /dev/null +++ b/t/recipes/checks/debian/source-dir/source-format-1.0/eval/hints @@ -0,0 +1,2 @@ +source-format-1.0 (source): source-format 1.0 [native] +source-format-1.0 (source): older-source-format 1.0 diff --git a/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/debian/source/include-binaries b/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/debian/source/include-binaries new file mode 100644 index 0000000..c14271d --- /dev/null +++ b/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/debian/source/include-binaries @@ -0,0 +1,3 @@ +# the format should tolerate this comment +# and whitespace around the filename + debian/icon.png diff --git a/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/fill-values b/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/fill-values new file mode 100644 index 0000000..7e60c72 --- /dev/null +++ b/t/recipes/checks/debian/source/include-binaries/non-existing-file/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: non-existing-file +Skeleton: source-native +Description: An entry in d/source/include-binaries does not exist. +References: dpkg-source(1), Bug#528001, https://stackoverflow.com/questions/21057015/debian-include-binaries-format diff --git a/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/desc b/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/desc new file mode 100644 index 0000000..3fc395a --- /dev/null +++ b/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/desc @@ -0,0 +1,2 @@ +Testname: non-existing-file +Check: debian/source/include-binaries diff --git a/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/hints b/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/hints new file mode 100644 index 0000000..78e2e5d --- /dev/null +++ b/t/recipes/checks/debian/source/include-binaries/non-existing-file/eval/hints @@ -0,0 +1 @@ +non-existing-file (source): unused-entry-in-debian-source-include-binaries debian/icon.png [debian/source/include-binaries:3] diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/rules b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/somepackage.substvars b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/somepackage.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/somepackage.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/substvars b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/fill-values b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/fill-values new file mode 100644 index 0000000..c6798f7 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-diff +Skeleton: upload-non-native +Source-Format: 1.0 +Description: Check for cruft added in the diff diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/pre-build b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/pre-build new file mode 100755 index 0000000..537b323 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/build-spec/pre-build @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" +mkdir "${dir}/.pc" +echo 'diff-contains-quilt-control-dir' > "${dir}/.pc/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/eval/desc b/t/recipes/checks/debian/substvars/cruft-general-diff/eval/desc new file mode 100644 index 0000000..0ce942a --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-general-diff +See-Also: Debian Bug#598251 +Check: debian/substvars diff --git a/t/recipes/checks/debian/substvars/cruft-general-diff/eval/hints b/t/recipes/checks/debian/substvars/cruft-general-diff/eval/hints new file mode 100644 index 0000000..97f50c5 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-diff/eval/hints @@ -0,0 +1,2 @@ +cruft-general-diff (source): source-contains-debian-substvars [debian/substvars] +cruft-general-diff (source): source-contains-debian-substvars [debian/somepackage.substvars] diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/rules b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/substvars b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/fill-values b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/fill-values new file mode 100644 index 0000000..8460259 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-general-native +Description: Check for cruft in a native package diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/pre-build b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/pre-build new file mode 100755 index 0000000..c594074 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/eval/desc b/t/recipes/checks/debian/substvars/cruft-general-native/eval/desc new file mode 100644 index 0000000..2cd8a25 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-native +Check: debian/substvars diff --git a/t/recipes/checks/debian/substvars/cruft-general-native/eval/hints b/t/recipes/checks/debian/substvars/cruft-general-native/eval/hints new file mode 100644 index 0000000..f7b0898 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-native/eval/hints @@ -0,0 +1 @@ +cruft-general-native (source): source-contains-debian-substvars [debian/substvars] diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/README.source b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/README.source new file mode 100644 index 0000000..0bbaa60 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/README.source @@ -0,0 +1 @@ +Some information about the patch system diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/rules b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/somepackage.substvars b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/somepackage.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/somepackage.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/substvars b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/fill-values b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/fill-values new file mode 100644 index 0000000..01bda9c --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-quilt +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Check for cruft added in a 3.0 (quilt) package diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/pre-build b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/pre-build new file mode 100755 index 0000000..53e0ddd --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/build-spec/pre-build @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" +mkdir "${dir}/.pc" +echo 'diff-contains-quilt-control-dir' > "${dir}/.pc/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/desc b/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/desc new file mode 100644 index 0000000..21a04e6 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/desc @@ -0,0 +1,3 @@ +Testname: cruft-general-quilt +See-Also: Debian Bug#598251 +Check: debian/substvars diff --git a/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/hints b/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/hints new file mode 100644 index 0000000..b005f00 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-quilt/eval/hints @@ -0,0 +1,2 @@ +cruft-general-quilt (source): source-contains-debian-substvars [debian/substvars] +cruft-general-quilt (source): source-contains-debian-substvars [debian/somepackage.substvars] diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen new file mode 100644 index 0000000..a452b53 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen @@ -0,0 +1,5 @@ +--- upstream/README ++++ debian/README +@@ -1 +1 @@ +-README ++README for wig&pen diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values new file mode 100644 index 0000000..edb39d9 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-wig-pen +Skeleton: upload-non-native +Source-Format: 2.0 +Description: Check for cruft added in a 2.0 package diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build new file mode 100755 index 0000000..78f359c --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc new file mode 100644 index 0000000..72b8327 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-wig-pen +Check: debian/substvars diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints new file mode 100644 index 0000000..e1dd703 --- /dev/null +++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints @@ -0,0 +1 @@ +cruft-general-wig-pen (source): source-contains-debian-substvars [debian/substvars] diff --git a/t/recipes/checks/debian/symbols/package-placeholder/build-spec/debian/package-placeholder.symbols b/t/recipes/checks/debian/symbols/package-placeholder/build-spec/debian/package-placeholder.symbols new file mode 100644 index 0000000..c9c913d --- /dev/null +++ b/t/recipes/checks/debian/symbols/package-placeholder/build-spec/debian/package-placeholder.symbols @@ -0,0 +1,66 @@ +# taken from http://deb.debian.org/debian/pool/main/libd/libdvdread/libdvdread_6.0.1-1.dsc +libdvdread.so.4 libdvdread4 #MINVER# +* Build-Depends-Package: #PACKAGE# + DVDClose@Base 4.1.3 + DVDCloseFile@Base 4.1.3 + DVDDiscID@Base 4.1.3 + DVDFileSeek@Base 4.1.3 + DVDFileSeekForce@Base 4.1.3 + DVDFileSize@Base 4.1.3 + DVDFileStat@Base 4.1.3-4~ + DVDISOVolumeInfo@Base 4.1.3 + DVDOpen@Base 4.1.3 + DVDOpenFile@Base 4.1.3 + DVDOpenStream@Base 5.0.2 + DVDReadBlocks@Base 4.1.3 + DVDReadBytes@Base 4.1.3 + DVDUDFCacheLevel@Base 4.1.3 + DVDUDFVolumeInfo@Base 4.1.3 + UDFFindFile@Base 4.1.3 + UDFGetVolumeIdentifier@Base 4.1.3 + UDFGetVolumeSetIdentifier@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_close@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_error@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_open@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_read@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_seek@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_setup@Base 4.1.3 +#MISSING: 6.0.0-1# dvdinput_title@Base 4.1.3 + dvdread_getbits@Base 4.1.3 + dvdread_getbits_init@Base 4.1.3 + dvdread_print_time@Base 4.1.3 + ifoClose@Base 4.1.3 + ifoFree_C_ADT@Base 4.1.3 + ifoFree_FP_PGC@Base 4.1.3 + ifoFree_PGCIT@Base 4.1.3 + ifoFree_PGCI_UT@Base 4.1.3 + ifoFree_PTL_MAIT@Base 4.1.3 + ifoFree_TITLE_C_ADT@Base 4.1.3 + ifoFree_TITLE_VOBU_ADMAP@Base 4.1.3 + ifoFree_TT_SRPT@Base 4.1.3 + ifoFree_TXTDT_MGI@Base 4.1.3 + ifoFree_VOBU_ADMAP@Base 4.1.3 + ifoFree_VTS_ATRT@Base 4.1.3 + ifoFree_VTS_PTT_SRPT@Base 4.1.3 + ifoFree_VTS_TMAPT@Base 4.1.3 + ifoOpen@Base 4.1.3 + ifoOpenVMGI@Base 4.1.3 + ifoOpenVTSI@Base 4.1.3 + ifoRead_C_ADT@Base 4.1.3 + ifoRead_FP_PGC@Base 4.1.3 + ifoRead_PGCIT@Base 4.1.3 + ifoRead_PGCI_UT@Base 4.1.3 + ifoRead_PTL_MAIT@Base 4.1.3 + ifoRead_TITLE_C_ADT@Base 4.1.3 + ifoRead_TITLE_VOBU_ADMAP@Base 4.1.3 + ifoRead_TT_SRPT@Base 4.1.3 + ifoRead_TXTDT_MGI@Base 4.1.3 + ifoRead_VOBU_ADMAP@Base 4.1.3 + ifoRead_VTS_ATRT@Base 4.1.3 + ifoRead_VTS_PTT_SRPT@Base 4.1.3 + ifoRead_VTS_TMAPT@Base 4.1.3 + ifo_print@Base 4.1.3 + navPrint_DSI@Base 4.1.3 + navPrint_PCI@Base 4.1.3 + navRead_DSI@Base 4.1.3 + navRead_PCI@Base 4.1.3 diff --git a/t/recipes/checks/debian/symbols/package-placeholder/build-spec/fill-values b/t/recipes/checks/debian/symbols/package-placeholder/build-spec/fill-values new file mode 100644 index 0000000..8ae39e8 --- /dev/null +++ b/t/recipes/checks/debian/symbols/package-placeholder/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: package-placeholder +Description: Look for PACKAGE placeholder in d/symbols files diff --git a/t/recipes/checks/debian/symbols/package-placeholder/eval/desc b/t/recipes/checks/debian/symbols/package-placeholder/eval/desc new file mode 100644 index 0000000..994734b --- /dev/null +++ b/t/recipes/checks/debian/symbols/package-placeholder/eval/desc @@ -0,0 +1,2 @@ +Testname: package-placeholder +Check: debian/symbols diff --git a/t/recipes/checks/debian/symbols/package-placeholder/eval/hints b/t/recipes/checks/debian/symbols/package-placeholder/eval/hints new file mode 100644 index 0000000..1b8a920 --- /dev/null +++ b/t/recipes/checks/debian/symbols/package-placeholder/eval/hints @@ -0,0 +1 @@ +package-placeholder (source): package-placeholder-in-symbols-file [debian/package-placeholder.symbols:3] diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/changelog.in b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/changelog.in new file mode 100644 index 0000000..7174e69 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/control.in b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/control.in new file mode 100644 index 0000000..c4d5304 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/install b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/install new file mode 100644 index 0000000..47fc6a3 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/debian/install @@ -0,0 +1 @@ +dummy usr/share/doc/foo/ diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/fill-values b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/fill-values new file mode 100644 index 0000000..faa216c --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-crlf-eols +Package-Architecture: all +Description: Check that control files with CRLF EOLs are reported diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/orig/dummy b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/orig/dummy new file mode 100644 index 0000000..5c3118d --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/build-spec/orig/dummy @@ -0,0 +1 @@ +dummy file diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/desc b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/desc new file mode 100644 index 0000000..b3c05d7 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-crlf-eols +Check: debian/trailing-whitespace diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/hints b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/hints new file mode 100644 index 0000000..5e0885f --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-crlf-eols/eval/hints @@ -0,0 +1,22 @@ +cruft-crlf-eols (source): trailing-whitespace [debian/control:9] +cruft-crlf-eols (source): trailing-whitespace [debian/control:8] +cruft-crlf-eols (source): trailing-whitespace [debian/control:7] +cruft-crlf-eols (source): trailing-whitespace [debian/control:6] +cruft-crlf-eols (source): trailing-whitespace [debian/control:5] +cruft-crlf-eols (source): trailing-whitespace [debian/control:4] +cruft-crlf-eols (source): trailing-whitespace [debian/control:3] +cruft-crlf-eols (source): trailing-whitespace [debian/control:2] +cruft-crlf-eols (source): trailing-whitespace [debian/control:1] +cruft-crlf-eols (source): trailing-whitespace [debian/control:15] +cruft-crlf-eols (source): trailing-whitespace [debian/control:14] +cruft-crlf-eols (source): trailing-whitespace [debian/control:13] +cruft-crlf-eols (source): trailing-whitespace [debian/control:12] +cruft-crlf-eols (source): trailing-whitespace [debian/control:11] +cruft-crlf-eols (source): trailing-whitespace [debian/control:10] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:8] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:7] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:6] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:5] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:4] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:3] +cruft-crlf-eols (source): trailing-whitespace [debian/changelog:2] diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/README.source b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/README.source new file mode 100644 index 0000000..11f42a1 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/README.source @@ -0,0 +1,6 @@ +cruft-file-contains-trailing-whitespace for Debian +-------------------------------------------------- + +This line does not contain any trailing whitespace. +This line contains a trailing whitespace character but is still a false-positive as we ignore README.source. + diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/changelog.in b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/changelog.in new file mode 100644 index 0000000..9c178f1 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/changelog.in @@ -0,0 +1,9 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * This line contains trailing whitespace. + * This line does not contais trailing whitespace. + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + + diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/rules b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/rules new file mode 100755 index 0000000..c19a271 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + # The line contains a trailing tab (false-positive) + + diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/fill-values b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/fill-values new file mode 100644 index 0000000..7a95b35 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-file-contains-trailing-whitespace +Description: Check for files containing trailing whitespace characters diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/desc b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/desc new file mode 100644 index 0000000..1f35e07 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-file-contains-trailing-whitespace +Check: debian/trailing-whitespace diff --git a/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/hints b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/hints new file mode 100644 index 0000000..7953403 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/cruft-file-contains-trailing-whitespace/eval/hints @@ -0,0 +1,4 @@ +cruft-file-contains-trailing-whitespace (source): trailing-whitespace [debian/rules:7] +cruft-file-contains-trailing-whitespace (source): trailing-whitespace [debian/changelog:9] +cruft-file-contains-trailing-whitespace (source): trailing-whitespace [debian/changelog:8] +cruft-file-contains-trailing-whitespace (source): trailing-whitespace [debian/changelog:3] diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules new file mode 100755 index 0000000..9a82cb7 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif \ No newline at end of file diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values new file mode 100644 index 0000000..90cfaae --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-without-newline-at-end +Description: d/rules lacking a newline at the end of file. diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc new file mode 100644 index 0000000..232e02f --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-without-newline-at-end +Check: debian/trailing-whitespace diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints new file mode 100644 index 0000000..d14a8d4 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints @@ -0,0 +1 @@ +rules-without-newline-at-end (source): no-newline-at-end [debian/rules] diff --git a/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..4ffe477 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Bogus: This field name is not known. +Repository: Some repo. +Bug-Submit: A bug tracker. diff --git a/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/fill-values new file mode 100644 index 0000000..5be819d --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/bogus-field/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: bogus-field +Description: Upstream metadata contains a field named 'Bogus' +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/desc b/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/desc new file mode 100644 index 0000000..2ac293b --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/desc @@ -0,0 +1,4 @@ +Testname: bogus-field +Check: debian/upstream/metadata +See-Also: + https://salsa.debian.org/lintian/lintian/-/merge_requests/356 diff --git a/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/hints b/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/hints new file mode 100644 index 0000000..47a6443 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/bogus-field/eval/hints @@ -0,0 +1,5 @@ +bogus-field (source): upstream-metadata-field-unknown Bogus [debian/upstream/metadata] +bogus-field (source): upstream-metadata-exists [debian/upstream/metadata] +bogus-field (source): upstream-metadata Repository Some repo. [debian/upstream/metadata] +bogus-field (source): upstream-metadata Bug-Submit A bug tracker. [debian/upstream/metadata] +bogus-field (source): upstream-metadata Bogus This field name is not known. [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/debian/upstream b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/debian/upstream new file mode 100644 index 0000000..ab2fc5d --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/debian/upstream @@ -0,0 +1 @@ +# empty file \ No newline at end of file diff --git a/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/fill-values new file mode 100644 index 0000000..de42edd --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-obsolete-upstream-metadata +Description: Check for obsolete path for debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/desc b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/desc new file mode 100644 index 0000000..c0934c3 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-obsolete-upstream-metadata +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/hints b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/hints new file mode 100644 index 0000000..91c125c --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/cruft-obsolete-upstream-metadata/eval/hints @@ -0,0 +1 @@ +cruft-obsolete-upstream-metadata (source): debian-upstream-obsolete-path [debian/upstream] diff --git a/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..1182684 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/debian/upstream/metadata @@ -0,0 +1,7 @@ +--- +Archive: GitHub +Bug-Database: https://github.com/isaacs/node-glob/issues +Contact: https://github.com/isaacs/node-glob/issues +Name: node-glob +Repository: https://github.com/isaacs/node-glob.git +Repository-Browse: https://github.com/isaacs/node-glob diff --git a/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/fill-values new file mode 100644 index 0000000..ad6eb57 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/fields-present/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: fields-present +Description: Tests for classification tags on upstream metadata +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/fields-present/eval/desc b/t/recipes/checks/debian/upstream/metadata/fields-present/eval/desc new file mode 100644 index 0000000..02d3d28 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/fields-present/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-present +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/fields-present/eval/hints b/t/recipes/checks/debian/upstream/metadata/fields-present/eval/hints new file mode 100644 index 0000000..769e5ab --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/fields-present/eval/hints @@ -0,0 +1,7 @@ +fields-present (source): upstream-metadata-exists [debian/upstream/metadata] +fields-present (source): upstream-metadata Repository-Browse https://github.com/isaacs/node-glob [debian/upstream/metadata] +fields-present (source): upstream-metadata Repository https://github.com/isaacs/node-glob.git [debian/upstream/metadata] +fields-present (source): upstream-metadata Name node-glob [debian/upstream/metadata] +fields-present (source): upstream-metadata Contact https://github.com/isaacs/node-glob/issues [debian/upstream/metadata] +fields-present (source): upstream-metadata Bug-Database https://github.com/isaacs/node-glob/issues [debian/upstream/metadata] +fields-present (source): upstream-metadata Archive GitHub [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..d18240a --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/debian/upstream/metadata @@ -0,0 +1,2 @@ + - Hi, +This is a completely invalid YAML file. diff --git a/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/fill-values new file mode 100644 index 0000000..4a524d2 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/in-native-source/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: in-native-source +Description: Tests for d/upstream/metadata in native sources. +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/desc b/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/desc new file mode 100644 index 0000000..e639f6e --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/desc @@ -0,0 +1,2 @@ +Testname: in-native-source +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/hints b/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/hints new file mode 100644 index 0000000..cabf645 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/in-native-source/eval/hints @@ -0,0 +1 @@ +in-native-source (source): upstream-metadata-in-native-source [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..d18240a --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/debian/upstream/metadata @@ -0,0 +1,2 @@ + - Hi, +This is a completely invalid YAML file. diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/fill-values new file mode 100644 index 0000000..4807064 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: upstream-metadata-invalid-yml +Description: Tests for upstream-metadata being invalid yml +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/desc b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/desc new file mode 100644 index 0000000..cb6406c --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-metadata-invalid-yml +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/hints b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/hints new file mode 100644 index 0000000..6e29652 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-invalid-yml/eval/hints @@ -0,0 +1,2 @@ +upstream-metadata-invalid-yml (source): upstream-metadata-yaml-invalid did not find expected (at document 2, line 2, column 1) [debian/upstream/metadata] +upstream-metadata-invalid-yml (source): upstream-metadata-exists [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/fill-values new file mode 100644 index 0000000..ffb322d --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-metadata-is-missing +Skeleton: upload-non-native +Description: Tests for missing upstream metadata file diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/pre-build b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/pre-build new file mode 100755 index 0000000..e4e9373 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/build-spec/pre-build @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f "$1/debian/upstream/metadata" diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/desc b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/desc new file mode 100644 index 0000000..eda1ff9 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-metadata-is-missing +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/hints b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/hints new file mode 100644 index 0000000..b2f602f --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-missing/eval/hints @@ -0,0 +1 @@ +upstream-metadata-is-missing (source): upstream-metadata-file-is-missing diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/fill-values new file mode 100644 index 0000000..18a7845 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-non-native +Testname: upstream-metadata-is-not-a-file +Description: Tests for d/upstream/metadata being non-file diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/pre-build b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/pre-build new file mode 100755 index 0000000..f237abf --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/build-spec/pre-build @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +DIR="$1" +UPSTREAM_DIR="$DIR/debian/upstream" +METADATA="$UPSTREAM_DIR/metadata" + +mkdir -p "$UPSTREAM_DIR" +rm -f "$METADATA" +mkfifo "$METADATA" diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/desc b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/desc new file mode 100644 index 0000000..8bbbeb1 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-metadata-is-not-a-file +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/hints b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/hints new file mode 100644 index 0000000..ba37c59 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-is-not-a-file/eval/hints @@ -0,0 +1,2 @@ +upstream-metadata-is-not-a-file (source): upstream-metadata-is-not-a-file [debian/upstream/metadata] +upstream-metadata-is-not-a-file (source): upstream-metadata-exists [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..e740fba --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/debian/upstream/metadata @@ -0,0 +1,5 @@ +Archive: GitHub +Contact: https://github.com/isaacs/node-glob/issues +Name: node-glob +Repository: https://github.com/isaacs/node-glob.git +Repository-Browse: https://github.com/isaacs/node-glob diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/fill-values new file mode 100644 index 0000000..924631c --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: upstream-metadata-missing-bug-tracking +Description: Tests for upstream-metadata missing upstream repo info +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/desc b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/desc new file mode 100644 index 0000000..60d30b1 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-metadata-missing-bug-tracking +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/hints b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/hints new file mode 100644 index 0000000..221dfb4 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-bug-tracking/eval/hints @@ -0,0 +1,7 @@ +upstream-metadata-missing-bug-tracking (source): upstream-metadata-missing-bug-tracking [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata-exists [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata Repository-Browse https://github.com/isaacs/node-glob [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata Repository https://github.com/isaacs/node-glob.git [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata Name node-glob [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata Contact https://github.com/isaacs/node-glob/issues [debian/upstream/metadata] +upstream-metadata-missing-bug-tracking (source): upstream-metadata Archive GitHub [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..131493d --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/debian/upstream/metadata @@ -0,0 +1,6 @@ +Archive: GitHub +Bug-Database: https://github.com/isaacs/node-glob/issues +Contact: https://github.com/isaacs/node-glob/issues +Name: node-glob +Bug-Database: https://github.com/isaacs/node-glob/issues +Bug-Submit: https://github.com/isaacs/node-glob/issues/new diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/fill-values new file mode 100644 index 0000000..65e64c5 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: upstream-metadata-missing-repository +Description: Tests for upstream-metadata missing upstream repo info +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/desc b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/desc new file mode 100644 index 0000000..6e6fe31 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-metadata-missing-repository +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/hints b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/hints new file mode 100644 index 0000000..595916c --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/upstream-metadata-missing-repository/eval/hints @@ -0,0 +1,7 @@ +upstream-metadata-missing-repository (source): upstream-metadata-missing-repository [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata-exists [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata Name node-glob [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata Contact https://github.com/isaacs/node-glob/issues [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata Bug-Submit https://github.com/isaacs/node-glob/issues/new [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata Bug-Database https://github.com/isaacs/node-glob/issues [debian/upstream/metadata] +upstream-metadata-missing-repository (source): upstream-metadata Archive GitHub [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/debian/upstream/metadata b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/debian/upstream/metadata new file mode 100644 index 0000000..6e5ed82 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/debian/upstream/metadata @@ -0,0 +1,5 @@ +- Name: libpff +- Bug-Database: https://github.com/libyal/libpff/issues +- Changelog: https://github.com/libyal/libpff/blob/master/ChangeLog +- Documentation: https://github.com/libyal/libpff/wiki +- Repository: https://github.com/libyal/libpff diff --git a/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/fill-values b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/fill-values new file mode 100644 index 0000000..6ec962f --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: yaml-sequence +Description: File is YAML sequence instead of mapping +Extra-Build-Depends: libyaml-libyaml-perl (>= 0.69) diff --git a/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/desc b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/desc new file mode 100644 index 0000000..0d43f76 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/desc @@ -0,0 +1,2 @@ +Testname: yaml-sequence +Check: debian/upstream/metadata diff --git a/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/hints b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/hints new file mode 100644 index 0000000..03f3384 --- /dev/null +++ b/t/recipes/checks/debian/upstream/metadata/yaml-sequence/eval/hints @@ -0,0 +1,2 @@ +yaml-sequence (source): upstream-metadata-not-yaml-mapping [debian/upstream/metadata] +yaml-sequence (source): upstream-metadata-exists [debian/upstream/metadata] diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..41c2c56 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,160 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFkjME4BEACatcbzE9EaIKMmiS3OmcrooZZUI4pGtJcFqCNBOP3qvxUEq9Tk +4XPY8EARDGdwy2rMc12ywoc5FMzNwXiC3RpUNHnNhY+zau18q9CQx8UR02NDFWQq +AwaDSF4WU1GBVBMWgtxfIwAQGl/qOr+aSVtJCnEOTA/YiZPNw/wpA7r2g6EHYcce +a5srr7F15a6OxzDdPXlfoJuoSXMZUHpJIqG0UOo7NPkxPGRoHO2yGPS1DWKy3egG +xm718DwaIWee+mfJrcqT0ZFH4n5po1BJVj+8TcqE4YlkN/z4p0zI/XAxNCR2wGV2 +6cCQ8laEgwG33rPp+N3G/FeJchYTFvL7zDtdYKbBPVeaJh2kROnqbVVN5kZBVEXB +QNbXKuK6/TPiQeI+8anA9WflI19lzkzl29L7hsM9ornk7+wtu9P2hu3eEUgjjBli +Ujisw8s0aTPB5QsMCjSownwZ0ucqj+07nYVsPU2wK8x6A7p6Cg2SCPnjbX8jUb3Z +wyn0yi4SWceW9a+LW6wdGarMGbu+Lm6in8pK93u7mE/D4AskUVz1yLyiNO9WBXPq +GyTocqXKXTutHKhhSwY9CyEw1+SRzXXyHPmRunRULTgZHLOaydK6ekzBOe1Yp9Zk +hLvon6fgOhJTsokv27QCSw8ILbQPGF9qJWFQfYZhT4QCufmPaFgBpJOdewARAQAB +iQJOBB8BCgA4FiEE4c8g3f/kuJ6AJljx4LEYlPZq7JgFAlkjMMkXDIABgOl28UpQ +ikjpyj/pvDciUsoc+WQCBwAACgkQ4LEYlPZq7JiCcw/+NxzyntWMM/b/eIMedzZK +Zyq7Mo6vgFxT57wAloMtLu0WS9oETTH/+/9+fHPmkYxCX1HTNKpdY2KbjiZC/gAY +vJ8iGWredwIls2UyW4fegzRLNvWLZmUBbLg0WaTIQ9JZwa2Rw/q6Z0pe0tfb44oX +lpps0WA/OZCWXYVO2rhOzoiQulqdmHgwdcLA29BnpqBY1R8/LMDsfPLnJu7AFqgM +CQpnjIGRH6ZxF2TNUSdljUbIOultEeIvxtxosF1u0r20mg46aaKDpr0ANiR/Ojaj +YoeHZc39fyubSrhIyQuk4rDisrJod63MJ9x9upAc9H3qz71QjpwpVXPDxereWULO +17qN3hjjZd23CBdRv8HjRKQoFagUnxlrat1t+/yJCENzX6eX8wBs0vVCSmbtbSp7 +y+0BK4fyjDKCdiyKh1TiAnQ1Po/xICGr4Sa6Wohq2TeWXz4VlRnaQeCIwa4Kk6T/ +3VTQbNxn7Uiy9ec8aR+1YMGUBDG/k3s6K1PWLdJtSVgao8MkQYeKcQk/sgGSFPh8 +SkTy7CnSjK/gQP8NC5fFDWpatGpnDr9qsQwzMnUVYWNZQMQ+LJHPnXRyusr3M+Gh +4muVW1wmyjNLhtEYjJJnbv9bVVv2HFVXOWGiXY4hnj01xkHf3885Qq5ORWl1FMnU +lcqUcFsB6a1CCPGxNTJQhgKJAk4EHwEKADgWIQThzyDd/+S4noAmWPHgsRiU9mrs +mAUCWSMwyRcMgAH7+r21QbXclVvZum7bFs9bsSUlxAIHAAAKCRDgsRiU9mrsmK2H +D/9frYP6KRecLNMzLJGe6MB/1DbqIud1/kzd/jHRo3e4Dz8cls29N03HskLE4jTf +BXKAhUmRI52aMCioY/K03rZLaR++/GMIdnF7O4Ks7P203J4/CudmXQvz3Rby22lC +RCp3Wsx2DqFgpc1V5SjmdDxzEs3fwKJ0B8YOMyibyUaLfwaxRfiTsWmRF192WzCM +/B1tmJDLIqwq/xxzxmiqzrxBWq3JIxH1PzrGbWvAE0gfBJHgw/2HHO4PAG9Lj+AV +HHPV/9xhXdbF/KnnKUGtd9lssNleWlc5LeM0ix2pU/QrZx7c+CBW+142jQcZ58X6 +QvHTKBkImI7y3kMCUOs+UbxKnFsRBRduMLvIpXJVXukV3QvRn+9riITPIcviF4ni +F6V2NQ+ONrvMOK2s6VdfgMS7c4Azuyt4SJSEzBhHu+VTVnMZCBiKvZtRL5XX85ZF +DDkN62Bwa+F36lTiOBWOecSQykCyOKcnn0jKrSgDOk08qE7Nzl2SPdlpza0/bk2u +6i8o3mrmdO02OqC9vJum6M4Pn2HHrkPzAtSs11E7ogcZghPxnGCekGQNekHx9DKM +mv8W+SZf4b1KD1EKECeNLZ0QHQMjU3AYBav+Mq9IXIlwFZL85BYLUAWfrCnqf/gV +CTiy9yKdQ4WIr9XR+zywDigAZqJ5PxwBh1+phrkoWUfsLokCTgQfAQoAOBYhBOHP +IN3/5LiegCZY8eCxGJT2auyYBQJZIzDJFwyAATCZEb6pZtBhMFMEVxG05f8VsP2C +AgcAAAoJEOCxGJT2auyYWHAP/jlmSZQI/dnrYTT0ZtZA0k3sCaaOApWmno4Jm1+p +QzxBJyVXC/7em3D/Wb3B4XpQKnkWOGz3XtEf4LNPhrW1n6nLFOLctprGwnlZihBp +tmidEvvFKCa5exv4WOVyat5jLttNJ6o4O0BJHmUJG/wAVSjfWi2KgVXZEnz/wts8 +KFXc06RCgavIATmlC5QqD87U5ezKJdY0HY/A8uT9aBJ3KFdzj5MnZOzr2RJcEtWU +UE1HHxqJS7POQVMUWK/7nABUKjzpQg8Hn7VNom553Lf8yk+OLl0x7+bS/8tZltZ/ +zkIqzUmpPk1QSf5b4JOryJye0ZV60TtbI7juXi2VV41gcHxd7EMkF4PAMtHF/rNM +n/sR4LLXPnQk71zqOScYpMBDQ0FikQ7UuUT35iJAX3u7mWYL0P4h3NBlPmRLg9W3 +k/g5KRBLJ2U9Ba+i3UIRva8tUGz/EluzOCUcSbIEMNkaNyt4ktO3PaIzAzdVdxYk +IWV6NUj92vSBJvXinzIjyXTk9Tjfuf4hLo15C+1c9P0+XkpKzpvW1ycpIUVH9QSZ +afC1e45EXSkD0AV+y6ihJf4PWddgGb3ZeWarcp2QL/ll3XoBdEGfxOQJ1Py2nfIS +HxVrl5AxoEJ9q+4YO5xysAV4f+UFKvS4snJtRztOYBKM0/4pup41u4V8oGWLRUOC +d/GitEdEZWJpYW4gQXJjaGl2ZSBBdXRvbWF0aWMgU2lnbmluZyBLZXkgKDkvc3Ry +ZXRjaCkgPGZ0cG1hc3RlckBkZWJpYW4ub3JnPokCVAQTAQoAPhYhBOHPIN3/5Lie +gCZY8eCxGJT2auyYBQJZIzBOAhsDBQkPCZwABQsJCAcDBRUKCQgLBRYCAwEAAh4B +AheAAAoJEOCxGJT2auyYKFoP/R5ijjBRlLpClTvhk5p1pE/cJbMAHd1Y7x09iSN3 +nT222tx4Zk3wVnP/1puJNkOxW7btMuUNz6Y4DolLpAa71hq3NOsTGz+5PL8ZFBoi +lIN2iOpfzqIFLASM0Pz6X+twV3ZyE1PZmfzLAu8OWm4kt1v3qJVtWN/5dHbjTqMt +vUc28VX1di51zWTs+3b/SDC+KN98i9W64JUiHPcLL6b2Y44fDszDDVVExwtPrPk0 +VU+et4/uWmhcdEIEb91MIEsLAUJIBqcGTZU7Gymxupa3vApT6UUxfNKkVCGDN5dk +zFKkS6p2NEQjtIPNAheBwUfHqSDeN+EW4IuQxHZ92o+XGFMHqU29Vy81sPkGvKkG +EIL12iMpW9hDTbjO/+v695o3tVo/h1b0NSZP3Jk4I3iDBpAcUEYarxoOung2K1fC +QYH7R+7hy3lnRP36s9za6rEbik0c4XRvyYaYq7npGEq4CqhcKgRhZqVcy2Zmymcw +MqR1wLSxEmbREQZfBCFh5zpVC+kmRHfXCmZyAfDwLgGuMDVL7piCW5DqpC04Ks7M +Uj/r1O5hyMEjIzcdATVBMNJmdOPw7d0vqgBUizj0Y/e8RhmY8mkmy1zoI1HU7JfF +eKNnK/I2KYUop0qV0+bEFcu0RiEFVMP5cw4L2QAr1Y39XJNFU3v7IujRZXkxLn+H +6l4HiQJVBBABCAA/FiEE+/q9tUG13JVb2bpu2xbPW7ElJcQFAlkknnUhGmh0dHA6 +Ly9ncGcuZ2FubmVmZi5kZS9wb2xpY3kudHh0AAoJENsWz1uxJSXE0z8P/3wl5xqi +wO8sHcMtPXRoOMGRBGlXN/GWbEuqOxaN4lVko+sqGTineW0nk6bx9zhTFDCXjEpK +da6M8Tc7V/cQoEyrV7btFolrb1KPKl5cVTsxKbLSJO79VgN9CZdrv8xS1VsI6SW/ +7euwZmdjYCnOqs049uAxmeZU3HI/yjaOowhDDHAXRvzzbMTN5Y8aWqE1Sv/ndnb+ +qHDq0Xh6hX0iS+Szx7KIGDLsgPPPjvEfsfmXVhYrWPdB4KXIeOcISehblxxU9FCE +JmArB0txQtW595m/Gn5ntVbiyHhrhNlGYT+6D1Fsw3q1l9kIzj8ro2/yRcZ/JRot +w5j5bMbYatQGoxmaBr9AaHCyUmmQEwfQFqBDnOBrV2XwLlurIX3ZvkQQVy5e4ysp +9K8lAd5X4k3sKOSca9HooIcK8szc48aUijHabzOzU459qrds5iX10q0L5It1FqLp +obg2l3wLWU7XwAP6K7m6LcvSa+2QqJmh72SBLd6xPCQAdwwUgdfzjovxTpdQu+3u +5NX+ud4uc+WP8bEG1oT//H9cQ6ocRKXS9iGYby7LF0ykY1MVBI8KfQ7UyLWe/wZ/ +HlPBT2tFQ+8HoB1ZmtzsukaJcTiDtOcQGrIfgEs+bbw7mFKIDjI8OKZpZRlm+UAy +Vm4jG/OiHoxOcr29mYCUwAzLRpavE+L2/koGiQIzBBABCgAdFiEEgOl28UpQikjp +yj/pvDciUsoc+WQFAlkkgYkACgkQvDciUsoc+WQChQ/7BgfCpOAN2mmrSToaMY5C +UVsxw6GVa68gDJA6A1rFXq3cqI5KIj5lNZ+NQi5a9hUu/Ll0m5TN7bZQ8+wxre1U +GY1EnIUb1MFsL7r43dvYOifwV0jNci7+wfvU7slJWfwRlO+q9pwxseBRnGsxLgnf +p6ZK/VqzjMUBXzAdMxwqacaJITsgHHGqActsuTGlasOafTxSvWDjIM9O8+maOzAq +sTa9EXGQhASuzAnDaaW6L7etM6Icm//7cMz8oVnTPKIrqYsHTypIju5XXqHa6Y1D +jZlFcQe7aFbgyBufe4hNtcUHJxXpJHThmZVjJA0t8ofZ8tPWScRDrphMTPfGzVZS +TPUKn+WbkD7w9H7fjQcaCH6YKoJx3tIYzLuDStS/+SLqF45eJp5Miws7AYJCZ2u6 +vJ/8kDVByVPW4Xlq+nmi2RPG7Ym6NcmjG6FUFNUs4PPPfVn7cdLLcnNNriV8hyOJ +T+NnXISSLo20F9buHMl28YqBb7sXmM71lr4kbjNKi0IWUOb+uZcgzMnJPjegR0hT +GWbN5TmZnQ0lxYU2gr+t9F5DewTfMZMqE70T5eNfSyfr9iCEt8pp6GsjQlFglYZr +30bcoLI8IYvS5VOvHAtWrOe35UgLXT8iB0pdCDcVbdA4ZaUaSR6hH26RZgPu4dRx +9flHYtovRX1rDB9Ujc2d3JuJAhwEEAEIAAYFAlkl7L0ACgkQEbTl/xWw/YJo3BAA +jRFiSZPG8SH2QQ1XWF0RREv/yWO95HkZdTHY/yDNfB94YLVCSqWDfO7QepCE2SUp +4+eBdKUSUk6sICQL5gQ3D6PpSLMPaiJ9QoUi7JU6pT9xlrdFIfwC/zZypsfDQ8Gb +L0xZPuXEurcR6YArCFHxtACKSxcUBqvpb2YL9fOEQqVzq90yWxQYsX+xlOpXAXXe +ITwbjgT0E6izN0ucYthhvBM0nw3Ma+v1C4o590MzAFefKaA8kQ2xrO/NIQVwD4qI +MQh+Cshq7UZXM8LRa3gxaMvglMKeeyFHXPP1V+AKsQ5KmPlzYKFe+Fam85FZOF8i +0OrlYcuJ6ZCSXFY9Yfr4GFrkLNsyWfSdv20JVi5U5LWJj4kArw8vc09zVxnpw5IK +4TNxhg68Pho5/XES4upBQkWAzukwOKUVjzCaZkj9Kbos7MO5D4w9DZjGD5sosob/ +aLPznRqrhGX7KIVeqUDn5gavtIjk6mZBMpdDGi9GQ6ObuHUnDKyf0K4gYQ40NVGD +e1KidJmRoLgdWph2NNP1tuLQcq6dzCdC5Oryu0yCLFXnxHURkIDTT6mKCtJ6rEsk +O+s6+3yOB2FXv+oF1L/rUzv+dZsvKQR7T9odOITuQ/LGs9whGTG0sqpbCjyhCwt7 +2xy95fIpPdQ1Uhzcu9N/XZPRYY5IYR0NUDEUen9QAHWJAhwEEwEKAAYFAlkmhFEA +CgkQdjjQRCuQ0BAjWxAAjIMwo5CFvImdmyiSfDLPezHLFL49FbLGIENr6E0xcAKo +kPj5s3mCZ0dbCV32yrMBBIllHNrJ1dnv3+VQAwJFQNaTKZbej15zUL5RvBxZlaN5 +RNlf/vYD9Llm0fWiwMXpm0ep2ID2T93i1wGyYt1FnlQ58fO2Qye3h1Kp4qAQjDMR +k2jjePqwx06QkC9+R21XK78RezgmtVb9BPTVNnUazzREcq1/mVfratAnlR+Arh63 +80E63Glwc9vNqzkuYA1ilTodzPCXk9vEA2gD31L1gCu3YP0kqe5aHB1R6y1cFvQz +0Il/P4lyMBm3eTWZ09961Eopl0kLMPFFZkGw2ev4OB1wa0IAdugBTpCqc6lx/CY8 +mt/s6mEVxvzI4ljNgKPyyLaBZUOY0gtEgwmpE63njMWmuFxDOls7WuP45WEuRoOB +OJkwtYNNpaghN2K/qWEgLtU76Nq64DGkjFd8xVdEccgmYxquQtrXEKj+2E5G8NOx +tZeH0HrVcOfXHTMNx9UoZRP00VSycctkDwt0NBrDqA+o0Djkdql01YLUFOmOYe+U +Z7vxNZIfQkGr2ynnAiqIchMuoz4/IUBLJ0HKasEf62NYluPrcbh2giTTYKtDkZqA +eFB6lLxyTiZ3vDTE5a9lPrKt/p1JBhW5/S2BHWJjDMDO9ut4a8MWfw84u2ZwNuOJ +AhwEEwEKAAYFAlkmhVkACgkQnW2Pa8hXyQagAxAAvhC1r8xGL31TWdusrNWzh7jD +h1qWOMY/cvWmU5Jj10OG2O9oBa7hhm8g/bj8a3rVPEFPwdzJQNEG1MKinVkRjgTP +ST9QHNuUP2sPtVsq/Y5HxFV8prCKXZ5hiVBLgORpSLF/kUh54dGhiFjycUoTFn0g +MkaNArvkAGWpqjFgeQxW+Y15DHj4c1EwcSIKrcpDMyVqlZD96bbkLL7kTQ4zCMlJ +irezEANgEXUYz0RD4NcWGHaT+GFVJfI+Mq4P17FltpHZyTtWbBmkzvJ4y6tbvxQt +mKpDR4z88nstjCSXDjU4nOZL7Bifoi8ztV4uLzJ00dC6ivFmTCQyCqXCHPMvT3dj +9Byr+cMWBGSfM198/oUh++eYW8dp0wjNtIrnJaqnLICzvBg5OucxzRVa4ZMPPx9+ +4jYjdsNsYg+oiZE5ljW1Ig8CBcCyVjNSUBDrRbb9vp1up/ByC3oxD8Uy3wETc7C7 +AMJ8H+RH/6J+HrE3im0HB22XiR4TtKgOuLQxGVO+aXEhdGdxFdWZUDdulC+feWc8 +acVkRvlIYF2Bfxs1Ecee/BkP7++kWZJ9o9Nl1HEpv+spDoxpzL4VRNF3U84InaCb +wX17GLuVj07bk06ag44ZHmXwM/GSRn4ITwEVSKKoBCcvJGnRROA0n1a5+v7XSMvT +9Q0gJj1rzlA9VNgS7Pi5Ag0EWSMwTgEQAMkD4hfHi8rZYM4I8V+vJp8feW93+Oiq +caVzQygYKs+/dbr9favoHttNxOF8eBMIwkQgQlBIYehcHAnhnhuCP6s16tnM2lF6 +52s4c7DV4Fodo53Q+sqzPth/dH76NOeUAzSj3KPfD9YblrB+J2Z14PP2ObfvO8k/ +SghaCEPZ8geq5DZjTAs1YU5xYlawVJCvoQnb2TKEXbUrMOqAX/ysOwk3DrIo78h1 +HvGShBuHf08gOtv8Fm2pKdkPHzr/QI0/atFoRn793W74n4Qc2mwrDUUQds7oZ1IX +tXeIHlVV8Z13no4qA7FRNL40/vBfKuPFAPZGt17k946L2LL5Lxu43eVFIbW2jAod +tV3NxAYu5JAYIYOawZO0p9OZJdZ8sTg5KOhBfyfO4pFyc/FaOhxv3SVqhRZAuHTe +6OSKLUMcV/7Yrb1hClSXtZcuTEZfaqDksoGg/QDHuYcnAtD7NWEEgEfuL2KYXudw +GIjRQSUUMWv4Fw+BT50f3PHSH+lns/vQXxEaKDiGacKOC+FEHs9jTvWl9+phyzCK +4CfTgZagW6gsvfPc/0fg2a/TaTzj4Y48KbENcBc+x2IwowRZAtSI+LsgH8puKMbQ +7oRRnVdt2LqkWtzBoTcc4r5r4m+eGZ8/qsB1n69bS+MNWZtusaBeaQHGFv4d9rIC +0QOzwZLX5EE1ABEBAAGJBHIEGAEKACYWIQThzyDd/+S4noAmWPHgsRiU9mrsmAUC +WSMwTgIbAgUJDwmcAAJACRDgsRiU9mrsmMF0IAQZAQoAHRYhBBbpCz/fZe3jqn8y +PATucje31FPsBQJZIzBOAAoJEATucje31FPscu8P/0yRsvlQjY0q600VkxD8KciV +lvC7+xyrMBIal1ILjIpPlMeuWWpPE+Ffnry91m1GcAlXTfUf7NhZkqWfsyygqUGy +BJ7ydPox8rA4UXW3J31Em4Lgc0JwUFD/bFqz/iVVYCnaWYcoX/68CwaWRCjt67v3 +3vNCw97t/W40430HsmK+AC6HS6vV09KeYk5fhrORFBNGrZT7Bm7lsWGgaz+7pNGk +GE6k+K3sS6boGga1EGLA6YbaOEaIS6QJtpm4VEleFksj3JHK1TMN/QCnSGdy0/0b +qkF/TDcfqG9c1vCp9knWkCKQmi/nv2ay2v6ZAcICAY7sjibicmBd06uvfU1bhKB7 +nYC/i77l+IGKX5R/WvTrdb+J5qQhODF70Nr6HO6EsI4E4X541GRLgGMZYKbiu0Tb +uo1B7PSOrkddGUwxXjDBXM2ClcgPi8nL1irpleSAu89/B+Y+pr5IshaVmIP4+jCl +GDG18/kPryOFk0ACszjlX7eFMTFPUX0gl7qDRfVE1jKzPxf75gLoeIylYChMd17b +uQo8RsknkcvNgifdL4sRcbxOvhpERONK1MwR88K8C0GqJ61cIRMv8odMMpescww0 +5ECOpE+kl9PJcREnm8SVkclraWcQVEwGOkHtx5BsPqZplUEAIcJNXuvXm9kFkaVS +2SRvQyklI6/NQQZzK8SRwacQAIGFHV3eOtC0rdrnmnh2XCDeEN5iPCvVG723jIc2 +6aDR4a47zr9507TBLUxMPJQ6mB7imsEcWHfR48zARq8jMSj7ahfhIa1ixEksc943 +CxLrjPAWfAnog/2MYJdUw/nBjU4dqb53ssxD/F/c3LB+z/nCEaO2UgH2Kekh0KyV +KgwV0N8XcTB0UmGcH9J2DZ5/ZXRc2XiYWIDoJHs8thGxwsIYXEhYsgBwGu9Kil4t +LzFt4sluY0kvfrDHu+oYfcYBh5V7q6AQYBh8ujjAhKZUmlKtgay6IHkR65m8QI49 +ITdTQW+Y+orphcsdbvCm4IhXPgykLySouskwr7RuhPka0hKwDUt+0MHbBmAhfYnF +JC5o23tmgAq8l2WZbp6/uFZ+4E9UmvAI0RvQM/B3AxQBOCBOryGeaBwkJcsACm8V +ADWm+/OWK78kuval45wGQl9+TqqjRuwA9ESEUMgZnc33rVPM3h6gR8Rv/M77AjyM +88rGBLCWr7wNY4e3U34tH8jMFOMy9vN6l3kOR5/EFoXJJGehzE+xCyyeicY2HsJ5 +t5R/R6w23vgNqf6eBRQuDtym2rSuuiaCnvKEF3S9ng+phmm/eZadG7xOjERRPqqt +TP+zge55Q1B+P1HmllKlR6YLFyRuKOO1ZOVh4Ae2MS4oZybMQsTifjjiQ/8W8KJq +k5Bh +=3qWJ +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/fill-values new file mode 100644 index 0000000..9983ac1 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-key-bloated +Skeleton: upload-non-native +Description: Check if public upstream signing key contains extra signatures diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/desc new file mode 100644 index 0000000..9c407e3 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/desc @@ -0,0 +1,5 @@ +Testname: upstream-key-bloated +Test-Against: + public-upstream-key-unusable + public-upstream-keys-in-multiple-locations +Check: debian/upstream/signing-key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/hints new file mode 100644 index 0000000..9c5238e --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-bloated/eval/hints @@ -0,0 +1 @@ +upstream-key-bloated (source): public-upstream-key-not-minimal has 5 extra signature(s) for keyid E0B11894F66AEC98 [debian/upstream/signing-key.asc] diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/fill-values new file mode 100644 index 0000000..0d90cd0 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: upstream-key-empty +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Test with an empty public upstream signing key (requires source format 3.0) diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/desc new file mode 100644 index 0000000..4e58f08 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-key-empty +Check: debian/upstream/signing-key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/hints new file mode 100644 index 0000000..b39ccf7 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-empty/eval/hints @@ -0,0 +1 @@ +upstream-key-empty (source): public-upstream-key-unusable cannot be processed [debian/upstream/signing-key.asc] diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..25cdc6a --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,101 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFkjME4BEACatcbzE9EaIKMmiS3OmcrooZZUI4pGtJcFqCNBOP3qvxUEq9Tk +4XPY8EARDGdwy2rMc12ywoc5FMzNwXiC3RpUNHnNhY+zau18q9CQx8UR02NDFWQq +AwaDSF4WU1GBVBMWgtxfIwAQGl/qOr+aSVtJCnEOTA/YiZPNw/wpA7r2g6EHYcce +a5srr7F15a6OxzDdPXlfoJuoSXMZUHpJIqG0UOo7NPkxPGRoHO2yGPS1DWKy3egG +xm718DwaIWee+mfJrcqT0ZFH4n5po1BJVj+8TcqE4YlkN/z4p0zI/XAxNCR2wGV2 +6cCQ8laEgwG33rPp+N3G/FeJchYTFvL7zDtdYKbBPVeaJh2kROnqbVVN5kZBVEXB +QNbXKuK6/TPiQeI+8anA9WflI19lzkzl29L7hsM9ornk7+wtu9P2hu3eEUgjjBli +Ujisw8s0aTPB5QsMCjSownwZ0ucqj+07nYVsPU2wK8x6A7p6Cg2SCPnjbX8jUb3Z +wyn0yi4SWceW9a+LW6wdGarMGbu+Lm6in8pK93u7mE/D4AskUVz1yLyiNO9WBXPq +GyTocqXKXTutHKhhSwY9CyEw1+SRzXXyHPmRunRULTgZHLOaydK6ekzBOe1Yp9Zk +hLvon6fgOhJTsokv27QCSw8ILbQPGF9qJWFQfYZhT4QCufmPaFgBpJOdewARAQAB +iQJOBB8BCgA4FiEE4c8g3f/kuJ6AJljx4LEYlPZq7JgFAlkjMMkXDIABgOl28UpQ +ikjpyj/pvDciUsoc+WQCBwAACgkQ4LEYlPZq7JiCcw/+NxzyntWMM/b/eIMedzZK +Zyq7Mo6vgFxT57wAloMtLu0WS9oETTH/+/9+fHPmkYxCX1HTNKpdY2KbjiZC/gAY +vJ8iGWredwIls2UyW4fegzRLNvWLZmUBbLg0WaTIQ9JZwa2Rw/q6Z0pe0tfb44oX +lpps0WA/OZCWXYVO2rhOzoiQulqdmHgwdcLA29BnpqBY1R8/LMDsfPLnJu7AFqgM +CQpnjIGRH6ZxF2TNUSdljUbIOultEeIvxtxosF1u0r20mg46aaKDpr0ANiR/Ojaj +YoeHZc39fyubSrhIyQuk4rDisrJod63MJ9x9upAc9H3qz71QjpwpVXPDxereWULO +17qN3hjjZd23CBdRv8HjRKQoFagUnxlrat1t+/yJCENzX6eX8wBs0vVCSmbtbSp7 +y+0BK4fyjDKCdiyKh1TiAnQ1Po/xICGr4Sa6Wohq2TeWXz4VlRnaQeCIwa4Kk6T/ +3VTQbNxn7Uiy9ec8aR+1YMGUBDG/k3s6K1PWLdJtSVgao8MkQYeKcQk/sgGSFPh8 +SkTy7CnSjK/gQP8NC5fFDWpatGpnDr9qsQwzMnUVYWNZQMQ+LJHPnXRyusr3M+Gh +4muVW1wmyjNLhtEYjJJnbv9bVVv2HFVXOWGiXY4hnj01xkHf3885Qq5ORWl1FMnU +lcqUcFsB6a1CCPGxNTJQhgKJAk4EHwEKADgWIQThzyDd/+S4noAmWPHgsRiU9mrs +mAUCWSMwyRcMgAH7+r21QbXclVvZum7bFs9bsSUlxAIHAAAKCRDgsRiU9mrsmK2H +D/9frYP6KRecLNMzLJGe6MB/1DbqIud1/kzd/jHRo3e4Dz8cls29N03HskLE4jTf +BXKAhUmRI52aMCioY/K03rZLaR++/GMIdnF7O4Ks7P203J4/CudmXQvz3Rby22lC +RCp3Wsx2DqFgpc1V5SjmdDxzEs3fwKJ0B8YOMyibyUaLfwaxRfiTsWmRF192WzCM +/B1tmJDLIqwq/xxzxmiqzrxBWq3JIxH1PzrGbWvAE0gfBJHgw/2HHO4PAG9Lj+AV +HHPV/9xhXdbF/KnnKUGtd9lssNleWlc5LeM0ix2pU/QrZx7c+CBW+142jQcZ58X6 +QvHTKBkImI7y3kMCUOs+UbxKnFsRBRduMLvIpXJVXukV3QvRn+9riITPIcviF4ni +F6V2NQ+ONrvMOK2s6VdfgMS7c4Azuyt4SJSEzBhHu+VTVnMZCBiKvZtRL5XX85ZF +DDkN62Bwa+F36lTiOBWOecSQykCyOKcnn0jKrSgDOk08qE7Nzl2SPdlpza0/bk2u +6i8o3mrmdO02OqC9vJum6M4Pn2HHrkPzAtSs11E7ogcZghPxnGCekGQNekHx9DKM +mv8W+SZf4b1KD1EKECeNLZ0QHQMjU3AYBav+Mq9IXIlwFZL85BYLUAWfrCnqf/gV +CTiy9yKdQ4WIr9XR+zywDigAZqJ5PxwBh1+phrkoWUfsLokCTgQfAQoAOBYhBOHP +IN3/5LiegCZY8eCxGJT2auyYBQJZIzDJFwyAATCZEb6pZtBhMFMEVxG05f8VsP2C +AgcAAAoJEOCxGJT2auyYWHAP/jlmSZQI/dnrYTT0ZtZA0k3sCaaOApWmno4Jm1+p +QzxBJyVXC/7em3D/Wb3B4XpQKnkWOGz3XtEf4LNPhrW1n6nLFOLctprGwnlZihBp +tmidEvvFKCa5exv4WOVyat5jLttNJ6o4O0BJHmUJG/wAVSjfWi2KgVXZEnz/wts8 +KFXc06RCgavIATmlC5QqD87U5ezKJdY0HY/A8uT9aBJ3KFdzj5MnZOzr2RJcEtWU +UE1HHxqJS7POQVMUWK/7nABUKjzpQg8Hn7VNom553Lf8yk+OLl0x7+bS/8tZltZ/ +zkIqzUmpPk1QSf5b4JOryJye0ZV60TtbI7juXi2VV41gcHxd7EMkF4PAMtHF/rNM +n/sR4LLXPnQk71zqOScYpMBDQ0FikQ7UuUT35iJAX3u7mWYL0P4h3NBlPmRLg9W3 +k/g5KRBLJ2U9Ba+i3UIRva8tUGz/EluzOCUcSbIEMNkaNyt4ktO3PaIzAzdVdxYk +IWV6NUj92vSBJvXinzIjyXTk9Tjfuf4hLo15C+1c9P0+XkpKzpvW1ycpIUVH9QSZ +afC1e45EXSkD0AV+y6ihJf4PWddgGb3ZeWarcp2QL/ll3XoBdEGfxOQJ1Py2nfIS +HxVrl5AxoEJ9q+4YO5xysAV4f+UFKvS4snJtRztOYBKM0/4pup41u4V8oGWLRUOC +d/GitEdEZWJpYW4gQXJjaGl2ZSBBdXRvbWF0aWMgU2lnbmluZyBLZXkgKDkvc3Ry +ZXRjaCkgPGZ0cG1hc3RlckBkZWJpYW4ub3JnPokCVAQTAQoAPhYhBOHPIN3/5Lie +gCZY8eCxGJT2auyYBQJZIzBOAhsDBQkPCZwABQsJCAcDBRUKCQgLBRYCAwEAAh4B +AheAAAoJEOCxGJT2auyYKFoP/R5ijjBRlLpClTvhk5p1pE/cJbMAHd1Y7x09iSN3 +nT222tx4Zk3wVnP/1puJNkOxW7btMuUNz6Y4DolLpAa71hq3NOsTGz+5PL8ZFBoi +lIN2iOpfzqIFLASM0Pz6X+twV3ZyE1PZmfzLAu8OWm4kt1v3qJVtWN/5dHbjTqMt +vUc28VX1di51zWTs+3b/SDC+KN98i9W64JUiHPcLL6b2Y44fDszDDVVExwtPrPk0 +VU+et4/uWmhcdEIEb91MIEsLAUJIBqcGTZU7Gymxupa3vApT6UUxfNKkVCGDN5dk +zFKkS6p2NEQjtIPNAheBwUfHqSDeN+EW4IuQxHZ92o+XGFMHqU29Vy81sPkGvKkG +EIL12iMpW9hDTbjO/+v695o3tVo/h1b0NSZP3Jk4I3iDBpAcUEYarxoOung2K1fC +QYH7R+7hy3lnRP36s9za6rEbik0c4XRvyYaYq7npGEq4CqhcKgRhZqVcy2Zmymcw +MqR1wLSxEmbREQZfBCFh5zpVC+kmRHfXCmZyAfDwLgGuMDVL7piCW5DqpC04Ks7M +Uj/r1O5hyMEjIzcdATVBMNJmdOPw7d0vqgBUizj0Y/e8RhmY8mkmy1zoI1HU7JfF +eKNnK/I2KYUop0qV0+bEFcu0RiEFVMP5cw4L2QAr1Y39XJNFU3v7IujRZXkxLn+H +6l4HuQINBFkjME4BEADJA+IXx4vK2WDOCPFfryafH3lvd/joqnGlc0MoGCrPv3W6 +/X2r6B7bTcThfHgTCMJEIEJQSGHoXBwJ4Z4bgj+rNerZzNpReudrOHOw1eBaHaOd +0PrKsz7Yf3R++jTnlAM0o9yj3w/WG5awfidmdeDz9jm37zvJP0oIWghD2fIHquQ2 +Y0wLNWFOcWJWsFSQr6EJ29kyhF21KzDqgF/8rDsJNw6yKO/IdR7xkoQbh39PIDrb +/BZtqSnZDx86/0CNP2rRaEZ+/d1u+J+EHNpsKw1FEHbO6GdSF7V3iB5VVfGdd56O +KgOxUTS+NP7wXyrjxQD2Rrde5PeOi9iy+S8buN3lRSG1towKHbVdzcQGLuSQGCGD +msGTtKfTmSXWfLE4OSjoQX8nzuKRcnPxWjocb90laoUWQLh03ujkii1DHFf+2K29 +YQpUl7WXLkxGX2qg5LKBoP0Ax7mHJwLQ+zVhBIBH7i9imF7ncBiI0UElFDFr+BcP +gU+dH9zx0h/pZ7P70F8RGig4hmnCjgvhRB7PY071pffqYcswiuAn04GWoFuoLL3z +3P9H4Nmv02k84+GOPCmxDXAXPsdiMKMEWQLUiPi7IB/KbijG0O6EUZ1Xbdi6pFrc +waE3HOK+a+JvnhmfP6rAdZ+vW0vjDVmbbrGgXmkBxhb+HfayAtEDs8GS1+RBNQAR +AQABiQRyBBgBCgAmFiEE4c8g3f/kuJ6AJljx4LEYlPZq7JgFAlkjME4CGwIFCQ8J +nAACQAkQ4LEYlPZq7JjBdCAEGQEKAB0WIQQW6Qs/32Xt46p/MjwE7nI3t9RT7AUC +WSMwTgAKCRAE7nI3t9RT7HLvD/9MkbL5UI2NKutNFZMQ/CnIlZbwu/scqzASGpdS +C4yKT5THrllqTxPhX568vdZtRnAJV031H+zYWZKln7MsoKlBsgSe8nT6MfKwOFF1 +tyd9RJuC4HNCcFBQ/2xas/4lVWAp2lmHKF/+vAsGlkQo7eu7997zQsPe7f1uNON9 +B7JivgAuh0ur1dPSnmJOX4azkRQTRq2U+wZu5bFhoGs/u6TRpBhOpPit7Eum6BoG +tRBiwOmG2jhGiEukCbaZuFRJXhZLI9yRytUzDf0Ap0hnctP9G6pBf0w3H6hvXNbw +qfZJ1pAikJov579mstr+mQHCAgGO7I4m4nJgXdOrr31NW4Sge52Av4u+5fiBil+U +f1r063W/ieakITgxe9Da+hzuhLCOBOF+eNRkS4BjGWCm4rtE27qNQez0jq5HXRlM +MV4wwVzNgpXID4vJy9Yq6ZXkgLvPfwfmPqa+SLIWlZiD+PowpRgxtfP5D68jhZNA +ArM45V+3hTExT1F9IJe6g0X1RNYysz8X++YC6HiMpWAoTHde27kKPEbJJ5HLzYIn +3S+LEXG8Tr4aRETjStTMEfPCvAtBqietXCETL/KHTDKXrHMMNORAjqRPpJfTyXER +J5vElZHJa2lnEFRMBjpB7ceQbD6maZVBACHCTV7r15vZBZGlUtkkb0MpJSOvzUEG +cyvEkcGnEACBhR1d3jrQtK3a55p4dlwg3hDeYjwr1Ru9t4yHNumg0eGuO86/edO0 +wS1MTDyUOpge4prBHFh30ePMwEavIzEo+2oX4SGtYsRJLHPeNwsS64zwFnwJ6IP9 +jGCXVMP5wY1OHam+d7LMQ/xf3Nywfs/5whGjtlIB9inpIdCslSoMFdDfF3EwdFJh +nB/Sdg2ef2V0XNl4mFiA6CR7PLYRscLCGFxIWLIAcBrvSopeLS8xbeLJbmNJL36w +x7vqGH3GAYeVe6ugEGAYfLo4wISmVJpSrYGsuiB5EeuZvECOPSE3U0FvmPqK6YXL +HW7wpuCIVz4MpC8kqLrJMK+0boT5GtISsA1LftDB2wZgIX2JxSQuaNt7ZoAKvJdl +mW6ev7hWfuBPVJrwCNEb0DPwdwMUATggTq8hnmgcJCXLAApvFQA1pvvzliu/JLr2 +peOcBkJffk6qo0bsAPREhFDIGZ3N961TzN4eoEfEb/zO+wI8jPPKxgSwlq+8DWOH +t1N+LR/IzBTjMvbzepd5DkefxBaFySRnocxPsQssnonGNh7CebeUf0esNt74Dan+ +ngUULg7cptq0rromgp7yhBd0vZ4PqYZpv3mWnRu8ToxEUT6qrUz/s4HueUNQfj9R +5pZSpUemCxckbijjtWTlYeAHtjEuKGcmzELE4n444kP/FvCiapOQYQ== +=Gbbb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/fill-values new file mode 100644 index 0000000..cd99595 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-key-minimal +Skeleton: upload-non-native +Description: Test with a minimal public upstream signing key (false positive) diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/desc new file mode 100644 index 0000000..87e5144 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/desc @@ -0,0 +1,4 @@ +Testname: upstream-key-minimal +Check: debian/upstream/signing-key +Test-Against: + public-upstream-key-not-minimal diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-minimal/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream-signing-key.pgp b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream-signing-key.pgp new file mode 100644 index 0000000..d83f52c --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream-signing-key.pgp @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFpEMFgBEADNYEVhITIZ/rVECuLWxDJUk4rV+v6IfJCxJzuXRfqbjkdLNsCD +P83FOdvcxNQSrWPdSCgV1tDeDc18pNmfWDnu90zrLRipR1u7ln/ajTpx0RI7tHaO +SCIJfo42iw7firz9IoegqZaH8LKCh63EaXxLD98MgRA9fcBTEaBSD+Wxh8yYL/5b +bjdUu2FNNEi8f0POBAB3XInu80mqkEeVYPijd2T8Tc5xaxD90OBuuNGSiqKrJ+lB +9TSxwr5E/9N+6fnCjrR4FVkZtyTELAdZm4CpQN26tinVolG1gDpMz5B27471oXPY +9K92/UzTRllwuZ09pdBwpd4gu9mTXMLwOJ/S/+LJeSfCmby7QZiM/61NpS5EyaYg +h+m8YyTUtulFqpWd2HxttXz0ii5C01LKUrNPqlQrxmfrACJ1tHvcngVQm4wyqMHq +Uw5LYJ8FM7eS3JPeHpHqFGpY1VKx3nZAZGx+1As1ClvT7Og1KyuVY59w8qNaeJ8C +eA9XrwGVbMm9PiTP+fyBykMaYpf5aGucH+GeBtkvmpyOyXqf7zrOqyRvY0QaMgt1 +n3jXcD7AZKHCp0wY6LYVa/sKqrDJtxoloBA6kV2Ui3kClOWmlfvm+i1Ecg7vCG8d +QrJtZxo1Wu54dIr+g0qMFjlBA69OFYRXPzoaWFW1BKtNAYFoej9vW/f+0wARAQAB +tDtMaW50aWFuIFRlc3QgVXBzdHJlYW0gS2V5IChXb3JraW5nLCBObyBFeHBpcmF0 +aW9uLCBNaW5pbWFsKYkCTgQTAQoAOBYhBPr6VG+KNaSTu27AqFtc4nOV5lb+BQJa +RDBYAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJEFtc4nOV5lb+B3kQAMMm +umaOq12REmLdKWMN7GOsxzV6fTF5xBjTgKfY9DCBeNV7tSuJGpGT9MaxRD5Yu/1p +PDMGC9TkDxOEULBucmp7M//3FCuSnGQFBcObHNXY9FmLQ5MZJ32QUi8KLNIcDjuF +AKMEYJ5AT50pBsGyLVGXL27HWndNV7jMeIX64gIN5chPKMHqCn0g/wTTaPY/kkEs +MYirGmBQ83cIAv/1nywtIPeBnj+02Vu3B1hJIZYgmDQZwjZdd7HTxsVW0LAZEXs5 +gtWArfHO3zNKy6WkVE+xhNgZuVO3EyV46JW0bQ2RC7yY70/qFxX71co6p2+VaZgf +198QtRddq9cKaSe68BnZesIp9YnT3xJVYeL6IrrMYNIZxlslL4/b+gKU3epHyFes +tQP1tqkhnmC+Bxds6kx0ngPVfTfWM4Ruaeot51BuenZu82S1B3FB5B0qruCNyKre +nl53nPaNkOERPOF654AXoIODTgnyaocCaQTPztOYm52X8u9qogf9wf1eEA9EZIBI +WSbn3eCohN6qWvsdC0MMRDu0HB4S1QUyyOceNflXePg6SPvJSPHuOG/5DShcN6ah +mgVMH44ecAWsh/8Uj1+Z39Ea07nfE3lCU/WR+DXJb56WaQChXN7AKITrNRd/Q61X +jqrB6jWRSeVBKDidsFwI7oALdSgONE/ZEy+M4j76uQINBFpEMFgBEADCWJECQ6K1 +HgH7OwX7eY8ggEdCOYI/cTGx9rfzdqx67tc7fsF63BrO+nTHylcwXi9IAs695zvp +miCnCu1EUVjfM+nD52kocVEhzFc/lcCq6d9ac7H9ItJgf3Qc2HpwcqvsNUTWPDMU +VjQ8ciZ57qq601kIjVPuHjKRY96K9iHxUeVGh2n74JLYZL5IKO08WtQgPmPVLFDX +X2iZXnZdW/X4xTYB+/+V/D1LyUIP3X7CzBNzJuYjP3vGDH3h4ulLWnDSmxKs6Aep +a0sKu6+YD14/xXOi+buc0m6ghP7WePl9gYi6XePLdVPeLC9aiDi1tCWEVbbsinhw +ODxLwndXCGUc+AVySdUrUMuRchNRI6Z5PW/a/RsuVmyORg1RSuFGLeJQZj1pAw6x +WjxgioqoqydECIx4gCwGO/0GNZCfe5n11vuMEZ7SKbnrf5d58EQXOgV+yZumRKkz +OmdKICjql6w5CealrvP/si2kfD3oVwqBeuM0aM8HmWTfrdESWrd8xqAxBlcDsIun +mpsJ6obGN2mOaMFmOljukdzDFgMJMIrcS4UcGNzyQWUbz6JOSfPq96RkrTVsXMKy +40Ygtwe63PS9lXGT2ojmiV193UrGJqEUjuAL79KXWkxTRFxvFwck9qK5RAX2F1GQ +4ELDAFSKr8t6IpiYiTXaA3OTJfxJMK191QARAQABiQI2BBgBCgAgFiEE+vpUb4o1 +pJO7bsCoW1zic5XmVv4FAlpEMFgCGwwACgkQW1zic5XmVv4VEA//dOFj60ktKKsl +CgRdtnuo9Sdd7IjShic67qoT0gFZRiMATaryM4ifjAcl03rxzGk5MOsltHFJr5h+ +RmaudKhCyksd1nQ2dBpFgPHyxVTS5/k+wMelP9kPailqiGUA735SP5mO/28YOT8v +Xa4rwnTn6s9Ga7+lMN4I7LKRo47uGG89Og381tHSkW8DjFuLTme3TQDysG2MGlSY +vTPJmF7xPCuG3s8J5RIrVwWbN0orWen9YWT1923+0CAZG8M+7AFxU5xxCFIBRKMw +2tw/ovjtE9czuT743LMPlUJRc1pveYjVhLY9xUMQsPO6j41pdIL2X7txFjQqzjFl +hpIJviupVWlV0vSS0Q7nAtvLTsjhXSyQriKqmfdsdcxXBz7LGRxEi5l/9zuW5GMy +kD5ikQ05li6wkBdQYLS3ZBYkrj94LpNEqNZE3sfX33Yc5cpE2Bc4Ga+MxYxQwrfz +sNNSp8jdf2FyFvlvRkO8UUgsW5PPOuwthb05bx7dQGfKvqySpd0JLrhxw8G8odJh +PGzl0ig4F8xEitMc0lms5yzQGvtpEvSYLUs+4EJaf/XN9nRS+4e+GciTmp9XUM/5 +EtKOKXVuhHyaizqfpF4VR0Tbg65HHE3zLJMr7XTUGC0Zr+bj0n/V177R0XgptY7Y +jr6SfdNikIDjGYa+yuN6KGQsriza1aA= +=CYsi +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..d83f52c --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFpEMFgBEADNYEVhITIZ/rVECuLWxDJUk4rV+v6IfJCxJzuXRfqbjkdLNsCD +P83FOdvcxNQSrWPdSCgV1tDeDc18pNmfWDnu90zrLRipR1u7ln/ajTpx0RI7tHaO +SCIJfo42iw7firz9IoegqZaH8LKCh63EaXxLD98MgRA9fcBTEaBSD+Wxh8yYL/5b +bjdUu2FNNEi8f0POBAB3XInu80mqkEeVYPijd2T8Tc5xaxD90OBuuNGSiqKrJ+lB +9TSxwr5E/9N+6fnCjrR4FVkZtyTELAdZm4CpQN26tinVolG1gDpMz5B27471oXPY +9K92/UzTRllwuZ09pdBwpd4gu9mTXMLwOJ/S/+LJeSfCmby7QZiM/61NpS5EyaYg +h+m8YyTUtulFqpWd2HxttXz0ii5C01LKUrNPqlQrxmfrACJ1tHvcngVQm4wyqMHq +Uw5LYJ8FM7eS3JPeHpHqFGpY1VKx3nZAZGx+1As1ClvT7Og1KyuVY59w8qNaeJ8C +eA9XrwGVbMm9PiTP+fyBykMaYpf5aGucH+GeBtkvmpyOyXqf7zrOqyRvY0QaMgt1 +n3jXcD7AZKHCp0wY6LYVa/sKqrDJtxoloBA6kV2Ui3kClOWmlfvm+i1Ecg7vCG8d +QrJtZxo1Wu54dIr+g0qMFjlBA69OFYRXPzoaWFW1BKtNAYFoej9vW/f+0wARAQAB +tDtMaW50aWFuIFRlc3QgVXBzdHJlYW0gS2V5IChXb3JraW5nLCBObyBFeHBpcmF0 +aW9uLCBNaW5pbWFsKYkCTgQTAQoAOBYhBPr6VG+KNaSTu27AqFtc4nOV5lb+BQJa +RDBYAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJEFtc4nOV5lb+B3kQAMMm +umaOq12REmLdKWMN7GOsxzV6fTF5xBjTgKfY9DCBeNV7tSuJGpGT9MaxRD5Yu/1p +PDMGC9TkDxOEULBucmp7M//3FCuSnGQFBcObHNXY9FmLQ5MZJ32QUi8KLNIcDjuF +AKMEYJ5AT50pBsGyLVGXL27HWndNV7jMeIX64gIN5chPKMHqCn0g/wTTaPY/kkEs +MYirGmBQ83cIAv/1nywtIPeBnj+02Vu3B1hJIZYgmDQZwjZdd7HTxsVW0LAZEXs5 +gtWArfHO3zNKy6WkVE+xhNgZuVO3EyV46JW0bQ2RC7yY70/qFxX71co6p2+VaZgf +198QtRddq9cKaSe68BnZesIp9YnT3xJVYeL6IrrMYNIZxlslL4/b+gKU3epHyFes +tQP1tqkhnmC+Bxds6kx0ngPVfTfWM4Ruaeot51BuenZu82S1B3FB5B0qruCNyKre +nl53nPaNkOERPOF654AXoIODTgnyaocCaQTPztOYm52X8u9qogf9wf1eEA9EZIBI +WSbn3eCohN6qWvsdC0MMRDu0HB4S1QUyyOceNflXePg6SPvJSPHuOG/5DShcN6ah +mgVMH44ecAWsh/8Uj1+Z39Ea07nfE3lCU/WR+DXJb56WaQChXN7AKITrNRd/Q61X +jqrB6jWRSeVBKDidsFwI7oALdSgONE/ZEy+M4j76uQINBFpEMFgBEADCWJECQ6K1 +HgH7OwX7eY8ggEdCOYI/cTGx9rfzdqx67tc7fsF63BrO+nTHylcwXi9IAs695zvp +miCnCu1EUVjfM+nD52kocVEhzFc/lcCq6d9ac7H9ItJgf3Qc2HpwcqvsNUTWPDMU +VjQ8ciZ57qq601kIjVPuHjKRY96K9iHxUeVGh2n74JLYZL5IKO08WtQgPmPVLFDX +X2iZXnZdW/X4xTYB+/+V/D1LyUIP3X7CzBNzJuYjP3vGDH3h4ulLWnDSmxKs6Aep +a0sKu6+YD14/xXOi+buc0m6ghP7WePl9gYi6XePLdVPeLC9aiDi1tCWEVbbsinhw +ODxLwndXCGUc+AVySdUrUMuRchNRI6Z5PW/a/RsuVmyORg1RSuFGLeJQZj1pAw6x +WjxgioqoqydECIx4gCwGO/0GNZCfe5n11vuMEZ7SKbnrf5d58EQXOgV+yZumRKkz +OmdKICjql6w5CealrvP/si2kfD3oVwqBeuM0aM8HmWTfrdESWrd8xqAxBlcDsIun +mpsJ6obGN2mOaMFmOljukdzDFgMJMIrcS4UcGNzyQWUbz6JOSfPq96RkrTVsXMKy +40Ygtwe63PS9lXGT2ojmiV193UrGJqEUjuAL79KXWkxTRFxvFwck9qK5RAX2F1GQ +4ELDAFSKr8t6IpiYiTXaA3OTJfxJMK191QARAQABiQI2BBgBCgAgFiEE+vpUb4o1 +pJO7bsCoW1zic5XmVv4FAlpEMFgCGwwACgkQW1zic5XmVv4VEA//dOFj60ktKKsl +CgRdtnuo9Sdd7IjShic67qoT0gFZRiMATaryM4ifjAcl03rxzGk5MOsltHFJr5h+ +RmaudKhCyksd1nQ2dBpFgPHyxVTS5/k+wMelP9kPailqiGUA735SP5mO/28YOT8v +Xa4rwnTn6s9Ga7+lMN4I7LKRo47uGG89Og381tHSkW8DjFuLTme3TQDysG2MGlSY +vTPJmF7xPCuG3s8J5RIrVwWbN0orWen9YWT1923+0CAZG8M+7AFxU5xxCFIBRKMw +2tw/ovjtE9czuT743LMPlUJRc1pveYjVhLY9xUMQsPO6j41pdIL2X7txFjQqzjFl +hpIJviupVWlV0vSS0Q7nAtvLTsjhXSyQriKqmfdsdcxXBz7LGRxEi5l/9zuW5GMy +kD5ikQ05li6wkBdQYLS3ZBYkrj94LpNEqNZE3sfX33Yc5cpE2Bc4Ga+MxYxQwrfz +sNNSp8jdf2FyFvlvRkO8UUgsW5PPOuwthb05bx7dQGfKvqySpd0JLrhxw8G8odJh +PGzl0ig4F8xEitMc0lms5yzQGvtpEvSYLUs+4EJaf/XN9nRS+4e+GciTmp9XUM/5 +EtKOKXVuhHyaizqfpF4VR0Tbg65HHE3zLJMr7XTUGC0Zr+bj0n/V177R0XgptY7Y +jr6SfdNikIDjGYa+yuN6KGQsriza1aA= +=CYsi +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/watch b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/watch new file mode 100644 index 0000000..8194d1c --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/debian/watch @@ -0,0 +1,5 @@ +version=4 \ + +opts=\ +pgpsigurlmangle=s/project-$1\.tar\.gz/project-$1\.tar\.gz\.asc/,\ + https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/fill-values new file mode 100644 index 0000000..fd2f6c4 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-key-multiple-locations +Skeleton: upload-non-native +Description: Check if upstream signing keys are present in multiple locations diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/desc new file mode 100644 index 0000000..71c877f --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-key-multiple-locations +Check: debian/upstream/signing-key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/hints new file mode 100644 index 0000000..f6e6e54 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-multiple-locations/eval/hints @@ -0,0 +1 @@ +upstream-key-multiple-locations (source): public-upstream-keys-in-multiple-locations upstream-signing-key.pgp upstream/signing-key.asc diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..41c2c56 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,160 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFkjME4BEACatcbzE9EaIKMmiS3OmcrooZZUI4pGtJcFqCNBOP3qvxUEq9Tk +4XPY8EARDGdwy2rMc12ywoc5FMzNwXiC3RpUNHnNhY+zau18q9CQx8UR02NDFWQq +AwaDSF4WU1GBVBMWgtxfIwAQGl/qOr+aSVtJCnEOTA/YiZPNw/wpA7r2g6EHYcce +a5srr7F15a6OxzDdPXlfoJuoSXMZUHpJIqG0UOo7NPkxPGRoHO2yGPS1DWKy3egG +xm718DwaIWee+mfJrcqT0ZFH4n5po1BJVj+8TcqE4YlkN/z4p0zI/XAxNCR2wGV2 +6cCQ8laEgwG33rPp+N3G/FeJchYTFvL7zDtdYKbBPVeaJh2kROnqbVVN5kZBVEXB +QNbXKuK6/TPiQeI+8anA9WflI19lzkzl29L7hsM9ornk7+wtu9P2hu3eEUgjjBli +Ujisw8s0aTPB5QsMCjSownwZ0ucqj+07nYVsPU2wK8x6A7p6Cg2SCPnjbX8jUb3Z +wyn0yi4SWceW9a+LW6wdGarMGbu+Lm6in8pK93u7mE/D4AskUVz1yLyiNO9WBXPq +GyTocqXKXTutHKhhSwY9CyEw1+SRzXXyHPmRunRULTgZHLOaydK6ekzBOe1Yp9Zk +hLvon6fgOhJTsokv27QCSw8ILbQPGF9qJWFQfYZhT4QCufmPaFgBpJOdewARAQAB +iQJOBB8BCgA4FiEE4c8g3f/kuJ6AJljx4LEYlPZq7JgFAlkjMMkXDIABgOl28UpQ +ikjpyj/pvDciUsoc+WQCBwAACgkQ4LEYlPZq7JiCcw/+NxzyntWMM/b/eIMedzZK +Zyq7Mo6vgFxT57wAloMtLu0WS9oETTH/+/9+fHPmkYxCX1HTNKpdY2KbjiZC/gAY +vJ8iGWredwIls2UyW4fegzRLNvWLZmUBbLg0WaTIQ9JZwa2Rw/q6Z0pe0tfb44oX +lpps0WA/OZCWXYVO2rhOzoiQulqdmHgwdcLA29BnpqBY1R8/LMDsfPLnJu7AFqgM +CQpnjIGRH6ZxF2TNUSdljUbIOultEeIvxtxosF1u0r20mg46aaKDpr0ANiR/Ojaj +YoeHZc39fyubSrhIyQuk4rDisrJod63MJ9x9upAc9H3qz71QjpwpVXPDxereWULO +17qN3hjjZd23CBdRv8HjRKQoFagUnxlrat1t+/yJCENzX6eX8wBs0vVCSmbtbSp7 +y+0BK4fyjDKCdiyKh1TiAnQ1Po/xICGr4Sa6Wohq2TeWXz4VlRnaQeCIwa4Kk6T/ +3VTQbNxn7Uiy9ec8aR+1YMGUBDG/k3s6K1PWLdJtSVgao8MkQYeKcQk/sgGSFPh8 +SkTy7CnSjK/gQP8NC5fFDWpatGpnDr9qsQwzMnUVYWNZQMQ+LJHPnXRyusr3M+Gh +4muVW1wmyjNLhtEYjJJnbv9bVVv2HFVXOWGiXY4hnj01xkHf3885Qq5ORWl1FMnU +lcqUcFsB6a1CCPGxNTJQhgKJAk4EHwEKADgWIQThzyDd/+S4noAmWPHgsRiU9mrs +mAUCWSMwyRcMgAH7+r21QbXclVvZum7bFs9bsSUlxAIHAAAKCRDgsRiU9mrsmK2H +D/9frYP6KRecLNMzLJGe6MB/1DbqIud1/kzd/jHRo3e4Dz8cls29N03HskLE4jTf +BXKAhUmRI52aMCioY/K03rZLaR++/GMIdnF7O4Ks7P203J4/CudmXQvz3Rby22lC +RCp3Wsx2DqFgpc1V5SjmdDxzEs3fwKJ0B8YOMyibyUaLfwaxRfiTsWmRF192WzCM +/B1tmJDLIqwq/xxzxmiqzrxBWq3JIxH1PzrGbWvAE0gfBJHgw/2HHO4PAG9Lj+AV +HHPV/9xhXdbF/KnnKUGtd9lssNleWlc5LeM0ix2pU/QrZx7c+CBW+142jQcZ58X6 +QvHTKBkImI7y3kMCUOs+UbxKnFsRBRduMLvIpXJVXukV3QvRn+9riITPIcviF4ni +F6V2NQ+ONrvMOK2s6VdfgMS7c4Azuyt4SJSEzBhHu+VTVnMZCBiKvZtRL5XX85ZF +DDkN62Bwa+F36lTiOBWOecSQykCyOKcnn0jKrSgDOk08qE7Nzl2SPdlpza0/bk2u +6i8o3mrmdO02OqC9vJum6M4Pn2HHrkPzAtSs11E7ogcZghPxnGCekGQNekHx9DKM +mv8W+SZf4b1KD1EKECeNLZ0QHQMjU3AYBav+Mq9IXIlwFZL85BYLUAWfrCnqf/gV +CTiy9yKdQ4WIr9XR+zywDigAZqJ5PxwBh1+phrkoWUfsLokCTgQfAQoAOBYhBOHP +IN3/5LiegCZY8eCxGJT2auyYBQJZIzDJFwyAATCZEb6pZtBhMFMEVxG05f8VsP2C +AgcAAAoJEOCxGJT2auyYWHAP/jlmSZQI/dnrYTT0ZtZA0k3sCaaOApWmno4Jm1+p +QzxBJyVXC/7em3D/Wb3B4XpQKnkWOGz3XtEf4LNPhrW1n6nLFOLctprGwnlZihBp +tmidEvvFKCa5exv4WOVyat5jLttNJ6o4O0BJHmUJG/wAVSjfWi2KgVXZEnz/wts8 +KFXc06RCgavIATmlC5QqD87U5ezKJdY0HY/A8uT9aBJ3KFdzj5MnZOzr2RJcEtWU +UE1HHxqJS7POQVMUWK/7nABUKjzpQg8Hn7VNom553Lf8yk+OLl0x7+bS/8tZltZ/ +zkIqzUmpPk1QSf5b4JOryJye0ZV60TtbI7juXi2VV41gcHxd7EMkF4PAMtHF/rNM +n/sR4LLXPnQk71zqOScYpMBDQ0FikQ7UuUT35iJAX3u7mWYL0P4h3NBlPmRLg9W3 +k/g5KRBLJ2U9Ba+i3UIRva8tUGz/EluzOCUcSbIEMNkaNyt4ktO3PaIzAzdVdxYk +IWV6NUj92vSBJvXinzIjyXTk9Tjfuf4hLo15C+1c9P0+XkpKzpvW1ycpIUVH9QSZ +afC1e45EXSkD0AV+y6ihJf4PWddgGb3ZeWarcp2QL/ll3XoBdEGfxOQJ1Py2nfIS +HxVrl5AxoEJ9q+4YO5xysAV4f+UFKvS4snJtRztOYBKM0/4pup41u4V8oGWLRUOC +d/GitEdEZWJpYW4gQXJjaGl2ZSBBdXRvbWF0aWMgU2lnbmluZyBLZXkgKDkvc3Ry +ZXRjaCkgPGZ0cG1hc3RlckBkZWJpYW4ub3JnPokCVAQTAQoAPhYhBOHPIN3/5Lie +gCZY8eCxGJT2auyYBQJZIzBOAhsDBQkPCZwABQsJCAcDBRUKCQgLBRYCAwEAAh4B +AheAAAoJEOCxGJT2auyYKFoP/R5ijjBRlLpClTvhk5p1pE/cJbMAHd1Y7x09iSN3 +nT222tx4Zk3wVnP/1puJNkOxW7btMuUNz6Y4DolLpAa71hq3NOsTGz+5PL8ZFBoi +lIN2iOpfzqIFLASM0Pz6X+twV3ZyE1PZmfzLAu8OWm4kt1v3qJVtWN/5dHbjTqMt +vUc28VX1di51zWTs+3b/SDC+KN98i9W64JUiHPcLL6b2Y44fDszDDVVExwtPrPk0 +VU+et4/uWmhcdEIEb91MIEsLAUJIBqcGTZU7Gymxupa3vApT6UUxfNKkVCGDN5dk +zFKkS6p2NEQjtIPNAheBwUfHqSDeN+EW4IuQxHZ92o+XGFMHqU29Vy81sPkGvKkG +EIL12iMpW9hDTbjO/+v695o3tVo/h1b0NSZP3Jk4I3iDBpAcUEYarxoOung2K1fC +QYH7R+7hy3lnRP36s9za6rEbik0c4XRvyYaYq7npGEq4CqhcKgRhZqVcy2Zmymcw +MqR1wLSxEmbREQZfBCFh5zpVC+kmRHfXCmZyAfDwLgGuMDVL7piCW5DqpC04Ks7M +Uj/r1O5hyMEjIzcdATVBMNJmdOPw7d0vqgBUizj0Y/e8RhmY8mkmy1zoI1HU7JfF +eKNnK/I2KYUop0qV0+bEFcu0RiEFVMP5cw4L2QAr1Y39XJNFU3v7IujRZXkxLn+H +6l4HiQJVBBABCAA/FiEE+/q9tUG13JVb2bpu2xbPW7ElJcQFAlkknnUhGmh0dHA6 +Ly9ncGcuZ2FubmVmZi5kZS9wb2xpY3kudHh0AAoJENsWz1uxJSXE0z8P/3wl5xqi +wO8sHcMtPXRoOMGRBGlXN/GWbEuqOxaN4lVko+sqGTineW0nk6bx9zhTFDCXjEpK +da6M8Tc7V/cQoEyrV7btFolrb1KPKl5cVTsxKbLSJO79VgN9CZdrv8xS1VsI6SW/ +7euwZmdjYCnOqs049uAxmeZU3HI/yjaOowhDDHAXRvzzbMTN5Y8aWqE1Sv/ndnb+ +qHDq0Xh6hX0iS+Szx7KIGDLsgPPPjvEfsfmXVhYrWPdB4KXIeOcISehblxxU9FCE +JmArB0txQtW595m/Gn5ntVbiyHhrhNlGYT+6D1Fsw3q1l9kIzj8ro2/yRcZ/JRot +w5j5bMbYatQGoxmaBr9AaHCyUmmQEwfQFqBDnOBrV2XwLlurIX3ZvkQQVy5e4ysp +9K8lAd5X4k3sKOSca9HooIcK8szc48aUijHabzOzU459qrds5iX10q0L5It1FqLp +obg2l3wLWU7XwAP6K7m6LcvSa+2QqJmh72SBLd6xPCQAdwwUgdfzjovxTpdQu+3u +5NX+ud4uc+WP8bEG1oT//H9cQ6ocRKXS9iGYby7LF0ykY1MVBI8KfQ7UyLWe/wZ/ +HlPBT2tFQ+8HoB1ZmtzsukaJcTiDtOcQGrIfgEs+bbw7mFKIDjI8OKZpZRlm+UAy +Vm4jG/OiHoxOcr29mYCUwAzLRpavE+L2/koGiQIzBBABCgAdFiEEgOl28UpQikjp +yj/pvDciUsoc+WQFAlkkgYkACgkQvDciUsoc+WQChQ/7BgfCpOAN2mmrSToaMY5C +UVsxw6GVa68gDJA6A1rFXq3cqI5KIj5lNZ+NQi5a9hUu/Ll0m5TN7bZQ8+wxre1U +GY1EnIUb1MFsL7r43dvYOifwV0jNci7+wfvU7slJWfwRlO+q9pwxseBRnGsxLgnf +p6ZK/VqzjMUBXzAdMxwqacaJITsgHHGqActsuTGlasOafTxSvWDjIM9O8+maOzAq +sTa9EXGQhASuzAnDaaW6L7etM6Icm//7cMz8oVnTPKIrqYsHTypIju5XXqHa6Y1D +jZlFcQe7aFbgyBufe4hNtcUHJxXpJHThmZVjJA0t8ofZ8tPWScRDrphMTPfGzVZS +TPUKn+WbkD7w9H7fjQcaCH6YKoJx3tIYzLuDStS/+SLqF45eJp5Miws7AYJCZ2u6 +vJ/8kDVByVPW4Xlq+nmi2RPG7Ym6NcmjG6FUFNUs4PPPfVn7cdLLcnNNriV8hyOJ +T+NnXISSLo20F9buHMl28YqBb7sXmM71lr4kbjNKi0IWUOb+uZcgzMnJPjegR0hT +GWbN5TmZnQ0lxYU2gr+t9F5DewTfMZMqE70T5eNfSyfr9iCEt8pp6GsjQlFglYZr +30bcoLI8IYvS5VOvHAtWrOe35UgLXT8iB0pdCDcVbdA4ZaUaSR6hH26RZgPu4dRx +9flHYtovRX1rDB9Ujc2d3JuJAhwEEAEIAAYFAlkl7L0ACgkQEbTl/xWw/YJo3BAA +jRFiSZPG8SH2QQ1XWF0RREv/yWO95HkZdTHY/yDNfB94YLVCSqWDfO7QepCE2SUp +4+eBdKUSUk6sICQL5gQ3D6PpSLMPaiJ9QoUi7JU6pT9xlrdFIfwC/zZypsfDQ8Gb +L0xZPuXEurcR6YArCFHxtACKSxcUBqvpb2YL9fOEQqVzq90yWxQYsX+xlOpXAXXe +ITwbjgT0E6izN0ucYthhvBM0nw3Ma+v1C4o590MzAFefKaA8kQ2xrO/NIQVwD4qI +MQh+Cshq7UZXM8LRa3gxaMvglMKeeyFHXPP1V+AKsQ5KmPlzYKFe+Fam85FZOF8i +0OrlYcuJ6ZCSXFY9Yfr4GFrkLNsyWfSdv20JVi5U5LWJj4kArw8vc09zVxnpw5IK +4TNxhg68Pho5/XES4upBQkWAzukwOKUVjzCaZkj9Kbos7MO5D4w9DZjGD5sosob/ +aLPznRqrhGX7KIVeqUDn5gavtIjk6mZBMpdDGi9GQ6ObuHUnDKyf0K4gYQ40NVGD +e1KidJmRoLgdWph2NNP1tuLQcq6dzCdC5Oryu0yCLFXnxHURkIDTT6mKCtJ6rEsk +O+s6+3yOB2FXv+oF1L/rUzv+dZsvKQR7T9odOITuQ/LGs9whGTG0sqpbCjyhCwt7 +2xy95fIpPdQ1Uhzcu9N/XZPRYY5IYR0NUDEUen9QAHWJAhwEEwEKAAYFAlkmhFEA +CgkQdjjQRCuQ0BAjWxAAjIMwo5CFvImdmyiSfDLPezHLFL49FbLGIENr6E0xcAKo +kPj5s3mCZ0dbCV32yrMBBIllHNrJ1dnv3+VQAwJFQNaTKZbej15zUL5RvBxZlaN5 +RNlf/vYD9Llm0fWiwMXpm0ep2ID2T93i1wGyYt1FnlQ58fO2Qye3h1Kp4qAQjDMR +k2jjePqwx06QkC9+R21XK78RezgmtVb9BPTVNnUazzREcq1/mVfratAnlR+Arh63 +80E63Glwc9vNqzkuYA1ilTodzPCXk9vEA2gD31L1gCu3YP0kqe5aHB1R6y1cFvQz +0Il/P4lyMBm3eTWZ09961Eopl0kLMPFFZkGw2ev4OB1wa0IAdugBTpCqc6lx/CY8 +mt/s6mEVxvzI4ljNgKPyyLaBZUOY0gtEgwmpE63njMWmuFxDOls7WuP45WEuRoOB +OJkwtYNNpaghN2K/qWEgLtU76Nq64DGkjFd8xVdEccgmYxquQtrXEKj+2E5G8NOx +tZeH0HrVcOfXHTMNx9UoZRP00VSycctkDwt0NBrDqA+o0Djkdql01YLUFOmOYe+U +Z7vxNZIfQkGr2ynnAiqIchMuoz4/IUBLJ0HKasEf62NYluPrcbh2giTTYKtDkZqA +eFB6lLxyTiZ3vDTE5a9lPrKt/p1JBhW5/S2BHWJjDMDO9ut4a8MWfw84u2ZwNuOJ +AhwEEwEKAAYFAlkmhVkACgkQnW2Pa8hXyQagAxAAvhC1r8xGL31TWdusrNWzh7jD +h1qWOMY/cvWmU5Jj10OG2O9oBa7hhm8g/bj8a3rVPEFPwdzJQNEG1MKinVkRjgTP +ST9QHNuUP2sPtVsq/Y5HxFV8prCKXZ5hiVBLgORpSLF/kUh54dGhiFjycUoTFn0g +MkaNArvkAGWpqjFgeQxW+Y15DHj4c1EwcSIKrcpDMyVqlZD96bbkLL7kTQ4zCMlJ +irezEANgEXUYz0RD4NcWGHaT+GFVJfI+Mq4P17FltpHZyTtWbBmkzvJ4y6tbvxQt +mKpDR4z88nstjCSXDjU4nOZL7Bifoi8ztV4uLzJ00dC6ivFmTCQyCqXCHPMvT3dj +9Byr+cMWBGSfM198/oUh++eYW8dp0wjNtIrnJaqnLICzvBg5OucxzRVa4ZMPPx9+ +4jYjdsNsYg+oiZE5ljW1Ig8CBcCyVjNSUBDrRbb9vp1up/ByC3oxD8Uy3wETc7C7 +AMJ8H+RH/6J+HrE3im0HB22XiR4TtKgOuLQxGVO+aXEhdGdxFdWZUDdulC+feWc8 +acVkRvlIYF2Bfxs1Ecee/BkP7++kWZJ9o9Nl1HEpv+spDoxpzL4VRNF3U84InaCb +wX17GLuVj07bk06ag44ZHmXwM/GSRn4ITwEVSKKoBCcvJGnRROA0n1a5+v7XSMvT +9Q0gJj1rzlA9VNgS7Pi5Ag0EWSMwTgEQAMkD4hfHi8rZYM4I8V+vJp8feW93+Oiq +caVzQygYKs+/dbr9favoHttNxOF8eBMIwkQgQlBIYehcHAnhnhuCP6s16tnM2lF6 +52s4c7DV4Fodo53Q+sqzPth/dH76NOeUAzSj3KPfD9YblrB+J2Z14PP2ObfvO8k/ +SghaCEPZ8geq5DZjTAs1YU5xYlawVJCvoQnb2TKEXbUrMOqAX/ysOwk3DrIo78h1 +HvGShBuHf08gOtv8Fm2pKdkPHzr/QI0/atFoRn793W74n4Qc2mwrDUUQds7oZ1IX +tXeIHlVV8Z13no4qA7FRNL40/vBfKuPFAPZGt17k946L2LL5Lxu43eVFIbW2jAod +tV3NxAYu5JAYIYOawZO0p9OZJdZ8sTg5KOhBfyfO4pFyc/FaOhxv3SVqhRZAuHTe +6OSKLUMcV/7Yrb1hClSXtZcuTEZfaqDksoGg/QDHuYcnAtD7NWEEgEfuL2KYXudw +GIjRQSUUMWv4Fw+BT50f3PHSH+lns/vQXxEaKDiGacKOC+FEHs9jTvWl9+phyzCK +4CfTgZagW6gsvfPc/0fg2a/TaTzj4Y48KbENcBc+x2IwowRZAtSI+LsgH8puKMbQ +7oRRnVdt2LqkWtzBoTcc4r5r4m+eGZ8/qsB1n69bS+MNWZtusaBeaQHGFv4d9rIC +0QOzwZLX5EE1ABEBAAGJBHIEGAEKACYWIQThzyDd/+S4noAmWPHgsRiU9mrsmAUC +WSMwTgIbAgUJDwmcAAJACRDgsRiU9mrsmMF0IAQZAQoAHRYhBBbpCz/fZe3jqn8y +PATucje31FPsBQJZIzBOAAoJEATucje31FPscu8P/0yRsvlQjY0q600VkxD8KciV +lvC7+xyrMBIal1ILjIpPlMeuWWpPE+Ffnry91m1GcAlXTfUf7NhZkqWfsyygqUGy +BJ7ydPox8rA4UXW3J31Em4Lgc0JwUFD/bFqz/iVVYCnaWYcoX/68CwaWRCjt67v3 +3vNCw97t/W40430HsmK+AC6HS6vV09KeYk5fhrORFBNGrZT7Bm7lsWGgaz+7pNGk +GE6k+K3sS6boGga1EGLA6YbaOEaIS6QJtpm4VEleFksj3JHK1TMN/QCnSGdy0/0b +qkF/TDcfqG9c1vCp9knWkCKQmi/nv2ay2v6ZAcICAY7sjibicmBd06uvfU1bhKB7 +nYC/i77l+IGKX5R/WvTrdb+J5qQhODF70Nr6HO6EsI4E4X541GRLgGMZYKbiu0Tb +uo1B7PSOrkddGUwxXjDBXM2ClcgPi8nL1irpleSAu89/B+Y+pr5IshaVmIP4+jCl +GDG18/kPryOFk0ACszjlX7eFMTFPUX0gl7qDRfVE1jKzPxf75gLoeIylYChMd17b +uQo8RsknkcvNgifdL4sRcbxOvhpERONK1MwR88K8C0GqJ61cIRMv8odMMpescww0 +5ECOpE+kl9PJcREnm8SVkclraWcQVEwGOkHtx5BsPqZplUEAIcJNXuvXm9kFkaVS +2SRvQyklI6/NQQZzK8SRwacQAIGFHV3eOtC0rdrnmnh2XCDeEN5iPCvVG723jIc2 +6aDR4a47zr9507TBLUxMPJQ6mB7imsEcWHfR48zARq8jMSj7ahfhIa1ixEksc943 +CxLrjPAWfAnog/2MYJdUw/nBjU4dqb53ssxD/F/c3LB+z/nCEaO2UgH2Kekh0KyV +KgwV0N8XcTB0UmGcH9J2DZ5/ZXRc2XiYWIDoJHs8thGxwsIYXEhYsgBwGu9Kil4t +LzFt4sluY0kvfrDHu+oYfcYBh5V7q6AQYBh8ujjAhKZUmlKtgay6IHkR65m8QI49 +ITdTQW+Y+orphcsdbvCm4IhXPgykLySouskwr7RuhPka0hKwDUt+0MHbBmAhfYnF +JC5o23tmgAq8l2WZbp6/uFZ+4E9UmvAI0RvQM/B3AxQBOCBOryGeaBwkJcsACm8V +ADWm+/OWK78kuval45wGQl9+TqqjRuwA9ESEUMgZnc33rVPM3h6gR8Rv/M77AjyM +88rGBLCWr7wNY4e3U34tH8jMFOMy9vN6l3kOR5/EFoXJJGehzE+xCyyeicY2HsJ5 +t5R/R6w23vgNqf6eBRQuDtym2rSuuiaCnvKEF3S9ng+phmm/eZadG7xOjERRPqqt +TP+zge55Q1B+P1HmllKlR6YLFyRuKOO1ZOVh4Ae2MS4oZybMQsTifjjiQ/8W8KJq +k5Bh +=3qWJ +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/fill-values new file mode 100644 index 0000000..2a29809 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: upstream-key-native +Description: Check for public upstream signing key in native package diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/desc new file mode 100644 index 0000000..789bca6 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-key-native +Check: debian/upstream/signing-key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/hints new file mode 100644 index 0000000..fababb0 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-native/eval/hints @@ -0,0 +1 @@ +upstream-key-native (source): public-upstream-key-in-native-package [debian/upstream/signing-key.asc] diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..e311b55 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Testing an empty file would require source format 3.0 (quilt). diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/fill-values new file mode 100644 index 0000000..786ee2c --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-key-nonsense +Skeleton: upload-non-native +Description: Check for nonsense data in public upstream signing key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/desc new file mode 100644 index 0000000..6e60720 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/desc @@ -0,0 +1,2 @@ +Testname: upstream-key-nonsense +Check: debian/upstream/signing-key diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/hints new file mode 100644 index 0000000..5bc79f7 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-key-nonsense/eval/hints @@ -0,0 +1 @@ +upstream-key-nonsense (source): public-upstream-key-unusable cannot be processed [debian/upstream/signing-key.asc] diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..b79208f --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,153 @@ +pub dsa1024 2006-05-25 [SC] + A0AEA075AC8398E93CFC6F45D70B095F855781BA +uid [ unknown] Aaron C Spike +sub elg2048 2006-05-25 [E] + 75FE92B054BE8CCB6556FE630B755C0230DF8115 + +pub dsa1024 2000-03-22 [SC] + 9FA3C49C23C9D1BC2E3019751FFF4BA917063E6D +uid [ unknown] Kees Cook +uid [ unknown] Kees Cook +uid [ unknown] Kees Cook +uid [ unknown] Kees Cook +uid [ unknown] Kees Cook +uid [ unknown] Kees Cook +sub elg4096 2000-03-22 [E] + EF1A71F45F7588F7EFACC36653B02EBC76E6CE33 + +pub dsa1024 2006-09-06 [SC] + C7223EBE4EF66513B892598911A30156E0E67611 +uid [ unknown] Bryce Harrington +uid [ unknown] Bryce Harrington +uid [ unknown] Bryce Harrington +uid [ unknown] Bryce Harrington +uid [ unknown] Bryce Harrington +uid [ unknown] Bryce Harrington +sub elg2048 2006-09-06 [E] + 90778E96D30DA29C45CC28920813D5E325D309EB + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBER12zgRBADBv4KbzMWnE5jwJlCK0aauc6NHsY9xiip6vMUmuyaU9O/DOKEx +DqiEixZzxggV3lBsYf4QjaTNZ7+Gkb1IV9zCG7YzmBbMRI12TT+sZRdfCArC0IV2 +N3XAlCLuibXpb/rBloWfJUJsh4SSnS+GNYutLtRqbS/gDLZ6U57w+yM5LwCg5vZA +M/JhaYA7y3aX91JkHKwxy40D/RwT8yo6RzckIs2+wSXSYEegPbvResOYV1kOXTi5 +qZ6afqHhyVtBRVVsQocEg/QIscAJu3ja/NiUAFCSKYN1iZCulGdcfLCfGIgJihSN +6TFh7vUyBB+lGPCnax9MsdttsUaLfQeikWIsHxCBQUTwHLl4elOG7TPSFwELB/JX +oZPvA/401Kv4bZvB9GLBzNfNLMdF3lrM+d0YH5R9k0WPV3XKShKz9H+vLEWGqxYB +dJpK7jdhC7TK+L9V1hv4UhpOz9++K1O681HvkodCi1TxfIEKW1bA7tsNsM+Ggz0Z +6BwqSCffc/ZysSL0L9GstNLMrtmnIdb+oQTtnR9XTVmAeD3H3bQfQWFyb24gQyBT +cGlrZSA8YWFyb25AZWtpcHMub3JnPohgBBMRAgAgBQJEdds4AhsDBgsJCAcDAgQV +AggDBBYCAwECHgECF4AACgkQ1wsJX4VXgbqdMgCfY0tcC/sffk1QXFqwh6ELk8Kx +JQgAnitcjtlGWPWobbLmwztmAr7VlldruQINBER120sQCACv0SkI1OCjgYgW+8MF +z3PALT7rP2J6IGEbIO95fg8H73apgPzx/ZM5bKY83mMbu3hN3SoFyhBY3yXA9qHE +nC/W3Wm54yDvTOgVRjW/LiuBGcLJvQruB0Eu2WF5XEjcUi+vl+iZpEtNGc3enrVB +tk0l4NXAONANWznX7ZlJx4IHhRNz4bHWsGrI1F5sA41bt1bRm2CE9GJrFcLnkjDp +x1OEciBgP9x5M0pKfKL8DMtrAq0XsppP+Gg9OS4YF7UTDDDWKzqQnJAitseH/JQs +soxsDOqxz6uY4GltnkV5inqAFVlVSxTG3JpxF3Rlsx2GqoOseEVssFUxTIFoBpYs +TJpTAAMGB/oCLhuHGWnGa3OMHxBBGGX8nOPr9snglEHk2P/Kox6MRSAOU1BW6nVN +LeN1jMldPH9Vd15FUHokCfydGuCPohx5daaA+vEp9qHM4g4fEGPgop+SZr8VMgNq +yQUjUhU1rQOro/jyNXiQ7nICG7+QyDjeDZNfgWR/sHruHmWuoSEavx2zgxseNE5s +pWICwdFltDXvvi9HWDDmPkCJHkhRlMaAaEwldM9z0M3AO6dXKK/1nKGGa4VqNL6f +qDIfKTTpp5vuM/GUBE3d7fEuEfgi27YvdzQJa17SK1vrnpUaZ5+Bdt7DP5oFE9pB +Tadkd4oCfglQQTEkOzYxVx4H6W/0XhjsiEkEGBECAAkFAkR120sCGwwACgkQ1wsJ +X4VXgbrWNQCgt+WswdAQXAmJbuSTHNEvMgIuXyUAoLQnXJqYx2DOTY2i28thyeYM +WS96mQGiBDjYWfMRBACN8F0N8tsW3zwhUpykfC62UdPJsu3zuqnipHWlPyMb7WYb +NeR2EXpNxh5DKyI4kXHZL+7I6wrSYroHcw3biIrEy00oNNjyYZTwetSB/GMfISz0 +PNG1TMKL1dLrG146vmZp9vfoU2tJcCCB7Ir5hsKva7ddndvQdQYsvdS3cHJzjwCg +pZPqPpzTpBnWZt/TA84LnjZ2Xt0D/36lHbAPDH92HjYeeclZjy7z3abrJYCxoc+U +PBIu6/rAqYkE17S9kjkkiLb5JdF5lMJgSYu8Kf1QSCkc/II1CGJYfGqnKo3YGLIS +rqrVzQob47tOMFjUYZ9UEb569m8rmgnl3RmPmZ9wCT+RY0U3XNeYx5ukfn/fJLt6 +A8b9Cqx5A/9rZLrnsSTL3bYuAHMn9FEwj1cetJvqi11L0MhQy4WBz293BUtR2X5S +/lKzRfY+mNzSMe6NEEd5sD1QgJTUdC3wIJJeK9qMqyqK56Cmge3E7m4l/5QdI8uZ +sqFuNCsGfpJPaSQ8yjJ2sAX+g8TjEMYZ9Cwkrod7sSagMrO4cV0no7QZS2VlcyBD +b29rIDxrZWVzQG9zZGwub3JnPohJBDARAgAJBQJFca8BAh0gAAoJEB//S6kXBj5t +uQYAn3X9zRGDua4OAPFS4qiNh09y7pItAJ0eQs5NHNFB/gBqZwEV7RCcUAelfbQb +S2VlcyBDb29rIDxjb29rQGNwb2ludC5uZXQ+iEkEMBECAAkFAkUQGNkCHSAACgkQ +H/9LqRcGPm2l1wCcDdjlXHGJzM4lrSyzUXyjxEwIvD4AoIv3oSyyfNoxTPTF3QTd +vhVrfm6GtBtLZWVzIENvb2sgPGtlZXNAZGViaWFuLm9yZz6IYQQTEQIAIQUCR6Eg +DQIbAwcLCQgHAwIBBBUCCAMEFgIDAQIeAQIXgAAKCRAf/0upFwY+bUNgAJ9RM+r7 +ZCl0xHjYqMkX9yF4NOjzrACdED6Y7Xohf5rpcSVxTkSFl3oSX5m0G0tlZXMgQ29v +ayA8a2Vlc0BrZXJuZWwub3JnPohgBBMRAgAgAhsDAh4BAheABQJFtXy4BgsJCAcD +AgQVAggDBBYCAwEACgkQH/9LqRcGPm3hcwCbBu1Wdux1iWFrxhV2E6mpjvjbt6EA +nRHaGYEH2BuMCJjq0AE2cWqPCHjQtBtLZWVzIENvb2sgPGtlZXNAdWJ1bnR1LmNv +bT6IYAQTEQIAIAIbAwIeAQIXgAUCRbV8uAYLCQgHAwIEFQIIAwQWAgMBAAoJEB// +S6kXBj5tK68AoIhUwpdkaNHz/ecNJPv6ZuPnzcHVAJ0f4p4HSXqjIM4w2123e5Kw +PyiQIbQcS2VlcyBDb29rIDxrZWVzQG91dGZsdXgubmV0PohjBBMRAgAjAhsDAh4B +AheAAhkBBQJFtXyzBgsJCAcDAgQVAggDBBYCAwEACgkQH/9LqRcGPm2t9QCbBBgv +K8umgFnfFM3gHSWXcchf/U8AnjgRSagInpCzDsriwz/7kRk6CZjRtB5LZWVzIENv +b2sgPGtlZXNAY2Fub25pY2FsLmNvbT6IYAQTEQIAIAIbAwIeAQIXgAUCRbV8uAYL +CQgHAwIEFQIIAwQWAgMBAAoJEB//S6kXBj5tlA4An1TrHtj4+NspE3AS3hhR3LzP +Y1Y/AJ9sF22Ytoz+RTuDnV+6b62E6kIe47QjS2VlcyBDb29rIDxrZWVzLmNvb2tA +Y2Fub25pY2FsLmNvbT6IYQQTEQIAIQUCR/QWgAIbAwcLCQgHAwIBBBUCCAMEFgID +AQIeAQIXgAAKCRAf/0upFwY+baOTAJ0XMfD87j/R/LyaF/p84mtYM/mUXACfd7KQ +Hty/NNRHZm65IGUiQpCMPVi0J0Nvcm5lbGl1cyBDb29rIChLZWVzKSA8Y29va0Bj +cG9pbnQubmV0PohJBDARAgAJBQJE64y0Ah0gAAoJEB//S6kXBj5tvXAAn3QUzyP3 +bopVytVzU2t5ATvFbDvSAJ9Kb7OYDI+d6Ym/kjRNVxyAMqfkcLQoQ29ybmVsaXVz +IENvb2sgKEtlZXMpIDxrZWVzQG91dGZsdXgubmV0PohJBDARAgAJBQJGAUI9Ah0g +AAoJEB//S6kXBj5tdt0An28ib9AYfoa6TRteVRn22k/sBykvAKCh9X7U/NspQC61 +kcH+6yf/FszC3LkEDQQ42FvaEBAAkofDOJKr1mgLU+0NM5M0z33uN3LFX3vC+ON+ +vY5SAwvt1WqCvUgocByb0npfdqtu8VGD0QZ+m9Lp1yXyYjDoSgMmBachbordxHHW +b7asqmHrOkPWX6AvrITRhMOfvQ1zDKlLa19kLMUANhYXRH3JjsiZAhQ++xcEZqes +JtgmKdpcX0vX3TuVV8wSBJFG0tKgLZPkEnYtUDRiBp7RrqYruNCctVzCxr4n26cY +V0saMvwHhHpmHP8qwJQf2++eWPG/lm/wMzatThEgkKqXGj1rHU+uzKBrxc2pQDi/ +Pz12vg9H86pO51E0xPXthH6hazwWix7Tx1Q0mig4pbrHLuHgV0A6CtlJIPclWlsY +9jO67XiUGVw+ypR3QwPyUVZuCmRv3w+FroajxQ+VM/hlKhikDb7ylhQ0UCo3nym7 +mRTbEC5O+3mahTr4X7TadaX3GOjceMLzaOF4sbo9pFusK3lXOoehZO5Ob6VIbyTw +T5M2qsjwLqLn7pmIN84tpQvlVaEFKyNyR9C+uCdB1ZkdOtUxOee8MOMxS3I06ZVv +pRbFfUAr3Y/SzgapIGsDqHf9HKP5mMw9zDTWJwtUcAVtQELfM4JZ9F1tGd8G9ebH +n1esy/Fb1c3upyhkLBBHdmI/dHnJ0hzt8SoSgsrORtq0DVL/fGpqDkeykkmOi4+t +XS315Q8AAwUP/37nvk/tvV/IH43RY1DHQ+7DFhWpNzGfUDIEORoQeCGqpw6pJm1B +Wvm3WDFuoXrrlOPvR5xQDEANbuBAejcC4MaPX+DHHdo6+uM2nkpYbIKFQ2GS6mg2 +GNUTqTBQX8Z/1BTE0NzcO/cANZA1kZeV7i6UXTpR7w3oNdPYk1OHWtDMCx97brCf +IFD+5UuTeJiNRuOe+OiNZGsRL6/BtowDjKTdhsgotE3ZsgL+IyW8bMdowc7F56fD +3SRL63SAu3yjfk7/ryZZIArCYusrkEV52OyEniCa42sCafONQ3WWIGXOVb3Wc62n +AMOSFcbOE+BqvnmGlJ9vxRZ1GCB1is4lJb/8Wr2oq0aDH3sQoontF5W7nzWD041u +rgsFMKLol8NH2waWXcnwbBcAcChk8duxGMEx0w1D8ldpTqVzIVgeIe8I2axlEnvq +Vta9oR4uiCtinApD3yTrZRez9O2PwjEY5iZTe1WyiSGi+U0Tiz1ZIawhojOCxJWC +ggB0Zs9n2FaCb5Cs7BMRzCdibeI1XoFqiL8YxY1cWkwcBTALSWpUy9FYOITPMSji +x/Svlew+8VTrGZ+aKDXmEoXMbUfcPkRIbk7TWq0YrTTCYkikLviXczkrvBl1b5qw +rhEF18dCl89N2kqUyDNJ4SuOeNELMhcGtARKY0OHtu3vSuC5Yr8woTN7iEYEGBEC +AAYFAkW2eZgACgkQH/9LqRcGPm2CBgCglD0MerQ+cfQ734FX0hd89L8+XBcAn3Ab +83GBmoy4K0aF4Jp5Nwlgo59DmQGiBET+XhERBADlUYa7VXfPl3y9uCBUMniYdE4F +KLAobrREyiveLf+2mTf435YLde0gcx9ZS/EZUq+4rn4uv6AsKmw/f/N/VWGC4KL6 +0uyp7zJjUNed2KKBk3sk57IGpHwRqzXQwk8wVMOuhyyv207cmUadGVtL4GPKUCOY +p+C0hnSs3Jq0fZJ9lwCg5xDxfg3g++HUm8Gu2D/SYR4pFWED/2J4fkdPRQhxnfmv +UxphqKf24aDngDwXYLkKlywYGs52J8iOwTQ/DRIruKepqrh66gb06QwnMQe9R5mJ +qncoi87m2jlKzUdJ5WV4JRmXc4QVu9vRySK9j6e1O2mJeRrYvkf5rDBCHXvOoXET +6VSHZI//1OJJ5OMiIApERFdT+a5TA/4u82BHdLFerbK23ML0aWOpTc/kMbOwLjF7 +rFF3iJ4Pbhv0gS2wWx/1oqbFZGdTS5XVGiWf/+/rZpN8SeC5Q8cJ1EYqSHyo/eA+ +mI+C6ylqyyODmZ42OQr142xjt6MFj5uBMq3QQGYytZ65ustDfnE/qP6hNJGtE9Lw +6NVGd6oG37QjQnJ5Y2UgSGFycmluZ3RvbiA8YnJ5Y2VAdWJ1bnR1LmNvbT6IYAQT +EQIAIAIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJUwED9AAoJEBGjAVbg5nYR +YHkAoN8LIA4RjqX6TtK87+V+5aOSggk1AKC6T20Lo9yte4Q6uXXJWGPNVydG8bQm +QnJ5Y2UgSGFycmluZ3RvbiA8YnJ5Y2VAY2Fub25pY2FsLmNvbT6IYAQTEQIAIAIb +AwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJUwED9AAoJEBGjAVbg5nYRNDQAoKJ3 +TMTZS3nK+gtYCosXcO4JFYxRAKDdOzV2Hn+dwors+2n3X91Ol3BNArQoQnJ5Y2Ug +SGFycmluZ3RvbiA8YnJ5Y2VAb3NnLnNhbXN1bmcuY29tPohiBBMRAgAiAhsDBgsJ +CAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUCVMBA/QAKCRARowFW4OZ2Ed2iAJ4s0EVg +9+vuE3wAmeHGZazsvRnakACg0VP0/JUmDDvgm7vOfg5Ex/v82nC0LEJyeWNlIEhh +cnJpbmd0b24gPGJyeWNlQGJyeWNlaGFycmluZ3Rvbi5vcmc+iGAEExECACACGwMG +CwkIBwMCBBUCCAMEFgIDAQIeAQIXgAUCVMBA/QAKCRARowFW4OZ2EfLRAKC/HqDc +a42tb3lyPxjEJv17tpFxSQCdHJeu88EIYaC5HZHUbG9ZaFoUuwi0LkJyeWNlIEhh +cnJpbmd0b24gPGJyeWNlLmhhcnJpbmd0b25AdWJ1bnR1LmNvbT6IYAQTEQIAIAIb +AwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJUwED6AAoJEBGjAVbg5nYRHEcAnRlu +XGX7z2CeQHVccOjXPEx3DhbuAKC3BOql6z4e/oHnuPcrmm+cDVwvn7QxQnJ5Y2Ug +SGFycmluZ3RvbiA8YnJ5Y2UuaGFycmluZ3RvbkBjYW5vbmljYWwuY29tPohgBBMR +AgAgAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AFAlTAQP0ACgkQEaMBVuDmdhHg +7wCgghXeewn/DeBZh3g0EstNcdSDDU4Anif0Ud+4cdTFS4jWWPJrs/gaPFbDuQIN +BET+XiQQCADT0bmOAoaZ/3Y7cpvc221+V7Yq1YtUw1QNUgkaku5I+5ee54oIvMrE +WbADQRd1TqtKjsTS8v1kYFqHC965uhHgXAMHCb6hlN+AzVXsgl/iqQI3knqHAtx5 +1Buqd/PF1t6grELRhGH39ElzkK2D9E1e8Ag6XdWY/jCx/tRypc2HrUJoNsdUFrj8 ++VDOYa9Xi1XSzQdRPbWbdzXiIxtA5iY4i8mS3B3wItl1eyzD5UFQzgWK5FLFjfhm +6/DEpVqlyu1mp+2I7InKz4HW64l0Rkzn5EC7UxUn/chGDWQTtfiyjeia4ANcUC8J +x5C4NOKXPzXN8anWV3S0oJZh+pGRaUKTAAMFB/9YkEg13DveEPPg8+bqUXtN9YU+ +Ogxcvcyou8I5bzRMxlpJkG3aEsrpAB7mS9D3kpImUa5QA8Y9QoEl4CLxbGIDJIyK +Nm93OhZrO+A0h8uCTHK45clmqg3UdUKqnXr5V48zIvs56lrpTnlJ3PqNSl2ErDYt +T7fgODyXAyLPNpCGsz2otYfJ4ne1aYf7i/7gI+UTXpavDUsM90FrX+sydnjbZIi0 +t6HNpmO9sb9o82QjF+hMr28YntWS0LUvOdUmWNnUyrDtZ2fnTzxoOYl0/8hxE+vU +wcw3vk6+CtNEw4r+VkuKKpZgrP7BIyD8m2dGJn5cfRe8LCP2TIkYh7WBoKQxiEkE +GBECAAkFAkT+XiQCGwwACgkQEaMBVuDmdhHXAgCg1DelVwB3NVuI4X3w4QAijqlg +3vsAn13J6LbSbWkCE1GwkJfoF9GzWqNd +=L+CY +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/fill-values b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/fill-values new file mode 100644 index 0000000..1ed18f8 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: upstream-keyring +Skeleton: upload-non-native +Description: Test with a keyring (false positive, from inkscape) diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/desc b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/desc new file mode 100644 index 0000000..753cd74 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/desc @@ -0,0 +1,4 @@ +Testname: upstream-keyring +Check: debian/upstream/signing-key +Test-Against: + public-upstream-key-unusable diff --git a/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/hints b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/upstream/signing-key/upstream-keyring/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/a-file b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/a-file new file mode 100644 index 0000000..c40b9f1 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/a-file @@ -0,0 +1 @@ +MEANINGFUL CONTENTS diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/install b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/install new file mode 100644 index 0000000..8a62397 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/debian/install @@ -0,0 +1 @@ +a-file usr/lib/$(DEB_BUILD_MULTIARCH)/ diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/fill-values b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/fill-values new file mode 100644 index 0000000..82217ed --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-install/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: build-multiarch-in-install +Description: Uses DEB_BUILD_MULTIARCH in d/install diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/desc b/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/desc new file mode 100644 index 0000000..f30475e --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/desc @@ -0,0 +1,4 @@ +Testname: build-multiarch-in-install +Check: debian/variables +See-Also: + Bug#983219 diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/hints b/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/hints new file mode 100644 index 0000000..5ea29b9 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-install/eval/hints @@ -0,0 +1 @@ +build-multiarch-in-install (source): illegal-variable DEB_BUILD_MULTIARCH [debian/install] diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/a-file b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/a-file new file mode 100644 index 0000000..c40b9f1 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/a-file @@ -0,0 +1 @@ +MEANINGFUL CONTENTS diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/links b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/links new file mode 100644 index 0000000..4f759a6 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/debian/links @@ -0,0 +1 @@ +/usr/lib/$(DEB_BUILD_MULTIARCH)/target /usr/lib/$(DEB_BUILD_MULTIARCH)/not-working diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/fill-values b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/fill-values new file mode 100644 index 0000000..bf606c3 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-links/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: build-multiarch-in-links +Description: Uses DEB_BUILD_MULTIARCH in d/links diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/desc b/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/desc new file mode 100644 index 0000000..324f3b5 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/desc @@ -0,0 +1,4 @@ +Testname: build-multiarch-in-links +Check: debian/variables +See-Also: + Bug#983219 diff --git a/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/hints b/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/hints new file mode 100644 index 0000000..d843c89 --- /dev/null +++ b/t/recipes/checks/debian/variables/build-multiarch-in-links/eval/hints @@ -0,0 +1 @@ +build-multiarch-in-links (source): illegal-variable DEB_BUILD_MULTIARCH [debian/links] diff --git a/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/control b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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 nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/menu b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/rules b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/debian/templates b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-binary/eval/desc b/t/recipes/checks/debian/version-substvars/legacy-binary/eval/desc new file mode 100644 index 0000000..6d02762 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: debian/version-substvars diff --git a/t/recipes/checks/debian/version-substvars/legacy-binary/eval/hints b/t/recipes/checks/debian/version-substvars/legacy-binary/eval/hints new file mode 100644 index 0000000..47fabf6 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-binary/eval/hints @@ -0,0 +1,2 @@ +binary (source): not-binnmuable-all-depends-any binary-data -> binary +binary (source): maybe-not-arch-all-binnmuable binary -> binary-data diff --git a/t/recipes/checks/debian/version-substvars/legacy-binary/eval/post-test b/t/recipes/checks/debian/version-substvars/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/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/debian/version-substvars/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery , Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + 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: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value \ No newline at end of file diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var \ No newline at end of file diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/desc b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..d8b2ef7 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: debian/version-substvars diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/hints b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..939340b --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +etcfiles (source): not-binnmuable-all-depends-any only-etcfiles -> etcfiles diff --git a/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/post-test b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debian/version-substvars/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/desc b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/desc new file mode 100644 index 0000000..9f00b57 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debian/version-substvars diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/hints b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/hints new file mode 100644 index 0000000..81c169a --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/hints @@ -0,0 +1,2 @@ +libbaz (source): not-binnmuable-any-depends-any libbaz2-dev -> libbaz2 +libbaz (source): not-binnmuable-any-depends-any libbaz1-dev -> libbaz1 diff --git a/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/debian/control.in b/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/debian/control.in new file mode 100644 index 0000000..bedaad7 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/debian/control.in @@ -0,0 +1,62 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: program-bin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-data (= ${binary:Version}), + program-data-extra (= ${source:Version}) +Provides: + provided-package (= ${binary:Version}), + provided-package-2 (= ${binary:Version}) +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: program-data +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, + foreign-pkg:any (= ${source:Version}) +Suggests: provided-package (= ${binary:Version}) +Replaces: other-foreign-pkg:any (<< ${binary:Version}) +Recommends: another-foreign-pkg-${suffix}:any (= ${source:Version}) +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. + +Package: program-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-bin:any (= ${source:Version}), + program-data (>= ${binary:Version}) +Description: [% $description %] - extra utils + 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. + . + Extra utils. + +Package: program-data-extra +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-bin:any (= ${binary:Version}), +Description: [% $description %] - extra 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. + . + Extra-Data package. diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/fill-values new file mode 100644 index 0000000..4ccfdc0 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: version-substvars-general +Description: Test of substvars diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/desc b/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/desc new file mode 100644 index 0000000..a564fe5 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/desc @@ -0,0 +1,2 @@ +Testname: version-substvars-general +Check: debian/version-substvars diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/hints b/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/hints new file mode 100644 index 0000000..90f8083 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-general/eval/hints @@ -0,0 +1,7 @@ +version-substvars-general (source): version-substvar-for-external-package Replaces ${binary:Version} program-data -> other-foreign-pkg [debian/control:29] +version-substvars-general (source): version-substvar-for-external-package Depends ${source:Version} program-data -> foreign-pkg [debian/control:26] +version-substvars-general (source): not-binnmuable-any-depends-any program-utils -> program-bin +version-substvars-general (source): not-binnmuable-any-depends-all program-utils -> program-data +version-substvars-general (source): not-binnmuable-any-depends-all program-bin -> program-data +version-substvars-general (source): not-binnmuable-all-depends-any program-data-extra -> program-bin +version-substvars-general (source): maybe-not-arch-all-binnmuable program-bin -> program-data-extra diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in new file mode 100644 index 0000000..200f9ad --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in @@ -0,0 +1,57 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: program-bin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-data (= ${binary:Version}), + program-data-extra (= ${source:Version}) +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: program-data +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, + foreign-pkg:any (= ${Source-Version}) +Replaces: other-foreign-pkg:any (<< ${binary:Version}) +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. + +Package: program-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-bin:any (= ${source:Version}), + program-data (>= ${binary:Version}) +Description: [% $description %] - extra utils + 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. + . + Extra utils. + +Package: program-data-extra +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, + program-bin:any (= ${binary:Version}), +Description: [% $description %] - extra 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. + . + Extra-Data package. diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values new file mode 100644 index 0000000..ec9740c --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: version-substvars-obsolete +Description: Test of substvars +Extra-Build-Depends: dpkg (<< 1.17.2) +# dpkg 1.18.11 Will error out for ${source-version} diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/desc b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/desc new file mode 100644 index 0000000..25c3fcb --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/desc @@ -0,0 +1,3 @@ +Testname: version-substvars-obsolete +Check: debian/version-substvars +# dpkg 1.18.11 Will error out for ${source-version} diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/hints b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/hints new file mode 100644 index 0000000..e1b5e52 --- /dev/null +++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/eval/hints @@ -0,0 +1,8 @@ +version-substvars-obsolete (source): version-substvar-for-external-package program-data -> other-foreign-pkg +version-substvars-obsolete (source): version-substvar-for-external-package program-data -> foreign-pkg +version-substvars-obsolete (source): substvar-source-version-is-deprecated program-data +version-substvars-obsolete (source): not-binnmuable-any-depends-any program-utils -> program-bin +version-substvars-obsolete (source): not-binnmuable-any-depends-all program-utils -> program-data +version-substvars-obsolete (source): not-binnmuable-any-depends-all program-bin -> program-data +version-substvars-obsolete (source): not-binnmuable-all-depends-any program-data-extra -> program-bin +version-substvars-obsolete (source): maybe-not-arch-all-binnmuable program-bin -> program-data-extra diff --git a/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/fill-values b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/fill-values new file mode 100644 index 0000000..c3943fa --- /dev/null +++ b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: changes-upstream-signature-missing +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: No upstream signature included but package contains a signing key +Extra-Build-Depends: dpkg (>= 1.18.5) +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/pre-build b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/pre-build new file mode 100755 index 0000000..2d5a158 --- /dev/null +++ b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/build-spec/pre-build @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +DIR="$1" +NAME="changes-upstream-signature-missing" +VERSION="1.0" + +# Check all components +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-component.tar.gz + +# Don't emit if we have a signature +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-signed.tar.gz.asc + +# Don't emit if we have .tar.asc (NB. not a .tar.gz.asc) +cp ${DIR}/../${NAME}_${VERSION}.orig.tar.gz ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz +touch ${DIR}/../${NAME}_${VERSION}.orig-noext.tar.gz.asc diff --git a/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/desc b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/desc new file mode 100644 index 0000000..6c8544d --- /dev/null +++ b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/desc @@ -0,0 +1,3 @@ +Testname: changes-upstream-signature-missing +Check: debian/watch +# dpkg 1.18.5 required in order to create multiple tarballs with detached signatures diff --git a/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/hints b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/hints new file mode 100644 index 0000000..a1301ce --- /dev/null +++ b/t/recipes/checks/debian/watch/changes-upstream-signature-missing/eval/hints @@ -0,0 +1,2 @@ +changes-upstream-signature-missing (source): debian-watch-does-not-check-openpgp-signature [debian/watch] +changes-upstream-signature-missing (source): debian-watch-could-verify-download debian/upstream/signing-key.asc [debian/watch] diff --git a/t/recipes/checks/debian/watch/filenamemangle/build-spec/debian/watch b/t/recipes/checks/debian/watch/filenamemangle/build-spec/debian/watch new file mode 100644 index 0000000..c266694 --- /dev/null +++ b/t/recipes/checks/debian/watch/filenamemangle/build-spec/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts=\ + downloadurlmangle=s/\/releases\/tag\/(\d\S+)$/\/archive\/$1\.tar\.gz/,\ + filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \ +https://codeberg.org/dnkl/foot/releases .*/releases/tag/(\d\S+) diff --git a/t/recipes/checks/debian/watch/filenamemangle/build-spec/fill-values b/t/recipes/checks/debian/watch/filenamemangle/build-spec/fill-values new file mode 100644 index 0000000..b0aec17 --- /dev/null +++ b/t/recipes/checks/debian/watch/filenamemangle/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: filenamemangle +Description: Option filenamemangle in d/watch diff --git a/t/recipes/checks/debian/watch/filenamemangle/eval/desc b/t/recipes/checks/debian/watch/filenamemangle/eval/desc new file mode 100644 index 0000000..9c5d3bc --- /dev/null +++ b/t/recipes/checks/debian/watch/filenamemangle/eval/desc @@ -0,0 +1,2 @@ +Testname: filenamemangle +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/filenamemangle/eval/hints b/t/recipes/checks/debian/watch/filenamemangle/eval/hints new file mode 100644 index 0000000..3cb3be0 --- /dev/null +++ b/t/recipes/checks/debian/watch/filenamemangle/eval/hints @@ -0,0 +1,2 @@ +filenamemangle (source): prefer-uscan-symlink filenamemangle s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ [debian/watch:5] +filenamemangle (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + + + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is (C) 2008, Russ Allbery and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Further changes by Javier Fernandez-Sanguino +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# 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. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" 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 +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +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. +\fBgeneric-dh-make-2008\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. +.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 +generic-dh-make-2008 was written by . +.PP +This manual page was written by Russ Allbery , +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 29, 2008"> + + SECTION"> + rra@debian.org"> + + GENERIC-DH-MAKE-2008"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (but may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows 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 + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/desc b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..8b1333e --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: debian/watch +See-Also: + Bug#497347 diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/hints b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..3e324c4 --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/hints @@ -0,0 +1 @@ +generic-dh-make-2008 (source): debian-watch-file-is-missing diff --git a/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/post-test b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..57a489c --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description uses only UTF-8 high bytes chars. + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/watch/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/watch/legacy-foo++/eval/desc b/t/recipes/checks/debian/watch/legacy-foo++/eval/desc new file mode 100644 index 0000000..b8bd838 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/legacy-foo++/eval/hints b/t/recipes/checks/debian/watch/legacy-foo++/eval/hints new file mode 100644 index 0000000..5607bd3 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (source): debian-watch-file-in-native-package [debian/watch] diff --git a/t/recipes/checks/debian/watch/legacy-foo++/eval/post-test b/t/recipes/checks/debian/watch/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group +Uploaders: Anyone but Jeroen +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script 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. It may + be an empty package. diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell /dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '</dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat </dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz \ No newline at end of file diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..15e1052 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..900fab6 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,4 @@ +maintainer-scripts (source): debian-watch-uses-insecure-uri http://domain.tld/foo-(.+)\.tar\.gz [debian/watch:11] +maintainer-scripts (source): debian-watch-not-mangling-version opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ [debian/watch:7] +maintainer-scripts (source): debian-watch-not-mangling-version options=active http://domain.tld/foo-(.+)\.tar\.gz [debian/watch:11] +maintainer-scripts (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/watch/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/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/watch/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/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/watch/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/watch/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/watch/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/debian/watch/legacy-scripts/eval/desc b/t/recipes/checks/debian/watch/legacy-scripts/eval/desc new file mode 100644 index 0000000..dc395d0 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/legacy-scripts/eval/hints b/t/recipes/checks/debian/watch/legacy-scripts/eval/hints new file mode 100644 index 0000000..eb22aa3 --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/eval/hints @@ -0,0 +1,7 @@ +scripts (source): debian-watch-uses-insecure-uri http://qa.debian.org/watch/sf.php?project=foo [debian/watch:5] +scripts (source): debian-watch-uses-insecure-uri http://ftp.sf.net/foo/foo_bar(.+)\.Z [debian/watch:8] +scripts (source): debian-watch-mangles-debian-version-improperly opts="uversionmangle=s/$/ds/" http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +scripts (source): debian-watch-lacks-sourceforge-redirector http://ftp.sf.net/foo/foo_bar(.+)\.Z 5 uupdate [debian/watch:8] +scripts (source): debian-watch-file-uses-deprecated-sf-redirector-method http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +scripts (source): debian-watch-file-specifies-old-upstream-version 5 [debian/watch] +scripts (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/legacy-scripts/eval/post-test b/t/recipes/checks/debian/watch/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch new file mode 100644 index 0000000..6cc9db4 --- /dev/null +++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch @@ -0,0 +1,11 @@ +# watch file with no version mangling, even though there's a dfsg in the +# package version number. + +version=2 +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate + +# version mangling is not needed in this case: +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 0.24 uupdate + +# version mangling *is* needed in this case: +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values new file mode 100644 index 0000000..a804d99 --- /dev/null +++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: repack-indicator-in-debian-revision +Skeleton: upload-non-native +Version: 1-debian1 +Description: Avoid false positives in Devuan (#931846) diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc new file mode 100644 index 0000000..cff1b33 --- /dev/null +++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc @@ -0,0 +1,2 @@ +Testname: repack-indicator-in-debian-revision +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints new file mode 100644 index 0000000..e758710 --- /dev/null +++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints @@ -0,0 +1 @@ +repack-indicator-in-debian-revision (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/comments-only/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/comments-only/build-spec/debian/watch new file mode 100644 index 0000000..b0c64af --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/comments-only/build-spec/debian/watch @@ -0,0 +1,2 @@ +# explanation for why this file is empty +# presumably similar to the file that gave rise to Bug#965385 diff --git a/t/recipes/checks/debian/watch/standard/comments-only/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/comments-only/build-spec/fill-values new file mode 100644 index 0000000..f599495 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/comments-only/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: comments-only +Skeleton: source-non-native +Description: Only comments in watch file (false positive) diff --git a/t/recipes/checks/debian/watch/standard/comments-only/eval/desc b/t/recipes/checks/debian/watch/standard/comments-only/eval/desc new file mode 100644 index 0000000..7edcb5e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/comments-only/eval/desc @@ -0,0 +1,7 @@ +Testname: comments-only +Check: debian/watch/standard +Test-Against: + missing-debian-watch-file-standard +See-Also: + Bug#965385, + Bug#992569 diff --git a/t/recipes/checks/debian/watch/standard/comments-only/eval/hints b/t/recipes/checks/debian/watch/standard/comments-only/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/comments-only/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt , Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/control b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..57a489c --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer +Uploaders: Marc 'HE' Brockschmidt , Jeroen van Wolffelaar, + Frank , Yama@gotchi, Josip, + I am afraid of spam and think this helps +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description uses only UTF-8 high bytes chars. + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more 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/debian/watch/standard/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/desc b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/desc new file mode 100644 index 0000000..fd35332 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/hints b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/hints new file mode 100644 index 0000000..6322360 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/hints @@ -0,0 +1 @@ +foo++ (source): unknown-debian-watch-file-standard 0 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/post-test b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php + + +Dumb PHP script + + + diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/pre-build b/t/recipes/checks/debian/watch/standard/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/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/debian/watch/standard/legacy-scripts/eval/desc b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/desc new file mode 100644 index 0000000..b13e704 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/hints b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/hints new file mode 100644 index 0000000..8c75be5 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/hints @@ -0,0 +1,3 @@ +scripts (source): older-debian-watch-file-standard 3 [debian/watch] +scripts (source): multiple-debian-watch-file-standards 2 3 [debian/watch] +scripts (source): debian-watch-file-standard 3 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/post-test b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/debian/watch/standard/no-version/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/no-version/build-spec/debian/watch new file mode 100644 index 0000000..4d3b502 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/no-version/build-spec/debian/watch @@ -0,0 +1 @@ +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/no-version/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/no-version/build-spec/fill-values new file mode 100644 index 0000000..41649e0 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/no-version/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: no-version +Skeleton: upload-non-native +Description: Watch file with no version diff --git a/t/recipes/checks/debian/watch/standard/no-version/eval/desc b/t/recipes/checks/debian/watch/standard/no-version/eval/desc new file mode 100644 index 0000000..c16a93c --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/no-version/eval/desc @@ -0,0 +1,2 @@ +Testname: no-version +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/no-version/eval/hints b/t/recipes/checks/debian/watch/standard/no-version/eval/hints new file mode 100644 index 0000000..b3051e0 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/no-version/eval/hints @@ -0,0 +1 @@ +no-version (source): missing-debian-watch-file-standard [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/version-1/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/version-1/build-spec/debian/watch new file mode 100644 index 0000000..8cd5a87 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-1/build-spec/debian/watch @@ -0,0 +1,2 @@ +version=1 +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/version-1/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/version-1/build-spec/fill-values new file mode 100644 index 0000000..1f9c306 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-1/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: version-1 +Skeleton: upload-non-native +Description: Watch file of version 1 diff --git a/t/recipes/checks/debian/watch/standard/version-1/eval/desc b/t/recipes/checks/debian/watch/standard/version-1/eval/desc new file mode 100644 index 0000000..0304f2e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-1/eval/desc @@ -0,0 +1,2 @@ +Testname: version-1 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/version-1/eval/hints b/t/recipes/checks/debian/watch/standard/version-1/eval/hints new file mode 100644 index 0000000..6d27d24 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-1/eval/hints @@ -0,0 +1 @@ +version-1 (source): unknown-debian-watch-file-standard 1 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/version-2/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/version-2/build-spec/debian/watch new file mode 100644 index 0000000..a201846 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-2/build-spec/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/version-2/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/version-2/build-spec/fill-values new file mode 100644 index 0000000..d00cdfa --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-2/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: version-2 +Skeleton: upload-non-native +Description: Watch file of version 2 diff --git a/t/recipes/checks/debian/watch/standard/version-2/eval/desc b/t/recipes/checks/debian/watch/standard/version-2/eval/desc new file mode 100644 index 0000000..3d5177c --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-2/eval/desc @@ -0,0 +1,2 @@ +Testname: version-2 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/version-2/eval/hints b/t/recipes/checks/debian/watch/standard/version-2/eval/hints new file mode 100644 index 0000000..fd0f141 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-2/eval/hints @@ -0,0 +1,2 @@ +version-2 (source): obsolete-debian-watch-file-standard 2 [debian/watch] +version-2 (source): debian-watch-file-standard 2 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/version-3/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/version-3/build-spec/debian/watch new file mode 100644 index 0000000..5750c6f --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-3/build-spec/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/version-3/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/version-3/build-spec/fill-values new file mode 100644 index 0000000..ec6b701 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-3/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: version-3 +Skeleton: upload-non-native +Description: Watch file of version 3 diff --git a/t/recipes/checks/debian/watch/standard/version-3/eval/desc b/t/recipes/checks/debian/watch/standard/version-3/eval/desc new file mode 100644 index 0000000..fbb5105 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-3/eval/desc @@ -0,0 +1,2 @@ +Testname: version-3 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/version-3/eval/hints b/t/recipes/checks/debian/watch/standard/version-3/eval/hints new file mode 100644 index 0000000..31501a1 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-3/eval/hints @@ -0,0 +1,2 @@ +version-3 (source): older-debian-watch-file-standard 3 [debian/watch] +version-3 (source): debian-watch-file-standard 3 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/version-4/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/version-4/build-spec/debian/watch new file mode 100644 index 0000000..259bb88 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-4/build-spec/debian/watch @@ -0,0 +1,2 @@ +version=4 +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/version-4/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/version-4/build-spec/fill-values new file mode 100644 index 0000000..d7fd7de --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-4/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: version-4 +Skeleton: upload-non-native +Description: Watch file of version 4 diff --git a/t/recipes/checks/debian/watch/standard/version-4/eval/desc b/t/recipes/checks/debian/watch/standard/version-4/eval/desc new file mode 100644 index 0000000..4c3c00e --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-4/eval/desc @@ -0,0 +1,2 @@ +Testname: version-4 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/version-4/eval/hints b/t/recipes/checks/debian/watch/standard/version-4/eval/hints new file mode 100644 index 0000000..244ebd0 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-4/eval/hints @@ -0,0 +1 @@ +version-4 (source): debian-watch-file-standard 4 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/version-5/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/version-5/build-spec/debian/watch new file mode 100644 index 0000000..6b8a6f4 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-5/build-spec/debian/watch @@ -0,0 +1,2 @@ +version=5 +http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate diff --git a/t/recipes/checks/debian/watch/standard/version-5/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/version-5/build-spec/fill-values new file mode 100644 index 0000000..7f069bb --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-5/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: version-5 +Skeleton: upload-non-native +Description: Watch file of version 5 diff --git a/t/recipes/checks/debian/watch/standard/version-5/eval/desc b/t/recipes/checks/debian/watch/standard/version-5/eval/desc new file mode 100644 index 0000000..cd8cc36 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-5/eval/desc @@ -0,0 +1,2 @@ +Testname: version-5 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/version-5/eval/hints b/t/recipes/checks/debian/watch/standard/version-5/eval/hints new file mode 100644 index 0000000..5ebdc82 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/version-5/eval/hints @@ -0,0 +1 @@ +version-5 (source): unknown-debian-watch-file-standard 5 [debian/watch] diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2340930 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/changelog.in @@ -0,0 +1,14 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) unstable; urgency=low + + * Provoke debian-watch-file-specifies-old-upstream-version. + + -- [% $author %] Thu, 01 Jan 2009 08:34:20 -0800 diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..d83f52c --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFpEMFgBEADNYEVhITIZ/rVECuLWxDJUk4rV+v6IfJCxJzuXRfqbjkdLNsCD +P83FOdvcxNQSrWPdSCgV1tDeDc18pNmfWDnu90zrLRipR1u7ln/ajTpx0RI7tHaO +SCIJfo42iw7firz9IoegqZaH8LKCh63EaXxLD98MgRA9fcBTEaBSD+Wxh8yYL/5b +bjdUu2FNNEi8f0POBAB3XInu80mqkEeVYPijd2T8Tc5xaxD90OBuuNGSiqKrJ+lB +9TSxwr5E/9N+6fnCjrR4FVkZtyTELAdZm4CpQN26tinVolG1gDpMz5B27471oXPY +9K92/UzTRllwuZ09pdBwpd4gu9mTXMLwOJ/S/+LJeSfCmby7QZiM/61NpS5EyaYg +h+m8YyTUtulFqpWd2HxttXz0ii5C01LKUrNPqlQrxmfrACJ1tHvcngVQm4wyqMHq +Uw5LYJ8FM7eS3JPeHpHqFGpY1VKx3nZAZGx+1As1ClvT7Og1KyuVY59w8qNaeJ8C +eA9XrwGVbMm9PiTP+fyBykMaYpf5aGucH+GeBtkvmpyOyXqf7zrOqyRvY0QaMgt1 +n3jXcD7AZKHCp0wY6LYVa/sKqrDJtxoloBA6kV2Ui3kClOWmlfvm+i1Ecg7vCG8d +QrJtZxo1Wu54dIr+g0qMFjlBA69OFYRXPzoaWFW1BKtNAYFoej9vW/f+0wARAQAB +tDtMaW50aWFuIFRlc3QgVXBzdHJlYW0gS2V5IChXb3JraW5nLCBObyBFeHBpcmF0 +aW9uLCBNaW5pbWFsKYkCTgQTAQoAOBYhBPr6VG+KNaSTu27AqFtc4nOV5lb+BQJa +RDBYAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJEFtc4nOV5lb+B3kQAMMm +umaOq12REmLdKWMN7GOsxzV6fTF5xBjTgKfY9DCBeNV7tSuJGpGT9MaxRD5Yu/1p +PDMGC9TkDxOEULBucmp7M//3FCuSnGQFBcObHNXY9FmLQ5MZJ32QUi8KLNIcDjuF +AKMEYJ5AT50pBsGyLVGXL27HWndNV7jMeIX64gIN5chPKMHqCn0g/wTTaPY/kkEs +MYirGmBQ83cIAv/1nywtIPeBnj+02Vu3B1hJIZYgmDQZwjZdd7HTxsVW0LAZEXs5 +gtWArfHO3zNKy6WkVE+xhNgZuVO3EyV46JW0bQ2RC7yY70/qFxX71co6p2+VaZgf +198QtRddq9cKaSe68BnZesIp9YnT3xJVYeL6IrrMYNIZxlslL4/b+gKU3epHyFes +tQP1tqkhnmC+Bxds6kx0ngPVfTfWM4Ruaeot51BuenZu82S1B3FB5B0qruCNyKre +nl53nPaNkOERPOF654AXoIODTgnyaocCaQTPztOYm52X8u9qogf9wf1eEA9EZIBI +WSbn3eCohN6qWvsdC0MMRDu0HB4S1QUyyOceNflXePg6SPvJSPHuOG/5DShcN6ah +mgVMH44ecAWsh/8Uj1+Z39Ea07nfE3lCU/WR+DXJb56WaQChXN7AKITrNRd/Q61X +jqrB6jWRSeVBKDidsFwI7oALdSgONE/ZEy+M4j76uQINBFpEMFgBEADCWJECQ6K1 +HgH7OwX7eY8ggEdCOYI/cTGx9rfzdqx67tc7fsF63BrO+nTHylcwXi9IAs695zvp +miCnCu1EUVjfM+nD52kocVEhzFc/lcCq6d9ac7H9ItJgf3Qc2HpwcqvsNUTWPDMU +VjQ8ciZ57qq601kIjVPuHjKRY96K9iHxUeVGh2n74JLYZL5IKO08WtQgPmPVLFDX +X2iZXnZdW/X4xTYB+/+V/D1LyUIP3X7CzBNzJuYjP3vGDH3h4ulLWnDSmxKs6Aep +a0sKu6+YD14/xXOi+buc0m6ghP7WePl9gYi6XePLdVPeLC9aiDi1tCWEVbbsinhw +ODxLwndXCGUc+AVySdUrUMuRchNRI6Z5PW/a/RsuVmyORg1RSuFGLeJQZj1pAw6x +WjxgioqoqydECIx4gCwGO/0GNZCfe5n11vuMEZ7SKbnrf5d58EQXOgV+yZumRKkz +OmdKICjql6w5CealrvP/si2kfD3oVwqBeuM0aM8HmWTfrdESWrd8xqAxBlcDsIun +mpsJ6obGN2mOaMFmOljukdzDFgMJMIrcS4UcGNzyQWUbz6JOSfPq96RkrTVsXMKy +40Ygtwe63PS9lXGT2ojmiV193UrGJqEUjuAL79KXWkxTRFxvFwck9qK5RAX2F1GQ +4ELDAFSKr8t6IpiYiTXaA3OTJfxJMK191QARAQABiQI2BBgBCgAgFiEE+vpUb4o1 +pJO7bsCoW1zic5XmVv4FAlpEMFgCGwwACgkQW1zic5XmVv4VEA//dOFj60ktKKsl +CgRdtnuo9Sdd7IjShic67qoT0gFZRiMATaryM4ifjAcl03rxzGk5MOsltHFJr5h+ +RmaudKhCyksd1nQ2dBpFgPHyxVTS5/k+wMelP9kPailqiGUA735SP5mO/28YOT8v +Xa4rwnTn6s9Ga7+lMN4I7LKRo47uGG89Og381tHSkW8DjFuLTme3TQDysG2MGlSY +vTPJmF7xPCuG3s8J5RIrVwWbN0orWen9YWT1923+0CAZG8M+7AFxU5xxCFIBRKMw +2tw/ovjtE9czuT743LMPlUJRc1pveYjVhLY9xUMQsPO6j41pdIL2X7txFjQqzjFl +hpIJviupVWlV0vSS0Q7nAtvLTsjhXSyQriKqmfdsdcxXBz7LGRxEi5l/9zuW5GMy +kD5ikQ05li6wkBdQYLS3ZBYkrj94LpNEqNZE3sfX33Yc5cpE2Bc4Ga+MxYxQwrfz +sNNSp8jdf2FyFvlvRkO8UUgsW5PPOuwthb05bx7dQGfKvqySpd0JLrhxw8G8odJh +PGzl0ig4F8xEitMc0lms5yzQGvtpEvSYLUs+4EJaf/XN9nRS+4e+GciTmp9XUM/5 +EtKOKXVuhHyaizqfpF4VR0Tbg65HHE3zLJMr7XTUGC0Zr+bj0n/V177R0XgptY7Y +jr6SfdNikIDjGYa+yuN6KGQsriza1aA= +=CYsi +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/watch b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/watch new file mode 100644 index 0000000..dc196dd --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/debian/watch @@ -0,0 +1,32 @@ +# 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 + +# Test additional Sourceforge patterns. (See Bug#510398) +ftp://upload.sourceforge.net/pub/sourceforge/s/so/soprano/ \ + soprano-(.*)\.tar\.bz2 +http://sourceforge.net/project/showfiles.php?group_id=100501 \ + .*/octaviz/octaviz-([\d\.]+).tar.gz.* +http://sourceforge.net/projects/synce/files http://downloads.sourceforge.net/.+/kcemirror-(.+).tar.gz.* + +# Unknown version number. +version=42 + +# Specifies the same version number as the package. +https://example.com/ foo([\d.]+)\.tar\.gz 2.0.ds1-1 uupdate + +# Deprecated githubredir +http://githubredir.debian.net/github/username/project /(.*).tar.gz + +# without any pgpsigurlmangle + +http://insecure.com /(.*).tar.gz +https://secure.com /(.*).tar.gz + +# False positive for debian-watch-uses-insecure-uri +http://sf.net/uses/redirector-([^-]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/fill-values b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/fill-values new file mode 100644 index 0000000..185084f --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-general +Skeleton: upload-non-native +Version: 2.0.ds1-1 +Description: General watch file checks diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/eval/desc b/t/recipes/checks/debian/watch/standard/watch-file-general/eval/desc new file mode 100644 index 0000000..f376aa2 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/eval/desc @@ -0,0 +1,3 @@ +Testname: watch-file-general +See-Also: Debian Bug#510398 +Check: debian/watch/standard diff --git a/t/recipes/checks/debian/watch/standard/watch-file-general/eval/hints b/t/recipes/checks/debian/watch/standard/watch-file-general/eval/hints new file mode 100644 index 0000000..75c45f7 --- /dev/null +++ b/t/recipes/checks/debian/watch/standard/watch-file-general/eval/hints @@ -0,0 +1,4 @@ +watch-file-general (source): unknown-debian-watch-file-standard 42 [debian/watch] +watch-file-general (source): older-debian-watch-file-standard 3 [debian/watch] +watch-file-general (source): multiple-debian-watch-file-standards 2 3 42 [debian/watch] +watch-file-general (source): debian-watch-file-standard 3 [debian/watch] diff --git a/t/recipes/checks/debian/watch/two-upstream-components/build-spec/debian/watch b/t/recipes/checks/debian/watch/two-upstream-components/build-spec/debian/watch new file mode 100644 index 0000000..ae00c12 --- /dev/null +++ b/t/recipes/checks/debian/watch/two-upstream-components/build-spec/debian/watch @@ -0,0 +1,6 @@ +version=4 +https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-([.[:digit:]]+).tar.gz + +opts="component=x1" https://github.com/a/x1/tags archives/v?([\d\-]+)\.tar\.gz + +opts="component=x2" https://github.com/a/x2 archives/v?([\d\-]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/two-upstream-components/build-spec/fill-values b/t/recipes/checks/debian/watch/two-upstream-components/build-spec/fill-values new file mode 100644 index 0000000..b98e8f2 --- /dev/null +++ b/t/recipes/checks/debian/watch/two-upstream-components/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: two-upstream-components +Skeleton: upload-non-native +Description: Contains a watch file with 2 components diff --git a/t/recipes/checks/debian/watch/two-upstream-components/eval/desc b/t/recipes/checks/debian/watch/two-upstream-components/eval/desc new file mode 100644 index 0000000..37a05ff --- /dev/null +++ b/t/recipes/checks/debian/watch/two-upstream-components/eval/desc @@ -0,0 +1,2 @@ +Testname: two-upstream-components +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/two-upstream-components/eval/hints b/t/recipes/checks/debian/watch/two-upstream-components/eval/hints new file mode 100644 index 0000000..d7b3f59 --- /dev/null +++ b/t/recipes/checks/debian/watch/two-upstream-components/eval/hints @@ -0,0 +1,3 @@ +two-upstream-components (source): debian-watch-upstream-component https://github.com/a/x2 x2 [debian/watch:6] +two-upstream-components (source): debian-watch-upstream-component https://github.com/a/x1/tags x1 [debian/watch:4] +two-upstream-components (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/watch new file mode 100644 index 0000000..6f30e20 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/debian/watch @@ -0,0 +1,4 @@ +version=3 +# Trailing whitespace and missing continuation backslash intentional! +opts=pgpsigurlmangle=s/$/.asc/ +https://www.example.com/Downloads/code-(.+)code\.zip diff --git a/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/fill-values new file mode 100644 index 0000000..b764faa --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-bug-765995/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-bug-765995 +Skeleton: upload-non-native +Version: 2.0-1 +Description: Watch file that caused undef warning diff --git a/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/desc b/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/desc new file mode 100644 index 0000000..ff09232 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-bug-765995 +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/hints b/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/hints new file mode 100644 index 0000000..93efc33 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-bug-765995/eval/hints @@ -0,0 +1,3 @@ +watch-file-bug-765995 (source): debian-watch-line-invalid opts=pgpsigurlmangle=s/$/.asc/ [debian/watch:3] +watch-file-bug-765995 (source): debian-watch-does-not-check-openpgp-signature [debian/watch] +watch-file-bug-765995 (source): debian-watch-could-verify-download debian/upstream/signing-key.asc [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/changelog.in new file mode 100644 index 0000000..2340930 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/changelog.in @@ -0,0 +1,14 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) unstable; urgency=low + + * Provoke debian-watch-file-specifies-old-upstream-version. + + -- [% $author %] Thu, 01 Jan 2009 08:34:20 -0800 diff --git a/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..d83f52c --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFpEMFgBEADNYEVhITIZ/rVECuLWxDJUk4rV+v6IfJCxJzuXRfqbjkdLNsCD +P83FOdvcxNQSrWPdSCgV1tDeDc18pNmfWDnu90zrLRipR1u7ln/ajTpx0RI7tHaO +SCIJfo42iw7firz9IoegqZaH8LKCh63EaXxLD98MgRA9fcBTEaBSD+Wxh8yYL/5b +bjdUu2FNNEi8f0POBAB3XInu80mqkEeVYPijd2T8Tc5xaxD90OBuuNGSiqKrJ+lB +9TSxwr5E/9N+6fnCjrR4FVkZtyTELAdZm4CpQN26tinVolG1gDpMz5B27471oXPY +9K92/UzTRllwuZ09pdBwpd4gu9mTXMLwOJ/S/+LJeSfCmby7QZiM/61NpS5EyaYg +h+m8YyTUtulFqpWd2HxttXz0ii5C01LKUrNPqlQrxmfrACJ1tHvcngVQm4wyqMHq +Uw5LYJ8FM7eS3JPeHpHqFGpY1VKx3nZAZGx+1As1ClvT7Og1KyuVY59w8qNaeJ8C +eA9XrwGVbMm9PiTP+fyBykMaYpf5aGucH+GeBtkvmpyOyXqf7zrOqyRvY0QaMgt1 +n3jXcD7AZKHCp0wY6LYVa/sKqrDJtxoloBA6kV2Ui3kClOWmlfvm+i1Ecg7vCG8d +QrJtZxo1Wu54dIr+g0qMFjlBA69OFYRXPzoaWFW1BKtNAYFoej9vW/f+0wARAQAB +tDtMaW50aWFuIFRlc3QgVXBzdHJlYW0gS2V5IChXb3JraW5nLCBObyBFeHBpcmF0 +aW9uLCBNaW5pbWFsKYkCTgQTAQoAOBYhBPr6VG+KNaSTu27AqFtc4nOV5lb+BQJa +RDBYAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJEFtc4nOV5lb+B3kQAMMm +umaOq12REmLdKWMN7GOsxzV6fTF5xBjTgKfY9DCBeNV7tSuJGpGT9MaxRD5Yu/1p +PDMGC9TkDxOEULBucmp7M//3FCuSnGQFBcObHNXY9FmLQ5MZJ32QUi8KLNIcDjuF +AKMEYJ5AT50pBsGyLVGXL27HWndNV7jMeIX64gIN5chPKMHqCn0g/wTTaPY/kkEs +MYirGmBQ83cIAv/1nywtIPeBnj+02Vu3B1hJIZYgmDQZwjZdd7HTxsVW0LAZEXs5 +gtWArfHO3zNKy6WkVE+xhNgZuVO3EyV46JW0bQ2RC7yY70/qFxX71co6p2+VaZgf +198QtRddq9cKaSe68BnZesIp9YnT3xJVYeL6IrrMYNIZxlslL4/b+gKU3epHyFes +tQP1tqkhnmC+Bxds6kx0ngPVfTfWM4Ruaeot51BuenZu82S1B3FB5B0qruCNyKre +nl53nPaNkOERPOF654AXoIODTgnyaocCaQTPztOYm52X8u9qogf9wf1eEA9EZIBI +WSbn3eCohN6qWvsdC0MMRDu0HB4S1QUyyOceNflXePg6SPvJSPHuOG/5DShcN6ah +mgVMH44ecAWsh/8Uj1+Z39Ea07nfE3lCU/WR+DXJb56WaQChXN7AKITrNRd/Q61X +jqrB6jWRSeVBKDidsFwI7oALdSgONE/ZEy+M4j76uQINBFpEMFgBEADCWJECQ6K1 +HgH7OwX7eY8ggEdCOYI/cTGx9rfzdqx67tc7fsF63BrO+nTHylcwXi9IAs695zvp +miCnCu1EUVjfM+nD52kocVEhzFc/lcCq6d9ac7H9ItJgf3Qc2HpwcqvsNUTWPDMU +VjQ8ciZ57qq601kIjVPuHjKRY96K9iHxUeVGh2n74JLYZL5IKO08WtQgPmPVLFDX +X2iZXnZdW/X4xTYB+/+V/D1LyUIP3X7CzBNzJuYjP3vGDH3h4ulLWnDSmxKs6Aep +a0sKu6+YD14/xXOi+buc0m6ghP7WePl9gYi6XePLdVPeLC9aiDi1tCWEVbbsinhw +ODxLwndXCGUc+AVySdUrUMuRchNRI6Z5PW/a/RsuVmyORg1RSuFGLeJQZj1pAw6x +WjxgioqoqydECIx4gCwGO/0GNZCfe5n11vuMEZ7SKbnrf5d58EQXOgV+yZumRKkz +OmdKICjql6w5CealrvP/si2kfD3oVwqBeuM0aM8HmWTfrdESWrd8xqAxBlcDsIun +mpsJ6obGN2mOaMFmOljukdzDFgMJMIrcS4UcGNzyQWUbz6JOSfPq96RkrTVsXMKy +40Ygtwe63PS9lXGT2ojmiV193UrGJqEUjuAL79KXWkxTRFxvFwck9qK5RAX2F1GQ +4ELDAFSKr8t6IpiYiTXaA3OTJfxJMK191QARAQABiQI2BBgBCgAgFiEE+vpUb4o1 +pJO7bsCoW1zic5XmVv4FAlpEMFgCGwwACgkQW1zic5XmVv4VEA//dOFj60ktKKsl +CgRdtnuo9Sdd7IjShic67qoT0gFZRiMATaryM4ifjAcl03rxzGk5MOsltHFJr5h+ +RmaudKhCyksd1nQ2dBpFgPHyxVTS5/k+wMelP9kPailqiGUA735SP5mO/28YOT8v +Xa4rwnTn6s9Ga7+lMN4I7LKRo47uGG89Og381tHSkW8DjFuLTme3TQDysG2MGlSY +vTPJmF7xPCuG3s8J5RIrVwWbN0orWen9YWT1923+0CAZG8M+7AFxU5xxCFIBRKMw +2tw/ovjtE9czuT743LMPlUJRc1pveYjVhLY9xUMQsPO6j41pdIL2X7txFjQqzjFl +hpIJviupVWlV0vSS0Q7nAtvLTsjhXSyQriKqmfdsdcxXBz7LGRxEi5l/9zuW5GMy +kD5ikQ05li6wkBdQYLS3ZBYkrj94LpNEqNZE3sfX33Yc5cpE2Bc4Ga+MxYxQwrfz +sNNSp8jdf2FyFvlvRkO8UUgsW5PPOuwthb05bx7dQGfKvqySpd0JLrhxw8G8odJh +PGzl0ig4F8xEitMc0lms5yzQGvtpEvSYLUs+4EJaf/XN9nRS+4e+GciTmp9XUM/5 +EtKOKXVuhHyaizqfpF4VR0Tbg65HHE3zLJMr7XTUGC0Zr+bj0n/V177R0XgptY7Y +jr6SfdNikIDjGYa+yuN6KGQsriza1aA= +=CYsi +-----END PGP PUBLIC KEY BLOCK----- diff --git a/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/watch new file mode 100644 index 0000000..dc196dd --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/build-spec/debian/watch @@ -0,0 +1,32 @@ +# 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 + +# Test additional Sourceforge patterns. (See Bug#510398) +ftp://upload.sourceforge.net/pub/sourceforge/s/so/soprano/ \ + soprano-(.*)\.tar\.bz2 +http://sourceforge.net/project/showfiles.php?group_id=100501 \ + .*/octaviz/octaviz-([\d\.]+).tar.gz.* +http://sourceforge.net/projects/synce/files http://downloads.sourceforge.net/.+/kcemirror-(.+).tar.gz.* + +# Unknown version number. +version=42 + +# Specifies the same version number as the package. +https://example.com/ foo([\d.]+)\.tar\.gz 2.0.ds1-1 uupdate + +# Deprecated githubredir +http://githubredir.debian.net/github/username/project /(.*).tar.gz + +# without any pgpsigurlmangle + +http://insecure.com /(.*).tar.gz +https://secure.com /(.*).tar.gz + +# False positive for debian-watch-uses-insecure-uri +http://sf.net/uses/redirector-([^-]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/watch-file-general/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-general/build-spec/fill-values new file mode 100644 index 0000000..185084f --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-general +Skeleton: upload-non-native +Version: 2.0.ds1-1 +Description: General watch file checks diff --git a/t/recipes/checks/debian/watch/watch-file-general/eval/desc b/t/recipes/checks/debian/watch/watch-file-general/eval/desc new file mode 100644 index 0000000..9f9961f --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/eval/desc @@ -0,0 +1,3 @@ +Testname: watch-file-general +See-Also: Debian Bug#510398 +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-general/eval/hints b/t/recipes/checks/debian/watch/watch-file-general/eval/hints new file mode 100644 index 0000000..7383a4c --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-general/eval/hints @@ -0,0 +1,24 @@ +watch-file-general (source): debian-watch-uses-insecure-uri http://sourceforge.net/projects/synce/files [debian/watch:15] +watch-file-general (source): debian-watch-uses-insecure-uri http://sourceforge.net/project/showfiles.php?group_id=100501 [debian/watch:14] +watch-file-general (source): debian-watch-uses-insecure-uri http://qa.debian.org/watch/sf.php?project=foo [debian/watch:5] +watch-file-general (source): debian-watch-uses-insecure-uri http://insecure.com [debian/watch:28] +watch-file-general (source): debian-watch-uses-insecure-uri http://githubredir.debian.net/github/username/project [debian/watch:24] +watch-file-general (source): debian-watch-uses-insecure-uri http://ftp.sf.net/foo/foo_bar(.+)\.Z [debian/watch:8] +watch-file-general (source): debian-watch-uses-insecure-uri ftp://upload.sourceforge.net/pub/sourceforge/s/so/soprano/ [debian/watch:12] +watch-file-general (source): debian-watch-not-mangling-version https://secure.com /(.*).tar.gz [debian/watch:29] +watch-file-general (source): debian-watch-not-mangling-version http://sourceforge.net/projects/synce/files http://downloads.sourceforge.net/.+/kcemirror-(.+).tar.gz.* [debian/watch:15] +watch-file-general (source): debian-watch-not-mangling-version http://sourceforge.net/project/showfiles.php?group_id=100501 .*/octaviz/octaviz-([\d\.]+).tar.gz.* [debian/watch:14] +watch-file-general (source): debian-watch-not-mangling-version http://sf.net/uses/redirector-([^-]+)\.tar\.gz [debian/watch:32] +watch-file-general (source): debian-watch-not-mangling-version http://insecure.com /(.*).tar.gz [debian/watch:28] +watch-file-general (source): debian-watch-not-mangling-version http://githubredir.debian.net/github/username/project /(.*).tar.gz [debian/watch:24] +watch-file-general (source): debian-watch-not-mangling-version ftp://upload.sourceforge.net/pub/sourceforge/s/so/soprano/ soprano-(.*)\.tar\.bz2 [debian/watch:12] +watch-file-general (source): debian-watch-mangles-debian-version-improperly opts="uversionmangle=s/$/ds/" http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +watch-file-general (source): debian-watch-lacks-sourceforge-redirector http://sourceforge.net/projects/synce/files http://downloads.sourceforge.net/.+/kcemirror-(.+).tar.gz.* [debian/watch:15] +watch-file-general (source): debian-watch-lacks-sourceforge-redirector http://sourceforge.net/project/showfiles.php?group_id=100501 .*/octaviz/octaviz-([\d\.]+).tar.gz.* [debian/watch:14] +watch-file-general (source): debian-watch-lacks-sourceforge-redirector http://ftp.sf.net/foo/foo_bar(.+)\.Z 5 uupdate [debian/watch:8] +watch-file-general (source): debian-watch-lacks-sourceforge-redirector ftp://upload.sourceforge.net/pub/sourceforge/s/so/soprano/ soprano-(.*)\.tar\.bz2 [debian/watch:12] +watch-file-general (source): debian-watch-file-uses-deprecated-sf-redirector-method http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +watch-file-general (source): debian-watch-file-uses-deprecated-githubredir http://githubredir.debian.net/github/username/project /(.*).tar.gz [debian/watch:24] +watch-file-general (source): debian-watch-file-specifies-wrong-upstream-version 2.0.ds1-1 [debian/watch] +watch-file-general (source): debian-watch-does-not-check-openpgp-signature [debian/watch] +watch-file-general (source): debian-watch-could-verify-download debian/upstream/signing-key.asc [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-native/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-native/build-spec/debian/watch new file mode 100644 index 0000000..23b829d --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-native/build-spec/debian/watch @@ -0,0 +1,5 @@ +# watch file with upstream version mangling + +version=3 +https://somewhere.debian.org/foo/foo_bar(.+)\.tar\.gz 5 uupdate + diff --git a/t/recipes/checks/debian/watch/watch-file-native/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-native/build-spec/fill-values new file mode 100644 index 0000000..72168c2 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: watch-file-native +Description: Native package with a watch file diff --git a/t/recipes/checks/debian/watch/watch-file-native/eval/desc b/t/recipes/checks/debian/watch/watch-file-native/eval/desc new file mode 100644 index 0000000..bd769e4 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-native/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-native +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-native/eval/hints b/t/recipes/checks/debian/watch/watch-file-native/eval/hints new file mode 100644 index 0000000..c38b1c2 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-native/eval/hints @@ -0,0 +1,2 @@ +watch-file-native (source): debian-watch-file-in-native-package [debian/watch] +watch-file-native (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/changelog.in b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..0aaa2a6 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/changelog.in @@ -0,0 +1,14 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * New upstream release. + * Lintian Test Suite. + * Test: [% $testname %] + * We forgot to update the watch file, lalala. + + -- [% $author %] [% $date %] + +[% $source %] (1.0-1) unstable; urgency=low + + * An earlier non-native version. + + -- [% $author %] Tue, 1 Jan 2008 22:45:57 +0000 diff --git a/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/watch new file mode 100644 index 0000000..ebaecbd --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/debian/watch @@ -0,0 +1,3 @@ +version=3 + +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 1.0 uupdate diff --git a/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/fill-values new file mode 100644 index 0000000..e8c0c43 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-old-upstream-version +Skeleton: upload-non-native +Version: 2.0-1 +Description: Watch file with old upstream version diff --git a/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/desc b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/desc new file mode 100644 index 0000000..fdffb7d --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-old-upstream-version +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/hints b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/hints new file mode 100644 index 0000000..7cdf746 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-old-upstream-version/eval/hints @@ -0,0 +1,2 @@ +watch-file-old-upstream-version (source): debian-watch-file-specifies-old-upstream-version 1.0 [debian/watch] +watch-file-old-upstream-version (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/watch new file mode 100644 index 0000000..139bc40 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts="pgpmode=next" https://alioth.debian.org/frs/?group_id=30928 \ + (?:.*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian +opts="pgpmode=previous" https://alioth.debian.org/frs/?group_id=30928 \ + (?:.*)/@PACKAGE@@ANY_VERSION@@SIGNATURE_EXT@ previous diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/fill-values new file mode 100644 index 0000000..061e5ae --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-pgpmode-next +Skeleton: upload-non-native +Version: 2.0-1 +Description: Watch file with pgpmode=next diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/desc b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/desc new file mode 100644 index 0000000..10373e6 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/desc @@ -0,0 +1,4 @@ +Testname: watch-file-pgpmode-next +Test-Against: debian-watch-does-not-check-openpgp-signature +See-Also: #841000 +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/hints b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-next/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/debian/watch new file mode 100644 index 0000000..190a7c5 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="pgpmode=none" https://alioth.debian.org/frs/?group_id=30928 \ + (?:.*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/fill-values new file mode 100644 index 0000000..e419c0a --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-pgpmode-none +Skeleton: upload-non-native +Version: 2.0-1 +Description: Watch file with pgpmode=none diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/desc b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/desc new file mode 100644 index 0000000..9797f85 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/desc @@ -0,0 +1,4 @@ +Testname: watch-file-pgpmode-none +Test-Against: debian-watch-file-pubkey-file-is-missing +See-Also: #841000 +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/hints b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/hints new file mode 100644 index 0000000..da03c49 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pgpmode-none/eval/hints @@ -0,0 +1 @@ +watch-file-pgpmode-none (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/debian/watch new file mode 100644 index 0000000..8038deb --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~rc/-rc/ \ + https://www.example.com/software/foo/ .*/foo-([^-]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/fill-values new file mode 100644 index 0000000..759c2e9 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-prerelease/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-prerelease +Skeleton: upload-non-native +Version: 1~rc1-1 +Description: Check mangling tags for upstream prereleases diff --git a/t/recipes/checks/debian/watch/watch-file-prerelease/eval/desc b/t/recipes/checks/debian/watch/watch-file-prerelease/eval/desc new file mode 100644 index 0000000..130e146 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-prerelease/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-prerelease +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-prerelease/eval/hints b/t/recipes/checks/debian/watch/watch-file-prerelease/eval/hints new file mode 100644 index 0000000..9f86dc6 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-prerelease/eval/hints @@ -0,0 +1,2 @@ +watch-file-prerelease (source): debian-watch-mangles-upstream-version-improperly opts=dversionmangle=s/~rc/-rc/ https://www.example.com/software/foo/ .*/foo-([^-]+)\.tar\.gz [debian/watch:3] +watch-file-prerelease (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/debian/watch new file mode 100644 index 0000000..7ac78bc --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/-/./,dversionmangle=s/\.dfsg\d+$//,pgpsigurlmangle=s/$/.asc/" \ +ftp://ftp.imagemagick.org/pub/ImageMagick/ ImageMagick-(.*)\.tar\.xz diff --git a/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/fill-values new file mode 100644 index 0000000..31946e9 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-pubkey-missing +Skeleton: upload-non-native +Version: 1+dfsg-1 +Description: Watch file if verify signature should check d/upstream/signing-key.{pgp,asc} diff --git a/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/desc b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/desc new file mode 100644 index 0000000..de6e776 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-pubkey-missing +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/hints b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/hints new file mode 100644 index 0000000..a7ae561 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-pubkey-missing/eval/hints @@ -0,0 +1,2 @@ +watch-file-pubkey-missing (source): debian-watch-uses-insecure-uri ftp://ftp.imagemagick.org/pub/ImageMagick/ [debian/watch:3] +watch-file-pubkey-missing (source): debian-watch-file-pubkey-file-is-missing [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch new file mode 100644 index 0000000..9104ee4 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="uversionmangle=s/.pre/~pre/,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds1" \ + https://github.com/user/project/tags \ + (?:.*?/)project@ANr_VERSION@\.tar\.gz diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values new file mode 100644 index 0000000..8d0af82 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-should-mangle-unrel +Skeleton: upload-non-native +Version: 1+dfsg-1 +Description: Watch file should mangle version (false-positive) diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/desc b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/desc new file mode 100644 index 0000000..67f3d93 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: watch-file-should-mangle-unrel +Test-Against: + debian-watch-not-mangling-version +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/hints b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/hints new file mode 100644 index 0000000..e5e98dc --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle-unrel/eval/hints @@ -0,0 +1 @@ +watch-file-should-mangle-unrel (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch new file mode 100644 index 0000000..6cc9db4 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch @@ -0,0 +1,11 @@ +# watch file with no version mangling, even though there's a dfsg in the +# package version number. + +version=2 +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate + +# version mangling is not needed in this case: +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 0.24 uupdate + +# version mangling *is* needed in this case: +https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values new file mode 100644 index 0000000..8a8df44 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-should-mangle +Skeleton: upload-non-native +Version: 1+dfsg-1 +Description: Watch file should mangle version diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc new file mode 100644 index 0000000..584f10d --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-should-mangle +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints new file mode 100644 index 0000000..ed53e0f --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints @@ -0,0 +1,3 @@ +watch-file-should-mangle (source): debian-watch-not-mangling-version https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +watch-file-should-mangle (source): debian-watch-not-mangling-version https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz [debian/watch:11] +watch-file-should-mangle (source): debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/checks/debian/watch/watch-file-template/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-template/build-spec/debian/watch new file mode 100644 index 0000000..fdbc536 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-template/build-spec/debian/watch @@ -0,0 +1,3 @@ +version=3 +# Example watch control file for uscan +http://www.example.com/software/foo/ .*/-([^-]+)\.tar\.gz diff --git a/t/recipes/checks/debian/watch/watch-file-template/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-template/build-spec/fill-values new file mode 100644 index 0000000..fdad29e --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-template/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: watch-file-template +Skeleton: upload-non-native +Description: Test for dh_make(1) templates diff --git a/t/recipes/checks/debian/watch/watch-file-template/eval/desc b/t/recipes/checks/debian/watch/watch-file-template/eval/desc new file mode 100644 index 0000000..c96ef04 --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-template/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-template +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-template/eval/hints b/t/recipes/checks/debian/watch/watch-file-template/eval/hints new file mode 100644 index 0000000..b0dd19d --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-template/eval/hints @@ -0,0 +1,3 @@ +watch-file-template (source): debian-watch-uses-insecure-uri http://www.example.com/software/foo/ [debian/watch:3] +watch-file-template (source): debian-watch-does-not-check-openpgp-signature [debian/watch] +watch-file-template (source): debian-watch-contains-dh_make-template Example watch control file for uscan [debian/watch] diff --git a/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in new file mode 100644 index 0000000..0312410 --- /dev/null +++ b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in @@ -0,0 +1,36 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbg package + 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbgsym package + 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 + even be an empty package. diff --git a/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values new file mode 100644 index 0000000..4d83180 --- /dev/null +++ b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Package-Architecture: any +Description: Package builds -dbg and -dbgsym diff --git a/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc new file mode 100644 index 0000000..9413c0b --- /dev/null +++ b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Check: debug/automatic diff --git a/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints new file mode 100644 index 0000000..390db6f --- /dev/null +++ b/t/recipes/checks/debug/automatic/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints @@ -0,0 +1 @@ +changes-files-package-builds-dbg-and-dbgsym-variants (source): debian-control-has-dbgsym-package (in section for changes-files-package-builds-dbg-and-dbgsym-variants-dbgsym) Package [debian/control:28] diff --git a/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/rules b/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debug/automatic/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debug/automatic/control-file-general/build-spec/fill-values b/t/recipes/checks/debug/automatic/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debug/automatic/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debug/automatic/control-file-general/eval/desc b/t/recipes/checks/debug/automatic/control-file-general/eval/desc new file mode 100644 index 0000000..2c44eb9 --- /dev/null +++ b/t/recipes/checks/debug/automatic/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debug/automatic +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debug/automatic/control-file-general/eval/hints b/t/recipes/checks/debug/automatic/control-file-general/eval/hints new file mode 100644 index 0000000..87c2911 --- /dev/null +++ b/t/recipes/checks/debug/automatic/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): debian-control-has-dbgsym-package (in section for control-file-general-dbgsym) Package [debian/control:87] diff --git a/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in new file mode 100644 index 0000000..0312410 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in @@ -0,0 +1,36 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbg package + 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbgsym package + 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 + even be an empty package. diff --git a/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values new file mode 100644 index 0000000..4d83180 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Package-Architecture: any +Description: Package builds -dbg and -dbgsym diff --git a/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc new file mode 100644 index 0000000..fa56958 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Check: debug/obsolete diff --git a/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints new file mode 100644 index 0000000..c424ec0 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints @@ -0,0 +1 @@ +changes-files-package-builds-dbg-and-dbgsym-variants (source): debian-control-has-obsolete-dbg-package (in section for changes-files-package-builds-dbg-and-dbgsym-variants-dbg) Package [debian/control:18] diff --git a/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/control.in b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +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: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +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: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + 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: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + 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: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + 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: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 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: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + 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: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + 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: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + 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. diff --git a/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/rules b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/debug/obsolete/control-file-general/build-spec/fill-values b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/debug/obsolete/control-file-general/eval/desc b/t/recipes/checks/debug/obsolete/control-file-general/eval/desc new file mode 100644 index 0000000..0821016 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/control-file-general/eval/desc @@ -0,0 +1,11 @@ +Testname: control-file-general +Check: debug/obsolete +See-Also: + Debian Bug#30020, + Debian Bug#409099, + Debian Bug#516706, + Debian Bug#533202, + Debian Bug#557971, + Debian Bug#573399, + Debian Bug#580494, + Debian Bug#657110 diff --git a/t/recipes/checks/debug/obsolete/control-file-general/eval/hints b/t/recipes/checks/debug/obsolete/control-file-general/eval/hints new file mode 100644 index 0000000..f9f2b8c --- /dev/null +++ b/t/recipes/checks/debug/obsolete/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): debian-control-has-obsolete-dbg-package (in section for control-file-general-dbg) Package [debian/control:97] diff --git a/t/recipes/checks/debug/obsolete/fields-general/build-spec/debian/control.in b/t/recipes/checks/debug/obsolete/fields-general/build-spec/debian/control.in new file mode 100644 index 0000000..f5aa07a --- /dev/null +++ b/t/recipes/checks/debug/obsolete/fields-general/build-spec/debian/control.in @@ -0,0 +1,46 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. +# Whoops, typo +Homepage: ttp://lintian.debian.org/ + +Package: [% $source %]-dbg +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dbg) + 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. + . + The debug package (dbg)g. +# ... and some unneeded <> +Homepage: + +Package: [% $source %]-debug +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (debug) + 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. + . + The debug package (debug). + diff --git a/t/recipes/checks/debug/obsolete/fields-general/build-spec/fill-values b/t/recipes/checks/debug/obsolete/fields-general/build-spec/fill-values new file mode 100644 index 0000000..11b0c69 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/fields-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-general +Description: Test for tags related to minor field issues diff --git a/t/recipes/checks/debug/obsolete/fields-general/eval/desc b/t/recipes/checks/debug/obsolete/fields-general/eval/desc new file mode 100644 index 0000000..35f28a2 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/fields-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general +Check: debug/obsolete diff --git a/t/recipes/checks/debug/obsolete/fields-general/eval/hints b/t/recipes/checks/debug/obsolete/fields-general/eval/hints new file mode 100644 index 0000000..d52577d --- /dev/null +++ b/t/recipes/checks/debug/obsolete/fields-general/eval/hints @@ -0,0 +1 @@ +fields-general (source): debian-control-has-obsolete-dbg-package (in section for fields-general-dbg) Package [debian/control:21] diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + 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: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + 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: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + 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: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + 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: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + 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/debug/obsolete/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package 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. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/debug/obsolete/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/desc b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/desc new file mode 100644 index 0000000..68eb0d3 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: debug/obsolete diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/hints b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/hints new file mode 100644 index 0000000..306ecd5 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/hints @@ -0,0 +1 @@ +libbaz (source): debian-control-has-obsolete-dbg-package (in section for libbaz2-dbg) Package [debian/control:48] diff --git a/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/post-test b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/debug/obsolete/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +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 +/: file-references-package-build-path / d diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/debian/install b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/debian/install new file mode 100644 index 0000000..a75e237 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/debian/install @@ -0,0 +1,2 @@ +etc +usr diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/fill-values b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/fill-values new file mode 100644 index 0000000..8466676 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: dbus-policy +Description: test deprecated D-Bus policies diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/etc/dbus-1/system.d/send-destination.conf b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/etc/dbus-1/system.d/send-destination.conf new file mode 100644 index 0000000..ae052ff --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/etc/dbus-1/system.d/send-destination.conf @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/usr/share/dbus-1/system.d/at-console.conf b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/usr/share/dbus-1/system.d/at-console.conf new file mode 100644 index 0000000..8c47adb --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/build-spec/orig/usr/share/dbus-1/system.d/at-console.conf @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/eval/desc b/t/recipes/checks/desktop/dbus/dbus-policy/eval/desc new file mode 100644 index 0000000..a1b0e16 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/eval/desc @@ -0,0 +1,2 @@ +Testname: dbus-policy +Check: desktop/dbus diff --git a/t/recipes/checks/desktop/dbus/dbus-policy/eval/hints b/t/recipes/checks/desktop/dbus/dbus-policy/eval/hints new file mode 100644 index 0000000..6066067 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-policy/eval/hints @@ -0,0 +1,9 @@ +dbus-policy (binary): dbus-policy-without-send-destination [etc/dbus-1/system.d/send-destination.conf:2] +dbus-policy (binary): dbus-policy-without-send-destination [etc/dbus-1/system.d/send-destination.conf:5] +dbus-policy (binary): dbus-policy-without-send-destination [etc/dbus-1/system.d/send-destination.conf:4] +dbus-policy (binary): dbus-policy-without-send-destination [etc/dbus-1/system.d/send-destination.conf:3] +dbus-policy (binary): dbus-policy-excessively-broad [etc/dbus-1/system.d/send-destination.conf:5] +dbus-policy (binary): dbus-policy-excessively-broad [etc/dbus-1/system.d/send-destination.conf:4] +dbus-policy (binary): dbus-policy-in-etc [etc/dbus-1/system.d/send-destination.conf] +dbus-policy (binary): dbus-policy-at-console [usr/share/dbus-1/system.d/at-console.conf:3] +dbus-policy (binary): dbus-policy-at-console [usr/share/dbus-1/system.d/at-console.conf:4] diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/debian/install b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/debian/install new file mode 100644 index 0000000..73752c9 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/debian/install @@ -0,0 +1 @@ +usr diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/fill-values b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/fill-values new file mode 100644 index 0000000..694bdb7 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: dbus-services +Description: test D-Bus .service files diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/gvfs-daemon.service b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/gvfs-daemon.service new file mode 100644 index 0000000..1a8607d --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/gvfs-daemon.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.gtk.vfs.Daemon +Exec=/usr/lib/gvfs/gvfsd diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/org.mpris.MediaPlayer2.mpd.service b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/org.mpris.MediaPlayer2.mpd.service new file mode 100644 index 0000000..3f14f4a --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/services/org.mpris.MediaPlayer2.mpd.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.mpris.MediaPlayer2.mpd +Exec=/usr/bin/mpDris2 diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service new file mode 100644 index 0000000..51d1f94 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service @@ -0,0 +1,5 @@ +[D-BUS Service] +Name=org.freedesktop.PolicyKit1 +Exec=/usr/lib/policykit-1/polkitd --no-debug +User=root +SystemdService=polkitd.service diff --git a/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/this-name-cannot-work.service b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/this-name-cannot-work.service new file mode 100644 index 0000000..e87a5bb --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/build-spec/orig/usr/share/dbus-1/system-services/this-name-cannot-work.service @@ -0,0 +1,4 @@ +[D-BUS Service] +Name=com.example.SystemDaemon1 +Exec=/usr/sbin/example-system-daemon +User=nobody diff --git a/t/recipes/checks/desktop/dbus/dbus-services/eval/desc b/t/recipes/checks/desktop/dbus/dbus-services/eval/desc new file mode 100644 index 0000000..8102dfa --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/eval/desc @@ -0,0 +1,2 @@ +Testname: dbus-services +Check: desktop/dbus diff --git a/t/recipes/checks/desktop/dbus/dbus-services/eval/hints b/t/recipes/checks/desktop/dbus/dbus-services/eval/hints new file mode 100644 index 0000000..1f45b32 --- /dev/null +++ b/t/recipes/checks/desktop/dbus/dbus-services/eval/hints @@ -0,0 +1,2 @@ +dbus-services (binary): dbus-system-service-wrong-name better: com.example.SystemDaemon1.service [usr/share/dbus-1/system-services/this-name-cannot-work.service] +dbus-services (binary): dbus-session-service-wrong-name better: org.gtk.vfs.Daemon.service [usr/share/dbus-1/services/gvfs-daemon.service] diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/clean b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/clean new file mode 100644 index 0000000..be4ae72 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/clean @@ -0,0 +1,5 @@ +bar.1* +Bar.pm +bar.png +perllocal.pod +preferences diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/dirs b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/dirs new file mode 100644 index 0000000..e8759c9 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/dirs @@ -0,0 +1,15 @@ +etc/apt/preferences.d +etc/apt +etc/init +bin/foo +mnt/foo +tmp/foo +usr/bin/foo +usr/foo +usr/lib/debug +usr/local/foo +usr/lib/site-python/foo +usr/share/doc/files-foo-in-bar/examples/examples +var/foo +var/lock/foo +var/run/foo diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/install b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/install new file mode 100644 index 0000000..ba46865 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/install @@ -0,0 +1,61 @@ +bar bin/foo +bar emul +bar etc/apt/preferences.d +bar etc/apt/sources.list.d +bar etc/apt/trusted.gpg.d +bar etc/gconf/schemas/ +bar etc/init +bar etc/rc.boot +bar etc/rc.d +bar etc/udev/rules.d +bar lib32 +bar lib64 +bar libx32 +bar mnt/foo +bar run/foo +bar srv/foo +bar tmp/foo +bar usr/bin/foo +bar usr/foo +bar usr/lib/debug/ +bar usr/lib32 +bar usr/lib64 +bar usr/libexec +bar usr/libx32 +bar usr/lib/perl/ +bar usr/lib/python2.7/ +bar usr/lib/sgml +bar usr/lib/site-python/foo +bar usr/local/foo +bar usr/share +bar usr/share/doc +bar usr/share/doc/files-foo-in-bar/.xvpics/ +bar usr/share/doc/files-foo-in-bar/.thumbnails/ +bar usr/share/doc/files-foo-in-bar/examples/examples +bar usr/share/mime/foo/ +bar usr/share/mime/packages/ +bar usr/share/perl/ +bar usr/share/vim/vimcurrent/ +bar usr/share/vim/vim73/ +bar usr/X11R6/bin +bar usr/X11R6/lib/X11/fonts/ +bar var/foo +bar var/lock/foo +bar var/run/foo +bar var/www/foo +bar home/johndoe +bar root +bar etc/opt +bar var/cache/pbuilder/build +bar var/lib/sbuild +bar var/lib/buildd +bar build/dir/foo +bar tmp/buildd/dir/foo +bar etc/dhcp3 + +Bar.pm usr/lib/perl5/Foo +bar.png usr/lib/files-foo-in-bar + +perllocal.pod usr/lib/perl-foo +.packlist usr/lib/perl5 +preferences etc/apt diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/manpages b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/manpages new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/rules b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/rules new file mode 100755 index 0000000..69a61df --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_build: + pod2man --section 1 bar.pod > bar.1 + gzip -n --best bar.1 + cp bar Bar.pm + cp bar bar.png + cp bar perllocal.pod + touch .packlist + touch preferences + +override_dh_auto_install: + dh_install bar.1.gz usr/X11R6/man/man1/ + +# skip +override_dh_usrlocal override_dh_gconf: diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/fill-values b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/fill-values new file mode 100644 index 0000000..17ea927 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-foo-in-bar +Description: Test tags about files or dirs in given paths diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar @@ -0,0 +1 @@ +Hello World! diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar.pod b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar.pod new file mode 100644 index 0000000..4144a36 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/build-spec/orig/bar.pod @@ -0,0 +1,18 @@ + +=head1 NAME + +bar - does stuff + +=head1 SYNOPSIS + +bar + +=head1 DESCRIPTION + +Does nothing. + +=head1 AUTHOR + +Niels Thykier + +=cut diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/desc b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/desc new file mode 100644 index 0000000..f48544d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/desc @@ -0,0 +1,2 @@ +Testname: files-foo-in-bar +Check: desktop/gnome diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/hints b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/hints new file mode 100644 index 0000000..c030bf5 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/hints @@ -0,0 +1 @@ +files-foo-in-bar (binary): package-installs-into-etc-gconf-schemas [etc/gconf/schemas/bar] diff --git a/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/post-test b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/post-test new file mode 100644 index 0000000..5af7ea2 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/files-foo-in-bar/eval/post-test @@ -0,0 +1,2 @@ +# Ignore all duplicate-files tags +/[^ ]* \([^)]*\): duplicate-files .*/ d diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/control.in b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/control.in new file mode 100644 index 0000000..e664631 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/control.in @@ -0,0 +1,87 @@ +Source: [% $source %] +Priority: optional +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: gir1.2-bad +Section: misc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + . + This package gets GObject-Introspection wrong in various ways. + +Package: gir1.2-good-42 +Section: oldlibs +Architecture: any +Provides: gir1.2-goodextras-42 (= ${binary:Version}) +Depends: ${gir:Depends}, ${shlibs:Depends}, ${misc:Depends}, libgood-42-0 +Description: [% $description %] - GIR + 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. + . + This contains the GObject-Introspection typelib. + . + This package is in the oldlibs section (a deprecated typelib), unlike + gir1.2-perfect-42 which is in the introspection section. + +Package: libgood-42-dev +Section: oldlibs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gir1.2-good-42 (= ${binary:Version}), libgood-42-0 (= ${binary:Version}) +Description: [% $description %] - development + 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. + . + This package is in the oldlibs section (a deprecated development + package), unlike libperfect-42-dev which is in the libdevel section. + +Package: libgood-42-0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] - shared library + 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. + . + This is the shared library. + +Package: gir1.2-perfect-42 +Section: introspection +Architecture: any +Depends: ${gir:Depends}, ${shlibs:Depends}, ${misc:Depends}, libperfect-42-0 +Description: [% $description %] - GIR with multiarch + 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. + . + This contains the GObject-Introspection typelib, with multiarch. + +Package: libperfect-42-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gir1.2-perfect-42 (= ${binary:Version}), libperfect-42-0 (= ${binary:Version}) +Description: [% $description %] - development with multiarch + 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. + . + This contains the development files, with multiarch. + +Package: libperfect-42-0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] - shared library with multiarch + 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. + . + This is the shared library, with multiarch. diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-bad.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-bad.install new file mode 100644 index 0000000..c83626e --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-bad.install @@ -0,0 +1,2 @@ +usr/lib/girepository-1.0/Bad-23.typelib +usr/share/gir-1.0/Bad-23.gir diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-good-42.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-good-42.install new file mode 100644 index 0000000..5f1692f --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-good-42.install @@ -0,0 +1,2 @@ +usr/lib/girepository-1.0/Good-42.typelib +usr/lib/girepository-1.0/GoodExtras-42.typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-perfect-42.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-perfect-42.install new file mode 100644 index 0000000..195f200 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/gir1.2-perfect-42.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/Perfect-42.typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-0.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-0.install new file mode 100644 index 0000000..5bff9aa --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-0.install @@ -0,0 +1 @@ +usr/lib/libgood-42-0-dummy diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-dev.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-dev.install new file mode 100644 index 0000000..1bc5a2c --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libgood-42-dev.install @@ -0,0 +1,3 @@ +usr/share/gir-1.0/Good-42.gir +usr/share/gir-1.0/GoodExtras-42.gir +usr/lib/libgood-42-dev-dummy diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-0.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-0.install new file mode 100644 index 0000000..75b60a2 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-0.install @@ -0,0 +1 @@ +usr/lib/*/libperfect-42-0-dummy diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-dev.install b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-dev.install new file mode 100644 index 0000000..7d0a75b --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/debian/libperfect-42-dev.install @@ -0,0 +1,2 @@ +usr/share/gir-1.0/Perfect-42.gir +usr/lib/*/libperfect-42-dev-dummy diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/fill-values b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/fill-values new file mode 100644 index 0000000..7a86e74 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: gir +Description: test GObject-Introspection diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/Makefile b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/Makefile new file mode 100644 index 0000000..a91332d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/Makefile @@ -0,0 +1,7 @@ +multiarch := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +all: + install -d usr/lib/$(multiarch)/girepository-1.0 + cp usr/lib/libgood-42-dev-dummy usr/lib/$(multiarch)/libperfect-42-dev-dummy + cp usr/lib/libgood-42-0-dummy usr/lib/$(multiarch)/libperfect-42-0-dummy + cp usr/lib/girepository-1.0/Good-42.typelib usr/lib/$(multiarch)/girepository-1.0/Perfect-42.typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Bad-23.typelib b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Bad-23.typelib new file mode 100644 index 0000000..64fba42 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Bad-23.typelib @@ -0,0 +1 @@ +not really a typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Good-42.typelib b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Good-42.typelib new file mode 100644 index 0000000..64fba42 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/Good-42.typelib @@ -0,0 +1 @@ +not really a typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/GoodExtras-42.typelib b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/GoodExtras-42.typelib new file mode 100644 index 0000000..64fba42 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/girepository-1.0/GoodExtras-42.typelib @@ -0,0 +1 @@ +not really a typelib diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-0-dummy b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-0-dummy new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-dev-dummy b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/lib/libgood-42-dev-dummy new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Bad-23.gir b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Bad-23.gir new file mode 100644 index 0000000..59e267d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Bad-23.gir @@ -0,0 +1 @@ +not really GIR diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Good-42.gir b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Good-42.gir new file mode 100644 index 0000000..59e267d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Good-42.gir @@ -0,0 +1 @@ +not really GIR diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/GoodExtras-42.gir b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/GoodExtras-42.gir new file mode 100644 index 0000000..59e267d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/GoodExtras-42.gir @@ -0,0 +1 @@ +not really GIR diff --git a/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Perfect-42.gir b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Perfect-42.gir new file mode 100644 index 0000000..59e267d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/build-spec/orig/usr/share/gir-1.0/Perfect-42.gir @@ -0,0 +1 @@ +not really GIR diff --git a/t/recipes/checks/desktop/gnome/gir/gir/eval/desc b/t/recipes/checks/desktop/gnome/gir/gir/eval/desc new file mode 100644 index 0000000..bfb9dbf --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/eval/desc @@ -0,0 +1,3 @@ +Testname: gir +Check: desktop/gnome/gir +Test-Architectures: amd64 diff --git a/t/recipes/checks/desktop/gnome/gir/gir/eval/hints b/t/recipes/checks/desktop/gnome/gir/gir/eval/hints new file mode 100644 index 0000000..9811f07 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/eval/hints @@ -0,0 +1,10 @@ +gir (source): typelib-missing-gir-depends gir1.2-bad [debian/control] +gir1.2-good-42 (binary): typelib-not-in-multiarch-directory usr/lib/x86_64-linux-gnu/girepository-1.0 [usr/lib/girepository-1.0/GoodExtras-42.typelib] +gir1.2-good-42 (binary): typelib-not-in-multiarch-directory usr/lib/x86_64-linux-gnu/girepository-1.0 [usr/lib/girepository-1.0/Good-42.typelib] +gir1.2-bad (binary): typelib-section-not-introspection misc [usr/lib/girepository-1.0/Bad-23.typelib] +gir1.2-bad (binary): typelib-package-name-does-not-match gir1.2-bad-23 [usr/lib/girepository-1.0/Bad-23.typelib] +gir1.2-bad (binary): typelib-not-in-multiarch-directory usr/lib/${DEB_HOST_MULTIARCH}/girepository-1.0 [usr/lib/girepository-1.0/Bad-23.typelib] +gir1.2-bad (binary): typelib-in-arch-all-package [usr/lib/girepository-1.0/Bad-23.typelib] +gir1.2-bad (binary): gir-section-not-libdevel misc [usr/share/gir-1.0/Bad-23.gir] +gir1.2-bad (binary): gir-missing-typelib-dependency gir1.2-bad-23 [usr/share/gir-1.0/Bad-23.gir] +gir1.2-bad (binary): gir-in-arch-all-package [usr/share/gir-1.0/Bad-23.gir] diff --git a/t/recipes/checks/desktop/gnome/gir/gir/eval/post-test b/t/recipes/checks/desktop/gnome/gir/gir/eval/post-test new file mode 100644 index 0000000..56d219b --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/gir/eval/post-test @@ -0,0 +1 @@ +s, usr/lib/[^/${}]+/girepository-1.0$, usr/lib/MULTIARCH/girepository-1.0, diff --git a/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/debian/control.in b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/debian/control.in new file mode 100644 index 0000000..7c8bf78 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/debian/control.in @@ -0,0 +1,29 @@ +Source: [% $source %] +Section: introspection +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: gir1.1-missing-gir-depends-2.2 +Architecture: [% $package_architecture %] +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. It may + be an empty package. + . + This package should be tagged by Lintian. + +Package: gir1.1-gir-depends-present-2.2 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, ${gir:Depends} +Description: [% $description %]: False + 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. + . + This package should not be tagged by Lintian. diff --git a/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/fill-values b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/fill-values new file mode 100644 index 0000000..019383e --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-gobject-introspection-package-missing-gir-depends +Description: Check for missing binary dependencies on ${gir:Depends} diff --git a/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/desc b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/desc new file mode 100644 index 0000000..4509573 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-gobject-introspection-package-missing-gir-depends +Check: desktop/gnome/gir/substvars diff --git a/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/hints b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/hints new file mode 100644 index 0000000..3807818 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/gir/substvars/control-file-gobject-introspection-package-missing-gir-depends/eval/hints @@ -0,0 +1 @@ +control-file-gobject-introspection-package-missing-gir-depends (source): gobject-introspection-package-missing-depends-on-gir-depends gir1.1-missing-gir-depends-2.2 [debian/control] diff --git a/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/gnome/legacy-filenames/build-spec/debian/control b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/gnome/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/gnome/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/bokmål + 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/desktop/gnome/legacy-filenames/build-spec/fill-values b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/gnome/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/gnome/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/desktop/gnome/legacy-filenames/eval/desc b/t/recipes/checks/desktop/gnome/legacy-filenames/eval/desc new file mode 100644 index 0000000..edb26ba --- /dev/null +++ b/t/recipes/checks/desktop/gnome/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: desktop/gnome diff --git a/t/recipes/checks/desktop/gnome/legacy-filenames/eval/hints b/t/recipes/checks/desktop/gnome/legacy-filenames/eval/hints new file mode 100644 index 0000000..3e3cc43 --- /dev/null +++ b/t/recipes/checks/desktop/gnome/legacy-filenames/eval/hints @@ -0,0 +1 @@ +filenames (binary): package-installs-into-etc-gconf-schemas [etc/gconf/schemas/test.schema] diff --git a/t/recipes/checks/desktop/gnome/legacy-filenames/eval/post-test b/t/recipes/checks/desktop/gnome/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/desktop/gnome/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/desktop/icons/files-general/build-spec/debian/clean b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/clean new file mode 100644 index 0000000..222b726 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/clean @@ -0,0 +1 @@ +é³¥ã®è©©.1 diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/debian/dirs b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/dirs new file mode 100644 index 0000000..b76fb64 --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/debian/examples b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/examples new file mode 100644 index 0000000..18fb10f --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/examples @@ -0,0 +1 @@ +foo.vcproj diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/debian/install b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/install new file mode 100644 index 0000000..dccb61e --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/debian/links b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/links new file mode 100644 index 0000000..f3e425d --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/debian/manpages b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/manpages new file mode 100644 index 0000000..e8af11b --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/manpages @@ -0,0 +1,2 @@ +foo.5 +é³¥ã®è©©.1 diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/debian/rules b/t/recipes/checks/desktop/icons/files-general/build-spec/debian/rules new file mode 100755 index 0000000..798f01e --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/bokmål + 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/desktop/icons/files-general/build-spec/fill-values b/t/recipes/checks/desktop/icons/files-general/build-spec/fill-values new file mode 100644 index 0000000..45de709 --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/--lzma b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/--lzma new file mode 100644 index 0000000..5241aaa --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/dir b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/dir new file mode 100644 index 0000000..e465d26 --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/file-in-new-top-level-dir b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/file-in-new-top-level-dir new file mode 100644 index 0000000..ae82d42 --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/foo.5 b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/foo.5 new file mode 100644 index 0000000..718eae1 --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/foo.vcproj b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/foo.vcproj new file mode 100644 index 0000000..6ec1ca6 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/foo.vcproj @@ -0,0 +1 @@ +Not actually a VC project file. diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-16x16.png b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-16x16.png new file mode 100644 index 0000000..cd7355d Binary files /dev/null and b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-16x16.png differ diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-22x22.png b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-22x22.png new file mode 100644 index 0000000..efc9af0 Binary files /dev/null and b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-22x22.png differ diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-lib.conf b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-lib.conf new file mode 100644 index 0000000..e2b41a8 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian-lib.conf @@ -0,0 +1 @@ +/usr/lib/lintian diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian.conf b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/lintian.conf new file mode 100644 index 0000000..7f6693c --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/mimeinfo.cache b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/mimeinfo.cache new file mode 100644 index 0000000..f3067c5 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/mimeinfo.cache @@ -0,0 +1,2 @@ +[MIME Cache] +text/plain=foo-editor.desktop diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/php-foo.ini b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/php-foo.ini new file mode 100644 index 0000000..6a33666 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/php-foo.ini @@ -0,0 +1 @@ +# this style of comments are obsolete diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/sudotest b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/sudotest new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/icons/files-general/build-spec/orig/tnu.1 b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/tnu.1 new file mode 100644 index 0000000..147dc1a --- /dev/null +++ b/t/recipes/checks/desktop/icons/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/desktop/icons/files-general/build-spec/orig/types b/t/recipes/checks/desktop/icons/files-general/build-spec/orig/types new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/icons/files-general/eval/desc b/t/recipes/checks/desktop/icons/files-general/eval/desc new file mode 100644 index 0000000..6b5e296 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/eval/desc @@ -0,0 +1,3 @@ +Testname: files-general +Check: desktop/icons +# tar -t is buggy and does not list \\\ filename diff --git a/t/recipes/checks/desktop/icons/files-general/eval/hints b/t/recipes/checks/desktop/icons/files-general/eval/hints new file mode 100644 index 0000000..3605524 --- /dev/null +++ b/t/recipes/checks/desktop/icons/files-general/eval/hints @@ -0,0 +1,4 @@ +files-general (binary): raster-image-in-scalable-directory [usr/share/icons/hicolor/scalable/apps/lintian-16x16.png] +files-general (binary): icon-size-and-directory-name-mismatch 22x22 [usr/share/apps/lintian/icons/hicolor/64x64/lintian-64x64.png] +files-general (binary): icon-size-and-directory-name-mismatch 16x16 [usr/share/icons/hicolor/22x22/apps/lintian-16x16.png] +files-general (binary): icon-size-and-directory-name-mismatch 16x16 [usr/share/apps/lintian/icons/hicolor/22x22/lintian-16x16.png] diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/control.in b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/control.in new file mode 100644 index 0000000..851be7b --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/control.in @@ -0,0 +1,31 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %] +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] + Non-font package containing fonts. + . + 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: ttf-[% $source %] +Section: fonts +Architecture: all +# Due to file-conflict +Conflicts: [% $source %] +Depends: ${misc:Depends} +Description: [% $description %] (okay) + Font package containing fonts. + . + 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/desktop/x11/files-fonts/build-spec/debian/files-fonts.install b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/files-fonts.install new file mode 100644 index 0000000..f3dd053 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/files-fonts.install @@ -0,0 +1,14 @@ +font.otf usr/share/fonts/truetype +font.ttf usr/share/fonts/truetype +4shadow.ttf usr/share/fonts/truetype +foo.pcf usr/share/fonts/X11/100dpi +foo.pcf usr/share/fonts/X11/75dpi +foo.pcf usr/share/fonts/X11/misc +foo.pcf usr/share/fonts/X11/Type1 +foo.pcf usr/share/fonts/X11/encodings +foo.pcf usr/share/fonts/X11/util +foo.pcf usr/share/fonts/X11/PEX +foo.pcf usr/share/fonts/X11/CID +foo.pcf usr/share/fonts/X11/Speedo +foo.pcf usr/share/fonts/X11/cyrillic +foo.pcf usr/share/fonts/X11/other diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.install b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.install new file mode 100644 index 0000000..95e5191 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.install @@ -0,0 +1,4 @@ +font.otf usr/share/fonts/truetype +font.ttf usr/share/fonts/truetype +4shadow.ttf usr/share/fonts/truetype +font.ttf usr/lib/fontpackage diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.links b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.links new file mode 100644 index 0000000..f57bbb5 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/debian/ttf-files-fonts.links @@ -0,0 +1 @@ +usr/share/fonts/truetype/font.ttf usr/share/fonts/truetype/dejavusans.ttf diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/fill-values b/t/recipes/checks/desktop/x11/files-fonts/build-spec/fill-values new file mode 100644 index 0000000..1b07cd1 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-fonts +Description: Font file checks diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/4shadow.ttf b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/4shadow.ttf new file mode 100644 index 0000000..780ab93 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/4shadow.ttf @@ -0,0 +1,2 @@ +This isn't actually a font. The current test is based on the file +name and doesn't care. diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.otf b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.otf new file mode 100644 index 0000000..c118d8d --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.otf @@ -0,0 +1 @@ +This is a fake font file. diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.ttf b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.ttf new file mode 100644 index 0000000..c118d8d --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/font.ttf @@ -0,0 +1 @@ +This is a fake font file. diff --git a/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/foo.pcf b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/foo.pcf new file mode 100644 index 0000000..8a7d9df --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/build-spec/orig/foo.pcf @@ -0,0 +1 @@ +I'm not really a font, but I play one on TV. diff --git a/t/recipes/checks/desktop/x11/files-fonts/eval/desc b/t/recipes/checks/desktop/x11/files-fonts/eval/desc new file mode 100644 index 0000000..4a018d8 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/eval/desc @@ -0,0 +1,2 @@ +Testname: files-fonts +Check: desktop/x11 diff --git a/t/recipes/checks/desktop/x11/files-fonts/eval/hints b/t/recipes/checks/desktop/x11/files-fonts/eval/hints new file mode 100644 index 0000000..ac9d4e0 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-fonts/eval/hints @@ -0,0 +1,7 @@ +files-fonts (binary): package-mixes-misc-and-dpi-fonts +files-fonts (binary): package-contains-multiple-dpi-fonts +files-fonts (binary): file-in-unknown-x11-font-directory [usr/share/fonts/X11/other/foo.pcf.gz] +files-fonts (binary): file-in-discouraged-x11-font-directory [usr/share/fonts/X11/cyrillic/foo.pcf.gz] +files-fonts (binary): file-in-discouraged-x11-font-directory [usr/share/fonts/X11/Speedo/foo.pcf.gz] +files-fonts (binary): file-in-discouraged-x11-font-directory [usr/share/fonts/X11/PEX/foo.pcf.gz] +files-fonts (binary): file-in-discouraged-x11-font-directory [usr/share/fonts/X11/CID/foo.pcf.gz] diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/debian/clean b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/clean new file mode 100644 index 0000000..222b726 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/clean @@ -0,0 +1 @@ +é³¥ã®è©©.1 diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/debian/dirs b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/dirs new file mode 100644 index 0000000..b76fb64 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/debian/examples b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/examples new file mode 100644 index 0000000..18fb10f --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/examples @@ -0,0 +1 @@ +foo.vcproj diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/debian/install b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/install new file mode 100644 index 0000000..ea7c1c2 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/install @@ -0,0 +1,21 @@ +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 +lintian.conf etc/modules-load.d +lintian-install.conf etc/modprobe.d +lintian-install.conf etc/modules-load.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/desktop/x11/files-general/build-spec/debian/links b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/links new file mode 100644 index 0000000..f3e425d --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/debian/manpages b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/manpages new file mode 100644 index 0000000..e8af11b --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/manpages @@ -0,0 +1,2 @@ +foo.5 +é³¥ã®è©©.1 diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/debian/rules b/t/recipes/checks/desktop/x11/files-general/build-spec/debian/rules new file mode 100755 index 0000000..798f01e --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/bokmål + 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/desktop/x11/files-general/build-spec/fill-values b/t/recipes/checks/desktop/x11/files-general/build-spec/fill-values new file mode 100644 index 0000000..45de709 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/--lzma b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/--lzma new file mode 100644 index 0000000..5241aaa --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/dir b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/dir new file mode 100644 index 0000000..e465d26 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/file-in-new-top-level-dir b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/file-in-new-top-level-dir new file mode 100644 index 0000000..ae82d42 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/foo.5 b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/foo.5 new file mode 100644 index 0000000..718eae1 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/foo.vcproj b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/foo.vcproj new file mode 100644 index 0000000..6ec1ca6 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/foo.vcproj @@ -0,0 +1 @@ +Not actually a VC project file. diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-16x16.png b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-16x16.png new file mode 100644 index 0000000..cd7355d Binary files /dev/null and b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-16x16.png differ diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-22x22.png b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-22x22.png new file mode 100644 index 0000000..efc9af0 Binary files /dev/null and b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-22x22.png differ diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-install.conf b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-install.conf new file mode 100644 index 0000000..d47e02f --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-install.conf @@ -0,0 +1,2 @@ +install modulename command +remove modulename command diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-lib.conf b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-lib.conf new file mode 100644 index 0000000..e2b41a8 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian-lib.conf @@ -0,0 +1 @@ +/usr/lib/lintian diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian.conf b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/lintian.conf new file mode 100644 index 0000000..7f6693c --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/mimeinfo.cache b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/mimeinfo.cache new file mode 100644 index 0000000..f3067c5 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/mimeinfo.cache @@ -0,0 +1,2 @@ +[MIME Cache] +text/plain=foo-editor.desktop diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/php-foo.ini b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/php-foo.ini new file mode 100644 index 0000000..6a33666 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/php-foo.ini @@ -0,0 +1 @@ +# this style of comments are obsolete diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/sudotest b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/sudotest new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/x11/files-general/build-spec/orig/tnu.1 b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/tnu.1 new file mode 100644 index 0000000..147dc1a --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/files-general/build-spec/orig/types b/t/recipes/checks/desktop/x11/files-general/build-spec/orig/types new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/x11/files-general/eval/desc b/t/recipes/checks/desktop/x11/files-general/eval/desc new file mode 100644 index 0000000..7aa2151 --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/eval/desc @@ -0,0 +1,3 @@ +Testname: files-general +Check: desktop/x11 +# tar -t is buggy and does not list \\\ filename diff --git a/t/recipes/checks/desktop/x11/files-general/eval/hints b/t/recipes/checks/desktop/x11/files-general/eval/hints new file mode 100644 index 0000000..d60294f --- /dev/null +++ b/t/recipes/checks/desktop/x11/files-general/eval/hints @@ -0,0 +1,4 @@ +files-general (binary): package-contains-compiled-font-file [usr/share/fonts/X11/misc/fonts.scale] +files-general (binary): package-contains-compiled-font-file [usr/share/fonts/X11/misc/fonts.dir] +files-general (binary): package-contains-compiled-font-file [usr/share/fonts/X11/misc/fonts.alias] +files-general (binary): package-contains-compiled-font-file [usr/share/fonts/X11/misc/encodings.dir] diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install new file mode 100644 index 0000000..4690206 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/install @@ -0,0 +1 @@ +foo.afm usr/share/fonts/X11/Type1 diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst new file mode 100644 index 0000000..ea5884d --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if false +then + update-fonts-dir manual + update-fonts-scale manual +fi diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values new file mode 100644 index 0000000..37d3c47 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-missing-call-to-update-fonts-unrel +Description: Check missing calls to update-fonts (false-positives) diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/orig/foo.afm b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/build-spec/orig/foo.afm new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/desc b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/desc new file mode 100644 index 0000000..2858502 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: scripts-missing-call-to-update-fonts-unrel +Test-Against: + missing-call-to-update-fonts +Check: desktop/x11/font/update diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/hints b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts-unrel/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/install b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/install new file mode 100644 index 0000000..4690206 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/install @@ -0,0 +1 @@ +foo.afm usr/share/fonts/X11/Type1 diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/postinst b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/postinst new file mode 100644 index 0000000..72a8dfb --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +if false +then + echo "Deliberately not including DEBHELPER snippet." +fi diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/fill-values b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/fill-values new file mode 100644 index 0000000..4b17473 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-missing-call-to-update-fonts +Description: Check missing calls to update-fonts diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm new file mode 100644 index 0000000..e69de29 diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/desc b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/desc new file mode 100644 index 0000000..5f5f575 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/desc @@ -0,0 +1,2 @@ +Testname: scripts-missing-call-to-update-fonts +Check: desktop/x11/font/update diff --git a/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/hints b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/hints new file mode 100644 index 0000000..163e983 --- /dev/null +++ b/t/recipes/checks/desktop/x11/font/update/scripts-missing-call-to-update-fonts/eval/hints @@ -0,0 +1 @@ +scripts-missing-call-to-update-fonts (binary): missing-call-to-update-fonts usr/share/fonts/X11/Type1/foo.afm [postinst] diff --git a/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/legacy-filenames/build-spec/debian/control b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/bokmål + 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/desktop/x11/legacy-filenames/build-spec/fill-values b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/desktop/x11/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/desktop/x11/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/desktop/x11/legacy-filenames/eval/desc b/t/recipes/checks/desktop/x11/legacy-filenames/eval/desc new file mode 100644 index 0000000..7b219ba --- /dev/null +++ b/t/recipes/checks/desktop/x11/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: desktop/x11 diff --git a/t/recipes/checks/desktop/x11/legacy-filenames/eval/hints b/t/recipes/checks/desktop/x11/legacy-filenames/eval/hints new file mode 100644 index 0000000..9980158 --- /dev/null +++ b/t/recipes/checks/desktop/x11/legacy-filenames/eval/hints @@ -0,0 +1,3 @@ +filenames (binary): package-installs-file-to-usr-x11r6 [usr/X11R6/bin/testxbin2] +filenames (binary): package-installs-file-to-usr-x11r6 [usr/X11R6/bin/] +filenames (binary): package-installs-file-to-usr-x11r6 [usr/X11R6/] diff --git a/t/recipes/checks/desktop/x11/legacy-filenames/eval/post-test b/t/recipes/checks/desktop/x11/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/desktop/x11/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/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source new file mode 100644 index 0000000..f4b7709 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source @@ -0,0 +1,5 @@ +cruft-fixme-placeholders for Debian +----------------------------------- + +FIXME: A reminder to do something +FIX_ME: npm2deb uses underscores diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in new file mode 100644 index 0000000..4f62807 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in @@ -0,0 +1,22 @@ +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: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + FIXME: This line should be detected by Lintian. + . + This line shouldn't be detected as it has a quoted "FIXME". + . + FIXME: This mixed "FIXME" line should still be detected though. diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright new file mode 100644 index 0000000..6bb2c0e --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This is part of the testsuite of lintian. See the file debian/copyright +in the lintian source directory for more details. + +Insofar as this is copyrightable, it is: + + Copyright 2017 Chris Lamb + +FIXME: Lintian should detect this text. diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints new file mode 100644 index 0000000..de8f916 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints @@ -0,0 +1 @@ +FIXME: This file should be ignored. diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules new file mode 100644 index 0000000..975a857 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + # FIXME: Something + dh $@ diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values new file mode 100644 index 0000000..dc619a2 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-fixme-placeholders +Description: Check for placeholders in various maintainer scripts diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc new file mode 100644 index 0000000..10f5d9f --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-fixme-placeholders +Check: dh-make diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints new file mode 100644 index 0000000..9d6298b --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints @@ -0,0 +1,6 @@ +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIX_ME [debian/README.source:5] +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/rules:4] +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/copyright:8] +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/control:22] +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/control:18] +cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/README.source:4] diff --git a/t/recipes/checks/dh-make/cruft-readme-source/build-spec/debian/README.source b/t/recipes/checks/dh-make/cruft-readme-source/build-spec/debian/README.source new file mode 100644 index 0000000..5fdbe79 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-readme-source/build-spec/debian/README.source @@ -0,0 +1,5 @@ +cruft-readme-source for Debian +------------------------------ + + diff --git a/t/recipes/checks/dh-make/cruft-readme-source/build-spec/fill-values b/t/recipes/checks/dh-make/cruft-readme-source/build-spec/fill-values new file mode 100644 index 0000000..be86fdc --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-readme-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-readme-source +Description: Check for cruft in README.source diff --git a/t/recipes/checks/dh-make/cruft-readme-source/eval/desc b/t/recipes/checks/dh-make/cruft-readme-source/eval/desc new file mode 100644 index 0000000..a46d9a7 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-readme-source/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-readme-source +Check: dh-make diff --git a/t/recipes/checks/dh-make/cruft-readme-source/eval/hints b/t/recipes/checks/dh-make/cruft-readme-source/eval/hints new file mode 100644 index 0000000..c44d576 --- /dev/null +++ b/t/recipes/checks/dh-make/cruft-readme-source/eval/hints @@ -0,0 +1 @@ +cruft-readme-source (source): readme-source-is-dh_make-template [debian/README.source] diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + + + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) + + -- Russ Allbery Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is (C) 2008, Russ Allbery and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# Further changes by Javier Fernandez-Sanguino +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may 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, +# or (at your option) any later version. +# +# 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. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" 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 +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +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. +\fBgeneric-dh-make-2008\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. +.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 +generic-dh-make-2008 was written by . +.PP +This manual page was written by Russ Allbery , +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + December 29, 2008"> + + SECTION"> + rra@debian.org"> + + GENERIC-DH-MAKE-2008"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + 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. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (but may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows 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 + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/desc b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..101d4c8 --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: dh-make/template +See-Also: + Debian Bug#497347 diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/hints b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..f2817be --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/hints @@ -0,0 +1,17 @@ +generic-dh-make-2008 (source): dh-make-template-in-source [debian/watch.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/prerm.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/preinst.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/postrm.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/postinst.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/menu.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/manpage.xml.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/manpage.sgml.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/manpage.1.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/init.d.lsb.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/init.d.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/generic-dh-make-2008.doc-base.EX] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/generic-dh-make-2008.default.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/emacsen-startup.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/emacsen-remove.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/emacsen-install.ex] +generic-dh-make-2008 (source): dh-make-template-in-source [debian/cron.d.ex] diff --git a/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/post-test b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/dh-make/template/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/build-spec/debian/control b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/bokmål + 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/devhelp/legacy-filenames/build-spec/fill-values b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/build-spec/orig/data/\".tif" "b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/\".tif" new file mode 100644 index 0000000..e005775 --- /dev/null +++ "b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/\".tif" @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/documentation/devhelp/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/legacy-filenames/eval/desc b/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/desc new file mode 100644 index 0000000..0663c8f --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: documentation/devhelp diff --git a/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/hints b/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/hints new file mode 100644 index 0000000..680eb22 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/hints @@ -0,0 +1 @@ +filenames (binary): stray-devhelp-documentation [usr/share/doc/filenames/bad-devhelp/c.devhelp.gz] diff --git a/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/post-test b/t/recipes/checks/documentation/devhelp/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/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/devhelp/standard/version-1/build-spec/debian/install b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/debian/install new file mode 100644 index 0000000..1f6260c --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/debian/install @@ -0,0 +1 @@ +devhelp/index.devhelp usr/share/devhelp/books/this-test/ diff --git a/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/fill-values b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/fill-values new file mode 100644 index 0000000..0839040 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-non-native +Testname: version-1 +Description: Ships a Devhelp index file that follows version 1. diff --git a/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/orig/devhelp/index.devhelp b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/orig/devhelp/index.devhelp new file mode 100644 index 0000000..c40b9f1 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/standard/version-1/build-spec/orig/devhelp/index.devhelp @@ -0,0 +1 @@ +MEANINGFUL CONTENTS diff --git a/t/recipes/checks/documentation/devhelp/standard/version-1/eval/desc b/t/recipes/checks/documentation/devhelp/standard/version-1/eval/desc new file mode 100644 index 0000000..94c87c6 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/standard/version-1/eval/desc @@ -0,0 +1,2 @@ +Testname: version-1 +Check: documentation/devhelp/standard diff --git a/t/recipes/checks/documentation/devhelp/standard/version-1/eval/hints b/t/recipes/checks/documentation/devhelp/standard/version-1/eval/hints new file mode 100644 index 0000000..81e1498 --- /dev/null +++ b/t/recipes/checks/documentation/devhelp/standard/version-1/eval/hints @@ -0,0 +1 @@ +version-1 (binary): old-devhelp-standard [usr/share/devhelp/books/this-test/index.devhelp] diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/fill-values b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/fill-values new file mode 100644 index 0000000..9ba18d6 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-doxygen-documentation +Description: Detect doxygen documentation diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/Doxyfile b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/Doxyfile new file mode 100644 index 0000000..2807c21 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/Doxyfile @@ -0,0 +1,2363 @@ +# Doxyfile 1.8.7 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = example + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is included in +# the documentation. The maximum height of the logo should not exceed 55 pixels +# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo +# to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = doc + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = YES + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = YES + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a +# new page for each member. If set to NO, the documentation of a member will be +# part of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO these classes will be included in the various overviews. This option has +# no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the +# todo list. This list is created by putting \todo commands in the +# documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the +# test list. This list is created by putting \test commands in the +# documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES the list +# will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. Do not use file names with spaces, bibtex cannot handle them. See +# also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO doxygen will only warn about wrong or incomplete parameter +# documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. +# Note: If this tag is empty the current directory is searched. + +INPUT = + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank the +# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, +# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, +# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, +# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, +# *.qsf, *.as and *.js. + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.idl \ + *.ddl \ + *.odl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.cs \ + *.d \ + *.php \ + *.php4 \ + *.php5 \ + *.phtml \ + *.inc \ + *.m \ + *.markdown \ + *.md \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.for \ + *.tcl \ + *.vhd \ + *.vhdl \ + *.ucf \ + *.qsf \ + *.as \ + *.js + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER ) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES, then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user- +# defined cascading style sheet that is included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefor more robust against future updates. +# Doxygen will copy the style sheet file to the output directory. For an example +# see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the stylesheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler ( hhc.exe). If non-empty +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated ( +# YES) or that it should be included in the master .chm file ( NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated ( +# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using prerendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /
+ + + + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all files with brief descriptions:
+ + +
 hello.c
+
+
+ + + + diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/index.html b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/index.html new file mode 100644 index 0000000..e9e2c06 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/index.html @@ -0,0 +1,87 @@ + + + + + + +example: Main Page + + + + + + + + + +
+
+ + + + + + +
+
example +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
example Documentation
+
+
+
+ + + + diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css new file mode 100644 index 0000000..9cf578f --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/doxygen.sty b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/doxygen.sty new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/doxygen.sty @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/files.tex b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/files.tex new file mode 100644 index 0000000..4335bbf --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/files.tex @@ -0,0 +1,4 @@ +\section{File List} +Here is a list of all files with brief descriptions\+:\begin{DoxyCompactList} +\item\contentsline{section}{\hyperlink{hello_8c}{hello.\+c} }{\pageref{d1/d6a/hello_8c}}{} +\end{DoxyCompactList} diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/refman.tex b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/refman.tex new file mode 100644 index 0000000..608e040 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/doc/latex/refman.tex @@ -0,0 +1,153 @@ +\documentclass[twoside]{book} + +% Packages required by doxygen +\usepackage{fixltx2e} +\usepackage{calc} +\usepackage{doxygen} +\usepackage{graphicx} +\usepackage[utf8]{inputenc} +\usepackage{makeidx} +\usepackage{multicol} +\usepackage{multirow} +\PassOptionsToPackage{warn}{textcomp} +\usepackage{textcomp} +\usepackage[nointegrals]{wasysym} +\usepackage[table]{xcolor} + +% Font selection +\usepackage[T1]{fontenc} +\usepackage{mathptmx} +\usepackage[scaled=.90]{helvet} +\usepackage{courier} +\usepackage{amssymb} +\usepackage{sectsty} +\renewcommand{\familydefault}{\sfdefault} +\allsectionsfont{% + \fontseries{bc}\selectfont% + \color{darkgray}% +} +\renewcommand{\DoxyLabelFont}{% + \fontseries{bc}\selectfont% + \color{darkgray}% +} +\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} + +% Page & text layout +\usepackage{geometry} +\geometry{% + a4paper,% + top=2.5cm,% + bottom=2.5cm,% + left=2.5cm,% + right=2.5cm% +} +\tolerance=750 +\hfuzz=15pt +\hbadness=750 +\setlength{\emergencystretch}{15pt} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\makeatletter +\renewcommand{\paragraph}{% + \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@parafont% + }% +} +\renewcommand{\subparagraph}{% + \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@subparafont% + }% +} +\makeatother + +% Headers & footers +\usepackage{fancyhdr} +\pagestyle{fancyplain} +\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} +\fancyhead[CE]{\fancyplain{}{}} +\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} +\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} +\fancyhead[CO]{\fancyplain{}{}} +\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} +\fancyfoot[LE]{\fancyplain{}{}} +\fancyfoot[CE]{\fancyplain{}{}} +\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Sun Sep 7 2014 16\+:14\+:08 for example by Doxygen }} +\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Sun Sep 7 2014 16\+:14\+:08 for example by Doxygen }} +\fancyfoot[CO]{\fancyplain{}{}} +\fancyfoot[RO]{\fancyplain{}{}} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\chaptermark}[1]{% + \markboth{#1}{}% +} +\renewcommand{\sectionmark}[1]{% + \markright{\thesection\ #1}% +} + +% Indices & bibliography +\usepackage{natbib} +\usepackage[titles]{tocloft} +\setcounter{tocdepth}{3} +\setcounter{secnumdepth}{5} +\makeindex + +% Hyperlinks (required, but should be loaded last) +\usepackage{ifpdf} +\ifpdf + \usepackage[pdftex,pagebackref=true]{hyperref} +\else + \usepackage[ps2pdf,pagebackref=true]{hyperref} +\fi +\hypersetup{% + colorlinks=true,% + linkcolor=blue,% + citecolor=blue,% + unicode% +} + +% Custom commands +\newcommand{\clearemptydoublepage}{% + \newpage{\pagestyle{empty}\cleardoublepage}% +} + + +%===== C O N T E N T S ===== + +\begin{document} + +% Titlepage & ToC +\hypersetup{pageanchor=false, + bookmarks=true, + bookmarksnumbered=true, + pdfencoding=unicode + } +\pagenumbering{roman} +\begin{titlepage} +\vspace*{7cm} +\begin{center}% +{\Large example }\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.8.7}\\ +\vspace*{0.5cm} +{\small Sun Sep 7 2014 16:14:08}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\hypersetup{pageanchor=true} + +%--- Begin generated contents --- +\chapter{File Index} +\input{files} +\chapter{File Documentation} +\input{d1/d6a/hello_8c} +%--- End generated contents --- + +% Index +\newpage +\phantomsection +\addcontentsline{toc}{chapter}{Index} +\printindex + +\end{document} diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/hello.c b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/hello.c new file mode 100644 index 0000000..ff2cb8d --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/build-spec/orig/src/hello.c @@ -0,0 +1,10 @@ +#include + +void hello() { + printf("hello"); +} + +int main() +{ + hello(); +} \ No newline at end of file diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/desc b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/desc new file mode 100644 index 0000000..3495c4d --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-doxygen-documentation +Check: documentation/doxygen diff --git a/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/hints b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/hints new file mode 100644 index 0000000..0f18d7a --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/cruft-doxygen-documentation/eval/hints @@ -0,0 +1,4 @@ +cruft-doxygen-documentation (source): source-contains-prebuilt-doxygen-documentation [src/doc/latex/] +cruft-doxygen-documentation (source): source-contains-prebuilt-doxygen-documentation [src/doc/html/index.html] +cruft-doxygen-documentation (source): source-contains-prebuilt-doxygen-documentation [src/doc/html/files.html] +cruft-doxygen-documentation (source): source-contains-prebuilt-doxygen-documentation [src/doc/html/] diff --git a/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/debian/install b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/debian/install new file mode 100644 index 0000000..a99dced --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/debian/install @@ -0,0 +1 @@ +src/doc /usr/share/doc/files-doxygen-documentation/html \ No newline at end of file diff --git a/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/fill-values b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/fill-values new file mode 100644 index 0000000..2614efb --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-doxygen-documentation +Description: Detect doxygen documentation problem diff --git a/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/Doxyfile b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/Doxyfile new file mode 100644 index 0000000..67bf289 --- /dev/null +++ b/t/recipes/checks/documentation/doxygen/files-doxygen-documentation/build-spec/orig/src/Doxyfile @@ -0,0 +1,2363 @@ +# Doxyfile 1.8.7 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = example + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is included in +# the documentation. The maximum height of the logo should not exceed 55 pixels +# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo +# to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = doc + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = YES + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = YES + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a +# new page for each member. If set to NO, the documentation of a member will be +# part of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO these classes will be included in the various overviews. This option has +# no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the +# todo list. This list is created by putting \todo commands in the +# documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the +# test list. This list is created by putting \test commands in the +# documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES the list +# will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. Do not use file names with spaces, bibtex cannot handle them. See +# also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO doxygen will only warn about wrong or incomplete parameter +# documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. +# Note: If this tag is empty the current directory is searched. + +INPUT = + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank the +# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, +# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, +# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, +# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, +# *.qsf, *.as and *.js. + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.idl \ + *.ddl \ + *.odl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.cs \ + *.d \ + *.php \ + *.php4 \ + *.php5 \ + *.phtml \ + *.inc \ + *.m \ + *.markdown \ + *.md \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.for \ + *.tcl \ + *.vhd \ + *.vhdl \ + *.ucf \ + *.qsf \ + *.as \ + *.js + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER ) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES, then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user- +# defined cascading style sheet that is included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefor more robust against future updates. +# Doxygen will copy the style sheet file to the output directory. For an example +# see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the stylesheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler ( hhc.exe). If non-empty +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated ( +# YES) or that it should be included in the master .chm file ( NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated ( +# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using prerendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /