Procházet zdrojové kódy

* changelog updated

Michael Vogt před 21 roky
rodič
revize
284c8bbc76
3 změnil soubory, kde provedl 17 přidání a 1 odebrání
  1. 6 0
      apt-pkg/acquire-item.cc
  2. 1 1
      configure.in
  3. 10 0
      debian/changelog

+ 6 - 0
apt-pkg/acquire-item.cc

@@ -340,6 +340,12 @@ pkgAcqMetaSig::pkgAcqMetaSig(pkgAcquire *Owner,
       // File was already in place.  It needs to be re-verified
       // because Release might have changed, so Move it into partial
       Rename(Final,DestFile);
+      // unlink the file and do not try to use I-M-S and Last-Modified
+      // if the users proxy is broken
+      if(_config->FindB("Acquire::BrokenProxy", false) == true) {
+	 std::cerr << "forcing re-get of the signature file as requested" << std::endl;
+	 unlink(DestFile.c_str());
+      }
    }
 
    QueueURI(Desc);

+ 1 - 1
configure.in

@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.6.35")
+AC_DEFINE_UNQUOTED(VERSION,"0.6.35ubuntu1")
 PACKAGE="apt"
 AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
 AC_SUBST(PACKAGE)

+ 10 - 0
debian/changelog

@@ -1,3 +1,13 @@
+apt (0.6.35ubuntu1) hoary; urgency=low
+
+  * apt-pkg/acquire-item.cc:
+    added "Acquire::BrokenProxy" that will force apt to always 
+    re-get the Release.gpg file (for broken proxies)
+  * debian/apt.cron.daily:
+    MinAge is defaulting to 2 days now to prevent over-aggresive removal 
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 31 Mar 2005 20:37:11 +0200
+
 apt (0.6.35) hoary; urgency=low
 
   * Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):