[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r655 - in trunk: checks debian testset



Author: rra
Date: 2006-05-04 04:17:14 +0200 (Thu, 04 May 2006)
New Revision: 655

Modified:
   trunk/checks/files
   trunk/checks/files.desc
   trunk/debian/changelog
   trunk/testset/tags.filenames
Log:
  + [RA] Allow files installed in /usr/include/X11 and /usr/lib/X11.
    Change the tag for files in /usr/bin/X11 to be specific to that
    case.

Modified: trunk/checks/files
===================================================================
--- trunk/checks/files	2006-05-04 01:54:08 UTC (rev 654)
+++ trunk/checks/files	2006-05-04 02:17:14 UTC (rev 655)
@@ -229,9 +229,9 @@
 	    tag "old-app-defaults-directory", "$file";
 	}
 
-	#----------------- /usr/{lib,bin,include}/X11/
-	elsif ($file =~ m,^usr/(?:lib|bin|include)/X11/,) {
-	    tag "package-installs-file-to-usr-something-x11", "$file";
+	#----------------- /usr/bin/X11/
+	elsif ($file =~ m,^usr/bin/X11/,) {
+	    tag "package-installs-file-to-usr-bin-x11", "$file";
 	}
 
 	#----------------- /usr/X11R6/

Modified: trunk/checks/files.desc
===================================================================
--- trunk/checks/files.desc	2006-05-04 01:54:08 UTC (rev 654)
+++ trunk/checks/files.desc	2006-05-04 02:17:14 UTC (rev 655)
@@ -23,11 +23,10 @@
  this prevents X from replacing it with a compatability symlink.
 Ref: policy 11.8.6
 
-Tag: package-installs-file-to-usr-something-x11
+Tag: package-installs-file-to-usr-bin-x11
 Type: error
-Info: Packages must not provide or install files into the directories 
- /usr/bin/X11/, /usr/include/X11/ or /usr/lib/X11/.
-Ref: policy 11.8.7
+Info: Packages must not provide or install files into the directory
+ /usr/bin/X11/.  This directory is actually a symlink.
 
 Tag: package-installs-font-to-usr-x11r6
 Type: error

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-05-04 01:54:08 UTC (rev 654)
+++ trunk/debian/changelog	2006-05-04 02:17:14 UTC (rev 655)
@@ -24,8 +24,11 @@
       games but are not setgid.
     + [RA] Remove the check for files in /usr/lib/cgi-bin.  This policy
       change was reverted.
+    + [RA] Allow files installed in /usr/include/X11 and /usr/lib/X11.
+      Change the tag for files in /usr/bin/X11 to be specific to that
+      case.
 
- -- Russ Allbery <rra@debian.org>  Wed,  3 May 2006 18:53:35 -0700
+ -- Russ Allbery <rra@debian.org>  Wed,  3 May 2006 19:15:10 -0700
 
 lintian (1.23.19) unstable; urgency=low
 

Modified: trunk/testset/tags.filenames
===================================================================
--- trunk/testset/tags.filenames	2006-05-04 01:54:08 UTC (rev 654)
+++ trunk/testset/tags.filenames	2006-05-04 02:17:14 UTC (rev 655)
@@ -5,8 +5,8 @@
 E: filenames: no-copyright-file
 E: filenames: non-standard-toplevel-dir files/
 E: filenames: package-contains-ancient-file usr/lib/perl5/foo/ancient.pm 1975-01-01
-E: filenames: package-installs-file-to-usr-something-x11 usr/bin/X11/
-E: filenames: package-installs-file-to-usr-something-x11 usr/bin/X11/testxbin
+E: filenames: package-installs-file-to-usr-bin-x11 usr/bin/X11/
+E: filenames: package-installs-file-to-usr-bin-x11 usr/bin/X11/testxbin
 E: filenames: package-installs-file-to-usr-x11r6 usr/X11R6/
 E: filenames: package-installs-file-to-usr-x11r6-bin usr/X11R6/bin/
 E: filenames: package-installs-file-to-usr-x11r6-bin usr/X11R6/bin/testxbin2



Reply to: