From 6e33a73f0cded2c13813c511071736c9020d0c83 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 20 Dec 2022 00:21:19 +0000 Subject: [PATCH] perl-mail-spamassassin: update to version 4.0.0 Apache SpamAssassin -- Version 4.0.0 See https://lwn.net/Articles/918145/ for details Signed-off-by: Daniel Golle --- lang/perl-mail-spamassassin/Makefile | 6 ++-- .../patches/010-openssl-deprecated.patch | 28 ------------------- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 lang/perl-mail-spamassassin/patches/010-openssl-deprecated.patch diff --git a/lang/perl-mail-spamassassin/Makefile b/lang/perl-mail-spamassassin/Makefile index 4771d05449..26475a0d7d 100644 --- a/lang/perl-mail-spamassassin/Makefile +++ b/lang/perl-mail-spamassassin/Makefile @@ -1,9 +1,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=perl-mail-spamassassin -PKG_RELEASE:=$(AUTORELEASE) -PKG_VERSION:=3.4.6 -PKG_HASH:=500c7e2a7cdf3aa4dd822d97aaff2ab22235a60cf17a68ab817861d215a4e568 +PKG_RELEASE:=1 +PKG_VERSION:=4.0.0 +PKG_HASH:=65979da7d103e3c37563f23a1a24f470090afb33664348968a00bf3d09a84f36 PKG_SOURCE_NAME:=Mail-SpamAssassin PKG_SOURCE_URL:=@APACHE/spamassassin/source diff --git a/lang/perl-mail-spamassassin/patches/010-openssl-deprecated.patch b/lang/perl-mail-spamassassin/patches/010-openssl-deprecated.patch deleted file mode 100644 index 819eb1536d..0000000000 --- a/lang/perl-mail-spamassassin/patches/010-openssl-deprecated.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/spamc/libspamc.c -+++ b/spamc/libspamc.c -@@ -1213,9 +1213,11 @@ int message_filter(struct transport *tp, - - if (flags & SPAMC_USE_SSL) { - #ifdef SPAMC_SSL -+#if 0 - SSLeay_add_ssl_algorithms(); -- meth = SSLv23_client_method(); - SSL_load_error_strings(); -+#endif -+ meth = SSLv23_client_method(); - ctx = SSL_CTX_new(meth); - #else - UNUSED_VARIABLE(ssl); -@@ -1600,9 +1602,11 @@ int message_tell(struct transport *tp, c - - if (flags & SPAMC_USE_SSL) { - #ifdef SPAMC_SSL -+#if 0 - SSLeay_add_ssl_algorithms(); -- meth = SSLv23_client_method(); - SSL_load_error_strings(); -+#endif -+ meth = SSLv23_client_method(); - ctx = SSL_CTX_new(meth); - #else - UNUSED_VARIABLE(ssl); -- 2.30.2