Your message dated Sat, 04 Jul 2009 16:17:10 +0000
with message-id <[email protected]>
and subject line Bug#535520: fixed in cupt 0.3.0
has caused the Debian Bug report #535520,
regarding cupt: Does not support non-spaced sources.list
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
535520: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535520
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cupt
Version: 0.2.3
Severity: normal
Tags: patch

Hi,

# cupt update

fails if anywhere in your sources.list you have used tabs instead of spaces to 
separate your various fields (deb, uri, distribution, sections).

The attached patch solves this by changing the arguments to the split function 
from "one or more spaces" to "any whitespace".

Best regards,

OdyX


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (700, 'testing-proposed-updates'), (700, 
'testing'), (90, 'experimental'), (50, 'testing-proposed-updates'), (50, 
'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupt depends on:
ii  libcupt-perl                  0.2.3      alternative front-end for dpkg --
ii  perl                          5.10.0-23  Larry Wall's Practical Extraction

cupt recommends no packages.

cupt suggests no packages.

-- no debconf information
diff --git a/Cupt/Cache.pm b/Cupt/Cache.pm
index 7edc1ed..4fa2696 100644
--- a/Cupt/Cache.pm
+++ b/Cupt/Cache.pm
@@ -668,7 +668,7 @@ sub __parse_source_list {
 		next if m/^\s*(?:#.*)?$/;
 
 		my %entry;
-		($entry{'type'}, $entry{'uri'}, $entry{'distribution'}, my @sections) = split / +/;
+		($entry{'type'}, $entry{'uri'}, $entry{'distribution'}, my @sections) = split ' ';
 
 		mydie("incorrect source type at file '%s', line %u", $file, $.)
 				if ($entry{'type'} ne 'deb' && $entry{'type'} ne 'deb-src');

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: cupt
Source-Version: 0.3.0

We believe that the bug you reported is fixed in the latest version of
cupt, which is due to be installed in the Debian FTP archive:

cupt_0.3.0.dsc
  to pool/main/c/cupt/cupt_0.3.0.dsc
cupt_0.3.0.tar.gz
  to pool/main/c/cupt/cupt_0.3.0.tar.gz
cupt_0.3.0_all.deb
  to pool/main/c/cupt/cupt_0.3.0_all.deb
libcupt-perl_0.3.0_all.deb
  to pool/main/c/cupt/libcupt-perl_0.3.0_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eugene V. Lyubimkin <[email protected]> (supplier of updated cupt 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 [email protected])


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

Format: 1.8
Date: Sat, 04 Jul 2009 19:01:58 +0300
Source: cupt
Binary: libcupt-perl cupt
Architecture: source all
Version: 0.3.0
Distribution: unstable
Urgency: low
Maintainer: Eugene V. Lyubimkin <[email protected]>
Changed-By: Eugene V. Lyubimkin <[email protected]>
Description: 
 cupt       - alternative front-end for dpkg -- console interface
 libcupt-perl - alternative front-end for dpkg -- Perl modules
Closes: 535514 535520 535600
Changes: 
 cupt (0.3.0) unstable; urgency=low
 .
   * cupt:
     - New 'showsrc' subcommand.
     - New 'build-dep' subcommand.
     - New 'source' subcommand.
   * Cupt:
     - Cache:
       - ArchitecturedRelation:
         - Implemented.
       - SourceVersion:
         - Implemented.
       - Package:
         - 'get_versions': generate exception if there are no valid version
           entries for the package.
       - New method 'get_source_package'.
       - 'get_pin': fixed to not attempt to obtain installed version for source
         packages.
       - Parsing source lists: allow all whitespace characters between fields.
         Patch by Didier 'OdyX' Raboud <[email protected]>. (Closes: #535520)
       - Parsing source lists: don't assume that /etc/apt/sources.list exists.
         Thanks to Didier 'OdyX' Raboud <[email protected]>. (Closes: #535600)
       - Parsing source lists: process only files that have '.list' suffix in
         sources.list.d subdirectory.
         Thanks to Didier 'OdyX' Raboud <[email protected]>.
       - New free subroutine 'verify_hash_sums'.
       - Parsing release info: set Label to '' when it's not specified. Fixes
         crash when pinning by label.
         Thanks to Didier 'OdyX' Raboud <[email protected]>.
       - 'get_original_apt_pin': fixed pinning by release properties of several
         versions of the package. Thanks to Didier 'OdyX' Raboud.
     - System:
       - Resolver,Resolvers/Native,Resolvers/External:
         - New method 'unsatisfy_relation_expression'.
       - Resolvers/Native:
         - Don't consider Essential packages as candidates for auto-removal.
           Thanks to Didier 'OdyX' Raboud and Steve Cotton.
         - Fixed considering 'apt::neverautoremove' option when trying to
           auto-remove packages. Thanks to Didier 'OdyX' Raboud.
     - Download:
       - Manager:
         - Worker process: fixed race condition in sending error of the last
           download to progress.
     - Core:
       - 'version_string_regex': allow upstream part of the version start with
         a non-digit symbol, however Cupt::Cache::Package will print a warning
         in this case. Thanks to Steve Cotton. (Closes: #535514)
   * po:
     - getpot: specified UTF-8 encoding for input files, fixing xgettext error.
       Thanks to Frederik Schwarzer <[email protected]>.
Checksums-Sha1: 
 d114803667b7f788299ff6642e2436afcb646c9f 868 cupt_0.3.0.dsc
 d7327ed7e827d6ccfb543d62541409109b4fb93c 83870 cupt_0.3.0.tar.gz
 cfd37edf32b7dbce4174b6daba58074f1928f0a9 111626 libcupt-perl_0.3.0_all.deb
 cfdd01c3da476c1b2b10b5434f66762e5a2815c6 42790 cupt_0.3.0_all.deb
Checksums-Sha256: 
 9459bb96d5a53e228a73ac9304b178161924c31a17d5a86281dd62c32e90c873 868 
cupt_0.3.0.dsc
 41dfe4028e5b43a810b153e7342d12244f1df18d406dc4b74550c2fe063d6f82 83870 
cupt_0.3.0.tar.gz
 48acf8159ee70b2842bc37b7e08a83d2f6e47f76c4a26926688da5fe37b9016e 111626 
libcupt-perl_0.3.0_all.deb
 fe5057d0e4268b7623e17b864f47a0c824aaf50d02e9dc6e9adf003f24cabade 42790 
cupt_0.3.0_all.deb
Files: 
 607fd179dbf0c80db21c1e80a1d80741 868 perl optional cupt_0.3.0.dsc
 c25b073bb6a684650a546dbbcb9a5ac3 83870 perl optional cupt_0.3.0.tar.gz
 bae27b33627dd253d562b5f994a61017 111626 perl optional 
libcupt-perl_0.3.0_all.deb
 6cba4ba9884d6adc1870ccafd1f5b64c 42790 perl optional cupt_0.3.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpPfUMACgkQchorMMFUmYygvgCfQmVTgX/9+WS83yp25mLUAwGA
yg4An0suj1c7HW/PYbqbe8z6XcjSwcgh
=jsUW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to