summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:17:44 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:17:44 +0100
commit5df11676215a3e9d6fbb335d99dd37ecba8e4cdd (patch)
tree997ec06e547a7dba621adec3c233ff88b3fbacba
parentb2430e6d1713e26d461f08873ac872918eb28283 (diff)
parent255bfa26bb3f4ffcf372e4b2b9c95113083c7cd6 (diff)
downloadapt-5df11676215a3e9d6fbb335d99dd37ecba8e4cdd.tar.gz
* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files
-rw-r--r--apt-pkg/deb/debsrcrecords.cc3
-rw-r--r--debian/changelog4
2 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc
index 21336e1a..3809ee74 100644
--- a/apt-pkg/deb/debsrcrecords.cc
+++ b/apt-pkg/deb/debsrcrecords.cc
@@ -144,7 +144,8 @@ bool debSrcRecordParser::Files(vector<pkgSrcRecords::File> &List)
}
F.Type = string(F.Path,Tmp+1,Pos-Tmp);
- if (F.Type == "gz" || F.Type == "bz2" || F.Type == "lzma" || F.Type == "tar")
+ if (F.Type == "gz" || F.Type == "bz2" || F.Type == "lzma" ||
+ F.Type == "xz" || F.Type == "tar")
{
Pos = Tmp-1;
continue;
diff --git a/debian/changelog b/debian/changelog
index f0f0d342..64da2177 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,10 @@ apt (0.8.11.6) UNRELEASED; urgency=low
- include xz-compressed Packages and Sources files in Release file
* apt-pkg/aptconfiguration.cc:
- support download of xz-compressed indexes files
+ * apt-pkg/deb/debsrcrecords.cc:
+ - support xz-compressed source v3 debian.tar files
- -- David Kalnischkies <kalnischkies@gmail.com> Tue, 22 Feb 2011 18:10:30 +0100
+ -- David Kalnischkies <kalnischkies@gmail.com> Tue, 22 Feb 2011 18:14:17 +0100
apt (0.8.11.5) unstable; urgency=low