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

lintian: r1044 - in trunk: checks debian testset



Author: rra
Date: 2007-12-04 20:47:32 +0100 (Tue, 04 Dec 2007)
New Revision: 1044

Modified:
   trunk/checks/files.desc
   trunk/debian/changelog
   trunk/testset/tags.binary
   trunk/testset/tags.filenames
   trunk/testset/tags.libbaz
Log:
* checks/files{.desc,}:
  + [RA] Downgrade symlink-should-be-relative to a warning since it's a
    Policy should.  Thanks, Thijs Kinkhorst.  (Closes: #454239)

Modified: trunk/checks/files.desc
===================================================================
--- trunk/checks/files.desc	2007-12-04 09:18:03 UTC (rev 1043)
+++ trunk/checks/files.desc	2007-12-04 19:47:32 UTC (rev 1044)
@@ -276,10 +276,11 @@
 Ref: policy 10.5
 
 Tag: symlink-should-be-relative
-Type: error
-Info: Symlinks to files which are in the same top-level directory, should be
- relative according to policy (i.e., files within /usr, should be relative
- etc., while files from /usr to /etc should be absolute)
+Type: warning
+Info: Symlinks to files which are in the same top-level directory should be
+ relative according to policy.  (In other words, a link in /usr to another
+ file in /usr should be relative, while a link in /usr to a file in /etc
+ should be absolute.)
 Ref: policy 10.5
 
 Tag: symlink-should-be-absolute

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-12-04 09:18:03 UTC (rev 1043)
+++ trunk/debian/changelog	2007-12-04 19:47:32 UTC (rev 1044)
@@ -49,7 +49,7 @@
     + [RA] Allow Python dependencies in Build-Depends when using another
       variant for calling Python in the clean target.  Thanks, Bernd
       Zeimetz.  (Closes: #444642)
-  * checks/files:
+  * checks/files{.desc,}:
     + [HE,RA] Add 'package-contains-empty-directory' check, but ignore
       dirs in /var and /etc and handle /usr/lib/perl5 and /usr/share/perl5
       directories separately with a lower priority level since they're
@@ -58,6 +58,8 @@
            (package-section-games-but-contains-no-game) or that contain
            anything in usr/bin at all, which is usually a mistake.
            (package-section-games-but-contains-no-game). (Closes: #451668)
+    + [RA] Downgrade symlink-should-be-relative to a warning since it's a
+      Policy should.  Thanks, Thijs Kinkhorst.  (Closes: #454239)
   * checks/lintian.desc:
     + [RA] Add critical as a recognized urgency.
   * checks/patch-systems:

Modified: trunk/testset/tags.binary
===================================================================
--- trunk/testset/tags.binary	2007-12-04 09:18:03 UTC (rev 1043)
+++ trunk/testset/tags.binary	2007-12-04 19:47:32 UTC (rev 1044)
@@ -33,7 +33,6 @@
 E: binary: su-wrapper-without--c /usr/share/menu/binary:3 sux
 E: binary: suidregister-used-in-maintainer-script postinst
 E: binary: symlink-contains-spurious-segments usr/share/doc/binary/html/ch2.html ../html/./ch1.html
-E: binary: symlink-should-be-relative usr/share/doc/binary/html/ch3.html /usr/share/doc/binary/htm/ch1.html
 E: binary: unstripped-binary-or-object ./usr/bin/hello
 I: binary source: xs-vcs-header-in-debian-control xs-vcs-browser
 I: binary: arch-dep-package-has-big-usr-share
@@ -97,6 +96,7 @@
 W: binary: package-contains-upstream-install-documentation usr/share/doc/binary/INSTALL
 W: binary: su-to-root-with-usr-sbin /usr/lib/menu/binary:4
 W: binary: su-to-root-with-usr-sbin /usr/share/menu/binary:4
+W: binary: symlink-should-be-relative usr/share/doc/binary/html/ch3.html /usr/share/doc/binary/htm/ch1.html
 W: binary: syntax-error-in-debian-changelog line 16 "couldn't parse date The, 15 Apr 2004 23:33:51 +0200"
 W: binary: syntax-error-in-debian-news-file line 11 "badly formatted trailer line"
 W: binary: syntax-error-in-debian-news-file line 11 "found eof where expected more change data or trailer"

Modified: trunk/testset/tags.filenames
===================================================================
--- trunk/testset/tags.filenames	2007-12-04 09:18:03 UTC (rev 1043)
+++ trunk/testset/tags.filenames	2007-12-04 19:47:32 UTC (rev 1044)
@@ -25,7 +25,6 @@
 E: filenames: symlink-has-too-many-up-segments usr/lib/filenames/symlink2wrong ../../../../etc/symlink
 E: filenames: symlink-should-be-absolute usr/lib/filenames/symlink10wrong ../../..
 E: filenames: symlink-should-be-absolute usr/lib/filenames/symlink1wrong ../../../etc/symlink
-E: filenames: symlink-should-be-relative usr/lib/filenames/symlink3wrong /usr/lib/filenames/symlink2
 E: filenames: use-of-compat-symlink usr/bin/X11/
 E: filenames: use-of-compat-symlink usr/bin/X11/testxbin
 E: more-filename-games: no-copyright-file
@@ -103,6 +102,7 @@
 W: filenames: symlink-is-self-recursive usr/lib/filenames/symlink5ok+warn ..
 W: filenames: symlink-is-self-recursive usr/lib/filenames/symlink6ok+warn .
 W: filenames: symlink-is-self-recursive usr/lib/filenames/symlink7ok+warn /
+W: filenames: symlink-should-be-relative usr/lib/filenames/symlink3wrong /usr/lib/filenames/symlink2
 W: filenames: windows-thumbnail-database-in-package usr/share/doc/filenames/Thumbs.db
 W: filenames: wrong-name-for-debian-news-file usr/share/doc/filenames/news.debian.gz
 W: filenames: zero-byte-file-in-doc-directory usr/share/doc/filenames/NEWS.Debian

Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz	2007-12-04 09:18:03 UTC (rev 1043)
+++ trunk/testset/tags.libbaz	2007-12-04 19:47:32 UTC (rev 1044)
@@ -15,7 +15,6 @@
 E: libbaz1: unstripped-binary-or-object ./usr/lib/libbaz3.so.1.0.3b
 E: libbaz1: unstripped-binary-or-object ./usr/lib/libfoo2.so.1.0.3b
 E: libbaz2: postinst-must-call-ldconfig usr/lib/libbaz2.so.1.0.3b
-E: libbaz2: symlink-should-be-relative usr/share/doc/libbaz2/changelog.gz /usr/share/doc/lintian/changelog.gz
 I: libbaz1: no-md5sums-control-file
 I: libbaz1: several-sonames-in-same-package libbaz2.so.1.0 libbaz3.so.1
 I: libbaz2-dev: no-md5sums-control-file
@@ -42,3 +41,4 @@
 W: libbaz2-dev: changelog-file-not-compressed changelog
 W: libbaz2: debian-changelog-file-is-a-symlink
 W: libbaz2: package-name-doesnt-match-sonames libbaz2-1.0
+W: libbaz2: symlink-should-be-relative usr/share/doc/libbaz2/changelog.gz /usr/share/doc/lintian/changelog.gz



Reply to: