- added fix_missing_return.patch:

case statement without a default return.
- drop outdated patch comment

- Update to 3.3

OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=74
This commit is contained in:
Marcus Rückert 2022-10-04 12:30:23 +00:00 committed by Git OBS Bridge
parent 2466a5bd72
commit 8eb5424728
5 changed files with 96 additions and 5 deletions

12
fix_missing_return.patch Normal file
View File

@ -0,0 +1,12 @@
Index: rspamd-3.3/src/libserver/symcache/symcache_item.hxx
===================================================================
--- rspamd-3.3.orig/src/libserver/symcache/symcache_item.hxx
+++ rspamd-3.3/src/libserver/symcache/symcache_item.hxx
@@ -77,6 +77,7 @@ constexpr static auto item_type_to_str(s
case symcache_item_type::VIRTUAL:
return "virtual";
}
+ return "should_not_reach_this_bug_found";
}
/**

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5152d601a634ebeda1327056d4ef21cc012e30f88fce9b8c1ca55d532128a98b
size 5637835

3
rspamd-3.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d6e90facd0f7705d11d5073dba22b5d6686097798178b3b3e965a989ba7be0f
size 5680874

View File

@ -1,3 +1,82 @@
-------------------------------------------------------------------
Tue Oct 4 12:27:58 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- added fix_missing_return.patch:
case statement without a default return.
- drop outdated patch comment
-------------------------------------------------------------------
Tue Oct 4 11:23:37 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.3
- [Minor] Fix typo in config documentation in statistic.conf by
@kamilsztuke in #4137
- New SYSTEM_XXHASH option and zstd MODULES fix by @arkamar in
#4138
- Migrate ZSTD_reset{C,D}Stream to a new API by @arkamar in #4140
- [Fix] Disable IPv6 lookups for Blocklist.de RBL by
@twesterhever in #4143
- [Fix] Do not exclude authenticated users from URIBL lookups by
@twesterhever in #4144
- [Enhancement] Adjust scores of Spamhaus SBL hits by
@twesterhever in #4142
- [Enhancement] Query HELOs, PTRs, and Reply-To's against SURBL
and URIBL as well by @twesterhever in #4141
- [Test] Allow linters to fail by @moisseev in #4150
- [WebUI] Add HTTP (Ajax) request timeout setting by @moisseev in
#4151
- [Minor] Query EBLs for authenticated users as well by
@twesterhever in #4153
- [WebUI] Learn a random server of "All SERVERS" by @moisseev in
#4160
- Rework symcache by @vstakhov in #4130
- [Minor] Add scan_time and hostname to metadata_exporter by
@lucasRolff in #4166
- fix missing preprocessor macro for SSSE3 support by @msuslu in
#4168
- [Minor] fix lower transformation for utf symbols by @tierpod in
#4173
- [Enhancement] Add expire to history redis by @vitalvas in #4175
- [WebUI] Add option to choose map editor by @moisseev in #4183
- [WebUI] Fix privileged access for secure_ip by @moisseev in
#4189
- [Fix] Upstreams: Don't ignore revive_time config option by
@citrin in #4208
- [WebUI] Tweak history table layout by @moisseev in #4209
- Update rspamd.spec, delete old el6 files by @ghtm2 in #4206
- Update rspamd.spec to fix Fedora 36 build by @ghtm2 in #4211
- [Minor] rspamc: fix crash on non-string element in messages by
@fatalbanana in #4214
- [Fix] Empty envelopes should not be emitted as arrays, drop
from schema instead by @JasonStephenson in #4216
- [Minor] Mimedump improvements by @JasonStephenson in #4222
- [Minor] Set diacritics flag for more languages by @fatalbanana
in #4233
- Add MIME types commonly used for mp3 and wav attachments by
@citrin in #4239
- [Fix] Skip sending dmarc reports in no-opt mode by @rekup in
#4242
- Fix: BAD_REP_POLICIES does not trigger for Bayes by @Player701
in #4244
- [Minor] Remove references to Atom in CONTRIBUTING.md by
@fiirhok in #4248
- [WebUI] Remove extra To column from filtering by @moisseev in
#4249
- [WebUI] Hide symbol order toggle in search dropdown by
@moisseev in #4250
- [WebUI] Hide extra To detail row on small screens by @moisseev
in #4254
- [WebUI] Migrate to D3 v7 by @moisseev in #4256
- [WebUI] Wrap Prism.highlightElement by @moisseev in #4257
- milter_headers: Header fields may be inserted at wrong
position. by @ikedas in #4259
- [WebUI] Put total in the center of pie charts by @moisseev in
#4262
- [Fix] Avoid overriding IP with Sender IP by @dragoangel in
#4268
- Allow fuzzy worker to listen on AF_UNIX sockets successfully by
@BtbN in #4283
-------------------------------------------------------------------
Mon Apr 4 09:18:43 UTC 2022 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -56,7 +56,7 @@
%endif
Name: rspamd
Version: 3.2
Version: 3.3
Release: 0
Summary: Spam filtering system
License: Apache-2.0
@ -66,7 +66,7 @@ Source0: https://github.com/rspamd/rspamd/archive/%{version}/%{name}-%{ve
Source1: usr.bin.rspamd
Patch0: rspamd-conf.patch
Patch1: rspamd-after-redis-target.patch
# PATCH-FIX-UPSTREAM - https://github.com/rspamd/rspamd/issues/3656
Patch2: fix_missing_return.patch
%if !0%{?is_opensuse}
# because 80-check-malware-scan-clamav triggered in SLE-15-SP2
BuildRequires: -post-build-checks-malwarescan