Author: rra Date: 2007-10-15 02:59:02 +0200 (Mon, 15 Oct 2007) New Revision: 957
Modified: trunk/checks/files trunk/checks/files.desc trunk/debian/changelog trunk/testset/filenames/debian/rules trunk/testset/tags.filenames Log: + [RA] Warn about .DS_Store files, used by Mac OS X to store extended folder attributes. Thanks, Paul Wise. (Closes: #438203) Modified: trunk/checks/files =================================================================== --- trunk/checks/files 2007-10-15 00:52:01 UTC (rev 956) +++ trunk/checks/files 2007-10-15 00:59:02 UTC (rev 957) @@ -422,8 +422,8 @@ # setting up the base system. (Specifically, /cdrom, /floppy, # /initrd, and /proc are not mentioned in the FHS). tag "non-standard-toplevel-dir", "$file" - unless $pkg eq 'base-files' - or $pkg eq 'hurd' + unless $pkg eq 'base-files' + or $pkg eq 'hurd' or $pkg =~ /^rootskel(-bootfloppy)?/; } @@ -551,10 +551,13 @@ tag "script-with-language-extension", "$file"; } - # ---------------- Windows thumbnail databases + # ---------------- Autogenerated databases from other OSes if ($file =~ m,/Thumbs\.db(\.gz)?$,) { tag "windows-thumbnail-database-in-package", "$file"; } + if ($file =~ m,/\.DS_Store$,) { + tag "macos-ds-store-file-in-package", "$file"; + } # ---------------- general: setuid/setgid files! if ($perm =~ m/s/) { Modified: trunk/checks/files.desc =================================================================== --- trunk/checks/files.desc 2007-10-15 00:52:01 UTC (rev 956) +++ trunk/checks/files.desc 2007-10-15 00:59:02 UTC (rev 957) @@ -416,6 +416,12 @@ <tt>Thumbs.db.gz</tt>, which is normally a Windows image thumbnail database. Such databases are generally useless in Debian packages. +Tag: macos-ds-store-file-in-package +Type: warning +Info: There is a file in the package named <tt>.DS_Store</tt>, the file + name used by Mac OS X to store folder attributes. Such files are + generally useless in Debian packages. + Tag: package-installs-perllocal-pod Type: warning Info: This package installs a file <tt>perllocal.pod</tt>. Since that Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2007-10-15 00:52:01 UTC (rev 956) +++ trunk/debian/changelog 2007-10-15 00:59:02 UTC (rev 957) @@ -15,6 +15,8 @@ * checks/files{.desc,}: + [RA] Warn about Thumbs.db files, which are usually useless Windows thumbnail databases. Thanks, Paul Wise. (Closes: #438202) + + [RA] Warn about .DS_Store files, used by Mac OS X to store extended + folder attributes. Thanks, Paul Wise. (Closes: #438203) * checks/nmu.desc: + [RA] Remove obsolete note about binary NMUs. Patch from Thijs Kinkhorst. (Closes: #437925) @@ -22,7 +24,7 @@ * collection/changelog-file{.desc,}: + [RA] Collect NEWS.Debian as well as changelog. - -- Russ Allbery <[EMAIL PROTECTED]> Sun, 14 Oct 2007 17:47:43 -0700 + -- Russ Allbery <[EMAIL PROTECTED]> Sun, 14 Oct 2007 17:56:35 -0700 lintian (1.23.34) unstable; urgency=low Modified: trunk/testset/filenames/debian/rules =================================================================== --- trunk/testset/filenames/debian/rules 2007-10-15 00:52:01 UTC (rev 956) +++ trunk/testset/filenames/debian/rules 2007-10-15 00:59:02 UTC (rev 957) @@ -81,6 +81,7 @@ 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 touch debian/tmp/usr/share/doc/filenames/news.debian gzip debian/tmp/usr/share/doc/filenames/news.debian Modified: trunk/testset/tags.filenames =================================================================== --- trunk/testset/tags.filenames 2007-10-15 00:52:01 UTC (rev 956) +++ trunk/testset/tags.filenames 2007-10-15 00:59:02 UTC (rev 957) @@ -65,6 +65,7 @@ W: filenames: file-in-unusual-dir files/svn-commit.tmp W: filenames: file-in-unusual-dir srv/foo/bar W: filenames: file-in-usr-lib-sgml usr/lib/sgml/package +W: filenames: macos-ds-store-file-in-package usr/share/doc/filenames/.DS_Store W: filenames: menu-file-in-usr-lib usr/lib/menu/menu W: filenames: no-priority-field W: filenames: no-section-field -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]