From 1cd26fdfb464f5cf6c2c81d529977b7821d22f26 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 28 Aug 2020 18:35:45 +0200 Subject: regression fix: check for TLS v1.2/1.3 support with libssl.so When AC_LIB_LINKFLAGS came up with, for instance, /usr/lib/libssl.so, configure.ac failed to check for TLS v1.2 and TLS v1.3 support in the SSL library, disabling explicit TLS v1.2 and v1.3 support. --- NEWS | 13 ++++++++++--- configure.ac | 4 ++-- fetchmail.man | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 9abfbe39..8cbb6639 100644 --- a/NEWS +++ b/NEWS @@ -64,11 +64,12 @@ removed from a 6.5.0 or newer release.) for end-of-life OpenSSL versions may be removed even from patchlevel releases. --------------------------------------------------------------------------------- -fetchmail-6.4.10 (released 2020-08-27, 27596 LoC): +fetchmail-6.4.11 (released 2020-08-28, 27596 LoC): # REGRESSION FIX: -* configure: fetchmail 6.4.9's configure was unable to pick up OpenSSL - if it wasn't announced by pkg-config, for instance, on FreeBSD. +* configure: fetchmail 6.4.9 and 6.4.10 would miss checking for TLS v1.2 and + TLS v1.3 support if AC_LIB_LINKFLAGS came up with something such as + /path/to/libssl.so, rather than -lssl. (For instance on FreeBSD) # KNOWN BUGS AND WORKAROUNDS (This section floats upwards through the NEWS file so it stays with the @@ -90,6 +91,12 @@ fetchmail-6.4.10 (released 2020-08-27, 27596 LoC): messages. This will not be fixed, because the maintainer has no Kerberos 5 server to test against. Use GSSAPI. +--------------------------------------------------------------------------------- +fetchmail-6.4.10 (released 2020-08-27, 27596 LoC): + +# REGRESSION FIX: +* configure: fetchmail 6.4.9's configure was unable to pick up OpenSSL + if it wasn't announced by pkg-config, for instance, on FreeBSD. --------------------------------------------------------------------------------- fetchmail-6.4.9: (not announced by e-mail, withdrawn) diff --git a/configure.ac b/configure.ac index 2304f39a..6c8f1d2c 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ dnl Process this file with autoconf to produce a configure script. dnl dnl XXX - if bumping version here, check fetchmail.man, too! -AC_INIT([fetchmail],[6.4.10],[fetchmail-users@lists.sourceforge.net]) +AC_INIT([fetchmail],[6.4.11],[fetchmail-users@lists.sourceforge.net]) AC_CONFIG_SRCDIR([fetchmail.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_LIBOBJ_DIR([.]) @@ -807,7 +807,7 @@ AC_LIB_LINKFLAGS([ssl], [crypto]) LIBS="$LIBS $LIBSSL $LIBCRYPTO" AC_MSG_NOTICE([LIBS:] "$LIBS") -case "$LIBS" in *-lssl*) +case "$LIBS" in *-lssl*|*libssl*) AC_CHECK_DECLS([TLS1_3_VERSION],, AC_MSG_WARN([Your OpenSSL version is too old and does not support TLS v1.3. Upgrade.]), [#include ]) diff --git a/fetchmail.man b/fetchmail.man index 3fd478b4..f1d17628 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -10,7 +10,7 @@ .\" Load www macros to process .URL requests, this requires groff: .mso www.tmac .\" -.TH fetchmail 1 2020-07-09 "fetchmail 6.4.10" "fetchmail reference manual" +.TH fetchmail 1 2020-07-09 "fetchmail 6.4.11" "fetchmail reference manual" .SH NAME fetchmail \- fetch mail from a POP, IMAP, ETRN, or ODMR-capable server -- cgit v1.2.3