lintian: r204 - in branches/1.23.0: checks debian
Author: jeroen
Date: 2004-04-21 23:53:01 +0200 (Wed, 21 Apr 2004)
New Revision: 204
Modified:
branches/1.23.0/checks/debdiff
branches/1.23.0/checks/debdiff.desc
branches/1.23.0/debian/changelog
Log:
* checks/debdiff:
+ [JvW] Implement source-tar-is-posix-tar, which checks for upstream
tarballs that are tar --posix tarballs, which cannot be untarred by the
tar version in woody (Closes: #245138)
Modified: branches/1.23.0/checks/debdiff
===================================================================
--- branches/1.23.0/checks/debdiff 2004-04-20 00:44:28 UTC (rev 203)
+++ branches/1.23.0/checks/debdiff 2004-04-21 21:53:01 UTC (rev 204)
@@ -50,6 +50,17 @@
}
close(STAT) or fail("error reading diffstat file: $!");
+# Check whether a tar.gz file is accidentally POSIX tar, which woody's tar
+# can't cope with...
+for my $tar (<*.tar.gz>) {
+ open HEAD, '-|', 'zcat', $tar or fail("Couldn't open ${tar}: $!");
+ my $head = "";
+ sysread HEAD, $head, 13 or fail("Couldn't read first part of $tar: $!");
+ print "E: $pkg $type: source-tar-is-posix-tar $tar\n"
+ if $head eq './PaxHeaders.';
+ close HEAD;
+}
+
exit 0;
# ---------------------------------
Modified: branches/1.23.0/checks/debdiff.desc
===================================================================
--- branches/1.23.0/checks/debdiff.desc 2004-04-20 00:44:28 UTC (rev 203)
+++ branches/1.23.0/checks/debdiff.desc 2004-04-21 21:53:01 UTC (rev 204)
@@ -23,3 +23,15 @@
Native source packages are sometimes created by accident. In most cases
the reason is the location of the original source tarball. dpkg-source
searches for this in ../package_upstream-version.orig.tar.gz.
+
+Tag: source-tar-is-posix-tar
+Type: error
+Info: The source tar archive of this package is made with tar --posix. This
+ tar format is actually not understood by woody's tar.
+ .
+ Some automake 1.7 and 1.8 versions in Debian had this wrong tar option for a
+ short time, re-autobuilding should solve this. Please see
+ http://lists.debian.org/debian-devel/2004/debian-devel-200404/msg01376.html
+ and
+ http://lists.debian.org/debian-devel/2004/debian-devel-200404/msg01586.html
+ for more details.
Modified: branches/1.23.0/debian/changelog
===================================================================
--- branches/1.23.0/debian/changelog 2004-04-20 00:44:28 UTC (rev 203)
+++ branches/1.23.0/debian/changelog 2004-04-21 21:53:01 UTC (rev 204)
@@ -35,10 +35,13 @@
patch by Denis Barbier <barbier@linuxfr.org>, thanks! (Closes: #233116)
+ [HE] Check if the translation of a Choices: field is empty, leading to
skipped questions. (Closes: #149451)
- * checks/debdiff
+ * checks/debdiff:
+ [HE] Check for accidental native packaging. This is done by checking for
a dash in the version number (though -0.\d+ and -0.\d+.\d+ are allowed
for (binary) NMUs) and the existence of a .diff.gz. (Closes: #216327)
+ + [JvW] Implement source-tar-is-posix-tar, which checks for upstream
+ tarballs that are tar --posix tarballs, which cannot be untarred by the
+ tar version in woody (Closes: #245138)
* checks/debian-readme:
+ [HE] Add check for the debmake template email address. Patch by Steffen
Moeller <moeller@pzr.uni-rostock.de>, thanks!
Reply to: