* improved the support for "error" and "conffile" reporting from
dpkg, added the format to README.progress-reporting
* added README.progress-reporting to the apt-doc package
- * improved the network timeout handling, if a index file from a
- sources.list times out, don't try to get the other files from
- that entry
- * Support architecture-specific extra overrides
- (closes: #225947). Thanks to Anthony Towns for idea and
- the patch, thanks to Colin Watson for testing it.
- * Javier Fernandez-Sanguino Pen~a:
- - Added a first version of an apt-secure.8 manpage, and modified
- apt-key and apt.end accordingly. Also added the 'update'
- argument to apt-key which was previously not documented
- (Closes: #322120)
- * Andreas Pakulat:
- - added example apt-ftparchive.conf file to doc/examples
- (closes: #322483)
++ * Do md5sum checking for file and cdrom method (closes: #319142)
++ * Change pkgPolicy::Pin from private to protected to let subclasses
++ access it too (closes: #321799)
+ * methods/connect.cc:
+ - send failure reason for EAI_AGAIN (TmpResolveFailure) to acuire-item
+ * apt-pkg/acquire-item.cc:
+ - fail early if a FailReason is TmpResolveFailure (avoids hangs during
+ the install when no network is available)
-
- -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 23 Aug 2005 00:15:00 +0200
+
+ --
+
+apt (0.6.40.1ubuntu1) breezy; urgency=low
+
+ * Synchronize with Debian
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 5 Aug 2005 14:20:56 +0200
apt (0.6.40.1) unstable; urgency=low
#include <apt-pkg/error.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/fileutl.h>
++#include <apt-pkg/hashes.h>
#include <sys/stat.h>
#include <unistd.h>
CurrentID = NewID;
Res.LastModified = Buf.st_mtime;
Res.Size = Buf.st_size;
++
++ Hashes Hash;
++ FileFd Fd(Res.Filename, FileFd::ReadOnly);
++ Hash.AddFD(Fd.Fd(), Fd.Size());
++ Res.TakeHashes(Hash);
++
URIDone(Res);
return true;
}
// Include Files /*{{{*/
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
++#include <apt-pkg/hashes.h>
++#include <apt-pkg/fileutl.h>
#include <sys/stat.h>
#include <unistd.h>
if (Res.Filename.empty() == true)
return _error->Error(_("File not found"));
--
++
++ Hashes Hash;
++ FileFd Fd(Res.Filename, FileFd::ReadOnly);
++ Hash.AddFD(Fd.Fd(), Fd.Size());
++ Res.TakeHashes(Hash);
URIDone(Res);
return true;
}