diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-22 18:13:20 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-22 18:13:20 +0100 |
commit | 255bfa26bb3f4ffcf372e4b2b9c95113083c7cd6 (patch) | |
tree | 0197e73d2acb695ebcf4ae8b85e0dda90a00c943 | |
parent | cd5b597cc855a535b35e88324191931c54c6fba0 (diff) |
* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files
-rw-r--r-- | apt-pkg/deb/debsrcrecords.cc | 3 | ||||
-rw-r--r-- | debian/changelog | 4 |
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 ebea1dac8..d42246f7b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,8 +18,10 @@ apt (0.8.10.3+squeeze1) UNRELEASED; urgency=low to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file + * apt-pkg/deb/debsrcrecords.cc: + - support xz-compressed source v3 debian.tar files - -- David Kalnischkies <kalnischkies@gmail.com> Tue, 22 Feb 2011 14:51:32 +0100 + -- David Kalnischkies <kalnischkies@gmail.com> Tue, 22 Feb 2011 18:12:21 +0100 apt (0.8.10.3) unstable; urgency=low |