From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hyperscan/
Date: Tue, 28 Feb 2023 14:35:22 +0000 (UTC) [thread overview]
Message-ID: <1677594884.1f22873c9fe5531cd633388d860f8a66cbe457d5.juippis@gentoo> (raw)
commit: 1f22873c9fe5531cd633388d860f8a66cbe457d5
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Feb 23 16:56:18 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 14:34:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f22873c
dev-libs/hyperscan: add warning message for rspamd users
Different version of hyperscan causes runtime failures in
mail-filter/rspamd. Workaround is to remove /var/lib/rspamd/*.hs*
files. Let's warn users who might be affected because they have rspamd
installed.
Upstream-issue: https://github.com/rspamd/rspamd/issues/4409
Reported-by: Jakub Gajdoš <jakub <AT> gdos.sk>
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/29750
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/hyperscan/hyperscan-5.4.0.ebuild | 8 ++++++++
dev-libs/hyperscan/hyperscan-5.4.1.ebuild | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild
index 34d42c4677bb..55f108b37fa3 100644
--- a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild
+++ b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild
@@ -55,3 +55,11 @@ src_configure() {
src_test() {
"${BUILD_DIR}"/bin/unit-hyperscan || die
}
+
+pkg_postinst() {
+ if has_version 'mail-filter/rspamd'; then
+ elog "There is known issue with mail-filter/rspamd when hyperscan version changes."
+ elog "Known workaround is to remove hyperscan databases ${EROOT}/var/lib/rspamd/*.hs*"
+ elog "See https://github.com/rspamd/rspamd/issues/4409 for more information."
+ fi
+}
diff --git a/dev-libs/hyperscan/hyperscan-5.4.1.ebuild b/dev-libs/hyperscan/hyperscan-5.4.1.ebuild
index 4377ae025213..2984a1ad61f2 100644
--- a/dev-libs/hyperscan/hyperscan-5.4.1.ebuild
+++ b/dev-libs/hyperscan/hyperscan-5.4.1.ebuild
@@ -55,3 +55,11 @@ src_configure() {
src_test() {
"${BUILD_DIR}"/bin/unit-hyperscan || die
}
+
+pkg_postinst() {
+ if has_version 'mail-filter/rspamd'; then
+ elog "There is known issue with mail-filter/rspamd when hyperscan version changes."
+ elog "Known workaround is to remove hyperscan databases ${EROOT}/var/lib/rspamd/*.hs*"
+ elog "See https://github.com/rspamd/rspamd/issues/4409 for more information."
+ fi
+}
next reply other threads:[~2023-02-28 14:35 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 14:35 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-29 21:16 [gentoo-commits] repo/gentoo:master commit in: dev-libs/hyperscan/ Petr Vaněk
2023-05-29 10:59 Andreas Sturmlechner
2023-05-27 6:42 Joonas Niilola
2023-05-27 6:42 Joonas Niilola
2023-04-29 6:44 Sam James
2023-03-19 21:21 Sam James
2023-02-22 16:16 Sam James
2022-08-27 11:38 Sam James
2022-07-09 7:49 Sam James
2022-02-10 20:12 Jonas Stein
2022-02-05 19:03 Arthur Zamarin
2021-09-03 12:15 Marek Szuba
2021-03-30 13:03 Joonas Niilola
2021-03-25 14:39 Sam James
2021-02-26 20:58 Agostino Sarubbo
2021-02-25 9:11 Sam James
2021-01-14 1:20 Sam James
2021-01-14 1:20 Sam James
2021-01-04 15:32 Sam James
2020-09-05 15:16 Sam James
2020-06-10 14:25 Joonas Niilola
2020-06-10 14:25 Joonas Niilola
2020-04-04 7:39 Joonas Niilola
2020-04-04 7:39 Joonas Niilola
2020-04-04 7:39 Joonas Niilola
2020-02-07 6:16 Joonas Niilola
2020-02-07 6:16 Joonas Niilola
2019-10-08 14:35 Alexey Shvetsov
2019-10-08 14:35 Alexey Shvetsov
2019-10-07 7:32 Alexey Shvetsov
2019-10-06 13:45 Alexey Shvetsov
2019-08-12 19:52 Michał Górny
2019-08-12 19:47 Michał Górny
2019-02-22 20:51 Andreas Sturmlechner
2018-03-21 9:24 Dirkjan Ochtman
2018-03-21 9:24 Dirkjan Ochtman
2017-10-29 19:33 Dirkjan Ochtman
2017-07-26 13:18 Dirkjan Ochtman
2017-05-30 15:34 Lars Wendler
2017-04-26 18:43 Dirkjan Ochtman
2017-04-26 8:14 Michał Górny
2017-04-26 5:08 Mike Gilbert
2017-04-25 19:29 Dirkjan Ochtman
2017-04-22 9:55 Dirkjan Ochtman
2017-04-22 9:55 Dirkjan Ochtman
2017-04-22 9:55 Dirkjan Ochtman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1677594884.1f22873c9fe5531cd633388d860f8a66cbe457d5.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox