On Mon, Dec 15, 2008 at 12:47 PM, Gerhard Brauer <gerbra@archlinux.de> wrote:
Am Sun, 14 Dec 2008 12:59:39 -0600 schrieb Chris Brannon <cmbrannon@cox.net>:
GnuPG looks for configuration files and keyrings in its home directory. For a user, that is typically ~/.gnupg. This patch causes pacman to use /etc/pacman.d/gnupg/ as the default GnuPG home. One may override the default using --gpgdir on the command-line or GPGDir in pacman's configuration file.
Seems to work here in test environment. I copied root's pubrig and trustdb to /etc/pacman.d/gnupg/ The package itself isn't checked (.sig file or signature), but that was not the reason of your patch.
What i mentioned in another posting (that libalpm don't find the keyring dir) is gone with your patch.
I like /etc/pacman.d/gnupg/ as the default dir. +1 from me 8)