mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Allow installation with a gpgconf.ctl changed homedir.
* common/homedir.c (gpgconf_ctl): Add field "gnupg". (parse_gpgconf_ctl): Support keyword "gnupg". (my_gnupg_dirname): New. (my_fixed_default_homedir): New. (gnupg_registry_dir): New. (standard_homedir): Use my_gnupg_dirname and my_fixed_default_homedir. (default_homedir): Use gnupg_registry_dir and my_fixed_default_homedir. (_gnupg_socketdir_internal): Use my_gnupg_dirname. Increase size of prefixbuffer. (gnupg_sysconfdir): Use my_gnupg_dirname. * tools/gpgconf.c (list_dirs): Use gnupg_registry_dir. (show_other_registry_entries): Ditto. -- This will be useful to install versions of GnuPG VS-Desktop and GnuPG Desktop in addition to a standard GnuPG version. Only basic tests on Unix done; Windows testing is still outstanding. GnuPG-bug-id: 7040
This commit is contained in:
parent
fb3fe38d28
commit
a0bfbdaaa2
4 changed files with 145 additions and 26 deletions
|
@ -1159,6 +1159,13 @@ More fields may be added in future to the output.
|
|||
exist and are writable: @file{ROOT/home} for the GnuPG home and
|
||||
@file{ROOT@value{LOCALCACHEDIR}} for internal cache files.
|
||||
|
||||
On both platforms the keyword @code{gnupg} can be used to change the
|
||||
standard home directory. For example a value of "gnupg-vsd" will
|
||||
change the default home directory on unix from @file{~/.gnupg} to
|
||||
@file{~/.gnupg-vsd}. The socket directory is changed accordingly
|
||||
unless the @code{socketdir} keyword has been used. On Windows the
|
||||
Registry keys are modified as well.
|
||||
|
||||
|
||||
@item /etc/gnupg/gpgconf.conf
|
||||
@cindex gpgconf.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue