gnupg/common
Justus Winter ca1e9749bf common: Support locating components in the build tree.
* common/homedir.c (gnupg_build_directory): New variable.
(gnupg_module_name_called): Likewise.
(gnupg_set_builddir): New function.
(gnupg_set_builddir_from_env): Likewise.
(gnupg_module_name): Support locating components in the build tree.
* common/util.h (gnupg_set_builddir): New prototype.
* tests/openpgp/defs.scm (tools): Drop 'gpg and 'gpg-agent.
(tool): Rename to 'tool-hardcoded.
(gpg-conf): New function, with accessors for the results.
(gpg-components): New variable.
(tool): New function.
* tools/gpgconf.c (enum cmd_and_opt_values): New key.
(opts): New option '--build-prefix'.
(main): Handle new option.
--

This change makes sure that the components from the build tree are
used, and not some older installed version in PATH.  It also lets us
make GPGME use components from the build tree, making it possible to
execute GPGME's test suite with them.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-12-14 16:41:18 +01:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
ChangeLog-2011.include include: Remove this directory. 2014-01-29 17:45:05 +01:00
ChangeLog.jnlib common: Remove JNLIB from boiler plate (jnlib merge). 2015-04-24 16:42:28 +02:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
README common: Update README. 2016-03-02 14:27:30 +01:00
agent-opt.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
argparse.c common: Skip the Byte Order Mark in conf files. 2016-12-08 20:25:48 +01:00
argparse.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
asshelp.c common,w32: Simplify locking. 2016-11-08 16:01:53 +01:00
asshelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
asshelp2.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
audit.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
audit.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
b64dec.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
b64enc.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-gpg.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-gpg.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccparray.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccparray.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
common-defs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
convert.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dotlock.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dotlock.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dynload.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exaudit.awk Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
exechelp-posix.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exechelp-w32.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exechelp-w32ce.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exechelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exectool.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exectool.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exstatus.awk Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
fwddecl.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gc-opt-flags.h gpg: Add option --dirmngr-program. 2014-03-12 18:35:36 +01:00
get-passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
get-passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gettime.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gettime.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gnupg.ico w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgrlhelp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
helpfile.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
homedir.c common: Support locating components in the build tree. 2016-12-14 16:41:18 +01:00
host2net.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
i18n.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
i18n.h Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
init.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
init.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
iobuf.c gpg,sm: Merge the two versions of check_special_filename. 2016-11-29 16:54:36 +01:00
iobuf.h gpg,sm: Merge the two versions of check_special_filename. 2016-11-29 16:54:36 +01:00
isascii.c common: Change license of isascii.c to all-premissive, 2015-12-14 16:21:19 +01:00
keyserver.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
localename.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
logging.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
logging.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mapstrings.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mbox-util.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mbox-util.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
membuf.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
membuf.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
miscellaneous.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mischelp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mischelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mkdir_p.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mkdir_p.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
mkerrtok Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
mkstrtable.awk Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
name-value.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
name-value.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
openpgp-oid.c gpg: New option --default-new-key-algo. 2016-12-02 19:47:40 +01:00
openpgpdefs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
percent.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
recsel.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
recsel.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server-help.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server-help.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
session-env.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
session-env.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sexp-parse.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sexputil.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
shareddefs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
signal.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
simple-pwquery.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
simple-pwquery.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ssh-utils.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ssh-utils.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
status.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
status.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
stringhelp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
stringhelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
strlist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
strlist.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sysutils.c gpg,sm: Merge the two versions of check_special_filename. 2016-11-29 16:54:36 +01:00
sysutils.h gpg,sm: Merge the two versions of check_special_filename. 2016-11-29 16:54:36 +01:00
t-b64.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-ccparray.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-convert.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-dotlock.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-exechelp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-exectool.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-gettime.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-helpfile.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-iobuf.c common: Fix memory leaks. 2016-06-28 18:21:50 +02:00
t-mapstrings.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-mbox-util.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-name-value.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-openpgp-oid.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-percent.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-recsel.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-session-env.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-sexputil.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-ssh-utils.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-stringhelp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-strlist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-support.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-support.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-sysutils.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-timestuff.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-w32-reg.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-zb32.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tlv.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tlv.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ttyio.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ttyio.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
types.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
userids.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
userids.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
utf8conv.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
utf8conv.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
util.h common: Support locating components in the build tree. 2016-12-14 16:41:18 +01:00
utilproto.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32-reg.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32help.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32info-rc.h.in Update copyright years. 2015-02-03 09:12:45 +01:00
xasprintf.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
xreadline.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
yesno.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
zb32.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
zb32.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00

README

Common functionality used by all modules of GnuPG.