perl-mail-spamassassin: update to version 4.0.0
authorDaniel Golle <daniel@makrotopia.org>
Tue, 20 Dec 2022 00:21:19 +0000 (00:21 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 20 Dec 2022 01:45:56 +0000 (01:45 +0000)
Apache SpamAssassin -- Version 4.0.0
See https://lwn.net/Articles/918145/ for details

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lang/perl-mail-spamassassin/Makefile
lang/perl-mail-spamassassin/patches/010-openssl-deprecated.patch [deleted file]

index 4771d054492b1bc68f5cc9f053c8e796bf723d25..26475a0d7def93785dad75fda965e718647946ed 100644 (file)
@@ -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 (file)
index 819eb15..0000000
+++ /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);