commit rspamd for openSUSE:Factory

2024-10-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2024-10-02 21:34:38

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.19354 (New)


Package is "rspamd"

Wed Oct  2 21:34:38 2024 rev:29 rq:1205186 version:3.10.0

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2024-09-30 
15:41:13.123065159 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.19354/rspamd.changes 2024-10-02 
21:35:00.506432355 +0200
@@ -1,0 +2,95 @@
+Wed Oct  2 11:11:02 UTC 2024 - Marcus Rueckert 
+
+- Actually for all distros to use luajit and lua 5.1 ABI modules
+  for the additional modules
+- for non luajit enabled distros we also use lua 5.1 to build
+  against as rspamd does not really support newer lua APIs
+  
+  https://github.com/rspamd/rspamd/issues/5163
+
+---
+Wed Oct  2 10:28:56 UTC 2024 - Marcus Rueckert 
+
+- restore the overriden CMAKE_SHARED_LINKER_FLAGS but only remove
+  the --undefined option as rspamd doesnt have its dependencies
+  between parts of the code correct
+
+---
+Wed Oct  2 09:59:49 UTC 2024 - Marcus Rueckert 
+
+- Simplify lua handling
+
+---
+Mon Sep 30 20:05:56 UTC 2024 - Marcus Rueckert 
+
+- fix building the binaries with PIE 
+
+---
+Mon Sep 30 19:40:24 UTC 2024 - Marcus Rueckert 
+
+- Update to 3.10.0
+  - [FIX] Arc regex to no longer match on dmarc= by
+@JasonStephenson in #4960
+  - [Conf] Add SenderScore RPBL return codes by @moisseev in #5077
+  - Add name in statistic.conf by @dragoangel in #5079
+  - [Minor] Improve errors reporting for lua_redis by @vstakhov in
+#5086
+  - [Feature] Allow to set negative group score limit via min_score
+by @vstakhov in #5084
+  - [Fix] Fix Redis scripts uploading when Redis is not ready by
+@vstakhov in #5091
+  - [Conf] Add SenderScore Reputationlist RBL by @moisseev in #5088
+  - [Test] Add tests for milter_headers by @fatalbanana in #5083
+  - [Project] Allow to change log tag from HTTP request by
+@vstakhov in #5092
+  - [Rework] Resolve rdns in a separate function by @vstakhov in
+#5093
+  - [Dep] Update doctest to 2.4.11 by @vstakhov in #5094
+  - Pull Request for OpenSSL 3.0 support by @left-try in #5072
+  - Remove NIST mode from cryptobox by @vstakhov in #5099
+  - Fix keypairs encryption/decryption by @vstakhov in #5100
+  - [Project] Allow manipulations with opaque UCL objects by
+@vstakhov in #5104
+  - Provide OpenSSL 3.0 support for lua_rsa by @left-try in #5101
+  - Fix issue with broken HTTP message to learn endpoints by
+@vstakhov in #5106
+  - [Test] Improve grow_factor tests by @fatalbanana in #5110
+  - Set expiration for history_redis to 5 days by default by
+@dragoangel in #5115
+  - Fix for issue #5089 - learning of the empty tasks by @vstakhov
+in #5118
+  - Update URIBL_RED/GREY scores by @slavkoja in #5119
+  - [Fix] Preserve the previous behaviour of RDNS_* checks by
+@vstakhov in #5121
+  - [Test] Improve startup error handling by @fatalbanana in #5114
+  - [Fix] Unify lua symbols registration by @vstakhov in #5125
+  - [PATCH] ICAP: encode constructed path to be URL safe. by
+@oliyks in #5111
+  - [Rework] Change the logic of skipping symbols by @vstakhov in
+#5126
+  - Draft pull request for issue #5095 by @left-try in #5116
+  - Rework fuzzy symbols by @vstakhov in #5127
+  - [Fix] Another fix for Redis schema by @vstakhov in #5129
+  - [Feature] Allow differen modes for fuzzy rules by @vstakhov in
+#5131
+  - Implement individual limits for fuzzy keys by @vstakhov in
+#5135
+  - [Fix] Rework DMARC grammar to correctly handle spaces in values
+by @spacefreak86 in #5139
+  - [Test] Upgrade linters by @moisseev in #5133
+  - [Feature] DMARC: Implement reporting.only_domains setting by
+@fatalbanana in #5142
+  - Draft pull request for PR#5116 by @left-try in #5132
+  - Detect CPU using __builtin_cpu_supports where it's possible by
+@vstakhov in #5140
+  - [Rework] Allow more flexible keypair encoding by @vstakhov in
+#5144
+  - Add more build targets by @vstakhov in #5153
+  - Fixes for OpenSSL by @vstakhov in #5154
+  - [Fix] Iterate over dynamic keys in fuzzy storage by @vstakhov
+in #5156
+  - [Rework] Remove control block support by @vstakhov in #5160
+  - MIME UTF8 support by @vstakhov in #5056
+  - [Fix] Fix DCC rep handling by @vstakhov in #5161
+
+---

Old:

  rspamd-3.9.1.tar.gz

New:

  rspamd-3.10.0.tar.gz

++

commit rspamd for openSUSE:Factory

2024-07-31 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2024-07-31 14:41:50

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.7232 (New)


Package is "rspamd"

Wed Jul 31 14:41:50 2024 rev:27 rq:1190637 version:3.9.1

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2024-07-22 
17:18:30.350480059 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.7232/rspamd.changes  2024-07-31 
14:41:53.255109930 +0200
@@ -1,0 +2,9 @@
+Wed Jul 31 10:21:39 UTC 2024 - Marcus Rueckert 
+
+- Update to 3.9.1
+  - [Test] Use actions/setup-node by @moisseev in #5058
+  - [Feature] Treat SPF +all in a special way by @vstakhov in #5059
+  - [Test] Migrate ESLint to 9.7.0 by @moisseev in #5063
+  - Some tunes and fixes for GPT by @vstakhov in #5068
+
+---

Old:

  rspamd-3.9.0.tar.gz

New:

  rspamd-3.9.1.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.wrIuSc/_old  2024-07-31 14:41:53.907137062 +0200
+++ /var/tmp/diff_new_pack.wrIuSc/_new  2024-07-31 14:41:53.911137228 +0200
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.9.0
+Version:3.9.1
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -95,7 +95,7 @@
 %endif
 BuildRequires:  pcre2-devel
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(fmt)
+BuildRequires:  pkgconfig(fmt) >= 11
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
 %if %{with ext_hiredis}
 BuildRequires:  pkgconfig(hiredis)
@@ -105,8 +105,8 @@
 BuildRequires:  pkgconfig(libnsl)
 %endif
 BuildRequires:  ragel
-BuildRequires:  pkgconfig(libsodium)
 BuildRequires:  pkgconfig(libarchive) >= 3.0
+BuildRequires:  pkgconfig(libsodium)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(sqlite3)
 %if %{with systemd}

++ rspamd-3.9.0.tar.gz -> rspamd-3.9.1.tar.gz ++
 3113 lines of diff (skipped)


commit rspamd for openSUSE:Factory

2024-07-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2024-07-22 17:17:07

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.17339 (New)


Package is "rspamd"

Mon Jul 22 17:17:07 2024 rev:26 rq:1188680 version:3.9.0

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2024-06-03 
17:44:58.154348609 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.17339/rspamd.changes 2024-07-22 
17:18:30.350480059 +0200
@@ -1,0 +2,217 @@
+Fri Jul 12 12:57:21 UTC 2024 - Marcus Rueckert 
+
+- New BR pkgconfig(libarchive) >= 3.0
+- For pkgconfig(fmt) we need to allow the intree copy until our
+  package is upgraded from 10 to at least 11
+
+---
+Fri Jul 12 12:42:34 UTC 2024 - Marcus Rueckert 
+
+- Update to 3.9.0
+  This ships a chatgpt feature, which is explained here:
+  
+  https://rspamd.com/misc/2024/07/03/gpt.html
+
+
+  - [Feature] Add extraction type for from maps by @vstakhov in
+#4794
+  - [Rework] Breaking: Do not report module as action by @moisseev
+in #4795
+  - [Minor] Move server selection logic to common.js by @moisseev
+in #4796
+  - [WebUI] Show pass-through module in History by @moisseev in
+#4798
+  - [Feature] Allow to add templates to redis history prefix by
+@vstakhov in #4801
+  - Deal with Connection and Host headers on proxying by @vstakhov
+in #4802
+  - [Minor] configwizard: really use LOCAL_CONFDIR by @fatalbanana
+in #4804
+  - [Fix] Resolve issue with bayes stat in rspamadm mode by
+@vstakhov in #4805
+  - [Minor] rspamd_task API docs: fix broken link by @fatalbanana
+in #4807
+  - [Minor] Add more returnbits to surbl configuration by
+@fatalbanana in #4803
+  - [Feature] Support JSON logging when in syslog mode by @vstakhov
+in #4813
+  - Fix issues with URL fragment in HTTP requests by @vstakhov in
+#4814
+  - [Fix] Encode headers in metadata exporter by @vstakhov in #4816
+  - Improve Kaspersky AS integration by @vstakhov in #4806
+  - Allow dynamic keypairs loading in fuzzy storage by @vstakhov in
+#4818
+  - Build tests with CTest in Cmake by @vstakhov in #4822
+  - [Fix] Fix history key, as we use {= and not {{ in templates by
+@vstakhov in #4826
+  - Revert "[Fix] Fix history key, as we use {= and not {{ in
+templates" by @vstakhov in #4829
+  - [Fix] Allow different template expansion parameters by
+@vstakhov in #4830
+  - [WebUI] Disable buttons until tables are ready by @moisseev in
+#4838
+  - Rework jinja_template functions to avoid LUPA global state
+dependency by @vstakhov in #4839
+  - Support libarchive by @vstakhov in #4843
+  - [Test] Use Robot-native process management by @fatalbanana in
+#4834
+  - [Minor] Add HAS_FILE_URL rule for messages containing a file://
+URL by @twesterhever in #4846
+  - [Test] rspamadm tests: override DBDIR by @fatalbanana in #4847
+  - Sync public suffix list by @fatalbanana in #4845
+  - [WebUI] Add file input and drop area to scan tab by @moisseev
+in #4849
+  - Update nconns in proxy by @vstakhov in #4852
+  - [Minor] Improve minWidth calculation by @moisseev in #4853
+  - [Minor] Align items in card headers and buttons by @moisseev in
+#4855
+  - [Minor] Fix status tables borders by @moisseev in #4856
+  - [Project] Optimization of userdata hashing by @vstakhov in
+#4857
+  - Further optimization to the hot path of lua userdata checks by
+@vstakhov in #4860
+  - [Minor] Serve SVG with the correct CT by @moisseev in #4861
+  - [Minor] Add background icon to drop area by @moisseev in #4862
+  - [Minor] Add HTTP_MAGIC_SVG key by @moisseev in #4863
+  - [WebUI] Add check/uncheck all checkboxes buttons by @moisseev
+in #4864
+  - Vault signing improvements by @vstakhov in #4866
+  - [Feature] Support reply in message pack format by @vstakhov in
+#4867
+  - Fix parsing of maps definitions by @vstakhov in #4869
+  - Use zstd compression in client all the time by @vstakhov in
+#4870
+  - Remove demjson dependency as it is clearly outdated and broken
+by @vstakhov in #4871
+  - Migrate to Github Actions by @fatalbanana in #4823
+  - [Test] Use actions/checkout by @fatalbanana in #4874
+  - Do not save multipatterns to FS in certain cases by @vstakhov
+in #4873
+  - [Minor] README: update build status badge by @fatalbanana in
+#4875
+  - [Test] Really fix saving test logs... by @fatalbanana in #4876
+  - [WebUI] Add column display mode settings by @moisseev in #4877
+  - [Minor] Change FooTable breakpoints to match Bootstrap 5 by
+@moisseev in #4878
+  - [Rework] Remove some of the GLib types in lieu of standard ones
+by @vstakhov in #4880
+  - Fix inconsistent nesti

commit rspamd for openSUSE:Factory

2024-06-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2024-06-03 17:44:37

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.24587 (New)


Package is "rspamd"

Mon Jun  3 17:44:37 2024 rev:25 rq:1178260 version:3.8.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2024-02-27 
22:46:12.709890224 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.24587/rspamd.changes 2024-06-03 
17:44:58.154348609 +0200
@@ -1,0 +2,6 @@
+Wed May 22 12:19:36 UTC 2024 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(libhs) instead of vectorscan-devel: allow
+  to work with the free hyperscan variant.
+
+---



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.Y1Bniz/_old  2024-06-03 17:44:59.154385186 +0200
+++ /var/tmp/diff_new_pack.Y1Bniz/_new  2024-06-03 17:44:59.158385332 +0200
@@ -78,7 +78,7 @@
 BuildRequires:  gcc%{?force_gcc_version}-c++
 BuildRequires:  gd-devel
 %if %{with hyperscan}
-BuildRequires:  hyperscan-devel
+BuildRequires:  pkgconfig(libhs)
 %endif
 %if %{with jemalloc}
 BuildRequires:  jemalloc-devel


commit rspamd for openSUSE:Factory

2024-02-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2024-02-20 21:16:44

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1706 (New)


Package is "rspamd"

Tue Feb 20 21:16:44 2024 rev:23 rq:1148323 version:3.8.2

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2024-01-26 
22:48:32.622956136 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1706/rspamd.changes  2024-02-20 
21:16:44.647237960 +0100
@@ -1,0 +2,34 @@
+Tue Feb 20 18:18:16 UTC 2024 - Marcus Rueckert 
+
+- Update to 3.8.2
+  - [Feature] Add extraction type for from maps by @vstakhov in
+#4794
+  - [Rework] Breaking: Do not report module as action by @moisseev
+in #4795
+  - [Minor] Move server selection logic to common.js by @moisseev
+in #4796
+  - [WebUI] Show pass-through module in History by @moisseev in
+#4798
+  - [Feature] Allow to add templates to redis history prefix by
+@vstakhov in #4801
+  - Deal with Connection and Host headers on proxying by @vstakhov
+in #4802
+  - [Minor] configwizard: really use LOCAL_CONFDIR by @fatalbanana
+in #4804
+  - [Fix] Resolve issue with bayes stat in rspamadm mode by
+@vstakhov in #4805
+  - [Minor] rspamd_task API docs: fix broken link by @fatalbanana
+in #4807
+  - [Minor] Add more returnbits to surbl configuration by
+@fatalbanana in #4803
+  - [Feature] Support JSON logging when in syslog mode by @vstakhov
+in #4813
+  - Fix issues with URL fragment in HTTP requests by @vstakhov in
+#4814
+  - [Fix] Encode headers in metadata exporter by @vstakhov in #4816
+  - Improve Kaspersky AS integration by @vstakhov in #4806
+  - Allow dynamic keypairs loading in fuzzy storage by @vstakhov in
+#4818
+  - Build tests with CTest in Cmake by @vstakhov in #4822
+
+---

Old:

  rspamd-3.8.1.tar.gz

New:

  rspamd-3.8.2.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.bxBla3/_old  2024-02-20 21:16:46.171293243 +0100
+++ /var/tmp/diff_new_pack.bxBla3/_new  2024-02-20 21:16:46.175293389 +0100
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.8.1
+Version:3.8.2
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0

++ rspamd-3.8.1.tar.gz -> rspamd-3.8.2.tar.gz ++
 2776 lines of diff (skipped)


commit rspamd for openSUSE:Factory

2023-12-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-12-22 22:42:56

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.28375 (New)


Package is "rspamd"

Fri Dec 22 22:42:56 2023 rev:21 rq:1134658 version:3.7.5

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-12-08 
22:34:15.460866153 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.28375/rspamd.changes 2023-12-22 
22:43:45.309326557 +0100
@@ -1,0 +2,22 @@
+Fri Dec 15 16:59:47 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.7.5
+  - Test updates for rspamd-3.7 branch by @fatalbanana in #4708
+  - Fix rspamadm lua logger in rspamd-3.7 (#/4727) by @fatalbanana
+in #4729
+  - Some picks for rspamd-3.7 by @fatalbanana in #4731
+  - rspamd-3.7: fix systemd logging by @fatalbanana in #4734
+  - rspamd-3.7: [Fix] dkim_signing: siging_table: lowercase before
+lookup by @fatalbanana in #4737
+- drop pwatches included in update:
+  rspamd-d907a95.patch
+- refreshed patches to apply cleanly again:
+  fix_missing_return.patch
+  rspamd-conf.patch
+- While the fix for the logging bug was accepted into master. The
+  3.7.5 release uses a different solution apparently. Update patch
+  fix_stack_smash.patch.
+
+  https://github.com/rspamd/rspamd/pull/4732#issuecomment-1858255236
+
+---

Old:

  rspamd-3.7.4.tar.gz
  rspamd-d907a95.patch

New:

  rspamd-3.7.5.tar.gz

BETA DEBUG BEGIN:
  Old:- drop pwatches included in update:
  rspamd-d907a95.patch
- refreshed patches to apply cleanly again:
BETA DEBUG END:



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.3tKZgw/_old  2023-12-22 22:43:45.829345608 +0100
+++ /var/tmp/diff_new_pack.3tKZgw/_new  2023-12-22 22:43:45.829345608 +0100
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.7.4
+Version:3.7.5
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -67,8 +67,7 @@
 Patch0: rspamd-conf.patch
 Patch1: rspamd-after-redis-target.patch
 Patch2: fix_missing_return.patch
-Patch3: rspamd-d907a95.patch
-Patch4: fix_stack_smash.patch
+Patch3: fix_stack_smash.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan

++ fix_missing_return.patch ++
--- /var/tmp/diff_new_pack.3tKZgw/_old  2023-12-22 22:43:45.849346341 +0100
+++ /var/tmp/diff_new_pack.3tKZgw/_new  2023-12-22 22:43:45.853346487 +0100
@@ -1,8 +1,8 @@
-Index: rspamd-3.3/src/libserver/symcache/symcache_item.hxx
+Index: rspamd-3.7.5/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
+--- rspamd-3.7.5.orig/src/libserver/symcache/symcache_item.hxx
 rspamd-3.7.5/src/libserver/symcache/symcache_item.hxx
+@@ -78,6 +78,7 @@ constexpr static auto item_type_to_str(s
case symcache_item_type::VIRTUAL:
return "virtual";
}

++ fix_stack_smash.patch ++
--- /var/tmp/diff_new_pack.3tKZgw/_old  2023-12-22 22:43:45.865346927 +0100
+++ /var/tmp/diff_new_pack.3tKZgw/_new  2023-12-22 22:43:45.869347074 +0100
@@ -7,10 +7,10 @@
 struct iovec *iov = g_alloca(sizeof(struct iovec) * niov);
 and that faulted on aarch64.
 
-Index: rspamd-3.7.4/src/libserver/logger/logger.c
+Index: rspamd-3.7.5/src/libserver/logger/logger.c
 ===
 rspamd-3.7.4.orig/src/libserver/logger/logger.c
-+++ rspamd-3.7.4/src/libserver/logger/logger.c
+--- rspamd-3.7.5.orig/src/libserver/logger/logger.c
 rspamd-3.7.5/src/libserver/logger/logger.c
 @@ -1046,25 +1046,7 @@ gsize rspamd_log_fill_iov(struct iovec *
gint r;
  
@@ -20,11 +20,11 @@
 -  return 4;
 -  }
 -  else {
--  return 3; /* No time component */
+-  return 2; /* No time component */
 -  }
 -  }
 -  else if (log_systemd) {
--  return 3;
+-  return 4;
 -  }
 -  else {
 -  if (log_color) {
@@ -38,11 +38,4 @@
}
else {
static gchar timebuf[64], modulebuf[64];
-@@ -1197,4 +1179,4 @@ gsize rspamd_log_fill_iov(struct iovec *
-   

commit rspamd for openSUSE:Factory

2023-12-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-12-08 22:33:19

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.25432 (New)


Package is "rspamd"

Fri Dec  8 22:33:19 2023 rev:20 rq:1132069 version:3.7.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-11-22 
18:55:45.382103457 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.25432/rspamd.changes 2023-12-08 
22:34:15.460866153 +0100
@@ -1,0 +2,6 @@
+Wed Dec  6 15:28:07 UTC 2023 - Adam Majer 
+
+- fix_stack_smash.patch: upstream rework of logging doesn't allocate
+  enough memory for an array (bsc#1216830)
+
+---

New:

  fix_stack_smash.patch

BETA DEBUG BEGIN:
  New:
- fix_stack_smash.patch: upstream rework of logging doesn't allocate
  enough memory for an array (bsc#1216830)
BETA DEBUG END:



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.sByg52/_old  2023-12-08 22:34:16.416901330 +0100
+++ /var/tmp/diff_new_pack.sByg52/_new  2023-12-08 22:34:16.416901330 +0100
@@ -68,6 +68,7 @@
 Patch1: rspamd-after-redis-target.patch
 Patch2: fix_missing_return.patch
 Patch3: rspamd-d907a95.patch
+Patch4: fix_stack_smash.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan

++ fix_stack_smash.patch ++
https://bugzilla.suse.com/show_bug.cgi?id=1216830
https://github.com/rspamd/rspamd/pull/4732

The caller uses the value to size its memory allocation:
gsize niov = rspamd_log_fill_iov(NULL, now, module, id, function, 
level_flags, message,
 mlen, 
rspamd_log);
struct iovec *iov = g_alloca(sizeof(struct iovec) * niov);
and that faulted on aarch64.

Index: rspamd-3.7.4/src/libserver/logger/logger.c
===
--- rspamd-3.7.4.orig/src/libserver/logger/logger.c
+++ rspamd-3.7.4/src/libserver/logger/logger.c
@@ -1046,25 +1046,7 @@ gsize rspamd_log_fill_iov(struct iovec *
gint r;
 
if (iov == NULL) {
-   if (log_rspamadm) {
-   if (logger->log_level == G_LOG_LEVEL_DEBUG) {
-   return 4;
-   }
-   else {
-   return 3; /* No time component */
-   }
-   }
-   else if (log_systemd) {
-   return 3;
-   }
-   else {
-   if (log_color) {
-   return 5;
-   }
-   else {
-   return 4;
-   }
-   }
+   return 5;
}
else {
static gchar timebuf[64], modulebuf[64];
@@ -1197,4 +1179,4 @@ gsize rspamd_log_fill_iov(struct iovec *
return niov;
}
}
-}
\ No newline at end of file
+}


commit rspamd for openSUSE:Factory

2023-11-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-11-22 18:55:27

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.25432 (New)


Package is "rspamd"

Wed Nov 22 18:55:27 2023 rev:19 rq:1128152 version:3.7.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-11-15 
21:10:08.915708596 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.25432/rspamd.changes 2023-11-22 
18:55:45.382103457 +0100
@@ -1,0 +2,6 @@
+Wed Nov 22 10:06:42 UTC 2023 - Guillaume GARDET 
+
+- Add upstream patch to fix build without hyperscan:
+  * rspamd-d907a95.patch
+
+---

New:

  rspamd-d907a95.patch

BETA DEBUG BEGIN:
  New:- Add upstream patch to fix build without hyperscan:
  * rspamd-d907a95.patch
BETA DEBUG END:



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.FaS9Zy/_old  2023-11-22 18:55:45.958124597 +0100
+++ /var/tmp/diff_new_pack.FaS9Zy/_new  2023-11-22 18:55:45.962124744 +0100
@@ -67,6 +67,7 @@
 Patch0: rspamd-conf.patch
 Patch1: rspamd-after-redis-target.patch
 Patch2: fix_missing_return.patch
+Patch3: rspamd-d907a95.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan

++ rspamd-d907a95.patch ++
>From d907a95ac2e2cad6f7f65c4323f031f7931ae18b Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov 
Date: Wed, 15 Nov 2023 13:43:05 +
Subject: [PATCH] [Minor] Fix build with no hyperscan

Issue: #4702
---
 src/libserver/rspamd_control.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index 986a4a2ea..69af0597f 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -922,6 +922,7 @@ rspamd_srv_handler(EV_P_ ev_io *w, int revents)
}
break;
case RSPAMD_SRV_HYPERSCAN_LOADED:
+#ifdef WITH_HYPERSCAN
/* Load RE cache to provide it for new forks */
if 
(rspamd_re_cache_is_hs_loaded(rspamd_main->cfg->re_cache) != 
RSPAMD_HYPERSCAN_LOADED_FULL ||
cmd.cmd.hs_loaded.forced) {
@@ -932,7 +933,9 @@ rspamd_srv_handler(EV_P_ ev_io *w, int revents)
}
 
/* After getting this notice, we can clean up 
old hyperscan files */
+
rspamd_hyperscan_notice_loaded();
+
msg_info_main("received hyperscan cache loaded 
from %s",
  
cmd.cmd.hs_loaded.cache_dir);
 
@@ -945,6 +948,7 @@ rspamd_srv_handler(EV_P_ ev_io *w, int revents)
wcmd.cmd.hs_loaded.forced = 
cmd.cmd.hs_loaded.forced;
rspamd_control_broadcast_cmd(rspamd_main, 
&wcmd, rfd,

 rspamd_control_ignore_io_handler, NULL, worker->pid);
+#endif
break;
case RSPAMD_SRV_MONITORED_CHANGE:
/* Broadcast command to all workers */


commit rspamd for openSUSE:Factory

2023-10-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-10-27 22:28:19

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.17445 (New)


Package is "rspamd"

Fri Oct 27 22:28:19 2023 rev:17 rq:1120748 version:3.7.3

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-10-15 
19:30:08.454518242 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.17445/rspamd.changes 2023-10-27 
22:28:51.548979948 +0200
@@ -1,0 +2,29 @@
+Fri Oct 27 08:03:52 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.7.3
+  - [Fix] Emergency fix for the hyperscan path error
+
+---
+Thu Oct 26 18:25:54 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.7.2
+  - [Minor] Make compiling with backward-cpp optional by
+@a16bitsysop in #4639
+  - [Rules] Blank spam detection by @fatalbanana in #4644
+  - [Minor] Treat *.cue attachments as harmful by @twesterhever in
+#4642
+  - Dzjaivnt patch 1 by @dzjaivnt in #4640
+  - [WebUI] Add control to invert action filter by @moisseev in
+#4645
+  - [Fix] DMARC reporting: fix reporting for subdomains by
+@fatalbanana in #4587
+  - [Test] Banish luacheck from functional tests by @fatalbanana in
+#4648
+  - [Minor] RSPAMD_SHAREDIR is called SHAREDIR in configuration by
+@fatalbanana in #4649
+  - [WebUI] Fix history table vanishing by @moisseev in #4661
+  - Tighten rspamd's attachment policy by @twesterhever in #4656
+  - [Minor] rbl: support use of different matchers for return codes
+by @fatalbanana in #4657
+
+---

Old:

  rspamd-3.7.1.tar.gz

New:

  rspamd-3.7.3.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.4v91cu/_old  2023-10-27 22:28:52.084999607 +0200
+++ /var/tmp/diff_new_pack.4v91cu/_new  2023-10-27 22:28:52.088999754 +0200
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.7.1
+Version:3.7.3
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -624,6 +624,7 @@
 %{_datadir}/rspamd/rules/html.lua
 %{_datadir}/rspamd/rules/mid.lua
 %{_datadir}/rspamd/rules/misc.lua
+%{_datadir}/rspamd/rules/parts.lua
 %{_datadir}/rspamd/rules/rspamd.lua
 %{_datadir}/rspamd/rules/subject_checks.lua
 

++ rspamd-3.7.1.tar.gz -> rspamd-3.7.3.tar.gz ++
 1859 lines of diff (skipped)


commit rspamd for openSUSE:Factory

2023-10-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-10-15 19:27:58

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.20540 (New)


Package is "rspamd"

Sun Oct 15 19:27:58 2023 rev:16 rq:1117826 version:3.7.1

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-08-11 
15:56:16.520028003 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.20540/rspamd.changes 2023-10-15 
19:30:08.454518242 +0200
@@ -1,0 +2,56 @@
+Sat Oct  7 21:56:26 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.7.1 
+  - [Fix] CMakeLists.txt remove whitespace added by linter as it
+makes te… by @a16bitsysop in #4560
+  - fix: redis schema parsing by @Conni2461 in #4562
+  - [Minor] Update JS libraries by @moisseev in #4567
+  - [WebUI] Restore contrasting foreground color by @moisseev in
+#4569
+  - Add new exporter to push JSON to a raw TCP socket by @lingfish
+in #4572
+  - [WebUI] Tweak bootstrap colors for accessibility by @moisseev
+in #4577
+  - Rewrite configuration utils in C++ by @vstakhov in #4573
+  - [Minor] Slightly adjust DNSBL scores by @twesterhever in #4557
+  - Added support for Redis 6 ACL (username/password) by @laodc in
+#4578
+  - [Feature] Support feed exclusions in phishing module by
+@dragoangel in #4575
+  - [Minor] Remove unwanted debug logging by @fatalbanana in #4585
+  - Fix regression in invokation of rspamd-test by @ln5 in #4588
+  - [Fix] Correct format pattern for RE tree tempfile name by @ln5
+in #4590
+  - [Minor] Remove unused variables by @ln5 in #4591
+  - [Fix] Correct format string for unw_word_t by @ln5 in #4592
+  - [Fix] rbl: really fix dependency registration when
+symbols_prefixes i… by @fatalbanana in #4594
+  - [Fix] rspamadm mime: arguments beginning with letter t by
+@fatalbanana in #4597
+  - [Minor] API docs: lua_ip: fix function name by @fatalbanana in
+#4598
+  - [Feature] rbl: support checking numeric URLs in isolation by
+@fatalbanana in #4596
+  - [Feature] Add ICAP Content-Type and Filename from TODO List by
+@lbahtarliev in #4595
+  - [Minor] Try fix CI by @fatalbanana in #4603
+  - [Fix] MISSING_MIMEOLE: avoid matching messages from Android
+GMail app (#4561) by @fatalbanana in #4600
+  - [WebUI] Set locale on UI load by @moisseev in #4607
+  - Update configwizard.lua by @Dani778 in #4605
+  - [Minor] Revisit numeric_urls by @fatalbanana in #4602
+  - [Fix] Change Date: header location to conform with RFC by
+@lbahtarliev in #4608
+  - Implement known senders plugin by @vstakhov in #4610
+  - [Test] Rudimentary tests for known_senders plugin by
+@fatalbanana in #4612
+  - [Test] Ignore encoding errors by @fatalbanana in #4616
+  - Merge tests into master branch by @fatalbanana in #4615
+  - Run CI on ARM by @fatalbanana in #4617
+  - [Minor] Try fix test logs by @fatalbanana in #4620
+  - Minor improvements for CI by @fatalbanana in #4621
+  - Fix wrong copypasta & mis-named file by @fatalbanana in #4624
+  - [Test] Use Robot Framework native IF by @fatalbanana in #4625
+  - [Fix] Prevent DNSWL sabotage by @mdierksen in #4627
+
+---

Old:

  rspamd-3.6.tar.gz

New:

  rspamd-3.7.1.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.mpO8p6/_old  2023-10-15 19:30:08.994537695 +0200
+++ /var/tmp/diff_new_pack.mpO8p6/_new  2023-10-15 19:30:08.998537839 +0200
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.6
+Version:3.7.1
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -409,6 +409,7 @@
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/history_redis.conf
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/hfilter.conf
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/http_headers.conf
+%config(noreplace) %{_sysconfdir}/rspamd/modules.d/known_senders.conf
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/maillist.conf
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/metadata_exporter.conf
 %config(noreplace) %{_sysconfdir}/rspamd/modules.d/metric_exporter.conf
@@ -472,6 +473,7 @@
 %{_datadir}/rspamd/hfilter.lua
 %{_datadir}/rspamd/history_redis.lua
 %{_datadir}/rspamd/ip_score.lua
+%{_datadir}/rspamd/known_senders.lua
 %{_datadir}/rspamd/maillist.lua
 %{_datadir}/rspamd/maps_stats.lua
 %{_datadir}/rspamd/metadata_exporter.lua
@@ -508,6 +510,7 @@
 %{_datadir}/rspamd/lualib/lua_aws.lua
 %{_datadir}/rspamd/lualib/lua_bayes_learn.lua
 %{_datadir}/rspamd/lualib/lua_cfg_transform.lua
+%{_datadir}/rspamd/lualib/lua_cfg_utils.lua
 %{_datadir}/rspamd/lualib/l

commit rspamd for openSUSE:Factory

2023-08-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-08-11 15:56:02

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.11712 (New)


Package is "rspamd"

Fri Aug 11 15:56:02 2023 rev:15 rq:1103409 version:3.6

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-03-25 
18:56:07.586905454 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.11712/rspamd.changes 2023-08-11 
15:56:16.520028003 +0200
@@ -1,0 +2,66 @@
+Thu Aug  3 21:34:15 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.6
+  - [WebUI] Migrate to Bootstrap v5.2 by @moisseev in #
+  - fix: avoid double-dip of nrcpt when calculating ratelimit
+condition by @simbuerg in #4448
+  - [WebUI] Fix "Clean history" button enabling/disabling in the
+Scan tab by @moisseev in #4453
+  - [Minor] Use a scalar variable as a dir handle by @moisseev in
+#4457
+  - Fix arc by @jendis in #4449
+  - [Minor] Fix pagination control border radius by @moisseev in
+#4461
+  - [Fix] remove obsolete rspamd-redirector files by @a16bitsysop
+in #4422
+  - Add fasttext language detector to Rspamd by @vstakhov in #4473
+  - [Minor] Fix rows background coloring by @moisseev in #4490
+  - [WebUI] Add ability to compute fuzzy hashes by @moisseev in
+#4499
+  - [Fix] rbl: fix dependency registration when symbols_prefixes is
+used by @fatalbanana in #4498
+  - [Enhancement] Add composite rule for messages only containing a
+redirector URL by @twesterhever in #4496
+  - [WebUI] Show validation feedback inside login modal by
+@moisseev in #4504
+  - [Minor] Improve HACKED_WP_PHISHING coverage by @twesterhever in
+#4506
+  - [Minor] Add additional bad extensions by @twesterhever in #4508
+  - [Minor] Assorted cleanup and housekeeping of configuration
+files, take 2 by @twesterhever in #4505
+  - [Rules] Add thread hijacking composite rule by @twesterhever in
+#4507
+  - [Minor] Move HAS_ONION_URI from "experimental" to "url" group
+by @twesterhever in #4495
+  - [Enhancement] Make Google Firebase rule productive by
+@twesterhever in #4494
+  - Use the correct mime format for 7z by @JasonStephenson in #4517
+  - [Minor] Increase score for .chm attachments by @twesterhever in
+#4518
+  - [Enhancement] Improve detection of Google redirection URLs by
+@twesterhever in #4497
+  - if elasticsearch_version >= 7 we should not send the _type to
+elastic… by @mariojansen in #4520
+  - [Enhancement] Treat HTML attachments as (slightly) bad by
+@twesterhever in #4519
+  - Dockerfile: Switch to bookworm by @mrueg in #4532
+  - [Feature] external_relay: add ip_map strategy by @moesoha in
+#4537
+  - [Feature] Detect Apple Mail and remove scores for their known
+common behavior by @dragoangel in #4538
+  - [Minor] A bit better apple_x_mailer regex by @dragoangel in
+#4539
+  - replace ECDSA_sign_setup/ECDSA_sign_ex with ECDSA_sign by
+@sthen in #4541
+  - [Fix] dmarc gramar - allow spaces before ";" by @rheoli in
+#4547
+  - [Minor] Minor fixes for previous ratelimit changes by
+@fatalbanana in #4549
+  - [Minor] Improve catch rates of FREEMAIL_AFF by @twesterhever in
+#4556
+  - [Minor] Test & fix has_only_html_part regression by
+@fatalbanana in #4559
+  - [Minor] Tweak HAS_GOOGLE_REDIR to detect Google AMP URLs as
+well by @twesterhever in #4558
+
+---

Old:

  rspamd-3.5.tar.gz

New:

  rspamd-3.6.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.HCIzPx/_old  2023-08-11 15:56:17.244032317 +0200
+++ /var/tmp/diff_new_pack.HCIzPx/_new  2023-08-11 15:56:17.248032341 +0200
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.5
+Version:3.6
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -355,6 +355,7 @@
 %config %{_sysconfdir}/rspamd/worker-fuzzy.inc
 %config %{_sysconfdir}/rspamd/worker-normal.inc
 %config %{_sysconfdir}/rspamd/worker-proxy.inc
+%config %{_sysconfdir}/rspamd/lang_detection.inc
 
 %dir %{_sysconfdir}/rspamd/local.d
 %config(noreplace) %{_sysconfdir}/rspamd/local.d/worker-controller.inc
@@ -597,12 +598,22 @@
 %{_datadir}/rspamd/lualib/rspamadm/template.lua
 %{_datadir}/rspamd/lualib/rspamadm/vault.lua
 %{_datadir}/rspamd/lualib/rspamadm/neural_test.lua
+%{_datadir}/rspamd/lualib/rspamadm/dkim_keygen.lua
 
 %dir %{_datadir}/rspamd/lualib/plugins
 %{_datadir}/rspamd/lualib/plugins/dmarc.lua
 %{_datadir}/rspamd/lualib/plugins/neural.lua
 %{_datadir}/rspamd/lualib/plugins/rbl.lua
 
+%dir %{_datadir}/rspamd/lualib/redis_

commit rspamd for openSUSE:Factory

2023-03-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-03-25 18:55:51

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.31432 (New)


Package is "rspamd"

Sat Mar 25 18:55:51 2023 rev:14 rq:1074269 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2023-02-01 
16:54:26.150740971 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.31432/rspamd.changes 2023-03-25 
18:56:07.586905454 +0100
@@ -1,0 +2,64 @@
+Fri Mar 17 21:53:38 UTC 2023 - Marcus Rueckert 
+
+- Enable more features
+  - Enable nice stacktraces for crashes. New BR: libunwind-devel
+  - use system xxhash: New BR: xxhash-devel
+  - enable blas/lapack support for the neural network processing
+New BR: lapack-devel, libopenblas_openmp-devel, openblas-common-devel 
+
+---
+Fri Mar 17 21:21:47 UTC 2023 - Marcus Rueckert 
+
+- Update to 3.5
+  - [Test] Remove test case with non-deterministic result by
+@arkamar in #4323
+  - [WebUI] Add legacy history version badge by @moisseev in #4326
+  - [Feature] Enable Mime part filters on antivirus module by
+@jonmoesli in #4328
+  - [Test] Use TMPDIR if available by @arkamar in #4327
+  - metadata_exporter http pusher: Extend valid return codes by
+@yo000 in #4334
+  - [Minor] debian package: disable luajit on arm64 by @fatalbanana
+in #4335
+  - Support external maps in Rspamd by @vstakhov in #4324
+  - [Fix] Return true from has_urls(true) if only emails are
+present by @cpragadeesh in #4365
+  - [Fix] received: filtering of artificial header by @kakochang in
+#4367
+  - [Fix] Replace broken strict_domains with phishing_exceptions by
+@dupondje in #4376
+  - Fix build with gcc 13 by including by @heirecka in #4375
+  - rspamc: add -R option for human readable report by @amishmm in
+#4377
+  - rspamc: optimize indentation condition by @amishmm in #4381
+  - Set required_score = reject score and minor change to the
+report by @amishmm in #4383
+  - conf/modules.d/arc.conf: fix parameter name by @jendis in #4387
+  - Fixes to support global lua maps in user settings by @dpetrov67
+in #4393
+  - [Enhancement] Make Google URL redirection rules productive by
+@twesterhever in #4399
+  - [Enhancement] Add rule to detect Google Firebase URLs by
+@twesterhever in #4401
+  - [Minor] Assorted cleanup and housekeeping of configuration
+files by @twesterhever in #4397
+  - addition: add Betterbird to user_agent_thunderbird by
+@georglauterbach in #4404
+  - [Minor] Replace "Spamhaus XBL any" hack with a more clear
+solution by @twesterhever in #4398
+  - [Enhancement] Add IPFS URL heuristic by @twesterhever in #4310
+  - Checking for redirector url in mail by @korgoth1 in #4351
+  - fix incorrect asn references in bimi.conf by @mta59066 in #4410
+  - [Minor] Account for one more undisclosed-recipients address
+variant by @citrin in #4413
+  - Fix for x-rspamd-action in Milter headers module by @nishils in
+#4416
+  - [WebUI] Update JS libraries by @moisseev in #4414
+  - [WebUI] Update bootstrap by @moisseev in #4420
+  - [Minor] remove check for sys/cdefs.h in CMakelists.txt by
+@a16bitsysop in #4430
+  - [Minor] Fix some compiler warnings by @a16bitsysop in #4436
+- Drop 068714f9f5a96fbd94560211cec75775ee023d02.patch:
+- this drops the rspamd-director binary
+
+---

Old:

  068714f9f5a96fbd94560211cec75775ee023d02.patch
  rspamd-3.4.tar.gz

New:

  rspamd-3.5.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.6j2xo3/_old  2023-03-25 18:56:09.162913692 +0100
+++ /var/tmp/diff_new_pack.6j2xo3/_new  2023-03-25 18:56:09.166913713 +0100
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.4
+Version:3.5
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0
@@ -67,7 +67,6 @@
 Patch0: rspamd-conf.patch
 Patch1: rspamd-after-redis-target.patch
 Patch2: fix_missing_return.patch
-Patch3: 
https://github.com/rspamd/rspamd/commit/068714f9f5a96fbd94560211cec75775ee023d02.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan
@@ -113,8 +112,11 @@
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_ordering}
 %endif
+BuildRequires:  lapack-devel
+BuildRequires:  pkgconfig(libunwind)
+BuildRequires:  pkgconfig(libxxhash)
 BuildRequires:  pkgconfig(libzstd)
-
+BuildRequires:  pkgconfig(openblas)
 %if 0%{?suse_version} >= 1550
 

commit rspamd for openSUSE:Factory

2023-02-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2023-02-01 16:39:57

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.32243 (New)


Package is "rspamd"

Wed Feb  1 16:39:57 2023 rev:13 rq:1062440 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2022-11-16 
15:44:09.368028678 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.32243/rspamd.changes 2023-02-01 
16:54:26.150740971 +0100
@@ -1,0 +2,5 @@
+Wed Jan 25 11:11:42 UTC 2023 - Thorsten Kukuk 
+
+- Don't build against libnsl, it's not used and deprecated
+
+---



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.cqFEs3/_old  2023-02-01 16:54:26.558742947 +0100
+++ /var/tmp/diff_new_pack.cqFEs3/_new  2023-02-01 16:54:26.562742967 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rspamd
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -102,7 +102,7 @@
 BuildRequires:  pkgconfig(hiredis)
 %endif
 BuildRequires:  pkgconfig(libev)
-%if 0%{?suse_version} >= 1500
+%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1599
 BuildRequires:  pkgconfig(libnsl)
 %endif
 BuildRequires:  ragel


commit rspamd for openSUSE:Factory

2022-11-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2022-11-16 15:44:07

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1597 (New)


Package is "rspamd"

Wed Nov 16 15:44:07 2022 rev:12 rq:1036202 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2022-11-09 
12:58:10.608598690 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1597/rspamd.changes  2022-11-16 
15:44:09.368028678 +0100
@@ -1,0 +2,30 @@
+Mon Nov 14 16:35:33 UTC 2022 - Marcus Rueckert 
+
+- Move cleanup code to %pre because otherwise it doesnt trigger
+  early enough
+
+---
+Mon Nov 14 16:21:40 UTC 2022 - Marcus Rueckert 
+
+- Upgrade to 3.4 again 
+  - Fix metadata_exporter with many recipients by @yo000 in #4294
+  - [Fix] Fix favicon.ico Content-Type header by @moisseev in #4302
+  - [Minor] Fix copy-paste error by @moisseev in #4305
+  - Add basic auth to metadata_exporter http pusher by @yo000 in
+#4300
+  - [Enhancement] Add composite rule against AFF involving
+freemailers by @twesterhever in #4304
+  - Penalize bounce spam by @frederikbosch in #4308
+- Added 068714f9f5a96fbd94560211cec75775ee023d02.patch:
+  Official patch for the unaligned memory issue described in
+  https://github.com/rspamd/rspamd/issues/4329
+- Add cleanup code to the %postun scriptlet to remove bad files,
+  created by earlier/unpatched 3.4 versions, during package upgrade
+
+---
+Wed Nov  9 01:42:46 UTC 2022 - Marcus Rueckert 
+
+- Downgrade to 3.3 until https://github.com/rspamd/rspamd/issues/4329
+  is solved.
+
+---

New:

  068714f9f5a96fbd94560211cec75775ee023d02.patch



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.3UQE1p/_old  2022-11-16 15:44:09.876031173 +0100
+++ /var/tmp/diff_new_pack.3UQE1p/_new  2022-11-16 15:44:09.880031193 +0100
@@ -67,6 +67,7 @@
 Patch0: rspamd-conf.patch
 Patch1: rspamd-after-redis-target.patch
 Patch2: fix_missing_return.patch
+Patch3: 
https://github.com/rspamd/rspamd/commit/068714f9f5a96fbd94560211cec75775ee023d02.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan
@@ -273,6 +274,12 @@
 %pre
 %{_sbindir}/groupadd -r %{rspamd_group} 2>/dev/null || :
 %{_sbindir}/useradd -g %{rspamd_group} -c "Rmilter user" -s /bin/false -r 
%{rspamd_user} 2>/dev/null || :
+#
+# cleanup bad unser files from earlier 3.4 builds
+# see https://github.com/rspamd/rspamd/issues/4329 for the details
+#
+echo "Cleaning up '*.unser' files in /var/lib/rspamd"
+find /var/lib/rspamd/ -type f -name '*.unser' -delete -print ||:
 %if 0%{?suse_version} && %{with systemd}
 %service_add_pre %{name}.service
 

++ 068714f9f5a96fbd94560211cec75775ee023d02.patch ++
>From 068714f9f5a96fbd94560211cec75775ee023d02 Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov 
Date: Fri, 11 Nov 2022 20:34:51 +
Subject: [PATCH] [CritFix] Deserialise hyperscan to the page-aligned space to
 prevent alignment issues

Issue: #4329
---
 src/libserver/hyperscan_tools.cxx | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/libserver/hyperscan_tools.cxx 
b/src/libserver/hyperscan_tools.cxx
index 6187208a9..96366067d 100644
--- a/src/libserver/hyperscan_tools.cxx
+++ b/src/libserver/hyperscan_tools.cxx
@@ -306,7 +306,15 @@ auto load_cached_hs_file(const char *fname, std::int64_t 
offset = 0) -> tl::expe

msg_debug_hyperscan_lambda("multipattern: create new database in %s; %Hz size",
tmpfile_pattern.data(), 
unserialized_size);
void *buf;
-   posix_memalign(&buf, 16, 
unserialized_size);
+#ifdef HAVE_GETPAGESIZE
+   auto page_size = getpagesize();
+#else
+   auto page_size = 
sysconf(_SC_PAGESIZE);
+#endif
+   if (page_size == -1) {
+   page_size = 4096;
+   }
+   posix_memalign(&buf, page_size, 
unserialized_size);
if (buf == nullptr) {
retur

commit rspamd for openSUSE:Factory

2022-11-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2022-11-09 12:57:39

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1597 (New)


Package is "rspamd"

Wed Nov  9 12:57:39 2022 rev:11 rq:1034625 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2022-10-11 
18:06:03.078133448 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1597/rspamd.changes  2022-11-09 
12:58:10.608598690 +0100
@@ -1,0 +2,13 @@
+Tue Nov  1 21:41:46 UTC 2022 - Marcus Rueckert 
+
+- Update to 3.4
+  - Fix metadata_exporter with many recipients by @yo000 in #4294
+  - [Fix] Fix favicon.ico Content-Type header by @moisseev in #4302
+  - [Minor] Fix copy-paste error by @moisseev in #4305
+  - Add basic auth to metadata_exporter http pusher by @yo000 in
+#4300
+  - [Enhancement] Add composite rule against AFF involving
+freemailers by @twesterhever in #4304
+  - Penalize bounce spam by @frederikbosch in #4308
+
+---

Old:

  rspamd-3.3.tar.gz

New:

  rspamd-3.4.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.hoasEI/_old  2022-11-09 12:58:11.084601372 +0100
+++ /var/tmp/diff_new_pack.hoasEI/_new  2022-11-09 12:58:11.092601418 +0100
@@ -56,7 +56,7 @@
 %endif
 
 Name:   rspamd
-Version:3.3
+Version:3.4
 Release:0
 Summary:Spam filtering system
 License:Apache-2.0

++ rspamd-3.3.tar.gz -> rspamd-3.4.tar.gz ++
 4641 lines of diff (skipped)


commit rspamd for openSUSE:Factory

2022-10-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2022-10-11 18:03:41

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.2275 (New)


Package is "rspamd"

Tue Oct 11 18:03:41 2022 rev:10 rq:1009799 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2022-04-04 
19:27:23.471850192 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.2275/rspamd.changes  2022-10-11 
18:06:03.078133448 +0200
@@ -1,0 +2,83 @@
+Tue Oct  4 12:27:58 UTC 2022 - Marcus Rueckert 
+
+- 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 
+
+- Update to 3.3
+  see upgrades notes in:
+
+  https://rspamd.com/doc/migration.html#migration-to-rspamd-33
+
+  - [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 
+
+---

Old:

  rspamd-3.2.tar.gz

New:

  fix_missing_return.patch
  rspamd-3.3.tar.gz



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.Xn1ifQ/_old  2022-10-11 18:06:03.530134179 +0200
+++ /var/tmp/diff_new_pack.Xn1ifQ/_new  2022-10-11 18:06:03.534134185 +0200
@@ -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 @@
 Source1:usr.bin.rspamd
 Patch0: rspamd-conf.patch
 Patch1: rspamd-after-redis-target.patch
-# PATCH-FIX-UPSTREAM 

commit rspamd for openSUSE:Factory

2022-04-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2022-04-04 19:26:48

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1900 (New)


Package is "rspamd"

Mon Apr  4 19:26:48 2022 rev:9 rq:966814 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2022-03-28 
17:01:46.233067951 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1900/rspamd.changes  2022-04-04 
19:27:23.471850192 +0200
@@ -1,0 +2,6 @@
+Mon Apr  4 09:18:43 UTC 2022 - Wolfgang Rosenauer 
+
+- pcre2 is required; so removing any conditions around it
+  to fix build for Leap
+
+---



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.HE8mzI/_old  2022-04-04 19:27:23.991844230 +0200
+++ /var/tmp/diff_new_pack.HE8mzI/_new  2022-04-04 19:27:23.995844184 +0200
@@ -41,7 +41,6 @@
 
 %if 0%{?suse_version} >= 1500
   %bcond_without openblas
-  %bcond_withpcre2
 %endif
 
 # fails to build atm
@@ -94,10 +93,7 @@
 %if %{with openblas}
 BuildRequires:  openblas-devel
 %endif
-BuildRequires:  pcre-devel
-%if %{with pcre2}
 BuildRequires:  pcre2-devel
-%endif
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(fmt)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
@@ -225,9 +221,7 @@
   %if %{with utils}
   -DENABLE_UTILS=ON \
   %endif
-  %if %{with pcre2}
   -DENABLE_PCRE2=ON \
-  %endif
   %if %{with jemalloc}
   -DENABLE_JEMALLOC=ON  \
   %endif


commit rspamd for openSUSE:Factory

2022-03-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2022-03-28 17:00:54

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1900 (New)


Package is "rspamd"

Mon Mar 28 17:00:54 2022 rev:8 rq:965270 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2021-11-10 
21:47:58.943851568 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1900/rspamd.changes  2022-03-28 
17:01:46.233067951 +0200
@@ -1,0 +2,90 @@
+Sat Mar 26 17:02:38 UTC 2022 - Michael Str??der 
+
+- Update to 3.2
+  * [Conf] Score MIME_OBFUSCATED_ARCHIVE to 8 points
+  * [Conf] Set one_shot for URIBL rules by default
+  * [CritFix] Fix upstreams name resolution when there is also a port
+  * [Feature] Add ROC feature to neural network plugin
+  * [Feature] Add public suffic compilation utility
+  * [Feature] Add support of Cloudmark
+  * [Feature] Allow hyperscan for ppc64, as vectorscan now suports it.
+  * [Feature] Allow to skip DNS resolution for keep-alive connections
+  * [Feature] Aws_s3: Allow to store large parts separately
+  * [Feature] BIMI: Add preliminary version of the BIMI plugin
+  * [Feature] JSON endpoint for querying maps
+  * [Feature] Lua_magic: Add a sane CSV heuristic
+  * [Feature] Lua_mime: Add schema for message transfer
+  * [Feature] Output average scan time in /stat endpoint
+  * [Feature] Show average scan time in `rspamc stat` output
+  * [Fix] Add guards to avoid race condition on TCP connection
+  * [Fix] Allow spaces in DKIM key records
+  * [Fix] Apply the similar fix to the url_reputation
+  * [Fix] Avoid overwriting whitelisted_signers_map
+  * [Fix] Backport PR from libucl
+  * [Fix] Clear SSL errors
+  * [Fix] ClickHouse cleanup of old partitions
+  * [Fix] Do not double call error handler on ssl errors in the timeout path
+  * [Fix] Do not forget to clear pointers on IOC reset
+  * [Fix] External_relay: Remove useless check of the map value
+  * [Fix] Find suspicious url encodings that could break url extraction
+  * [Fix] Fix HTTP(s) client timeout
+  * [Fix] Fix exclude flags setting
+  * [Fix] Fix expanding of the variables
+  * [Fix] Fix host header usage in lua_http
+  * [Fix] Fix http maps shared memory cache cleanup
+  * [Fix] Fix logic in HTML processing FSM
+  * [Fix] Fix parsing of the compound mailto urls
+  * [Fix] Fix processing captures from pcre2
+  * [Fix] Fix removing from khash
+  * [Fix] Fix stuctured headers pushing
+  * [Fix] Further fix for i386 compilation
+  * [Fix] Improve duplicate settings error reporting
+  * [Fix] Lua: task:remove_result didn't work in some cases
+  * [Fix] Output service parts as well
+  * [Fix] Phishing: Deal with phishing + redirected URL
+  * [Fix] Phishing: Fix finding domains in the phishing map
+  * [Fix] Plug memory leak by using mempool for a copied address
+  * [Fix] Properly find the request and the number of requested entries
+  * [Fix] Rbl: Fix inversed logic of the url_full_hostname
+  * [Fix] Read file maps if they were not pre-read during preload
+  * [Fix] Restrict x86_64 assembly to x86_64
+  * [Fix] Return a real number of recipients when dealing with aliases
+  * [Fix] Rework unshedule DNS request function
+  * [Fix] Support definition of ungrouped symbol in conf file, use group info 
from lua or other conf file
+  * [Fix] Unschedule DNS request when clearing IO channel
+  * [Fix] When checking for phishing, we need to convert punicode -> UTF8, not 
vice versa
+  * [Fix] lua_cfg_transform - actions without score (discard)
+  * [Fix] lua_cfg_transform - silly break break actions
+  * [Fix] ratelimit - symbol per bucket
+  * [Project] BIMI: Fix helper integration issues
+  * [Project] Further DNS over TCP architecturing
+  * [Project] Rdns: Add more functions for TCP based requests
+  * [Project] Rdns: Add preliminary reading logic for TCP channels
+  * [Project] Rdns: Add reaper for inactive TCP connections
+  * [Project] Rdns: Add timeout logic for TCP requests
+  * [Project] Rdns: Do not treat TCP channels failure as fatal
+  * [Project] Rdns: Fix TCP connection mess
+  * [Project] Rdns: Fix TCP stuff cleanup
+  * [Project] Rdns: Fix various ownership issues
+  * [Project] Rdns: Implement TCP writing logic
+  * [Project] Rdns: Initial support of TCP IO channels
+  * [Project] Rdns: More fixes in TCP handling
+  * [Project] Rdns: Restore the previous EDNS0 size
+  * [Project] Rdns: Send truncated replies via TCP
+  * [Project] Rdns: Unregister TCP requests
+  * [Rework] Allow to restore SSL handlers after keepalive pooling
+  * [Rework] Allow to set a different behaviour for actions from settings
+  * [Rework] Include SSL flag into keepalive hash
+  * [Rework] Make `rspamadm dmarc_report` default behaviour more sane
+  * [Rework] Mem

commit rspamd for openSUSE:Factory

2021-11-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2021-11-10 21:47:09

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.1890 (New)


Package is "rspamd"

Wed Nov 10 21:47:09 2021 rev:7 rq:930680 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2021-06-09 
21:53:30.454603662 +0200
+++ /work/SRC/openSUSE:Factory/.rspamd.new.1890/rspamd.changes  2021-11-10 
21:47:58.943851568 +0100
@@ -1,0 +2,386 @@
+Wed Nov  3 13:39:29 UTC 2021 - Marcus Rueckert 
+
+- Update to 3.1
+  - [Feature] Add junk_threshold for autolearn
+  - [Feature] Add neural test command
+  - [Feature] Antivirus: Allow to set fake eicar patterns for
+testing AV engines
+  - [Feature] Lua_cdb: Add cdb building interface
+  - [Feature] Ratelimit: Add per bucket configurations
+  - [Feature] S3: Allow to store structured data in messagepack
+  - [Fix] Add concept of uncancellable events to prevent
+use-after-free
+  - [Fix] Add temporary guard to prevent linked list exploitation
+  - [Fix] Allow spaces in DKIM key records
+  - [Fix] Another rework of the ucl hashing
+  - [Fix] Another try to fix references safety
+  - [Fix] Another try to fix rspamd_text passing in the selectors
+  - [Fix] Avoid copy for received structure as it has raw C
+pointers
+  - [Fix] Avoid dangling reference
+  - [Fix] Correctly check numeric URLs in URL DNS lists
+  - [Fix] Delete the correct pointer type
+  - [Fix] Dmarc: Always lowercase domain
+  - [Fix] Fix compilation of the hyperscan databases with errors
+  - [Fix] Fix hash table lookup
+  - [Fix] Fix http message flag shift
+  - [Fix] Fix parsing of the from_hostname when it is an IP address
+  - [Fix] Fix parsing of the unquoted attributes in HTML
+  - [Fix] Fix passing of rspamd_text in selectors pipelines
+  - [Fix] Fix rubbish QP sequences decoding
+  - [Fix] Fix some complicated case with the closing tags parsing
+  - [Fix] Fix the case when l tag is too small
+  - [Fix] Html: Fix the case where only bgcolor is explicitly set
+  - [Fix] Libucl: Fix deletion from ucl objects
+  - [Fix] Namespace and add metadata for OpenMetrics, fix
+interleaving
+  - [Fix] Plug memory leak in http settings reload
+  - [Fix] Preserve SPF top record in the mempool variable
+  - [Fix] Remove aarch64 GC64 workaround
+  - [Fix] Remove bogus G_LIKELY
+  - [Fix] Spf: Do not parse non TXT DNS replies as TXT replies
+  - [Fix] Try to use on_connect/on_disconnect callbacks to handle
+internal Redis failures
+  - [Fix] buffer overflow in rspamc counters
+  - [Fix] fix static building
+  - [Fix] lua_scanners - message_min_words logic
+  - [Fix] src/lua/lua_mimepart.c: fix null dereference
+  - [Project] Add constant iterators
+  - [Project] Add helper library to handle mime strings in a more
+safe matter
+  - [Project] Add preliminary support of CDB bayes dump
+  - [Project] Add trim operations
+  - [Project] Allow mempool allocated mime strings
+  - [Project] Cdb: Finish backend implementation
+  - [Project] Cdb: Fix configuration load
+  - [Project] Cdb: Use shared data between cdb statfiles
+  - [Project] Cdb: continue statistics backend implementation
+  - [Project] Finish received headers rework part
+  - [Project] Move C++ specific declarations to C++ header
+  - [Project] Rework received headers parsing to C++
+  - [Project] Start using of the new received structure
+  - [Project] Start work on cdb backend
+  - [Rework] Further rework of the redis pool
+  - [Rework] Redis_pool: fix issues found
+  - [Rework] Rework learn and add classify condition
+  - [Rework] Save invisible content to a separate buffer
+  - [Rework] Start rewriting of the redis pool logic
+  - [Rules] Improve zero font rule
+  Full Changelog: https://github.com/rspamd/rspamd/compare/3.0...3.1
+- drop patches included in this update:
+  
https://github.com/onqtam/doctest/commit/099d5414e97244ec44cf46b14cd176b3a3dc52e3.patch
+  https://github.com/rspamd/rspamd/commit/cdedeb9f4.patch
+  https://github.com/rspamd/rspamd/commit/309bb213cf.patch
+
+---
+Thu Sep 30 17:58:39 UTC 2021 - Marcus Rueckert 
+
+- backported 
https://github.com/onqtam/doctest/commit/099d5414e97244ec44cf46b14cd176b3a3dc52e3.patch
 
+  slighty modified to match rspamd
+
+---
+Fri Sep 17 22:31:22 UTC 2021 - Marcus Rueckert 
+
+- backport https://github.com/rspamd/rspamd/commit/cdedeb9f4.patch 
+  improve lua 5.4 support
+
+---
+Fri Sep 17 21:18:15 UTC 2021 - Marcus Rueckert 
+
+- switch to autosetup, all target distros are new enough
+
+--

commit rspamd for openSUSE:Factory

2021-06-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2021-06-09 21:53:09

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.32437 (New)


Package is "rspamd"

Wed Jun  9 21:53:09 2021 rev:6 rq:898834 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2021-03-05 
13:51:33.691968891 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.32437/rspamd.changes 2021-06-09 
21:53:30.454603662 +0200
@@ -1,0 +2,16 @@
+Wed Jun  2 13:55:50 UTC 2021 - Marcus Rueckert 
+
+- use systemd_ordering 
+
+---
+Wed Jun  2 13:55:08 UTC 2021 - Marcus Rueckert 
+
+- add Requires(pre) to shadow to fix %pre scriptlet
+
+---
+Wed Jun  2 00:19:41 UTC 2021 - Marcus Rueckert 
+
+- disable PCRE2 for now:
+  https://bugzilla.opensuse.org/show_bug.cgi?id=1182864#c10
+
+---



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.GiWrsP/_old  2021-06-09 21:53:30.918604489 +0200
+++ /var/tmp/diff_new_pack.GiWrsP/_new  2021-06-09 21:53:30.922604496 +0200
@@ -41,7 +41,7 @@
 
 %if 0%{?suse_version} >= 1500
   %bcond_without openblas
-  %bcond_without pcre2
+  %bcond_withpcre2
 %endif
 
 # fails to build atm
@@ -114,7 +114,7 @@
 BuildRequires:  pkgconfig(sqlite3)
 %if %{with systemd}
 BuildRequires:  pkgconfig(systemd)
-%{?systemd_requires}
+%{?systemd_ordering}
 %endif
 
 %if 0%{?suse_version} < 1500
@@ -129,6 +129,7 @@
 %endif
 BuildRequires:  apparmor-abstractions
 Requires:   apparmor-abstractions
+Requires(pre):  shadow
 
 %description
 Rspamd is a spam filtering system that allows evaluation of messages


commit rspamd for openSUSE:Factory

2021-03-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2021-03-05 13:49:21

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.2378 (New)


Package is "rspamd"

Fri Mar  5 13:49:21 2021 rev:5 rq:876970 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2021-02-19 
23:46:10.523416926 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.2378/rspamd.changes  2021-03-05 
13:51:33.691968891 +0100
@@ -1,0 +2,6 @@
+Tue Mar  2 11:04:58 UTC 2021 - Guillaume GARDET 
+
+- Add patch to fix build with lua 5.4:
+  * rspamd-add-lua-5.4.patch
+
+---

New:

  rspamd-add-lua-5.4.patch



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.2HNIME/_old  2021-03-05 13:51:34.387969560 +0100
+++ /var/tmp/diff_new_pack.2HNIME/_new  2021-03-05 13:51:34.387969560 +0100
@@ -67,11 +67,13 @@
 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: rspamd-add-lua-5.4.patch
 %if !0%{?is_opensuse}
 # because 80-check-malware-scan-clamav triggered in SLE-15-SP2
 BuildRequires:  -post-build-checks-malwarescan
 %endif
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.12
 BuildRequires:  curl-devel
 BuildRequires:  db-devel
 BuildRequires:  file-devel
@@ -163,6 +165,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %if 0%{?force_gcc_version}

++ rspamd-add-lua-5.4.patch ++
>From 5aa14ef2279bb9d09d55f93e69c6fbd7d31e4b82 Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov 
Date: Fri, 26 Feb 2021 13:40:22 +
Subject: [PATCH] [Minor] Check for Lua 5.4

Issue: #3656
---
 CMakeLists.txt | 37 +
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a218e28fd..4b4538dd3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -157,27 +157,40 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
 
IF (NOT WITH_LIBLUA)
ProcessPackage(LIBLUA LIBRARY   "lua"
-   "lua-5.2"
-   LIB_SUFFIXES"lua5.2"
+   "lua-5.4"
+   LIB_SUFFIXES"lua5.4"
INCLUDE lua.h INCLUDE_SUFFIXES
-   "include/lua-5.2"
-   "include/lua5.2"
-   "include/lua52"
+   "include/lua-5.4"
+   "include/lua5.4"
+   "include/lua54"
"include/lua"
ROOT ${LUA_ROOT}
-   MODULES lua52
+   MODULES lua54
OPTIONAL)
-
IF (NOT WITH_LIBLUA)
ProcessPackage(LIBLUA LIBRARY   "lua"
-   "lua-5.1"
+   "lua-5.2"
+   LIB_SUFFIXES"lua5.2"
INCLUDE lua.h INCLUDE_SUFFIXES
-   "include/lua-5.1"
-   "include/lua5.1"
-   "include/lua51"
+   "include/lua-5.2"
+   "include/lua5.2"
+   "include/lua52"
"include/lua"
ROOT ${LUA_ROOT}
-   MODULES lua51)
+   MODULES lua52
+   OPTIONAL)
+
+   IF (NOT WITH_LIBLUA)
+   ProcessPackage(LIBLUA LIBRARY   "lua"
+   "lua-5.1"
+   INCLUDE lua.h INCLUDE_SUFFIXES
+   "include/lua-5.1"
+   "include/lua5.1"
+   "include/lua51"
+   "include/lua"
+   ROOT ${LUA_ROOT}
+   MODULES lua51)
+   ENDIF()
ENDIF()
ENDIF()
 ENDIF(ENABLE_LUAJIT MATCHES "ON")
>From 25a8f48d565a0450aed3417c88dbe

commit rspamd for openSUSE:Factory

2021-02-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rspamd for openSUSE:Factory checked 
in at 2021-02-19 23:45:33

Comparing /work/SRC/openSUSE:Factory/rspamd (Old)
 and  /work/SRC/openSUSE:Factory/.rspamd.new.28504 (New)


Package is "rspamd"

Fri Feb 19 23:45:33 2021 rev:4 rq:873722 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes2021-01-10 
19:46:07.626074856 +0100
+++ /work/SRC/openSUSE:Factory/.rspamd.new.28504/rspamd.changes 2021-02-19 
23:46:10.523416926 +0100
@@ -1,0 +2,5 @@
+Fri Feb 19 01:02:52 UTC 2021 - Bernhard Wiedemann 
+
+- Fix i586 build
+
+---



Other differences:
--
++ rspamd.spec ++
--- /var/tmp/diff_new_pack.kM4HwT/_old  2021-02-19 23:46:11.163417553 +0100
+++ /var/tmp/diff_new_pack.kM4HwT/_new  2021-02-19 23:46:11.167417558 +0100
@@ -26,7 +26,7 @@
 %bcond_withsystemd
 %endif
 
-%ifarch x86_64
+%ifarch %{ix86} x86_64
   %if 0%{?suse_version} > 1500
 %bcond_without hyperscan
   %endif