lintian: r769 - in trunk: checks debian testset
Author: rra
Date: 2006-11-11 05:59:32 +0100 (Sat, 11 Nov 2006)
New Revision: 769
Modified:
trunk/checks/changelog-file.desc
trunk/debian/changelog
trunk/testset/tags.binary
trunk/testset/tags.etcfiles
trunk/testset/tags.libbaz
Log:
* checks/changelog-file.desc:
+ [RA] Downgrade to a warning several errors with changelog files,
including compression and a text version of HTML changelogs, that
are only shoulds in Policy. (Closes: #289723)
+ [RA] Cleaned up language and use of unbalanced single quotes in
numerous descriptions.
Modified: trunk/checks/changelog-file.desc
===================================================================
--- trunk/checks/changelog-file.desc 2006-11-11 04:40:54 UTC (rev 768)
+++ trunk/checks/changelog-file.desc 2006-11-11 04:59:32 UTC (rev 769)
@@ -8,34 +8,34 @@
Info: This script checks if a binary package conforms to policy
with regards to changelog files.
.
- Each binary package with a /usr/share/doc/<foo> directory must have a
- Debian changelog file in `changelog.Debian.gz' unless the Debian
+ Each binary package with a /usr/share/doc/<foo> directory must have
+ a Debian changelog file in "changelog.Debian.gz" unless the Debian
changelog and the upstream one is the same file; in this case, it
- must be in `changelog.gz'.
+ must be in "changelog.gz".
.
If there is an upstream changelog file, it must be named
- `changelog.gz'.
+ "changelog.gz".
.
- Both changelog files must be compressed using `gzip -9'.
+ Both changelog files should be compressed using "gzip -9".
Even if they start out small, they will become large with time.
Tag: html-changelog-without-text-version
Type: error
-Info: If the upstream changelog file is HTML formatted, a text version must
- also be accessible as `changelog.gz'. (This can be created by
- `lynx -dump -nolist')
+Info: If the upstream changelog file is HTML formatted, a text version
+ should also be accessible as "changelog.gz". (This can be created by
+ "lynx -dump -nolist")
Ref: policy 12.7
Tag: changelog-file-not-compressed
-Type: error
-Info: Changelog files must be compressed using `gzip -9'.
- Even if they start out small, they will become large with time.
+Type: warning
+Info: Changelog files should be compressed using "gzip -9". Even if they
+ start out small, they will become large with time.
Ref: policy 12.7
Tag: changelog-not-compressed-with-max-compression
-Type: error
-Info: Changelog files must be compressed using `gzip -9', i.e. using the
- maximum compression level via the `-9' option to gzip.
+Type: warning
+Info: Changelog files should be compressed using "gzip -9"; i.e., using
+ the maximum compression level via the -9 option to gzip.
Ref: policy 12.7
Tag: wrong-name-for-changelog-of-native-package
@@ -94,17 +94,16 @@
Tag: debian-changelog-file-missing-or-wrong-name
Type: error
Info: Each Debian package (which provides a /usr/share/doc/<i>pkg</i>
- directory) has to install a Debian changelog file
+ directory) must install a Debian changelog file in
/usr/share/doc/<i>pkg</i>/changelog.Debian.gz
.
- A common error is to name the Debian changelog like an upstream
- changelog (/usr/share/doc/<i>pkg</i>/changelog.gz) therefor
- lintian will apply further checks to such a file if it exists
- even after issuing this error.
+ A common error is to name the Debian changelog like an upstream changelog
+ (/usr/share/doc/<i>pkg</i>/changelog.gz); therefore, lintian will apply
+ further checks to such a file if it exists even after issuing this error.
Ref: policy 12.7
Tag: debian-changelog-file-contains-obsolete-user-emacs-settings
-Type: error
+Type: warning
Info: The add-log-mailing-address variable is no longer honored in
debian-changelog-mode, and should not appear in packages' changelog
files. Instead, put something like this in your ~/.emacs:
@@ -118,8 +117,8 @@
Tag: debian-changelog-file-contains-invalid-email-address
Type: error
-Info: The changelog file contains an invalid email address: the domain needs
- at least one dot. This is looks like a mistake.
+Info: The changelog file contains an invalid email address: the domain
+ needs at least one dot. This is looks like a mistake.
Tag: debian-changelog-file-uses-obsolete-national-encoding
Type: error
@@ -134,8 +133,8 @@
Tag: latest-debian-changelog-entry-without-new-date
Type: warning
-Info: The latest Debian changelog has either the same or even an older date
- as the entry before.
+Info: The latest Debian changelog has either the same or even an older
+ date as the entry before.
Tag: syntax-error-in-debian-changelog
Type: warning
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-11-11 04:40:54 UTC (rev 768)
+++ trunk/debian/changelog 2006-11-11 04:59:32 UTC (rev 769)
@@ -5,6 +5,12 @@
Thanks, Bas Wijnen. (Closes: #394419)
+ [RA] Add a special exception to the shared library dependency check
for the dynamic loader itself.
+ * checks/changelog-file.desc:
+ + [RA] Downgrade to a warning several errors with changelog files,
+ including compression and a text version of HTML changelogs, that
+ are only shoulds in Policy. (Closes: #289723)
+ + [RA] Cleaned up language and use of unbalanced single quotes in
+ numerous descriptions.
* checks/control-file{.desc,}:
+ [RA] Diagnose a control file that creates binary packages in a
different archive category from the source package or the other
@@ -31,7 +37,7 @@
various subdirectories of its standard search path based on hardware
capabilities. Reported by Aurelien Jarno. (Closes: #396278)
- -- Russ Allbery <rra@debian.org> Fri, 10 Nov 2006 20:39:32 -0800
+ -- Russ Allbery <rra@debian.org> Fri, 10 Nov 2006 20:56:37 -0800
lintian (1.23.25) unstable; urgency=low
Modified: trunk/testset/tags.binary
===================================================================
--- trunk/testset/tags.binary 2006-11-11 04:40:54 UTC (rev 768)
+++ trunk/testset/tags.binary 2006-11-11 04:59:32 UTC (rev 769)
@@ -1,5 +1,4 @@
E: binary source: debian-rules-missing-required-target binary-indep
-E: binary: changelog-file-not-compressed changelog
E: binary: debian-changelog-file-missing-or-wrong-name
E: binary: depends-on-x-metapackage depends: xorg
E: binary: doc-base-file-references-missing-file binary:11 /usr/share/doc/binary/binary.sgml.gz
@@ -38,6 +37,7 @@
W: binary: binary-without-manpage hello.static
W: binary: binary-without-manpage iminusrbin
W: binary: binary-without-manpage static-hello
+W: binary: changelog-file-not-compressed changelog
W: binary: doc-base-file-unknown-format binary:14 esp
W: binary: executable-not-elf-or-script ./usr/bin/iminusrbin
W: binary: file-in-unusual-dir usr/bar
Modified: trunk/testset/tags.etcfiles
===================================================================
--- trunk/testset/tags.etcfiles 2006-11-11 04:40:54 UTC (rev 768)
+++ trunk/testset/tags.etcfiles 2006-11-11 04:59:32 UTC (rev 769)
@@ -1,8 +1,8 @@
E: etcfiles source: debian-rules-missing-required-target binary-arch
-E: etcfiles: changelog-file-not-compressed changelog
E: etcfiles: file-in-etc-not-marked-as-conffile /etc/improper
E: etcfiles: file-in-etc-not-marked-as-conffile /etc/improper-link
E: etcfiles: no-copyright-file
W: etcfiles source: ancient-standards-version 3.5.0 (current is 3.7.2)
+W: etcfiles: changelog-file-not-compressed changelog
W: etcfiles: non-etc-file-marked-as-conffile /var/lib/foo
W: etcfiles: package-contains-hardlink etc/improper-link -> etc/improper
Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz 2006-11-11 04:40:54 UTC (rev 768)
+++ trunk/testset/tags.libbaz 2006-11-11 04:59:32 UTC (rev 769)
@@ -13,7 +13,6 @@
E: libbaz1: shlib-with-non-pic-code usr/lib/libbaz1.so.1.0.3b
E: libbaz1: unstripped-binary-or-object ./usr/lib/libbaz1.so.1.0.3b
E: libbaz1: unstripped-binary-or-object ./usr/lib/libfoo2.so.1.0.3b
-E: libbaz2-dev: changelog-file-not-compressed changelog
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: possible-non-posix-code-in-maintainer-script postinst:6 '[ -d /usr/doc -a ! -e /usr/doc/$PKG -a '
@@ -29,5 +28,6 @@
W: libbaz1: unused-shlib-entry-in-control-file libdoesntexist2 1.0
W: libbaz1: unused-shlib-entry-in-control-file udeb: libdoesntexist2 1.0
W: libbaz1: zero-byte-file-in-doc-directory usr/share/doc/README.Debian
+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
Reply to: