Your message dated Sun, 29 May 2011 10:17:23 +0000
with message-id <[email protected]>
and subject line Bug#623129: fixed in cupt 2.1.0
has caused the Debian Bug report #623129,
regarding [PATCH] Introduce support for xz-compressed index files
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.)


-- 
623129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cupt
Version: 2.0.0
Severity: wishlist

As of now, there should be no xz-compressed index files out in
the wild, but adding support for it should not harm.
---
 cpp/lib/src/config.cpp                   |    1 +
 cpp/lib/src/internal/worker/metadata.cpp |    8 ++++++--
 debian/control                           |    2 +-
 doc/cupt.1.pod                           |    2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (250, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages cupt depends on:
ii  libboost-program-options1.42. 1.42.0-4   program options library for C++
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libcupt2-0                    2.0.0      alternative front-end for dpkg -- 
ii  libgcc1                       1:4.6.0-3  GCC support library
ii  libstdc++6                    4.6.0-3    The GNU Standard C++ Library v3

cupt recommends no packages.

Versions of packages cupt suggests:
ii  libreadline6                  6.1-3      GNU readline and history libraries
ii  sensible-utils                0.0.6      Utilities for sensible alternative

-- no debconf information

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
From bc9ec2a5fd087aca45717d4393d0cd2406008e12 Mon Sep 17 00:00:00 2001
From: Julian Andres Klode <[email protected]>
Date: Sun, 17 Apr 2011 17:33:14 +0200
Subject: [PATCH] Introduce support for xz-compressed index files

As of now, there should be no xz-compressed index files out in
the wild, but adding support for it should not harm.
---
 cpp/lib/src/config.cpp                   |    1 +
 cpp/lib/src/internal/worker/metadata.cpp |    8 ++++++--
 debian/control                           |    2 +-
 doc/cupt.1.pod                           |    2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/cpp/lib/src/config.cpp b/cpp/lib/src/config.cpp
index 5ac63d2..d72ec48 100644
--- a/cpp/lib/src/config.cpp
+++ b/cpp/lib/src/config.cpp
@@ -125,6 +125,7 @@ void ConfigImpl::initializeVariables()
 		{ "cupt::update::compression-types::gz::priority", "100" },
 		{ "cupt::update::compression-types::bz2::priority", "100" },
 		{ "cupt::update::compression-types::lzma::priority", "100" },
+		{ "cupt::update::compression-types::xz::priority", "100" },
 		{ "cupt::update::compression-types::uncompressed::priority", "100" },
 		{ "cupt::update::keep-bad-signatures", "no" },
 		{ "cupt::resolver::auto-remove", "yes" },
diff --git a/cpp/lib/src/internal/worker/metadata.cpp b/cpp/lib/src/internal/worker/metadata.cpp
index ecb39b5..8e4ce5c 100644
--- a/cpp/lib/src/internal/worker/metadata.cpp
+++ b/cpp/lib/src/internal/worker/metadata.cpp
@@ -81,10 +81,14 @@ bool generateUncompressingSub(const download::Uri& uri, const string& downloadPa
 	auto filenameExtension = getFilenameExtension(uri);
 
 	// checking and preparing unpackers
-	if (filenameExtension == ".lzma" || filenameExtension == ".bz2" || filenameExtension == ".gz")
+	if (filenameExtension == ".xz" || filenameExtension == ".lzma" || filenameExtension == ".bz2" || filenameExtension == ".gz")
 	{
 		string uncompressorName;
-		if (filenameExtension == ".lzma")
+		if (filenameExtension == ".xz")
+		{
+			uncompressorName = "unxz";
+		}
+		else if (filenameExtension == ".lzma")
 		{
 			uncompressorName = "unlzma";
 		}
diff --git a/debian/control b/debian/control
index 4fa7e0c..a052a73 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,7 @@ Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: libcupt2-0-experimental
 Breaks: debdelta (<< 0.31)
 Recommends: libcupt2-0-downloadmethod-curl | libcupt2-0-downloadmethod-wget, bzip2, gpgv
-Suggests: cupt, lzma, debdelta (>= 0.31), dpkg-dev, dpkg-repack
+Suggests: cupt, lzma, xz-utils, debdelta (>= 0.31), dpkg-dev, dpkg-repack
 Description: alternative front-end for dpkg -- runtime library
  This is a Cupt library implementing front-end to dpkg.
  .
diff --git a/doc/cupt.1.pod b/doc/cupt.1.pod
index b88268c..14d88d0 100644
--- a/doc/cupt.1.pod
+++ b/doc/cupt.1.pod
@@ -899,7 +899,7 @@ list, names of the methods available to download protocol I<protocol>
 
 integer, defines preference to download compressed files with higher priority first. 100 by default.
 
-'*' can be 'gz', 'bz2', 'lzma' and 'uncompressed'.
+'*' can be 'gz', 'bz2', 'lzma', 'xz', and 'uncompressed'.
 
 Set some option to <100 value to make it low-precedence than default, and >100
 to make it high-precedence than default.
-- 
1.7.4.4

Attachment: pgpmrAzG848SE.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cupt
Source-Version: 2.1.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_2.1.0.dsc
  to main/c/cupt/cupt_2.1.0.dsc
cupt_2.1.0.tar.gz
  to main/c/cupt/cupt_2.1.0.tar.gz
cupt_2.1.0_i386.deb
  to main/c/cupt/cupt_2.1.0_i386.deb
libcupt2-0-downloadmethod-curl_2.1.0_i386.deb
  to main/c/cupt/libcupt2-0-downloadmethod-curl_2.1.0_i386.deb
libcupt2-0-downloadmethod-wget_2.1.0_i386.deb
  to main/c/cupt/libcupt2-0-downloadmethod-wget_2.1.0_i386.deb
libcupt2-0_2.1.0_i386.deb
  to main/c/cupt/libcupt2-0_2.1.0_i386.deb
libcupt2-dev_2.1.0_i386.deb
  to main/c/cupt/libcupt2-dev_2.1.0_i386.deb
libcupt2-doc_2.1.0_all.deb
  to main/c/cupt/libcupt2-doc_2.1.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: Sun, 29 May 2011 12:46:37 +0300
Source: cupt
Binary: libcupt2-0 libcupt2-dev libcupt2-doc cupt 
libcupt2-0-downloadmethod-curl libcupt2-0-downloadmethod-wget
Architecture: source i386 all
Version: 2.1.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
 libcupt2-0 - alternative front-end for dpkg -- runtime library
 libcupt2-0-downloadmethod-curl - alternative front-end for dpkg -- libcurl 
download method
 libcupt2-0-downloadmethod-wget - alternative front-end for dpkg -- wget 
download method
 libcupt2-dev - alternative front-end for dpkg -- development files
 libcupt2-doc - alternative front-end for dpkg -- library documentation
Closes: 587478 623115 623129 628405
Changes: 
 cupt (2.1.0) unstable; urgency=low
 .
   * console:
     - New 'showauto' subcommand.
   * lib:
     - cache/relation:
       - Relation: new copy constructor from Relation&&.
       - RelationLine: new method 'operator=(RelationLine&&)'.
       - RelationExpression: new copy constructor from RelationExpression&&.
       - ArchitecturedRelation: new copy constructor from
         ArchitecturedRelation&&.
       - ArchitecturedRelationExpression: new copy constructor from
         ArchitecturedRelationExpression&&.
       - ArchitecturedRelationLine: new method
         'operator=(ArchitecturedRelationLine&&)'.
     - system/worker:
       - A small speed-up of generating dpkg action sequences for large queries.
       - RAM usage optimizations.
       - [Julian Andres Klode] Introduced a support for xz-compressed index
         files. (Closes: #623129)
       - Create lists directory if it does not exist.
     - config:
       - Be more clear in configuration file error messages that they talk
         about syntax errors.
       - New configuration variable 'cupt::directory::state::lists'.
       - Changed the default value of the variable
         'cupt::update::keep-bad-signatures' to 'yes'.
       - New configuration variable
         'cupt::resolver::score::removal-of-essential'.
     - cache:
       - Support regular expressions in pin preferences. Thanks to
         Julian Andres Klode for the suggestion. (Closes: #587478)
       - When skipping an index or translation file processing due to an error,
         use a human-readable alias in the warning message.
       - Mark structures and methods, which are related to local and remote
         locations of internal cache files, as deprecated.
     - system/resolvers/native:
       - RAM usage optimizations.
       - Do not depend on cache memoizing. Fixes a regression introduced in
         2.0.0~beta1.
       - Apply a penalty for removal of an essential package regardless of the
         score sign.
     - cache/{source,binary}version:
       - Don't error out, only print a warning for unrecognized values of the
         'Priority' field. Fixes a regression introduced in 2.0.0~alpha1.
   * debian:
     - control:
       - Relax Boost build requirements to match 1.42 and higher, not only
         1.42.
       - Vcs-Browser: the main branch is now 'master' again.
       - Bumped debhelper build-dependency to (>= 7.4.10) to use --parallel.
       - Bumped Standards-Version to 3.9.2, no changes needed.
     - rules:
       - Support 'noopt' in DEB_BUILD_OPTIONS. (Closes: #628405)
       - Support 'parallel=N' in DEB_BUILD_OPTIONS.
   * Support out-of-tree builds. (Closes: #623115)
   * Switched to Cupt-specific directory 'cupt::directory::state::lists' for
     index lists.
Checksums-Sha1: 
 ef79005ab8bdfaf41c4ca80286eafcf63d87a38a 1116 cupt_2.1.0.dsc
 e1959885e7f11e14e05a6e6f6b5334287214a42e 232313 cupt_2.1.0.tar.gz
 88fa162542e6aaf40d3ca0883a1115b406d838c9 721464 libcupt2-0_2.1.0_i386.deb
 73ed748cadf96a482b184bd78de1fb2b46425a2f 45158 libcupt2-dev_2.1.0_i386.deb
 13cfbfedf5a6cfab7cd49db8facdd2eaf20a8be3 345468 libcupt2-doc_2.1.0_all.deb
 06fdc4319d612e84406c6a0e3e70fdb72f6697cc 389306 cupt_2.1.0_i386.deb
 7cdcaf678f9b548eea5fc6a1e8e284f0ba00ae2a 39296 
libcupt2-0-downloadmethod-curl_2.1.0_i386.deb
 46b16cf63956307bf50ad4fc18312dd660137079 41648 
libcupt2-0-downloadmethod-wget_2.1.0_i386.deb
Checksums-Sha256: 
 41579593947dc1b6c50b2f0dd1970860740a4bed3e017fc74d8c54086532e8ca 1116 
cupt_2.1.0.dsc
 de96ee2e4d07101cc653c2fa95d3c82e039157193cf87bcbc31fea86fb2e917e 232313 
cupt_2.1.0.tar.gz
 e6915b4699437011fa9ce8105fc5e742eb18a424f10afa9515d5dd8c1451a6af 721464 
libcupt2-0_2.1.0_i386.deb
 5dac2e378020e45529e47baccf1ef7211fa1c1f772c57928eb03bc8a3dd555ba 45158 
libcupt2-dev_2.1.0_i386.deb
 681614cce3a6e814c6facbbb452bb450c27cfea0de9b0202b0993ea222640f10 345468 
libcupt2-doc_2.1.0_all.deb
 3ce8f35d5a76cabdb1427eae1bc6333a6898e1dc56d1685df5cf903353587567 389306 
cupt_2.1.0_i386.deb
 5cf8d535bdcb49e12f501ba53cbfba9b32261f99f67a14f2d9208ebc2b1981af 39296 
libcupt2-0-downloadmethod-curl_2.1.0_i386.deb
 90f8397c3dd156663c417070db2eb71447168a7e99950d29eaa9af07821f8434 41648 
libcupt2-0-downloadmethod-wget_2.1.0_i386.deb
Files: 
 d4c0fc2e41116a95f13813c94cb46a02 1116 admin optional cupt_2.1.0.dsc
 4464179a33911db997076d259cef9831 232313 admin optional cupt_2.1.0.tar.gz
 67b63f9483ef4bfe2797c472c83c5493 721464 admin optional 
libcupt2-0_2.1.0_i386.deb
 c689b8e8d8243341ddec909f53894042 45158 libdevel optional 
libcupt2-dev_2.1.0_i386.deb
 d3331f01a254a8475abd2ddd895e4628 345468 doc optional libcupt2-doc_2.1.0_all.deb
 5f87cdae8cbc2c1e03af97f5b8891e2a 389306 admin optional cupt_2.1.0_i386.deb
 4678a2492bf2ed154838e42ddeabf062 39296 admin optional 
libcupt2-0-downloadmethod-curl_2.1.0_i386.deb
 1eafa5c72b51711e8549d48ee8dcd990 41648 admin optional 
libcupt2-0-downloadmethod-wget_2.1.0_i386.deb

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

iEYEARECAAYFAk3iGmsACgkQchorMMFUmYwPsQCfVTcIwvdkOf065Vn0C5/slBGh
IfQAoKgrxG+LkqV6VdebAMOhmqdcvpV6
=pOH8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to