Diff rspamd-3.6-r1 with a rspamd-9999
/usr/portage/mail-filter/rspamd/rspamd-9999.ebuild 2023-10-09 14:52:31.584368403 +0300 | ||
---|---|---|
12 | 12 |
inherit git-r3 |
13 | 13 |
else |
14 | 14 |
SRC_URI="https://github.com/rspamd/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz" |
15 |
KEYWORDS="amd64 x86" |
|
15 |
KEYWORDS="~amd64 ~x86" |
|
16 | 16 |
fi |
17 | 17 | |
18 | 18 |
DESCRIPTION="Rapid spam filtering system" |
... | ... | |
71 | 71 |
"${FILESDIR}/rspamd-3.6-cmake-lua-version.patch" |
72 | 72 |
"${FILESDIR}/rspamd-3.6-unbundle-lua.patch" |
73 | 73 |
"${FILESDIR}/rspamd-3.6-unbundle-snowball.patch" |
74 |
"${FILESDIR}/rspamd-3.6-fix-tests.patch" |
|
75 | ||
76 |
# see https://github.com/rspamd/rspamd/issues/4564 |
|
77 |
"${FILESDIR}/${P}-memleak-fix.patch" |
|
78 | 74 |
) |
79 | 75 | |
80 | 76 |
src_prepare() { |
... | ... | |
138 | 134 | |
139 | 135 |
pkg_postinst() { |
140 | 136 |
tmpfiles_process "${PN}.conf" |
141 | ||
142 |
for ver in ${REPLACING_VERSIONS}; do |
|
143 |
if ver_test "${ver}" -eq "3.4"; then |
|
144 |
elog "rspamd-3.4 is known to segfault when it is updated from older version due" |
|
145 |
elog "to a page-alignment of hyperscan .unser files. The issue was patched in" |
|
146 |
elog "rspamd-3.4-r1 ebuild revision. All possibly broken .unser files will be" |
|
147 |
elog "automaticaly removed. See https://github.com/rspamd/rspamd/issues/4329 for" |
|
148 |
elog "more information." |
|
149 | ||
150 |
find "${EROOT}/var/lib/rspamd" -type f -name '*.unser' -delete |
|
151 |
fi |
|
152 |
done |
|
153 | 137 |
} |