From c2bb65f5e53a2db9950fe9a634b2878a7be395d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Fri, 9 Aug 2024 11:56:07 +0200 Subject: groups.d/241.native_packages_inet.d/fetchmail.package: bump to v6.4.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/fetchmail-6.4.0.beta4.local.patch | 14 -------------- patches/fetchmail-6.4.39_pre.local.patch | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 14 deletions(-) delete mode 100644 patches/fetchmail-6.4.0.beta4.local.patch create mode 100644 patches/fetchmail-6.4.39_pre.local.patch (limited to 'patches') diff --git a/patches/fetchmail-6.4.0.beta4.local.patch b/patches/fetchmail-6.4.0.beta4.local.patch deleted file mode 100644 index 130ab575..00000000 --- a/patches/fetchmail-6.4.0.beta4.local.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru fetchmail-6.4.0.beta4.orig/socket.c fetchmail-6.4.0.beta4/socket.c ---- fetchmail-6.4.0.beta4.orig/socket.c 2018-06-06 01:57:00.000000000 +0200 -+++ fetchmail-6.4.0.beta4/socket.c 2021-09-22 09:50:13.654463039 +0200 -@@ -885,8 +885,8 @@ - return ret; - } - --#if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x1010000fL --/* OSSL_proto_version_logic for OpenSSL 1.0.x and LibreSSL */ -+#if OPENSSL_VERSION_NUMBER < 0x1010000fL -+/* OSSL_proto_version_logic for OpenSSL 1.0.x */ - static int OSSL10X_proto_version_logic(int sock, const char **myproto, int *avoid_ssl_versions) - { - if (!*myproto) { diff --git a/patches/fetchmail-6.4.39_pre.local.patch b/patches/fetchmail-6.4.39_pre.local.patch new file mode 100644 index 00000000..bc2f8c74 --- /dev/null +++ b/patches/fetchmail-6.4.39_pre.local.patch @@ -0,0 +1,30 @@ +diff -ru fetchmail-6.4.39.orig/configure fetchmail-6.4.39/configure +--- fetchmail-6.4.39.orig/configure 2024-07-20 11:34:52.000000000 +0200 ++++ fetchmail-6.4.39/configure 2024-08-09 11:53:47.808214122 +0200 +@@ -13349,8 +13349,8 @@ + with_wolfssl="$(${_WOLFSSLCONF} --prefix)" + fi + if "$_WOLFSSLCONF" >/dev/null 2>&1 --version ; then +- wolfCFLAGS="$(${_WOLFSSLCONF} --cflags)" +- wolfLIBS="$(${_WOLFSSLCONF} --libs)" ++ wolfCFLAGS="$($PKG_CONFIG --cflags wolfssl)" ++ wolfLIBS="$($PKG_CONFIG --libs wolfssl)" + elif test -d "${with_wolfssl}/include" -a -d "${with_wolfssl}/lib" ; then + wolfCFLAGS="-I${with_wolfssl}/include" + wolfLIBS="-L${with_wolfssl}/lib -lwolfssl -lpthread" +diff -ru fetchmail-6.4.39.orig/fetchmail.c fetchmail-6.4.39/fetchmail.c +--- fetchmail-6.4.39.orig/fetchmail.c 2024-01-31 20:54:42.000000000 +0100 ++++ fetchmail-6.4.39/fetchmail.c 2024-08-09 11:34:11.836359108 +0200 +@@ -314,9 +314,11 @@ + "Run-time uses SSL library %#lx \"%s\"\n"), + OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT, + OpenSSL_version_num(), OpenSSL_version(OPENSSL_VERSION)); ++#ifndef USING_WOLFSSL + printf(GT_("OpenSSL: %s\nEngines: %s\n"), + OpenSSL_version(OPENSSL_DIR), + OpenSSL_version(OPENSSL_ENGINES_DIR)); ++#endif + # if !HAVE_DECL_TLS1_3_VERSION || defined(OPENSSL_NO_TLS1_3) + printf(GT_("WARNING: Your SSL/TLS library does not support TLS v1.3.\n")); + # endif +Only in fetchmail-6.4.39: fetchmail.c.orig -- cgit v1.2.3