mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* NEWS, configure.ac: Switch over to using curl or fake-curl by
default. Add --enable-old-keyserver-helpers to not use curl.
This commit is contained in:
parent
5fe762d91d
commit
9df2dbdfc2
@ -1,3 +1,8 @@
|
||||
2005-07-26 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* 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 <wk@g10code.com>
|
||||
|
||||
Released 1.4.2.
|
||||
|
9
NEWS
9
NEWS
@ -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)
|
||||
------------------------------------------------
|
||||
|
60
configure.ac
60
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)
|
||||
|
||||
if test "$old_ks" = yes ; then
|
||||
AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT")
|
||||
else
|
||||
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)
|
||||
|
||||
if test x"$fake_curl" = xyes ; then
|
||||
AC_DEFINE(FAKE_CURL,1,[define to fake the libcurl API internally])
|
||||
libcurl_protocol_HTTP=yes
|
||||
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
|
||||
fi
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
dnl This isn't necessarily sendmail itself, but anything that gives a
|
||||
|
Loading…
x
Reference in New Issue
Block a user