diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2023-03-19 18:24:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-19 21:20:53 +0000 |
commit | 3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b (patch) | |
tree | 56835b47165f32a1cb605881e03ef434072d9baa /dev-libs/hyperscan | |
parent | mail-filter/rspamd: sync live (diff) | |
download | gentoo-3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b.tar.gz gentoo-3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b.tar.bz2 gentoo-3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b.zip |
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@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/30236
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/hyperscan')
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.4.0.ebuild | 4 | ||||
-rw-r--r-- | 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 |