1 |
commit: 3a86a00b5dd713b5c29dc28c42b5aad5adf5ff3b |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Sun Mar 19 17:24:33 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 21:20:53 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a86a00b |
7 |
|
8 |
dev-libs/hyperscan: update warning messages for rspamd users |
9 |
|
10 |
Different version of hyperscan causes runtime failures in |
11 |
<mail-filter/rspamd-3.5, where the issue was addressed. This commit |
12 |
limits the warning for affected rspamd versions. |
13 |
|
14 |
See-also: https://github.com/gentoo/gentoo/pull/29750 |
15 |
Bug: https://bugs.gentoo.org/902137 |
16 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/30236 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
dev-libs/hyperscan/hyperscan-5.4.0.ebuild | 4 ++-- |
21 |
dev-libs/hyperscan/hyperscan-5.4.1.ebuild | 4 ++-- |
22 |
2 files changed, 4 insertions(+), 4 deletions(-) |
23 |
|
24 |
diff --git a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild |
25 |
index 55f108b37fa3..e4d74772c853 100644 |
26 |
--- a/dev-libs/hyperscan/hyperscan-5.4.0.ebuild |
27 |
+++ b/dev-libs/hyperscan/hyperscan-5.4.0.ebuild |
28 |
@@ -57,8 +57,8 @@ src_test() { |
29 |
} |
30 |
|
31 |
pkg_postinst() { |
32 |
- if has_version 'mail-filter/rspamd'; then |
33 |
- elog "There is known issue with mail-filter/rspamd when hyperscan version changes." |
34 |
+ if has_version '<mail-filter/rspamd-3.5'; then |
35 |
+ elog "There is known issue with <mail-filter/rspamd-3.5 when hyperscan version changes." |
36 |
elog "Known workaround is to remove hyperscan databases ${EROOT}/var/lib/rspamd/*.hs*" |
37 |
elog "See https://github.com/rspamd/rspamd/issues/4409 for more information." |
38 |
fi |
39 |
|
40 |
diff --git a/dev-libs/hyperscan/hyperscan-5.4.1.ebuild b/dev-libs/hyperscan/hyperscan-5.4.1.ebuild |
41 |
index 2984a1ad61f2..19e846a09a83 100644 |
42 |
--- a/dev-libs/hyperscan/hyperscan-5.4.1.ebuild |
43 |
+++ b/dev-libs/hyperscan/hyperscan-5.4.1.ebuild |
44 |
@@ -57,8 +57,8 @@ src_test() { |
45 |
} |
46 |
|
47 |
pkg_postinst() { |
48 |
- if has_version 'mail-filter/rspamd'; then |
49 |
- elog "There is known issue with mail-filter/rspamd when hyperscan version changes." |
50 |
+ if has_version '<mail-filter/rspamd-3.5'; then |
51 |
+ elog "There is known issue with <mail-filter/rspamd-3.5 when hyperscan version changes." |
52 |
elog "Known workaround is to remove hyperscan databases ${EROOT}/var/lib/rspamd/*.hs*" |
53 |
elog "See https://github.com/rspamd/rspamd/issues/4409 for more information." |
54 |
fi |