pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/rspamd



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Mar 10 13:15:47 UTC 2025

Modified Files:
        pkgsrc/mail/rspamd: DESCR Makefile PLIST distinfo

Log Message:
rspamd: update to 3.11.1. Changes:

* [Feature] Add 'noop' redis backend for scripts running
* [Feature] Add Redis caching framework
* [Feature] Add UTF8 `sub` and `len` variants for rspamd_text
* [Feature] Allow adding timers to task (respecting symbols)
* [Feature] Allow additional categories to be defined in GPT
* [Feature] Allow fine-grained control on keys permissions
* [Feature] Allow individual `read_only` flag per key
* [Feature] Allow multiple lua scripts for fuzzy storage
* [Feature] Allow to add periodic functions in Lua API
* [Feature] Allow to disable rbls from map
* [Feature] Allow to hash any Lua types
* [Feature] Allow to store shingles as opaque Lua data
* [Feature] Cache LLM replies
* [Feature] GPT: Add ollama support
* [Feature] GPT: Support reason adding
* [Feature] Improve prompt and use plaintext instead of JSON
* [Feature] Lua_task: Allow to load data into the existing task
* [Feature] More additions
* [Feature] Pass shingles to Lua scripts
* [Feature] Preliminary implementation of LLM based anonymizing
* [Feature] Support LLM models consensus
* [Feature] Try to check maps earlier if their expires is too long
* [Feature] Use debug module name from caller in lua_cache
* [Fix] Add timer update before timer setting
* [Fix] Allow to work with no ratelimits
* [Fix] Always create ratelimit buckets
* [Fix] Avoid collision hacks in mempool variables hash
* [Fix] Expire neural ham and spam sets so they not hangup in redis
  indefinitely
* [Fix] Fix crash on FreeBSD when Rspamd is built without hyperscan
* [Fix] Make table digests consistent
* [Fix] RBL: fix use of `content_urls` and `images` inside `checks`
* [Fix] Verify key type to match DKIM signature type
* [Fix] connIP is not correctly added to request
* [Fix] properly close multipart/related boundary when adding
  text footer
* [Rework] GPT: Use cache framework


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/rspamd/DESCR
cvs rdiff -u -r1.119 -r1.120 pkgsrc/mail/rspamd/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/mail/rspamd/PLIST
cvs rdiff -u -r1.64 -r1.65 pkgsrc/mail/rspamd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/rspamd/DESCR
diff -u pkgsrc/mail/rspamd/DESCR:1.1 pkgsrc/mail/rspamd/DESCR:1.2
--- pkgsrc/mail/rspamd/DESCR:1.1        Fri Feb  7 14:39:19 2014
+++ pkgsrc/mail/rspamd/DESCR    Mon Mar 10 13:15:47 2025
@@ -1,3 +1,14 @@
-Rspamd is fast, modular and lightweight spam filter. It is designed to work
-with big ammount of mail and can be easily extended with own filters written in
-lua.
+Rspamd is an advanced spam filtering system and email processing
+framework that allows evaluation of messages by a number of rules
+including regular expressions, statistical analysis and custom services
+such as URL black lists. Each message is analysed by Rspamd and given a
+verdict that might be used by MTA for further processing (e.g. to reject
+a message, or add a special header indicating spam) along with other
+information, such as possible DKIM signature or modifications suggested
+for a message.
+
+Rspamd is designed to process hundreds of messages per second
+simultaneously, and provides a number of useful features including a
+comprehensive Lua API that allows access to messages processing in
+various aspects as well as asynchronous network API to access external
+resources, such as DNS, HTTP or even generic TCP/UDP services.

Index: pkgsrc/mail/rspamd/Makefile
diff -u pkgsrc/mail/rspamd/Makefile:1.119 pkgsrc/mail/rspamd/Makefile:1.120
--- pkgsrc/mail/rspamd/Makefile:1.119   Sat Dec 28 09:53:11 2024
+++ pkgsrc/mail/rspamd/Makefile Mon Mar 10 13:15:47 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.119 2024/12/28 09:53:11 wiz Exp $
+# $NetBSD: Makefile,v 1.120 2025/03/10 13:15:47 schmonz Exp $
 #
 # When updating this, run 'make cfgfiles'.
 
-DISTNAME=      rspamd-3.11.0
+DISTNAME=      rspamd-3.11.1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rspamd/}
 
@@ -71,8 +71,12 @@ CMAKE_CONFIGURE_ARGS.SunOS+= -DHAVE_INOT
 
 REPLACE_PERL+= utils/rspamd_stats.pl
 
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/local.d
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/lua.local.d
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/maps.d
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/modules.d
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/modules.local.d
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/override.d
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/scores.d
 
 OWN_DIRS_PERMS+=       ${DBDIR} ${RSPAMD_USER} ${RSPAMD_GROUP} 0700
@@ -112,6 +116,7 @@ CMAKE_GENERATOR=    make
 
 .include "../../archivers/libarchive/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
+.include "../../archivers/libarchive/buildlink3.mk"
 .include "../../databases/hiredis/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/fann/buildlink3.mk"

Index: pkgsrc/mail/rspamd/PLIST
diff -u pkgsrc/mail/rspamd/PLIST:1.34 pkgsrc/mail/rspamd/PLIST:1.35
--- pkgsrc/mail/rspamd/PLIST:1.34       Sat Dec 28 09:53:11 2024
+++ pkgsrc/mail/rspamd/PLIST    Mon Mar 10 13:15:47 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2024/12/28 09:53:11 wiz Exp $
+@comment $NetBSD: PLIST,v 1.35 2025/03/10 13:15:47 schmonz Exp $
 bin/rspamadm
 bin/rspamadm-${PKGVERSION}
 bin/rspamc
@@ -164,6 +164,7 @@ share/rspamd/lualib/lua_auth_results.lua
 share/rspamd/lualib/lua_aws.lua
 share/rspamd/lualib/lua_bayes_learn.lua
 share/rspamd/lualib/lua_bayes_redis.lua
+share/rspamd/lualib/lua_cache.lua
 share/rspamd/lualib/lua_cfg_transform.lua
 share/rspamd/lualib/lua_cfg_utils.lua
 share/rspamd/lualib/lua_clickhouse.lua
@@ -333,6 +334,7 @@ share/rspamd/rules/regexp/compromised_ho
 share/rspamd/rules/regexp/headers.lua
 share/rspamd/rules/regexp/misc.lua
 share/rspamd/rules/regexp/upstream_spam_filters.lua
+share/rspamd/rules/regexp/urls.lua
 share/rspamd/rules/rspamd.lua
 share/rspamd/rules/subject_checks.lua
 share/rspamd/www/README.md

Index: pkgsrc/mail/rspamd/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.64 pkgsrc/mail/rspamd/distinfo:1.65
--- pkgsrc/mail/rspamd/distinfo:1.64    Sat Dec 28 09:53:11 2024
+++ pkgsrc/mail/rspamd/distinfo Mon Mar 10 13:15:47 2025
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.64 2024/12/28 09:53:11 wiz Exp $
+$NetBSD: distinfo,v 1.65 2025/03/10 13:15:47 schmonz Exp $
 
-BLAKE2s (rspamd-3.11.0.tar.gz) = 7e99f25e230dab697778f22aefb0ee3ea226dfab02acb3d8e7114381835bcc61
-SHA512 (rspamd-3.11.0.tar.gz) = 301ce87147a1f4e1532fc68466ab223efa788af43f0a94a070c80c6ab04ae03956dbc471435efe49718b453589a18a2fda4476f281ddf47ddb42970e5dcaacdd
-Size (rspamd-3.11.0.tar.gz) = 6440612 bytes
+BLAKE2s (rspamd-3.11.1.tar.gz) = f7b897ee560127385b240d11826f54090445cd281130b669ae88d0e2866f5228
+SHA512 (rspamd-3.11.1.tar.gz) = 979aad9d2cc720c12922d55f4ad742b65e18d0ca52ebb764a2432bd3d64e559461c8e1fa87f7ac52e614df71d0a776aa0362a876eaa745cd3f8c21afee52b8ab
+Size (rspamd-3.11.1.tar.gz) = 6455199 bytes
 SHA1 (patch-CMakeLists.txt) = 1c91cf53edeb12e1a469cd02421e1eaee5061ab7
 SHA1 (patch-cmake_Toolset.cmake) = fbc4027fedb4261ce913701ebbb32d8395bc7783
 SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6



Home | Main Index | Thread Index | Old Index