diff options
author | David Shaw <[email protected]> | 2005-07-27 01:18:52 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-07-27 01:18:52 +0000 |
commit | 9df2dbdfc24a1791487853f34f62946d9858f553 (patch) | |
tree | bcd0f724b048d9326be1ab78b792a64c9ea73544 | |
parent | post release version number updates (diff) | |
download | gnupg-9df2dbdfc24a1791487853f34f62946d9858f553.tar.gz gnupg-9df2dbdfc24a1791487853f34f62946d9858f553.zip |
* NEWS, configure.ac: Switch over to using curl or fake-curl by
default. Add --enable-old-keyserver-helpers to not use curl.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 9 | ||||
-rw-r--r-- | configure.ac | 58 |
3 files changed, 24 insertions, 48 deletions
@@ -1,3 +1,8 @@ +2005-07-26 David Shaw <[email protected]> + + * NEWS, configure.ac: Switch over to using curl or fake-curl by + default. Add --enable-old-keyserver-helpers to not use curl. + 2005-07-26 Werner Koch <[email protected]> Released 1.4.2. @@ -1,6 +1,15 @@ Noteworthy changes in version 1.4.3 ------------------------------------------------ + * If available, cURL-based keyserver helpers are built that can + retrieve keys using any protocol that cURL supports. This + includes HKP as well as all protocols that cURL can handle + (HTTP, HTTPS, FTP, FTPS, etc). If cURL is not available, HKP + and HTTP are still supported using the included code. To force + building the old keyserver helpers, use the configure option + --enable-old-keyserver-helpers. Note that none of this affects + finger or LDAP support, which are unchanged. + Noteworthy changes in version 1.4.2 (2005-07-26) ------------------------------------------------ diff --git a/configure.ac b/configure.ac index 3281bb9f2..107983826 100644 --- a/configure.ac +++ b/configure.ac @@ -339,12 +339,6 @@ dnl LDAP is defined only after we confirm the library is available later try_hkp=$enableval, try_hkp=yes) AC_MSG_RESULT($try_hkp) - AC_MSG_CHECKING([whether HTTP key fetching support is requested]) - AC_ARG_ENABLE(http, - AC_HELP_STRING([--disable-http],[disable HTTP key fetching interface]), - try_http=$enableval, try_http=yes) - AC_MSG_RESULT($try_http) - AC_MSG_CHECKING([whether finger key fetching support is requested]) AC_ARG_ENABLE(finger, AC_HELP_STRING([--disable-finger], @@ -352,13 +346,6 @@ dnl LDAP is defined only after we confirm the library is available later try_finger=$enableval, try_finger=yes) AC_MSG_RESULT($try_finger) - AC_MSG_CHECKING([whether ftp key fetching support is requested]) - AC_ARG_ENABLE(ftp, - AC_HELP_STRING([--disable-ftp], - [disable ftp key fetching interface only]), - try_ftp=$enableval, try_ftp=yes) - AC_MSG_RESULT($try_ftp) - AC_MSG_CHECKING([whether email keyserver support is requested]) AC_ARG_ENABLE(mailto, AC_HELP_STRING([--enable-mailto], @@ -623,48 +610,23 @@ if test "$try_ldap" = yes ; then GNUPG_CHECK_LDAP($NETLIBS) fi -# Special hack to test curl +# Which keyserver helpers are we building? -AC_ARG_ENABLE(fake-curl, - AC_HELP_STRING([--enable-fake-curl],[enable EXPERIMENTAL no-curl HTTP code]),fake_curl=$enableval,fake_curl=no) +AC_ARG_ENABLE(old-keyserver-helpers, + AC_HELP_STRING([--enable-old-keyserver-helpers],[enable old keyserver helpers]),old_ks=$enableval,old_ks=no) -AM_CONDITIONAL(FAKE_CURL,test x"$fake_curl" = xyes) - -if test x"$fake_curl" = xyes ; then - AC_DEFINE(FAKE_CURL,1,[define to fake the libcurl API internally]) - libcurl_protocol_HTTP=yes +if test "$old_ks" = yes ; then + AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT") else - # If we have neither FTP or HTTP defined, then don't bother to check - # for curl. - if test x"$try_hkp" = xyes || test x"$try_ftp" = xyes || test x"$try_http" = xyes ; then - LIBCURL_CHECK_CONFIG([no],,[with_curl=yes]) - fi + LIBCURL_CHECK_CONFIG([yes],,[with_curl=yes],[fake_curl=yes]) + AC_SUBST(GPGKEYS_CURL,"gpgkeys_curl$EXEEXT") fi +AM_CONDITIONAL(FAKE_CURL,test x"$fake_curl" = xyes) AM_CONDITIONAL(WITH_CURL,test x"$with_curl" = xyes || test x"$fake_curl" = xyes) -# Are we doing HTTP? - -if test x"$try_http" = xyes ; then - if test x$libcurl_protocol_HTTP = xyes ; then - AC_SUBST(GPGKEYS_CURL,"gpgkeys_curl$EXEEXT") - AC_DEFINE(HTTP_VIA_LIBCURL,1,[Define if HTTP is handled via libcurl]) - if test x$libcurl_protocol_HTTPS = xyes ; then - AC_DEFINE(HTTPS_VIA_LIBCURL,1,[Define if HTTPS is handled via libcurl]) - fi - else - AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT") - fi -fi - -# Are we doing FTP? We only do FTP if we have libcurl. - -if test x"$try_ftp" = xyes && test x$libcurl_protocol_FTP = xyes ; then - AC_SUBST(GPGKEYS_CURL,"gpgkeys_curl$EXEEXT") - AC_DEFINE(FTP_VIA_LIBCURL,1,[Define if FTP is handled via libcurl]) - if test x$libcurl_protocol_FTPS = xyes ; then - AC_DEFINE(FTPS_VIA_LIBCURL,1,[Define if FTPS is handled via libcurl]) - fi +if test x"$fake_curl" = xyes ; then + AC_DEFINE(FAKE_CURL,1,[define to fake the libcurl API internally]) fi dnl This isn't necessarily sendmail itself, but anything that gives a |