lintian: r150 - in trunk: checks debian
Author: he
Date: 2004-04-14 01:14:17 +0200 (Wed, 14 Apr 2004)
New Revision: 150
Modified:
trunk/checks/deb-format
trunk/checks/deb-format.desc
trunk/debian/changelog
Log:
checks/deb-format:
+ [HE] Add a check for the data member of a deb. dpkg 1.11 introduces
support for configurable compression algorithms (bzip2, for example),
but this shouldn't be allowed before dpkg 1.11 hits stable.
(Closes: #159874)
Modified: trunk/checks/deb-format
===================================================================
--- trunk/checks/deb-format 2004-04-12 21:46:54 UTC (rev 149)
+++ trunk/checks/deb-format 2004-04-13 23:14:17 UTC (rev 150)
@@ -35,6 +35,15 @@
return 512*$nblocks;
}
+if (open (LIST, "ar t |")) {
+ while (<LIST>) {
+ chomp;
+ print "E: $pkg $type: deb-data-member-wrongly-compressed\n"
+ if (($_ eq "data.tar.bz2") or ($_ eq "data.tar"));
+ }
+ close LIST;
+}
+
open INPUT, "ar p deb data.tar.gz | gzip -dc |";
my $chunk;
Modified: trunk/checks/deb-format.desc
===================================================================
--- trunk/checks/deb-format.desc 2004-04-12 21:46:54 UTC (rev 149)
+++ trunk/checks/deb-format.desc 2004-04-13 23:14:17 UTC (rev 150)
@@ -4,8 +4,7 @@
Standards-Version: 3.6.1
Type: binary, udeb
Unpack-Level: 1
-Info: This script checks if a binary package was build using a broken version
- of tar (i.e., containing bug#230910)
+Info: This script checks the format of the deb ar archive itself.
Tag: deb-created-with-broken-tar
Type: error
@@ -16,3 +15,10 @@
This package was build with such a version of tar, and the mentioned filename
is corrupted. Refer to Debian bug #230910 for more information, or simply
update your tar-version and rebuild.
+
+Tag: deb-data-member-wrongly-compressed
+Type: error
+Info: The binary package contains a data member not compressed with gzip.
+ From dpkg-dev 1.11 on, you can configure the way the data tarball is
+ compressed. Though this is possible, you are not allowed to use it
+ before dpkg 1.11 (or later) enters stable.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-04-12 21:46:54 UTC (rev 149)
+++ trunk/debian/changelog 2004-04-13 23:14:17 UTC (rev 150)
@@ -33,6 +33,11 @@
* checks/debconf{,.desc}:
+ [JvW] Add an error for a bogus default for a boolean template
(Closes: #236846)
+ * checks/deb-format:
+ + [HE] Add a check for the data member of a deb. dpkg 1.11 introduces
+ support for configurable compression algorithms (bzip2, for example),
+ but this shouldn't be allowed before dpkg 1.11 hits stable.
+ (Closes: #159874)
* checks/fields.desc:
+ [FL] Fix some wrong policy references
* checks/fields:
Reply to: