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 --- .../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 22 files changed, 145 insertions(+) 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 (limited to 't/recipes/checks/desktop/icons/files-general/build-spec') 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 -- cgit v1.2.3