1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/scd
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
..
apdu.c scd: Add a new status word code. 2014-07-25 10:58:57 +02:00
apdu.h scd: Add a new status word code. 2014-07-25 10:58:57 +02:00
app-common.h scd: Support for SmartCard-HSM 2014-07-25 09:43:29 +02:00
app-dinsig.c scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00
app-geldkarte.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
app-help.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
app-nks.c scd: Suppress gcc warning about possible uninitialized use. 2013-08-30 10:28:26 +02:00
app-openpgp.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
app-p15.c scd: Fix int/short mismatch in format string of app-p15.c 2014-09-18 15:39:50 +02:00
app-sc-hsm.c scd: Minor changes to app-sc-hsm. 2014-08-14 14:09:37 +02:00
app.c scd: Support for SmartCard-HSM 2014-07-25 09:43:29 +02:00
atr.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
atr.h scd: Add option --dump-atr to command APDU. 2011-12-15 15:21:02 +01:00
card-common.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
card-dinsig.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
card-p15.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
card.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
ccid-driver.c scd: Add pinpad support for REINER SCT cyberJack go 2014-06-27 10:07:28 +02:00
ccid-driver.h scd: Add pinpad support for REINER SCT cyberJack go 2014-06-27 10:07:28 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
iso7816.c scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00
iso7816.h scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
pcsc-wrapper.c scd: Do not use the pcsc-wrapper. 2014-07-22 16:20:00 +02:00
sc-copykeys.c SCD: API cleanup for keypad handling. 2013-02-05 13:37:06 +09:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
scdaemon.h scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:06:39 +09:00