commit: 3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> AuthorDate: Sun Mar 19 17:24:33 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 19 21:20:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a86a00b
dev-libs/hyperscan: update warning messages for rspamd users Different version of hyperscan causes runtime failures in <mail-filter/rspamd-3.5, where the issue was addressed. This commit limits the warning for affected rspamd versions. See-also: https://github.com/gentoo/gentoo/pull/29750 Bug: https://bugs.gentoo.org/902137 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/30236 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/hyperscan/hyperscan-5.4.0.ebuild | 4 ++-- dev-libs/hyperscan/hyperscan-5.4.1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild index 55f108b37fa3..e4d74772c853 100644 --- a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild +++ b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild @@ -57,8 +57,8 @@ src_test() { } pkg_postinst() { - if has_version 'mail-filter/rspamd'; then - elog "There is known issue with mail-filter/rspamd when hyperscan version changes." + if has_version '<mail-filter/rspamd-3.5'; then + elog "There is known issue with <mail-filter/rspamd-3.5 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 2984a1ad61f2..19e846a09a83 100644 --- a/dev-libs/hyperscan/hyperscan-5.4.1.ebuild +++ b/dev-libs/hyperscan/hyperscan-5.4.1.ebuild @@ -57,8 +57,8 @@ src_test() { } pkg_postinst() { - if has_version 'mail-filter/rspamd'; then - elog "There is known issue with mail-filter/rspamd when hyperscan version changes." + if has_version '<mail-filter/rspamd-3.5'; then + elog "There is known issue with <mail-filter/rspamd-3.5 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
