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: wiz
Date: Mon Nov 16 11:40:00 UTC 2026
Modified Files:
pkgsrc/mail/rspamd: distinfo
Added Files:
pkgsrc/mail/rspamd/patches: patch-test_rspamd__cxx__unit__utils.hxx
Log Message:
rspamd: add upstream patch
improving test situation, more to do
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/mail/rspamd/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/rspamd/patches/patch-test_rspamd__cxx__unit__utils.hxx
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/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.84 pkgsrc/mail/rspamd/distinfo:1.85
--- pkgsrc/mail/rspamd/distinfo:1.84 Sun Nov 15 20:28:31 2026
+++ pkgsrc/mail/rspamd/distinfo Mon Nov 16 11:40:00 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.84 2026/11/15 20:28:31 wiz Exp $
+$NetBSD: distinfo,v 1.85 2026/11/16 11:40:00 wiz Exp $
BLAKE2s (rspamd-4.3.0.tar.gz) = d58500e962ed14abff841b9c99447877782a06df81a7523b90f5c09306eef980
SHA512 (rspamd-4.3.0.tar.gz) = 79de0d5da55e69faf832d13f8e0d36439bfab2605b983a5b4dffd226c668c3f5e0927762c2a0c1479e3be126cd47e8b23388b325cd3ed8fddefcfe0718ce4e3a
@@ -11,3 +11,4 @@ SHA1 (patch-src_libserver_symcache_symca
SHA1 (patch-src_libstat_backends_redis__backend.cxx) = 4c60287a574066a841c76081cd88512a57f0b27f
SHA1 (patch-src_libutil_fpconv__format.c) = 6c876f570fb45a7a0618e933fb48e03ef77d1c04
SHA1 (patch-src_rspamd.c) = 1903994d5970af57de9c5d522df3dd12576c8418
+SHA1 (patch-test_rspamd__cxx__unit__utils.hxx) = 02bb4fb769ed2122199d35e2322ebbdf422113d4
Added files:
Index: pkgsrc/mail/rspamd/patches/patch-test_rspamd__cxx__unit__utils.hxx
diff -u /dev/null pkgsrc/mail/rspamd/patches/patch-test_rspamd__cxx__unit__utils.hxx:1.1
--- /dev/null Mon Nov 16 11:40:00 2026
+++ pkgsrc/mail/rspamd/patches/patch-test_rspamd__cxx__unit__utils.hxx Mon Nov 16 11:40:00 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-test_rspamd__cxx__unit__utils.hxx,v 1.1 2026/11/16 11:40:00 wiz Exp $
+
+https://github.com/rspamd/rspamd/commit/b9ca0d19bc01111df2cbb04cc017ee574a348c3a
+
+--- test/rspamd_cxx_unit_utils.hxx.orig 2026-11-13 13:31:32.000000000 +0000
++++ test/rspamd_cxx_unit_utils.hxx
+@@ -294,7 +294,10 @@ TEST_SUITE("rspamd_utils")
+ sigemptyset(&action.sa_mask);
+ REQUIRE(sigaction(SIGXFSZ, &action, &old_action) == 0);
+ REQUIRE(setrlimit(RLIMIT_FSIZE, &limit) == 0);
+- /* The first write stops at the limit, the next one fails with EFBIG */
++ /*
++ * Linux writes up to the limit and fails the next write with EFBIG;
++ * the BSDs refuse a write that crosses the limit as a whole
++ */
+ auto ret = rspamd_write_all(fd, data.data(), data.size());
+ auto saved_errno = errno;
+ /* Restore before any doctest output, it may go to a regular file */
+@@ -304,7 +307,7 @@ TEST_SUITE("rspamd_utils")
+ CHECK_FALSE(ret);
+ CHECK(saved_errno == EFBIG);
+ REQUIRE(fstat(fd, &st) == 0);
+- CHECK(st.st_size == 4);
++ CHECK(st.st_size <= 4);
+ }
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index