summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 21336e1af..3809ee74f 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 f0f0d342a..64da21779 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