gnupg/g13
Werner Koch 0e8f6e2aa9
gpg: Use gpgrt's new option parser to provide a global conf file.
* common/util.h: Remove argparse.h.
* common/argparse.c: Undef GPGRT_ENABLE_ARGPARSE_MACROS.
* configure.ac (GPGRT_ENABLE_ARGPARSE_MACROS): Define.
* agent/gpg-agent.c: Undef GPGRT_ENABLE_ARGPARSE_MACROS and include
argparse.h.  Do this also for all main modules which use our option
parser except for gpg.  Replace calls to strusage by calls to
gpgrt_strusage everywhere.

* g10/gpg.c (opts): Change type to gpgrt_opt_t.  Flag oOptions and
oNoOptions with ARGPARSE_conffile and ARGPARSE_no_conffile.
(main): Change type of pargs to gpgrt_argparse_t.  Rework the option
parser to make use of the new gpgrt_argparser.
--

This is not yet finished but a make check works.  gpg has the most
complex and oldest option handling and thus this is the first
migration target.  SE-Linux checks and version-ed config files are
missing and will be added later.

GnuPG-bug-id: 4788
Signed-off-by: Werner Koch <wk@gnupg.org>
2020-02-20 11:13:32 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
backend.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
backend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-dmcrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-dmcrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-encfs.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-encfs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-truecrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-truecrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-syshelp.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
call-syshelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
create.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
create.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
encfs-1.5_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
encfs-1.7.3_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
g13-common.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
g13-common.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00
g13-syshelp.c gpg: Use gpgrt's new option parser to provide a global conf file. 2020-02-20 11:13:32 +01:00
g13-syshelp.h Clean up word replication. 2017-02-21 13:11:46 -05:00
g13.c gpg: Use gpgrt's new option parser to provide a global conf file. 2020-02-20 11:13:32 +01:00
g13.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
g13tuple.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
g13tuple.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyblob.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
keyblob.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mount.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
mount.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mountinfo.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
mountinfo.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
runner.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
runner.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
server.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sh-blockdev.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
sh-cmd.c common: Use new function to print status strings. 2018-02-14 12:21:44 +01:00
sh-dmcrypt.c g13: Fix for Solaris. 2017-04-20 20:43:29 +09:00
suspend.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
suspend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-g13tuple.c Remove -I option to common. 2017-03-07 20:25:54 +09:00