Saturday, December 23, 2023

[UPDATE] mail/imapfilter

Hi,

this is a simple update dropping an obsolete patch and warning users of
a configuration change. OK?


Christopher



Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/imapfilter/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile 17 Jul 2022 19:23:39 -0000 1.27
+++ Makefile 23 Dec 2023 12:58:30 -0000
@@ -1,6 +1,6 @@
COMMENT= remote IMAP filtering utility

-V= 2.7.5
+V= 2.8.1
DISTNAME= imapfilter-${V}

GH_TAGNAME= v${V}
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/imapfilter/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo 17 Jul 2022 19:23:39 -0000 1.15
+++ distinfo 23 Dec 2023 12:58:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (imapfilter-2.7.5.tar.gz) = qxn4QHEuaVHlHCnkTEOzsvpC6TaT+Y+Jacx2Ok+tVr8=
-SIZE (imapfilter-2.7.5.tar.gz) = 59441
+SHA256 (imapfilter-2.8.1.tar.gz) = dYoPeK/zCTWRZCbIeNLMgDvc0xx0mC+/zSNy5nRCYsw=
+SIZE (imapfilter-2.8.1.tar.gz) = 58382
Index: patches/patch-src_auth_c
===================================================================
RCS file: patches/patch-src_auth_c
diff -N patches/patch-src_auth_c
--- patches/patch-src_auth_c 11 Mar 2022 19:34:38 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-Fix build with opaque HMAC_CTX in LibreSSL 3.5.
-
-Index: src/auth.c
---- src/auth.c.orig
-+++ src/auth.c
-@@ -20,7 +20,7 @@ auth_cram_md5(const char *user, const char *pass, unsi
- unsigned char *resp, *buf, *out;
- unsigned char md[EVP_MAX_MD_SIZE], mdhex[EVP_MAX_MD_SIZE * 2 + 1];
- unsigned int mdlen;
--#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL
- HMAC_CTX *ctx;
- #else
- HMAC_CTX ctx;
-@@ -32,7 +32,7 @@ auth_cram_md5(const char *user, const char *pass, unsi
-
- EVP_DecodeBlock(resp, chal, strlen((char *)(chal)));
-
--#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL
- ctx = HMAC_CTX_new();
- HMAC_Init_ex(ctx, (const unsigned char *)pass, strlen(pass),
- EVP_md5(), NULL);
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/MESSAGE 23 Dec 2023 12:58:30 -0000
@@ -0,0 +1,4 @@
+Since imapfilter 2.8 the implicit error recovery mechanism has been
+dropped in favour of a more robust mechanism requiring explicit
+configuration by using the new recover(commands, retries) function.
+Please update your configuration as necessary.

No comments:

Post a Comment