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 --- .../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 + 145 files changed, 1524 insertions(+) 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 (limited to 't/recipes/checks/desktop') 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/bokml + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\l + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/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/bokml + touch $(tmp)/var/catman/do + +override_dh_fixperms: + dh_fixperms + chmod 755 $(tmp)/usr/share/man/man5/foo.5.gz + chmod 644 $(tmp)/etc/sudoers.d/* + +override_dh_compress: + dh_compress + # create a .png and .png.gz + gzip -n -1 $(tmp)/usr/share/doc/lintian/lintian-16x16.png + zcat $(tmp)/usr/share/doc/lintian/lintian-16x16.png.gz > \ + $(tmp)/usr/share/doc/lintian/lintian-16x16.png + +override_dh_link: + dh_link + mkdir -p $(tmp)/usr/share/doc/bar + echo "Hallo World" > $(tmp)/usr/share/doc/bar/foo + ln -s ../bar/foo $(tmp)/usr/share/doc/bar/star diff --git a/t/recipes/checks/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/bokml + touch $(tmp)/var/catman/do + +override_dh_fixperms: + dh_fixperms + chmod 755 $(tmp)/usr/share/man/man5/foo.5.gz + chmod 644 $(tmp)/etc/sudoers.d/* + +override_dh_compress: + dh_compress + # create a .png and .png.gz + gzip -n -1 $(tmp)/usr/share/doc/lintian/lintian-16x16.png + zcat $(tmp)/usr/share/doc/lintian/lintian-16x16.png.gz > \ + $(tmp)/usr/share/doc/lintian/lintian-16x16.png + +override_dh_link: + dh_link + mkdir -p $(tmp)/usr/share/doc/bar + echo "Hallo World" > $(tmp)/usr/share/doc/bar/foo + ln -s ../bar/foo $(tmp)/usr/share/doc/bar/star diff --git a/t/recipes/checks/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/bokml + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\l + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/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 -- cgit v1.2.3