]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/indexcopy.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 3 Sep 2010 18:22:15 +0000 (20:22 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 3 Sep 2010 18:22:15 +0000 (20:22 +0200)
  - only use trusted.gpg.d directory if it exists

1  2 
apt-pkg/indexcopy.cc
configure.in
debian/changelog

diff --combined apt-pkg/indexcopy.cc
index a2a1d59347ecbbda5bb9a5f5a4d85eaac63dfbf8,a2a1d59347ecbbda5bb9a5f5a4d85eaac63dfbf8..fb33ed46141c914e84be687e7b532e8e2b795c27
@@@ -673,9 -673,9 +673,13 @@@ bool SigVerify::RunGPGV(std::string con
        std::clog << "Keyring path: " << trustedPath << std::endl;
     }
  
--   std::vector<string> keyrings = GetListOfFilesInDir(trustedPath, "gpg", false);
--   if (FileExists(trustedFile) == true)
--      keyrings.push_back(trustedFile);
++   std::vector<string> keyrings;
++   if (DirectoryExists(trustedPath))
++   {
++       keyrings = GetListOfFilesInDir(trustedPath, "gpg", false, true);
++       if (FileExists(trustedFile) == true)
++          keyrings.push_back(trustedFile);
++   }
  
     std::vector<const char *> Args;
     Args.reserve(30);
diff --combined configure.in
index 8b212c1bc002f7271574072f95767b3c4093ca19,8b212c1bc002f7271574072f95767b3c4093ca19..151885d66e64b27e524cc66700c124be7a158684
@@@ -18,7 -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.7.26~exp6")
++AC_DEFINE_UNQUOTED(VERSION,"0.8.1")
  PACKAGE="apt"
  AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
  AC_SUBST(PACKAGE)
diff --combined debian/changelog
index 2a3a9d89cf626f5f786f4e22116be53864060211,e37a5504fd3649030eced151b11064f86c00e9cc..c810260412b5f910c4d92f17f041ebcaea108140
@@@ -1,3 -1,3 +1,10 @@@
++apt (0.8.2) unstable; urgency=low
++
++  * apt-pkg/indexcopy.cc:
++    - only use trusted.gpg.d directory if it exists
++
++ -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 03 Sep 2010 20:21:43 +0200
++
  apt (0.8.1) UNRELEASED; urgency=low
  
    [ Programs translations ]
      - let the pin origin actually work as advertised in the manpage
        which means "" are optional and pinning a local archive does
        work - even if it is a non-flat archive (Closes: #594435)
 +  * apt-pkg/deb/dpkgpm.cc:
 +    - create Dir::Log if needed to support /var/log as tmpfs or similar,
 +      inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239)
  
 - -- Michael Vogt <mvo@debian.org>  Mon, 30 Aug 2010 11:53:30 +0200
 + -- David Kalnischkies <kalnischkies@gmail.com>  Thu, 02 Sep 2010 12:41:32 +0200
  
  apt (0.8.0) unstable; urgency=low