summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-08-09 11:56:07 +0200
committerØrjan Malde <red@foxi.me>2024-08-09 11:56:07 +0200
commitc2bb65f5e53a2db9950fe9a634b2878a7be395d3 (patch)
treeccdd8186c5dffe0a01fe0d621400b19f7f18890f /patches
parent690305f8f9df1ff4805fc48262ae17142c849a3a (diff)
downloadmidipix_build-c2bb65f5e53a2db9950fe9a634b2878a7be395d3.tar.bz2
midipix_build-c2bb65f5e53a2db9950fe9a634b2878a7be395d3.tar.xz
groups.d/241.native_packages_inet.d/fetchmail.package: bump to v6.4.39
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/fetchmail-6.4.0.beta4.local.patch14
-rw-r--r--patches/fetchmail-6.4.39_pre.local.patch30
2 files changed, 30 insertions, 14 deletions
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