--- Begin Message ---
Package: apt
Version: 0.6.46.4
Severity: wishlist
Tags: patch
Hi,
Now that dpkg has lzma support it would be nice to get this small
patch into apt for etch.
regards,
guillem
--- apt-inst/deb/debfile.cc 2006-03-02 16:06:31.000000000 +0200
+++ apt-inst/deb/debfile.cc 2006-11-03 05:29:03.000000000 +0200
@@ -48,8 +48,10 @@ debDebFile::debDebFile(FileFd &File) : F
return;
}
- if (!CheckMember("data.tar.gz") && !CheckMember("data.tar.bz2")) {
- _error->Error(_("This is not a valid DEB archive, it has no '%s' or '%s' member"), "data.tar.gz", "data.tar.bz2");
+ if (!CheckMember("data.tar.gz") &&
+ !CheckMember("data.tar.bz2") &&
+ !CheckMember("data.tar.lzma")) {
+ _error->Error(_("This is not a valid DEB archive, it has no '%s', '%s' or '%s' member"), "data.tar.gz", "data.tar.bz2", "data.tar.lzma");
return;
}
}
@@ -134,6 +136,10 @@ bool debDebFile::ExtractArchive(pkgDirSt
Member = AR.FindMember("data.tar.bz2");
Compressor = "bzip2";
}
+ if (Member == 0) {
+ Member = AR.FindMember("data.tar.lzma");
+ Compressor = "lzma";
+ }
if (Member == 0)
return _error->Error(_("Internal error, could not locate member"));
if (File.Seek(Member->Start) == false)
--- apt-pkg/deb/debsrcrecords.cc 2006-03-02 15:44:28.000000000 +0200
+++ apt-pkg/deb/debsrcrecords.cc 2006-11-03 05:34:32.000000000 +0200
@@ -151,7 +151,7 @@ bool debSrcRecordParser::Files(vector<pk
break;
F.Type = string(F.Path,Tmp+1,Pos-Tmp);
- if (F.Type == "gz" || F.Type == "bz2")
+ if (F.Type == "gz" || F.Type == "bz2" || F.Type == "lzma")
{
Pos = Tmp-1;
continue;
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.5
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.7.5_all.deb
to pool/main/a/apt/apt-doc_0.7.5_all.deb
apt-transport-https_0.7.5_i386.deb
to pool/main/a/apt/apt-transport-https_0.7.5_i386.deb
apt-utils_0.7.5_i386.deb
to pool/main/a/apt/apt-utils_0.7.5_i386.deb
apt_0.7.5.dsc
to pool/main/a/apt/apt_0.7.5.dsc
apt_0.7.5.tar.gz
to pool/main/a/apt/apt_0.7.5.tar.gz
apt_0.7.5_i386.deb
to pool/main/a/apt/apt_0.7.5_i386.deb
libapt-pkg-dev_0.7.5_i386.deb
to pool/main/a/apt/libapt-pkg-dev_0.7.5_i386.deb
libapt-pkg-doc_0.7.5_all.deb
to pool/main/a/apt/libapt-pkg-doc_0.7.5_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 408201@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Otavio Salvador <otavio@ossystems.com.br> (supplier of updated apt 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.7
Date: Wed, 25 Jul 2007 20:16:46 -0300
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-transport-https apt-doc apt
Architecture: source all i386
Version: 0.7.5
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Otavio Salvador <otavio@ossystems.com.br>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-transport-https - APT https transport
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 407187 408201
Changes:
apt (0.7.5) unstable; urgency=low
.
[ Otavio Salvador ]
* Applied patch from Guillem Jover <guillem@debian.org> to use
dpkg-architecture to get the host architecture (closes: #407187)
* Applied patch from Guillem Jover <guillem@debian.org> to add
support to add lzma support (closes: #408201)
.
[ Michael Vogt ]
* apt-pkg/depcache.cc:
- support a list of sections for:
APT::Install-Recommends-Sections
APT::Never-MarkAuto-Sections
* methods/makefile:
- install lzma symlink method (for full lzma support)
* debian/control:
- suggest "lzma"
Files:
0a28a15027cc8801cfe123113708d497 942 admin important apt_0.7.5.dsc
6c0f7804711343eb996642588d78d6be 1821748 admin important apt_0.7.5.tar.gz
ffa6fb0b48bd66ddb3e1e39f6488e290 91894 doc optional apt-doc_0.7.5_all.deb
7b92911b04867d21307d06efa2fcc645 115854 doc optional libapt-pkg-doc_0.7.5_all.deb
bd6c74a41ca19df839aae1b5382ddca3 50778 admin optional apt-transport-https_0.7.5_i386.deb
9c8f0a29bb69ceea6658740709ed82a7 1460576 admin important apt_0.7.5_i386.deb
c56f9b358c4f72f86b95fc31977037fa 99626 libdevel optional libapt-pkg-dev_0.7.5_i386.deb
6d33e26d011caa449749db17bdee6dc8 190468 admin important apt-utils_0.7.5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGr3+pLqiZQEml+FURAkU2AKCVXR29w86CbXaw3vS8sojnqLn7qgCgui0F
5qDBtA9gRHkyrZWwN7AXabc=
=llY8
-----END PGP SIGNATURE-----
--- End Message ---