mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gdos.sk> Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29750 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
079413741d
commit
1f22873c9f
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user