From: Michael Vogt Date: Fri, 9 Jun 2006 13:48:40 +0000 (+0200) Subject: * merged from mainline X-Git-Tag: 0.7.21~318 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/ab1bdcf7fb907555ee2c42430eaed51feba6910c?hp=-c * merged from mainline --- ab1bdcf7fb907555ee2c42430eaed51feba6910c diff --combined apt-pkg/tagfile.cc index fc020436c,9763d96a3..426174eb1 --- a/apt-pkg/tagfile.cc +++ b/apt-pkg/tagfile.cc @@@ -98,7 -98,7 +98,7 @@@ bool pkgTagFile::Jump(pkgTagSection &Ta iOffset = Offset; Start = Buffer + iOffset; - if (Tag.Scan(Start,End - Start) == false) + if (Start != End && Tag.Scan(Start,End - Start) == false) return _error->Error(_("Unable to parse package file %s (2)"),Fd.Name().c_str()); return true; @@@ -342,8 -342,7 +342,8 @@@ static const char *iTFRewritePackageOrd "Filename", "Size", "MD5Sum", - "SHA1Sum", + "SHA1", + "SHA256", "MSDOS-Filename", // Obsolete "Description", 0}; diff --combined debian/changelog index c4bcf5c1c,66b5df264..3d60c1b27 --- a/debian/changelog +++ b/debian/changelog @@@ -1,31 -1,29 +1,39 @@@ + apt (0.6.44.1-0.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't give an error when parsing empty Packages/Sources files. + (Closes: #366931, #367086, #370160) + + -- Steinar H. Gunderson Fri, 9 Jun 2006 00:52:21 +0200 + apt (0.6.44.1) unstable; urgency=low + * apt-pkg/acquire-item.cc: + - fix reversed logic of the "Acquire::PDiffs" option * merged from http://www.perrier.eu.org/debian/packages/d-i/level4/apt-main: - po/LINGUAS: added "bg" Closes: #360262 - po/gl.po: Galician translation update. Closes: #366849 - po/hu.po: Hungarian translation update. Closes: #365448 - po/cs.po: Czech translation updated. Closes: #367244 + * apt-pkg/contrib/sha256.cc: + - applied patch to fix unaligned access problem. Closes: #367417 + (thanks to David Mosberger) - -- + -- Michael Vogt Tue, 16 May 2006 21:51:16 +0200 apt (0.6.44) unstable; urgency=low * apt-pkg/acquire.cc: don't show ETA if it is 0 or absurdely large + * apt-pkg/contrib/sha256.{cc,h},hashes.{cc,h}: support for sha256 + (thanks to Anthony Towns) + * ftparchive/cachedb.{cc,h},writer.{cc,h}: optimizations + (thanks to Anthony Towns) + * apt pdiff support from experimental merged + * apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to Matt Zimmerman) * apt-pkg/deb/dpkgpm.cc: - wording fixes (thanks to Matt Zimmerman) - - fix error in dpkg interaction (closes: #364513, - thanks to Martin Dickopp) + - fix error in dpkg interaction (closes: #364513, thanks to Martin Dickopp) * apt-pkg/tagfile.{cc,h}: - use MMap to read the entries (thanks to Zephaniah E. Hull for the patch) Closes: #350025 diff --combined doc/examples/configure-index index 7346ba9bb,b87e85030..628587427 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@@ -104,8 -104,6 +104,8 @@@ Acquir Queue-Mode "host"; // host|access Retries "0"; Source-Symlinks "true"; + + PDiffs "true"; // try to get the IndexFile diffs // HTTP method configuration http @@@ -246,6 -244,7 +246,7 @@@ DPk Debug { pkgProblemResolver "false"; + pkgDepCache::AutoInstall "false"; // what packages apt install to satify dependencies pkgAcquire "false"; pkgAcquire::Worker "false"; pkgDPkgPM "false";