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

Bug#51888: marked as done (have dpkg-scansources allow trailing blank lines)



Your message dated 5 Dec 1999 19:00:33 -0000
with message-id <19991205190033.20643.qmail@master.debian.org>
and subject line Bug#51888: fixed in dpkg 1.6.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Dec 1999 03:39:24 +0000
Received: (qmail 29302 invoked from network); 4 Dec 1999 03:39:23 -0000
Received: from 640k-154-5.va.sprint-hsd.net (HELO jones.argon.org) (root@208.33.154.5)
  by master.debian.org with SMTP; 4 Dec 1999 03:39:23 -0000
Received: (from roderick@localhost)
	by jones.argon.org (8.9.3/8.9.3/Debian 8.9.3-6) id WAA02199;
	Fri, 3 Dec 1999 22:39:22 -0500
Message-Id: <[🔎] 199912040339.WAA02199@jones.argon.org>
From: Roderick Schertler <roderick@argon.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: have dpkg-scansources allow trailing blank lines
X-Reportbug-Version: 0.42
X-Mailer: reportbug 0.42
Date: Fri, 03 Dec 1999 22:39:22 -0500

Package: dpkg-dev
Version: 1.6.1
Severity: normal

It seems that most of the tools allow a .dsc file to have trailing blank
lines, but dpkg-scansources doesn't.  The clue_19970309-6.dsc which is
currently in the archive is such a case, it isn't in he Sources file
because of this.

Should it be even more permissive than this?

Index: dpkg-scansources
===================================================================
RCS file: /usr/local/src/cvsroot/dpkg-scansources/dpkg-scansources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dpkg-scansources	1999/07/13 14:48:46	1.9
+++ dpkg-scansources	1999/12/04 03:33:11	1.10
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 
-# $Id: dpkg-scansources,v 1.9 1999/07/13 14:48:46 roderick Exp $
+# $Id: dpkg-scansources,v 1.10 1999/12/04 03:33:11 roderick Exp $
 
 # Copyright (C) 1999 Roderick Schertler
 #
@@ -30,7 +30,7 @@
 
 my $Exit = 0;
 (my $Me = $0) =~ s-.*/--;
-my $Version = q$Revision: 1.9 $ =~ /(\d\S+)/ ? $1 : '?';
+my $Version = q$Revision: 1.10 $ =~ /(\d\S+)/ ? $1 : '?';
 
 # %Override is a hash of lists.  The subs following describe what's in
 # the lists.
@@ -314,6 +314,10 @@
 	$dir, $dir_field, $dsc_field_start);
 
     my ($size, $md5, $contents) = read_dsc $file or return;
+
+    # Allow blank lines at the end of a file, because the other programs
+    # do.
+    $contents =~ s/\n\n+\z/\n/;
 
     if ($contents =~ /^\n/ || $contents =~ /\n\n/) {
     	xwarn_noerror "$file invalid (contains blank line)\n";

-- 
Roderick Schertler
roderick@argon.org

---------------------------------------
Received: (at 51888-close) by bugs.debian.org; 5 Dec 1999 19:00:34 +0000
Received: (qmail 20644 invoked by uid 974); 5 Dec 1999 19:00:33 -0000
Date: 5 Dec 1999 19:00:33 -0000
Message-ID: <19991205190033.20643.qmail@master.debian.org>
From: Wichert Akkerman <wakkerma@debian.org>
To: 51888-close@bugs.debian.org
Subject: Bug#51888: fixed in dpkg 1.6.2

We believe that the bug you reported is fixed in the latest version of
dpkg, which has been installed in the Debian FTP archive:
dpkg-1.6.2_i386.nondebbin.tar.gz byhand
dpkg_1.6.2.dsc
  to dists/potato/main/source/base/dpkg_1.6.2.dsc
  replacing dpkg_1.6.1.dsc
dpkg-1.6.2.tar.gz byhand
dpkg_1.6.2_i386.deb
  to dists/potato/main/binary-i386/base/dpkg_1.6.2.deb
  replacing dpkg_1.6.1.deb
dpkg-doc_1.6.2_all.deb
  to dists/potato/main/binary-all/doc/dpkg-doc_1.6.2.deb
  replacing dpkg-doc_1.6.1.deb
dpkg_1.6.2.tar.gz
  to dists/potato/main/source/base/dpkg_1.6.2.tar.gz
  replacing dpkg_1.6.1.tar.gz
dpkg-dev_1.6.2_all.deb
  to dists/potato/main/binary-all/utils/dpkg-dev_1.6.2.deb
  replacing dpkg-dev_1.6.1.deb

Note that this package is not part of the released stable Debian
distribution.  It may have dependencies on other unreleased software,
or other instabilities.  Please take care if you wish to install it.
The update will eventually make its way into the next released Debian
distribution.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 51888@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wichert Akkerman <wakkerma@debian.org> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.6
Date: Sun,  5 Dec 1999 19:29:50 +0100
Source: dpkg
Binary: dpkg dpkg-doc dpkg-dev
Architecture: source i386 all
Version: 1.6.2
Distribution: unstable
Urgency: low
Maintainer: Wichert Akkerman <wakkerma@debian.org>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
Closes: 51525 51539 51888 51919
Changes: 
 dpkg (1.6.2) unstable; urgency=low
 .
   * New dpkg-scansources, Closes: #51888
   * Fix default for elispdir, Closes: #51919,51525
   * New manpages for cleanup-info and dpkg-divert, Closes: #51539, 46657
   * Buildsystem updates, Closes: #51525, 51855, 51914
   * Modify dselect behaviour for suggests and recommends
Files: 
 ed6924b67916fa3d3fca17cebc1ddd6e 511 base required dpkg_1.6.2.dsc
 7d5999c23f50b246bd9214fb48dbb260 1045530 base required dpkg_1.6.2.tar.gz
 7e1bb85189cc3a1551169ca62a8eb9ce 486054 base required dpkg_1.6.2_i386.deb
 00e43d8e4cacdbf45bf26d6a87c58777 475679 byhand - dpkg-1.6.2_i386.nondebbin.tar.gz
 0066e189f39c26fa1d430d89b42a2fc9 71744 devel important dpkg-dev_1.6.2_all.deb
 95a26ad8a32d8ef35faeea00c6958ab4 10216 doc extra dpkg-doc_1.6.2_all.deb
 7d5999c23f50b246bd9214fb48dbb260 1045530 byhand - dpkg-1.6.2.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjhKtGMACgkQPLiSUC+jvC1DXQCgqmoPOKZMWolWLQM1221vEjwo
pdUAoI615OU6rPDBIwjBUf0hOlO8tjCq
=rnJA
-----END PGP SIGNATURE-----


Reply to: