extra/rspamd: fix

This commit is contained in:
David Beauchamp 2023-11-20 15:47:49 -05:00
parent 61f36d1f72
commit 54327a6b4c

View file

@ -6,6 +6,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove dependency on hyperscan (x86 only) # - remove dependency on hyperscan (x86 only)
# - set -DENABLE_HYPERSCAN=OFF, -DENABLE_LTO=OFF # - set -DENABLE_HYPERSCAN=OFF, -DENABLE_LTO=OFF
# - patch from upstream to fix FTBFS with hyperscan disabled
pkgname=rspamd pkgname=rspamd
pkgver=3.7.4 pkgver=3.7.4
@ -135,6 +136,7 @@ source=(
rspamd-dmarc-report.service rspamd-dmarc-report.service
rspamd-dmarc-report.timer rspamd-dmarc-report.timer
rspamd-hyperscan.hook rspamd-hyperscan.hook
https://github.com/rspamd/rspamd/commit/d907a95ac2e2cad6f7f65c4323f031f7931ae18b.patch
) )
b2sums=('SKIP' b2sums=('SKIP'
'6b1b4220444d382d01fe981acf51580c397363a873507fdb508fd5109adae2609c03e629ecdd6e48c13f068d0c3530be4d0fb55b3084c33522619dd29f70a40c' '6b1b4220444d382d01fe981acf51580c397363a873507fdb508fd5109adae2609c03e629ecdd6e48c13f068d0c3530be4d0fb55b3084c33522619dd29f70a40c'
@ -142,7 +144,8 @@ b2sums=('SKIP'
'25c2253c7ecd9fba215cb6a1df93d76fab98e98ffeec380f828d7a612a78e0c4822dacc838ca37c2ceec452e54e7fc06c4c4df3290c8a6e8ee5ae869bbbb449e' '25c2253c7ecd9fba215cb6a1df93d76fab98e98ffeec380f828d7a612a78e0c4822dacc838ca37c2ceec452e54e7fc06c4c4df3290c8a6e8ee5ae869bbbb449e'
'e22421badb8d8b69ec5b5e2cc42edcae3b83725a783455bfef7c9f4fe3b1797981a793d09f281b22b1423376a2f09dce368a354941aaf7f2d3c3a2e56e14392b' 'e22421badb8d8b69ec5b5e2cc42edcae3b83725a783455bfef7c9f4fe3b1797981a793d09f281b22b1423376a2f09dce368a354941aaf7f2d3c3a2e56e14392b'
'153df613fc1b24e845b3a86026215f8f7e031cc52f47278a1e0f389d6225d017c53e806316c8eb7d7e755985451f09cc9fb366cd776f3786e04ac4c59eacf606' '153df613fc1b24e845b3a86026215f8f7e031cc52f47278a1e0f389d6225d017c53e806316c8eb7d7e755985451f09cc9fb366cd776f3786e04ac4c59eacf606'
'8a2882e4cd59eb3304acae9dfa71252c2024a8251e61cd1e75e6b84a84ec8c636e70d6702c03d7b7d0e2f7fa60d2466c6eed4f4f80f1834585185deaf7157eee') '8a2882e4cd59eb3304acae9dfa71252c2024a8251e61cd1e75e6b84a84ec8c636e70d6702c03d7b7d0e2f7fa60d2466c6eed4f4f80f1834585185deaf7157eee'
'005b076db6f4307f660ce3c4475ed511b586e83bd14046aab3843b5da8766f3cfa2d7e29904b308c00598b6172f68e25ebc8f0ff3b83c623e4318cf3ab63a673')
pkgver() { pkgver() {
cd rspamd cd rspamd
@ -152,6 +155,8 @@ pkgver() {
prepare() { prepare() {
cd rspamd cd rspamd
sed 's/_rspamd/rspamd/g' -i rspamd.service sed 's/_rspamd/rspamd/g' -i rspamd.service
# https://github.com/rspamd/rspamd/issues/4702
patch -p1 -i ../d907a95ac2e2cad6f7f65c4323f031f7931ae18b.patch
} }
build() { build() {