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
+++ /dev/null
---- 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);