1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
gnupg/agent
Werner Koch 1adf719b2d Remove use of gnulib (part 1)
* gl/: Remove entire tree.
* configure.ac: Remove gnulib tests and the gl/ Makefile.
(setenv): Add to AC_CHECK_FUNCS.
* autogen.rc (extra_aclocal_flags): Set to empty.
* Makefile.am (ACLOCAL_AMFLAGS): Remove -I gl/m4
(SUBDIRS): Remove gl/.
* agent/Makefile.am (common_libs): Remove ../gl/gnulib.a
* common/Makefile.am (t_common_ldadd): Ditto.
* dirmngr/Makefile.am (dirmngr_LDADD): Ditto.
(dirmngr_ldap_LDADD, dirmngr_client_LDADD): Ditto.
* g10/Makefile.am (needed_libs): Ditto.
* g13/Makefile.am (g13_LDADD): Ditto.
* kbx/Makefile.am (kbxutil_LDADD): Ditto.
($(PROGRAMS)): Ditto.
* scd/Makefile.am (scdaemon_LDADD): Ditto.
* sm/Makefile.am (common_libs): Ditto.
* tools/Makefile.am (common_libs, commonpth_libs): Ditto.

* agent/gpg-agent.c: Remove "mkdtemp.h"
* g10/exec.c: Ditto.
* scd/scdaemon.c: Ditto.
* tools/symcryptrun.c: Ditto.
* common/sysutils.c: Remove "setenv.h"

* common/t-timestuff.c: Use putenv if setenv is not available.
--

gnulib has always been a cause of trouble in GnuPG because we used
only a very few functions and the complex include machinery of gnulib
is quite complex and the cause for many build problems for example on
OS X.  This is not gnulib's fault but due to our limited use of gnulib
and that we only rarely update the gnulib code to avoid regressions.

In part two we will address the functions

 mkdtemp
 setenv
 unsetenv
 strpbrk

which may bot be implemented on all platforms.  They are not required
on a libc based system.

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-11-11 10:13:10 +01:00
..
agent.h agent: Support pinentries with integrated repeat passphrase feature. 2014-10-24 20:40:12 +02:00
cache.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
call-pinentry.c agent: Support pinentries with integrated repeat passphrase feature. 2014-10-24 20:40:12 +02:00
call-scd.c Silence several warnings when building under Windows. 2014-03-07 16:06:35 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
command.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
cvt-openpgp.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
cvt-openpgp.h Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
divert-scd.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
findkey.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
genkey.c agent: Support pinentries with integrated repeat passphrase feature. 2014-10-24 20:40:12 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
keyformat.txt gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
pkdecrypt.c agent: Return NO_SECKEY instead of ENONET for PKSIGN and others. 2014-08-18 15:42:54 +02:00
pksign.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
preset-passphrase.c w32: Include winsock2.h to silence warnings. 2014-03-07 14:18:43 +01:00
protect-tool.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
protect.c Change a couple of files to use abbreviated copyright notes. 2014-11-04 16:28:03 +01:00
t-protect.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Make --allow-mark-trusted the default. 2014-03-07 09:48:26 +01:00
w32main.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00