1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00
Commit Graph

274 Commits

Author SHA1 Message Date
David Shaw
7fcba082c9 * configure.ac: Add --disable-endian-check for building fat binaries
on OSX.

* README: Add note on how to build a fat binary on OSX.
2006-03-20 00:57:33 +00:00
David Shaw
f4547924cb * configure.ac: Allow the DNS stuff to work on OSX by trying the
Apple-specific BIND_8_COMPAT.
2006-03-18 05:36:32 +00:00
Werner Koch
a917165bef keep on walking towards rc3 2006-03-09 19:24:59 +00:00
Werner Koch
cf10c31a3f Preparing for an RC23 2006-03-09 12:45:02 +00:00
Werner Koch
a200f76dcf Fixed problem with PGP2 style signatures and mutilple plaintext data 2006-03-06 12:28:46 +00:00
David Shaw
2385935afa * configure.ac: Fix accidental enabling of SHA-384/512. Noted by Nelson
H. F. Beebe.
2006-03-01 17:05:38 +00:00
David Shaw
5b209e3e4a * configure.ac: Try linking the UINT64_C test program (rather than
just compiling it) as UINT64_C looks like a (missing) function,
causing a false positive.  Noted by Claus Assmann.
2006-02-19 02:08:43 +00:00
Werner Koch
b121d029b5 about to release 1.4.3rc1 2006-02-14 16:28:34 +00:00
Werner Koch
2410941461 Lock random seed file 2006-02-09 12:54:41 +00:00
David Shaw
d232175d8d * configure.ac: Add define for EXEEXT so we can find keyserver helpers
on systems that use extensions.
2006-01-22 21:38:02 +00:00
David Shaw
7f13d486b0 New code to do DNS CERT queries. 2005-12-23 18:15:24 +00:00
David Shaw
f3c99c604c * configure.ac: Split PKA checking off from DNS SRV checking.
Currently PKA is only enabled if HTTP or HKP is enabled which is not
necessary.
2005-12-23 04:58:25 +00:00
David Shaw
bc1c4af8c3 Some cleanup so we don't build files that are completely ifdeffed out.
This causes a warning on Sun's cc.  Do the internal regex code as well for
consistency.
2005-12-06 20:54:05 +00:00
David Shaw
c0d7fa368e * Makefile.am: Some cleanup so we don't build files that are completely
ifdeffed out.  This causes a warning on Sun's cc.  Do sha512.c as well for
consistency.
2005-12-06 17:13:44 +00:00
David Shaw
2a662f7870 Fix various build warnings reported by Joe Vender on MinGW. 2005-11-03 04:46:20 +00:00
David Shaw
21eea5be5e * NEWS: Clarify the cURL keyserver changes, and add a note about gpg-zip.
* configure.ac: Remove the backsig configure options since this is all
done at runtime now.
2005-10-14 15:38:05 +00:00
David Shaw
47433adaa5 * getkey.c (merge_selfsigs_subkey), sig-check.c (signature_check2),
keygen.c (make_backsig): Did some backsig interop testing with the PGP
folks.  All is well, so I'm turning generation of backsigs on for new
keys.  Checking for backsigs on verification is still off.
2005-10-11 22:13:49 +00:00
Werner Koch
3470697e72 Fixes for the g10.c -> gpg.c renamed 2005-10-05 18:22:36 +00:00
Marcus Brinkmann
98dc48464f 2005-10-02 Marcus Brinkmann <marcus@g10code.de>
* configure.ac [!$try_gettext]: Invoke AM_PO_SUBDIRS.

scripts/
2005-10-02  Marcus Brinkmann  <marcus@g10code.de>

	* autogen.sh (DIE): Remove ugly hack for po dir suppression.
2005-10-03 12:47:43 +00:00
Werner Koch
d0b9ff171d * mainproc.c (proc_symkey_enc): Take care of a canceled passphrase
prompt.
2005-09-20 08:19:50 +00:00
David Shaw
cb00951803 * fileutil.c (untilde): New. Expand ~/foo and ~username/foo filenames
into full paths using $HOME if possible, or getpwuid/getpwnam if
necessary. (make_filename): Use it here.
2005-08-31 15:36:50 +00:00
David Shaw
2e38eab93c * configure.ac: Remove hardcoded -I and -L for /usr/local on FreeBSD. 2005-08-09 13:40:04 +00:00
David Shaw
c058bd6632 Add gpg-zip, a la PGP Zip. 2005-08-04 18:50:54 +00:00
Werner Koch
986a137c58 Implemented PKA trust model 2005-07-28 18:59:36 +00:00
David Shaw
9df2dbdfc2 * NEWS, configure.ac: Switch over to using curl or fake-curl by
default.  Add --enable-old-keyserver-helpers to not use curl.
2005-07-27 01:18:52 +00:00
Werner Koch
5fe762d91d post release version number updates 2005-07-26 19:52:22 +00:00
Werner Koch
862652ebe1 Preparing a release 2005-07-26 15:41:04 +00:00
David Shaw
431de51f10 * configure.ac: Add a define for FAKE_CURL. 2005-07-20 20:55:34 +00:00
Werner Koch
730247b19e * configure.ac [W32]: Always set DISABLE_KEYSERVER_PATH.
* export.c (parse_export_options): New option
export-reset-subkey-passwd.
(do_export_stream): Implement it.

* misc.c (get_libexecdir): New.
* keyserver.c (keyserver_spawn): Use it
2005-07-19 08:50:28 +00:00
Werner Koch
a63f5e50f1 Post release version number update 2005-06-21 14:50:10 +00:00
Werner Koch
167d957f5d Preparing a release candidate 2005-06-21 12:54:56 +00:00
David Shaw
1067c01c93 * configure.ac: Add check for no-pointer-sign warning keyword, and
disable.  This is gcc4 specific.
2005-06-13 20:45:05 +00:00
Werner Koch
8639e9768e . 2005-05-31 12:26:02 +00:00
Werner Koch
7d4043ca57 Updated FSF street address and preparations for a release candidate. 2005-05-31 08:39:18 +00:00
David Shaw
352db25580 * configure.ac: Remove --disable-old-hkp - use new HKP handler for
--with-libcurl or --enable-fake-curl.
2005-04-17 00:06:04 +00:00
David Shaw
799f97ceee * configure.ac: Add --disable-old-hkp option that can be used along
with --with-libcurl to build the curl version of HKP.
2005-04-16 18:20:01 +00:00
David Shaw
40a9c998b3 Check for memrchr() 2005-04-12 16:11:03 +00:00
Werner Koch
80f4424658 Changes to make use of code taken from libassuan. This replaces the
old ad-hoc connection code to gpg-agent.  We do need this for the
forthcoming diversion of card code to an already running gpg-agent
with card-support.
2005-04-05 17:09:13 +00:00
David Shaw
166876a9fd * configure.ac: Move the LDAP detecting code to m4/ldap.m4. 2005-03-17 04:09:37 +00:00
Werner Koch
a659989792 Post release preparations 2005-03-15 16:28:37 +00:00
Werner Koch
49ffa9ae31 Preparing a release 2005-03-15 15:51:52 +00:00
Werner Koch
f0e9a1ff4f * configure.ac: New option --enable-noexecstack.
* Makefile.am (ASFLAGS): Renamed to AM_CCASFLAGS and added the
variable for non exectubale stack options.  Adapted users.
2005-03-11 11:02:12 +00:00
Werner Koch
00ef56868d * card-util.c (fetch_url): Fetch the key from the default
keyserver if no URL is available.

* w32installer.nsi: Added page to select the language.
* mk-w32-dist: Create the opt.ini using the available languages.
2005-02-16 20:08:14 +00:00
David Shaw
8ba44ec180 * configure.ac: Add --enable-fake-curl option to help test no-curl HTTP.
* NEWS: Note Mister/Zuccherato CFB countermeasures.
2005-02-11 17:46:15 +00:00
Werner Koch
e011ee08e2 (GNUPG_CHECK_GNUMAKE): Removed. Not needed for
decent automakes.
2005-02-04 10:18:46 +00:00
Werner Koch
907353ed60 About to do a release candidate 2005-02-03 10:21:26 +00:00
David Shaw
1f057ff498 * configure.ac: Define FTPS flag if we're using curl, and FTPS is
available.

* README: Fix some typos (noted by Norihiko Murase), update to 1.4.1,
and tweak some descriptions.

* NEWS: Note FTPS.
2005-01-23 01:19:32 +00:00
Werner Koch
5bda87bd6e * g10.c (i18n_init) [W32]: Pass registry key to gettext
initialization.
* gpgv.c (i18n_init) [W32]: Ditto.

* simple-gettext.c (set_gettext_file): Use MO files depending on
the installation directory.  Add new arg REGKEY.
2005-01-20 11:42:03 +00:00
David Shaw
b2d67e8039 * NEWS: Note --rfc2440-text import/export-unusable-sigs and
gpgkeys_curl.

* configure.ac: gpgkeys_mailto is disabled by default.  Define HTTPS
flag if we're using curl, and HTTPS is available.
2005-01-19 03:56:25 +00:00
Werner Koch
cc19a07082 Same for
--without-included-regex.
2005-01-17 10:19:57 +00:00
Werner Koch
4440af47f7 Make --without-included-zlib work as
expected. Reported by Norihiko Murase.
2005-01-17 10:13:59 +00:00
David Shaw
61197deca8 * configure.ac: Use new GNUPG_CHECK_LIBUSB macro. 2005-01-03 15:18:24 +00:00
David Shaw
2193ab9fc7 * configure.ac: Better implementation for the SRV check. We don't need to
actually check all the header files individually since the SRV test
compile uses them together.
2004-12-30 03:31:19 +00:00
David Shaw
f5b59b119f * configure.ac: Use new LIBCURL_CHECK_CONFIG macro for all libcurl stuff.
This simplifies, and we don't need the automake conditional stuff any
longer.
2004-12-24 19:43:16 +00:00
David Shaw
034b095f31 * configure.ac: --enable-ftp is on by default, --with-libcurl is off by
default.  If we have neither of --enable-ftp or --enable-http, don't even
check for curl.
2004-12-22 17:07:39 +00:00
David Shaw
06c5da8d61 As always, CVS leaves out the local directory? 2004-12-21 23:40:51 +00:00
David Shaw
f3baa06020 Oddly commit missed this one.
* configure.ac: Call the new GNUPG_CHECK_READLINE macro for readline
stuff.
2004-12-18 22:39:31 +00:00
David Shaw
39b0f6e4ea * configure.ac: Add a --with-ldap=DIR so people can add to the search
path.
2004-12-17 23:07:59 +00:00
David Shaw
4ec9365c6d * configure.ac: Check for arpa/nameser.h. 2004-12-16 18:45:48 +00:00
Werner Koch
97587c6d7a post release updates 2004-12-16 10:53:25 +00:00
Werner Koch
d171615f5b About to release 1.4.0 2004-12-16 10:04:36 +00:00
Werner Koch
3a6e319232 post release updates 2004-12-14 08:33:01 +00:00
Werner Koch
d0b9eff4b6 Prepared for last 1.4 release candidate 2004-12-14 07:49:27 +00:00
David Shaw
42dfecadf7 * configure.ac: Autodetect wldap32 on Windoze. 2004-11-06 13:18:13 +00:00
David Shaw
4509cb7b1c * README, configure.ac: Add --enable-backsigs to enable the experimental
backsigs code.
2004-11-05 03:45:06 +00:00
Werner Koch
0ebe469a91 post release preparations 2004-10-28 09:50:24 +00:00
Werner Koch
66e627bdae About to release 1.3.92 2004-10-28 09:06:50 +00:00
Werner Koch
d7fd47185e * configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV.
(AC_CANONICAL_TARGET): Replaced by AC_CANONICAL_HOST. Changed all
reference to TARGET to HOST.  Made sure that i586-mingw32msvc gets
detected as mingw32.
(UNIT64_C): Don't include inttype.h uncoditional but use a test to
ensure that it gets into conftest.h.
(AH_TOP): New. Prevent double inclusion of config.h.

* config.links: Use HOST instead of TARGET.
2004-10-26 19:33:41 +00:00
Werner Koch
f690c16457 * configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV.
2004-10-26 12:44:21 +00:00
Werner Koch
0ebf79c824 * configure.ac: Remove the check for asprintf
* app-common.h (app_openpgp_storekey: Add prototype.

* app-openpgp.c (do_sign): Replace asprintf by direct allocation.
This avoids problems with missing vasprintf implementations.

* card-util.c (generate_card_keys): Add a #warning for gnupg 1.9
and use the same string there.

* util.h [!HAVE_VASPRINTF]: Removed prototype.

* vasprintf.c: Removed. It was used only at one place and I don't
want to get into build problems in 1.4.
2004-10-21 16:56:22 +00:00
Werner Koch
56f06f1e22 post release preparations 2004-10-15 13:46:19 +00:00
Werner Koch
c3a51cd17d * README: Mentioned --enable-selinux-support.
* status.h (STATUS_NEED_PASSPHRASE_PIN): New.
* status.c (get_status_string): Added.
* passphrase.c (ask_passphrase): Moved status printing to ..
* cardglue.c (pin_cb): .. here and issue new status message.

* keyedit.c (sign_uids): Don't include the leading LF in the
translatable string but print them separately.

* apdu.c (apdu_open_remote_reader) [_WIN32]: We don't have ENOSYS.
2004-10-15 13:16:58 +00:00
Werner Koch
5db236f4e7 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
(AUTOMAKE_OPTIONS): New.

* configure.ac: Check whether vasprintf needs a replacement.

* app-openpgp.c (parse_login_data): New.
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.

* Makefile.am: Add ksutil.h.
2004-10-15 09:55:39 +00:00
Werner Koch
7b01988db3 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
(AUTOMAKE_OPTIONS): New.

* configure.ac: Check whether vasprintf needs a replacement.
2004-10-15 09:37:49 +00:00
Werner Koch
161286635c * configure.ac: Actually name the option --disable-finger and not
http.  Add option --enable-selinux-support.

* logger.c (g10_log_error_f, g10_log_fatal_f, g10_log_info_f)
(g10_log_debug_f, print_prefix_f): Removed.

* iobuf.c (iobuf_is_pipe_filename): New.
(iobuf_get_fd): New.
2004-10-13 18:08:39 +00:00
Werner Koch
620ac79ebf * configure.ac: Actually name the option --disable-finger and not
http.

* openfile.c (overwrite_filep, make_outfile_name, open_outfile)
(open_sigfile): Use iobuf_is_pipe_filename to check for pipes so
that special filesnames are taken into account. This is bug 327.
* tdbdump.c (import_ownertrust): Ditto.
* sign.c (write_plaintext_packet): Ditto.
* progress.c (handle_progress): Ditto.
* plaintext.c (handle_plaintext): Ditto.
* encode.c (encode_simple, encode_crypt): Ditto.

* iobuf.c (iobuf_is_pipe_filename): New.
* fileutil.c (is_file_compressed): Use it here.
2004-10-13 09:59:46 +00:00
Werner Koch
5bdb171026 * configure.ac: New option --disable-finger.
* keyserver.c (keyserver_spawn): Print an empty string in log_info
if the host is not set (e.g. finger).

* gpgkeys_finger.c: New.
2004-10-11 08:44:35 +00:00
Werner Koch
61a2afe554 post release preparations 2004-10-01 13:59:09 +00:00
Werner Koch
1d315be6fa * mk-w32-dist: Updated from stable branch.
* mk-gpg-texi: Changed to use the newer docbook2x-texi utility.

* config.guess, config.sub, mkinstalldirs, missing
* depcomp, install-sh: Upgraded.
2004-10-01 10:11:42 +00:00
Werner Koch
f08c4222b7 * configure.ac: Don't check for usb_create_match or
use_get_string_simple anymore.

* g10.c (list_config): New config option ccid-reader-id.
(gpgconf_list): Add "reader-port".

* apdu.c (open_ccid_reader): New arg PORTSTR.  Pass it to
ccid_open_reader.
(apdu_open_reader): Pass portstr to open_ccid_reader.

* ccid-driver.c (ccid_get_reader_list): New.
(ccid_open_reader): Changed API to take a string for the reader.
Removed al the cruft for the libusb development vesion which seems
not to be maintained anymore and there are no packages anyway.
The stable library works just fine.
(struct ccid_reader_id_s): Deleted and replaced everywhere by a
simple string.
(usb_get_string_simple): Removed.
(bulk_in): Do valgrind hack here and not just everywhere.
2004-09-17 13:57:29 +00:00
David Shaw
e991fb59d1 * configure.ac: Give warning when using capabilities. Check for
usb_get_string_simple for old libusb reasons.
2004-09-15 18:33:13 +00:00
David Shaw
b700d3cd3e * NEWS: Note HTTP basic auth.
* configure.ac: Check for usb_get_busses since very old stable libusb
doesn't have it.
2004-09-11 02:34:01 +00:00
Werner Koch
06853bbc4d * README: Doc --disable-card-support and --without-readline.
* configure.ac: Check for readline.  Make enable-card-support the
default.  New option --without-readline.  Allow the use of either
the development or the stable libusb.

* cardglue.h: Add members for CA fingerprints.
* cardglue.c (agent_release_card_info): Invalid them.
(learn_status_cb): Store them.

* app-common.h, app-openpgp.c, iso7816.c, iso7816.h
* apdu.c, apdu.h, ccid-driver.c, ccid-driver.h
* card-util.c: Updated from current gnupg-1.9.

* ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New.
* ccid-driver.c (ccid_open_reader): Support the stable 0.1 version
of libusb.
(ccid_get_atr): Handle short messages.
* apdu.c (my_rapdu_get_status): Implemented.
* apdu.c: Include <signal.h>.
* apdu.c (reader_table_s):  Add function pointers for the backends.
(apdu_close_reader, apdu_get_status, apdu_activate)
(send_apdu): Make use of them.
(new_reader_slot): Intialize them to NULL.
(dump_ccid_reader_status, ct_dump_reader_status): New.
(dump_pcsc_reader_status): New.
(open_ct_reader, open_pcsc_reader, open_ccid_reader)
(open_osc_reader, open_rapdu_reader): Intialize function pointers.
(ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu)
(error_string): Removed.  Replaced by apdu_strerror.
(get_ccid_error_string): Removed.
(ct_activate_card): Remove the unused loop.
(reset_ct_reader): Implemented.
(ct_send_apdu): Activate the card if not yet done.
(pcsc_send_apdu): Ditto.
* ccid-driver.h: Add error codes.
* ccid-driver.c: Implement more or less proper error codes all
over the place.
* apdu.c (apdu_send_direct): New.
(get_ccid_error_string): Add some error code mappings.
(send_apdu): Pass error codes along for drivers already supporting
them.
(host_sw_string): New.
(get_ccid_error_string): Use above.
(send_apdu_ccid): Reset the reader if it has not yet been done.
(open_ccid_reader): Don't care if the ATR can't be read.
(apdu_activate_card): New.
(apdu_strerror): New.
(dump_reader_status): Only enable it with opt.VERBOSE.
* iso7816.c (map_sw): Add mappings for the new error codes.
* apdu.c (open_ct_reader, open_pcsc_reader, open_ccid_reader)
(reset_ccid_reader, open_osc_reader): Call dump_reader_status only
in verbose mode.
* app-openpgp.c (do_getattr): Fix for sending CA-FPR.
* app-openpgp.c (app_openpgp_readkey): Fixed check for valid
exponent.
* app-openpgp.c (do_setattr): Sync FORCE_CHV1.
* card-util.c (change_login): Kludge to allow reading data from a
file.
(card_edit): Pass ARG_STRING to change_login.
(card_status): Print CA fingerprints.
(change_cafpr): New.
(card_edit): New command CAFPR.

* errors.h (G10ERR_NO_CARD, G10ERR_CANCELED): New error codes.

* errors.c (g10_errstr): New error codes G10ERR_NO_CARD,
G10ERR_CANCELED.
2004-09-09 18:18:36 +00:00
Werner Koch
bfc45cc8bc * configure.ac: Check for readline.
* signal.c (got_fatal_signal): Do readline cleanup.  Print signal
number if we can't print the name. Use new autoconf macro
HAVE_DECL_SYS_SIGLIST.
(get_signal_name): Removed.

* ttyio.c (tty_get): Add readline support.
2004-09-09 17:04:44 +00:00
Werner Koch
5d4fb57347 * configure.ac (AM_GNU_GETTEXT_VERSION): New.
(min_automake_version): New.

* LINGUAS: Added all languages we supported in 1.2.5.
Copied all po files from 1.2.5.

* autogen.sh: Updated to the modern version, grepping the required
tool versions from configure.ac.
2004-07-27 15:12:00 +00:00
David Shaw
f44d48928b * configure.ac: Try for wldap32 on Win32 platforms. 2004-05-24 23:20:11 +00:00
Werner Koch
4694f814b7 About to release 1.3.6 2004-05-22 07:31:55 +00:00
David Shaw
f8d4768309 * configure.ac: Replacement function for timegm(). No need to check for
setenv() any longer.
2004-05-21 15:19:53 +00:00
David Shaw
72fdfacc72 * NEWS: Note HTTP key fetching.
* README: Update version and note that HKP is no longer build in.

* configure.ac: Handle --disable-http and other code to properly build
gpgkeys_http.
2004-05-20 19:33:59 +00:00
Werner Koch
25344bd93e Post release version number change 2004-02-26 18:22:20 +00:00
Werner Koch
9a31df2eec Preparing for 1.3.5 2004-02-26 17:18:57 +00:00
David Shaw
9fe66c89d8 * configure.ac: Check for timegm(). Replacement functions for setenv()
and unsetenv().
2004-02-20 15:11:57 +00:00
David Shaw
06d21d80f6 * configure.ac: Check for ln -s and add GPGKEYS_LDAP conditional, both for
making gpgkeys_ldaps symlink to gpgkeys_ldap.
2004-02-19 20:10:38 +00:00
David Shaw
ce1e817dce * configure.ac: Simplify the LDAP checking code since OpenLDAP is far more
mature these days and dependencies are cleaner.  Add checks for
ldap_set_option and ldap_start_tls_s.
2004-02-19 16:34:32 +00:00
David Shaw
45bbdcc57c * NEWS: Note --enable-key-cache, the OpenBSD/i386 and HPPA fixes, and
Elgamal removal.

* README, configure.ac: Add --enable-key-cache=SIZE configure option.
This sets the key/uid cache size.  Default is 4096.
2004-01-28 01:00:53 +00:00
Werner Koch
2d14620b2e * configure.ac: Use -Wformat-nonliteral in maintainer-mode. 2004-01-13 10:57:46 +00:00
David Shaw
f7bcce823f * configure.ac: Include stdio.h when checking for bzlib.h. Solaris 9 has a
very old bzip2 library and we can at least guarantee that it won't fail
because of the lack of stdio.h.

* THANKS: Added Phong Nguyen, who found the Elgamal signing key problem.
2004-01-12 03:59:29 +00:00
David Shaw
a32a3a863e * NEWS: Note --disable-rsa.
* configure.ac: Add --disable-rsa.

* README: Add --with-zlib, --with-bzip2, --without-bzip2, --disable-rsa,
and --enable-minimal.  Update gettext version.
2003-12-01 00:48:16 +00:00
Werner Koch
11859fc4a8 post release version number bumb 2003-11-27 17:23:56 +00:00
Werner Koch
a278127f4d about to release 1.3.4 2003-11-27 16:45:28 +00:00
David Shaw
d3e5200206 * configure.ac: Use MSG_NOTICE instead of MSG_WARN for less serious
notifications.

* NEWS: I meant "less" not "more".
2003-11-27 13:43:21 +00:00
David Shaw
fef77d93b7 * configure.ac: Make sure that the resolver API actually compiles, and not
just that the right functions exist.
2003-11-13 01:06:40 +00:00
David Shaw
d3cd27c3b6 * configure.ac: Locate libbz2 for bzip2 compression support. 2003-10-31 05:39:41 +00:00
David Shaw
c43bc4f52d * NEWS: Note --symmetric --encrypt and the improved config file search.
* configure.ac: Add SAFE_VERSION_DOT and SAFE_VERSION_DASH.
2003-10-26 15:56:53 +00:00
Werner Koch
ea5d88c430 * Makefile.am (SUBDIRS): Add intl.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add scripts/config.rpath.
* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in,
(AL_LINGUAS): Removed.
2003-10-25 16:26:09 +00:00
David Shaw
8fbf5b8aba * configure.ac (DLLIBS): Work properly on platforms where dlopen and
friends are in libc instead of libdl.
2003-10-25 02:56:33 +00:00
Werner Koch
068358616f (DLLIBS): Fixed last change. 2003-10-24 16:57:02 +00:00
Werner Koch
9e048bc191 (DLLIBS): Do not include -ldl in the mingw32 case. 2003-10-23 07:38:00 +00:00
Werner Koch
441aeb85f2 * passphrase.c (ask_passphrase): Add optional promptid arg.
Changed all callers.
* cardglue.c (pin_cb): Use it here, so the machine interface can
tell whether the Admin PIN is requested.

* cardglue.c (agent_scd_checkpin): New.

* misc.c (openpgp_pk_algo_usage): Added AUTH usage.

* app-openpgp.c (check_against_given_fingerprint): New. Factored
out that code elsewhere.
(do_check_pin): New.
* card-util.c (card_edit): New command "passwd".  Add logic to
check the PIN in advance.
(card_status): Add new args to return the serial number.  Changed
all callers.
2003-10-21 18:22:21 +00:00
David Shaw
b194ed0e0a * configure.ac: Include -ldl when card support is used. 2003-10-16 23:44:03 +00:00
Werner Koch
187e94fcd2 Prepared for next development cycle 2003-10-10 16:05:42 +00:00
Werner Koch
6f6511f3ca About to release 1.3.3 2003-10-10 15:32:24 +00:00
Werner Koch
99cabff03f * cardglue.c (learn_status_cb): Release values before assignment
so that it can be used by getattr to update the structure.
(agent_scd_getattr): New.

* keylist.c (print_pubkey_info): Add FP arg for optional printing
to a stream.  Changed all callers.
2003-10-02 10:20:12 +00:00
Werner Koch
20ed53942a First bits of a card support backport from 1.9. It is not enabled by
default and tehre is not yet much more than a new configure option.

* configure.ac (LIBUSB_LIBS,HAVE_LIBUSB): Check for Libusb.
(--enable-card-support): New.

* sign.c (do_sign) [ENABLE_CARD_SUPPORT]: Divert to card.
* cardglue.c, cardglue.h: New.
* Makefile.am (gpg_LDADD): Added.
(card_support_sources): New.

* memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.
2003-09-27 19:37:53 +00:00
David Shaw
192520ade6 * configure.ac: Drop TIGER/192 support. Check for UINT64_C to go along
with uint64_t.
2003-09-04 12:27:33 +00:00
David Shaw
cce2bf2dfa * configure.ac: Check for getaddrinfo. Don't bother to check for EGD libs
since we need to have the netlibs regardless because of the agent socket.
2003-08-25 03:32:01 +00:00
David Shaw
a88cb47d55 * configure.ac: configure.ac: Check for sigset_t and struct sigaction.
This is for Forte c89 on Solaris which seems to define only the function
call half of the two pairs by default.
2003-07-10 15:03:55 +00:00
David Shaw
adab7b0a63 * THANKS: Updates from stable.
* configure.ac: Include wsock32 in W32LIBS.  This is different from
NETLIBS so we don't need to force other platforms to pull in the netlibs
when they aren't actually needed.

* NEWS: Note portability changes.
2003-07-10 12:06:08 +00:00
David Shaw
0afffb063f * configure.ac: Define SAFE_VERSION so that RISCOS can override it and
remove invalid chars.
2003-06-03 17:42:22 +00:00
David Shaw
630ed74997 * configure.ac: Put wsock32 in NETLIBS. Put zlib in ZLIBS. Put dl in
DLLIBS.  Check for getopt.h if available.  Look for getopt() in libiberty
if libc doesn't have it.  Enable GPGKEYS_HKP after AC_PROG_CC so that any
needed extension (i.e. ".exe") is defined.
2003-05-31 02:14:31 +00:00
Werner Koch
638938692c Bumbed version number after release 2003-05-27 09:32:51 +00:00
Werner Koch
41bfaa5e51 About to release 1.3.2 2003-05-27 08:38:58 +00:00
David Shaw
e1517d95e4 * configure.ac: Edit preprocessor instructions in g10defs.h to remove
whitespace before the '#'.  This is not required by C89, but there are
some compilers out there that don't like it.
2003-05-24 14:50:02 +00:00
David Shaw
59c5b524d6 * configure.ac: Remove some stuff no longer needed with newer autoconf.
Use AC_GNU_SOURCE instead of defining _GNU_SOURCE manually.  Add check for
strchr() for gettext.  Add "ngettext" check for gettext, since that check
supposedly implies a check for bind_textdomain_codeset.  Add check for
times() for random.c.  Fix URL for EGD.  Make --enable-old-tiger match the
stable branch as a separate item.

* NEWS: "OpenPGP" trust model is now "PGP".  Add note about TIGER being
dropped from OpenPGP.  Note trust bug fix.

* README: Fix all URLs to point to the right place in the reorganized
gnupg.org web pages.  Some minor language fixes.
2003-05-11 22:00:31 +00:00
David Shaw
8bb4628d05 * configure.ac: Big warning that TIGER/192 is being removed from the
standard, and make it disabled by default.

* README: Put back proper copyright line.  Remove mention of TIGER/192.
2003-04-23 22:57:49 +00:00
Werner Koch
e5ffcabadb * configure.ac (HAVE_DOSISH_SYSTEM): New automake conditional. 2003-04-15 15:27:39 +00:00
David Shaw
c88bc35372 * configure.ac: Use much more accurate method to determine whether
DNS SRV is usable.

* README: Document the various --disable-xxx switches, and add a note
about existing keys that may use one of the missing ciphers as a
preference.  Update copyright date.

* NEWS: Add note about SHA-256/384/512.

* acinclude.m4: Fix URL to faqprog.pl.
2003-04-07 21:52:38 +00:00
Werner Koch
62df762d9e * acinclude.m4 (GNUPG_CHECK_ENDIAN): When crosscompiling assume
little only for Intel CPUs.

* configure.ac: Check for ranlib and ar.  This is required for
cross compiling.
2003-03-24 16:18:30 +00:00
David Shaw
d804867c17 * configure.ac: Look for res_query so we can use DNS SRV, and add
--disable-dns-srv to disable it.
2003-03-11 17:29:49 +00:00
David Shaw
e84c4ca606 * configure.ac: Define @CAPLIBS@ to link in -lcap if we are using
capabilities.
2003-03-04 16:12:53 +00:00
David Shaw
d3b1813fae * configure.ac: Add --disable-idea for IDEA. Note that disabling IDEA
disables both the real IDEA and the possibility of using the IDEA loadable
module.  Remove the --disable-dynload option since it is no longer
meaningful (it is only used if idea-stub is used).
2003-02-22 13:29:20 +00:00
David Shaw
874fc78920 * configure.ac: Add --disable-xxx options for CAST5, BLOWFISH, AES (all),
TWOFISH, TIGER192, SHA256, and SHA384/512.  Add a --enable-minimal that
disables all of them as well as --disable-exec.
2003-02-21 22:22:57 +00:00
David Shaw
a8e139ce62 * configure.ac: Do not set GNUPG_LIBEXECDIR in ./configure, so that
makefiles can override it.  Verify that we have a 64-bit type before
building tiger.c or sha512.c.  Add uint64_t as a possible 64-bit type.
2003-02-12 04:59:07 +00:00
David Shaw
453c471f50 * THANKS: Changes from stable branch.
* configure.ac: Check for ctermid().  From Werner on stable
branch.

* configure.ac (GPGKEYS_LDAP,GPGKEYS_HKP): Add $EXEEXT.  From
Werner on stable branch.

* configure.ac (try_gettext): Remove special case for cygwin.
This removes all the DOS specific macros and let Cygwin work like
a real OS.  Needs a couple of changes elsewhere but after all,
GnuPG presents itself much more like a Posix program and can be
used in a full Cygwin environment; e.g. used along with mutt.
Changes suggested by Volker Quetschke.  From Werner on stable
branch.

* acinclude.m4 (GNUPG_SYS_NM_PARSE): Allow for underscore in test
symbols.  Useful for Cygwin builds.
(GNUPG_SYS_SYMBOL_UNDERSCORE): Don't hardwire to yes for Cygwin.
From Werner on stable branch.

* README: Add an installation note for Darwin 6.1.  From Werner on
stable branch.
2002-11-13 16:11:32 +00:00
Werner Koch
a33b72dc9e Post release version number bump. 2002-11-12 16:45:22 +00:00
Werner Koch
d12195807c Preparing 1.3.1 release. 2002-11-12 16:15:57 +00:00
David Shaw
b9d7219150 * configure.ac: Add a check for volatile. 2002-10-31 15:31:04 +00:00
David Shaw
de9c6b3169 * configure.ac: Add --disable-regex in case some platform just can't
handle the regex stuff.  This means they can't fully handle trust sigs
with an attached regex either.
2002-10-29 22:44:07 +00:00
David Shaw
586c6fe9d1 * configure.ac: Regex tests adapted from mutt to decide whether to use the
internal regex code or not.
2002-10-19 20:34:51 +00:00
Werner Koch
8d76177f10 Bumped version number for cvs version 2002-10-18 10:41:34 +00:00
Werner Koch
61fbbd0b92 * configure.ac: Changed version number comments.
(ALL_LINGUAS): Removed all except for de.  During development it
might not be a good idea to keep all of them - they get outdated
too soon and diff files will be far too large.
2002-10-18 09:32:42 +00:00
Werner Koch
09bac13bf5 * configure.ac (NAME_OF_DEV_URANDOM): Use /dev/urandom for
NetBSD.  Reported by Christian Biere.
2002-10-12 14:54:42 +00:00
David Shaw
60dff3c175 * configure.ac: OpenLDAP 2.0.27 changed the dependencies again. Add a
"LDAPLIBS" variable so users can try and suggest the right dependencies
for their platform.
2002-10-07 22:15:20 +00:00
David Shaw
05e894545c * configure.ac: Add an --enable-old-tiger, to revert back to the
old OID.
2002-10-02 20:05:37 +00:00
David Shaw
ddf90c407b * configure.ac: Remove --enable-tiger, as TIGER is now always enabled. 2002-09-27 19:24:19 +00:00
David Shaw
c6f8520ad1 * configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets. 2002-09-25 11:26:08 +00:00
David Shaw
1b8d4b26b6 * THANKS: Remove duplicate.
* NEWS: Bring in cosmetic changes from stable branch.

* configure.ac: Figure out whether the LDAP library supports
ldap_get_option, ld_errno, or neither.
2002-09-24 13:41:51 +00:00
David Shaw
2761544fb4 From stable branch
* configure.ac: Try linking LDAP as just -lldap as it seems very recent
OpenLDAPs (>=2.0.23) support that.
2002-09-19 16:39:16 +00:00
David Shaw
fb332938d2 From stable branch
2002-09-14  David Shaw  <dshaw@jabberwocky.com>

	* configure.ac: Try linking LDAP without -lresolv first, just in
	case the platform has libresolv, but doesn't actually need it to
	use LDAP.

2002-09-12  David Shaw  <dshaw@jabberwocky.com>

	* NEWS: Note that the old IDEA plugin won't work with post-1.1.90
	gpg.
2002-09-18 20:37:05 +00:00
David Shaw
6a5f13299e * configure.ac: Remove --enable-external-hkp as this is always on now.
Add --disable-hkp to match the other --disable-{keyservertype} options.

* NEWS, configure.ac: Move to devel version 1.3.
2002-09-12 12:28:44 +00:00