From: Michael Vogt Date: Wed, 9 Feb 2005 12:02:18 +0000 (+0000) Subject: * merge with matts tree, added documentation for the gpgv stuff X-Git-Tag: 0.7.24ubuntu1~352^2~4 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/8a3642bdee1506ba77e3a6051aa498950a2e151f * merge with matts tree, added documentation for the gpgv stuff Patches applied: * apt@packages.debian.org/apt--main--0--patch-59 Open 0.6.32 * apt@packages.debian.org/apt--main--0--patch-60 Merge apt--mvo--0 * apt@packages.debian.org/apt--main--0--patch-61 Add missing whitespace in new Debug::Acquire::gpgv output --- 8a3642bdee1506ba77e3a6051aa498950a2e151f diff --cc doc/apt.conf.5.xml index b5d223372,b5d223372..69e212243 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@@ -251,6 -251,6 +251,13 @@@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg the cdrom block. It is important to have the trailing slash. Unmount commands can be specified using UMount. ++ ++ gpgv ++ GPGV URIs; the only option for GPGV URIs is the option to pass additional parameters to gpgv. ++ gpgv::Options Additional options passed to gpgv. ++ ++ ++ @@@ -373,7 -373,7 +380,9 @@@ Debug::NoLocking disables file locking so APT can do some operations as non-root and Debug::pkgDPkgPM will print out the command line for each dpkg invokation. Debug::IdentCdrom will -- disable the inclusion of statfs data in CDROM IDs. ++ disable the inclusion of statfs data in CDROM IDs. ++ Debug::Acquire::gpgv Debugging of the gpgv method. ++ Examples diff --cc doc/examples/configure-index index 7cb29f082,7cb29f082..c834c49d5 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@@ -72,6 -72,6 +72,11 @@@ AP NoAct "false"; }; ++ GPGV ++ { ++ TrustedKeyring "/etc/apt/trusted.gpg"; ++ }; ++ // Some general options Ignore-Hold "false"; Clean-Installed "true"; @@@ -171,6 -171,6 +176,7 @@@ Dir "/ Bin { methods "/usr/lib/apt/methods/"; gzip "/bin/gzip"; ++ gpg "/usr/bin/gpgv"; dpkg "/usr/bin/dpkg"; dpkg-source "/usr/bin/dpkg-source"; dpkg-buildpackage "/usr/bin/dpkg-buildpackage" @@@ -229,8 -229,8 +235,10 @@@ Debu NoLocking "false"; Acquire::Ftp "false"; // Show ftp command traffic Acquire::Http "false"; // Show http command traffic ++ Acquire::gpgv "false"; // Show the gpgv traffic aptcdrom "false"; // Show found package files IdentCdrom "false"; ++ } /* Whatever you do, do not use this configuration file!! Take out ONLY diff --cc methods/gpgv.cc index f7d16ef01,40c072b2b..24e945b2c --- a/methods/gpgv.cc +++ b/methods/gpgv.cc @@@ -46,7 -46,7 +46,7 @@@ const char *GPGVMethod::VerifyGetSigner int status; struct stat buff; string gpgvpath = _config->Find("Dir::Bin::gpg", "/usr/bin/gpgv"); -- string pubringpath = _config->Find("Apt::GPGV::TrustedKeyring", "/etc/apt/trusted.gpg"); ++ string pubringpath = _config->Find("APT::GPGV::TrustedKeyring", "/etc/apt/trusted.gpg"); if (_config->FindB("Debug::Acquire::gpgv", false)) { std::cerr << "gpgv path: " << gpgvpath << std::endl; diff --cc po/apt-all.pot index d40d44701,d40d44701..4fbd34e4e --- a/po/apt-all.pot +++ b/po/apt-all.pot @@@ -7,7 -7,7 +7,7 @@@ msgid " msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" --"POT-Creation-Date: 2005-02-08 16:58+0100\n" ++"POT-Creation-Date: 2005-02-09 12:51+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"