Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: rspamd 3.11.0-1 #4416

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions rspamd/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
diff --git PKGBUILD PKGBUILD
index 24cf201..f295caa 100644
--- PKGBUILD
+++ PKGBUILD
@@ -16,7 +16,6 @@ depends=(
Expand All @@ -10,24 +8,26 @@ index 24cf201..f295caa 100644
icu
jemalloc
libelf
@@ -148,6 +147,8 @@ pkgver() {
@@ -149,6 +148,9 @@ pkgver() {

prepare() {
cd rspamd
+ # Fix build without hyperscan
+ git cherry-pick -n d907a95ac2e2cad6f7f65c4323f031f7931ae18b
+ git cherry-pick -n ccb45df90df60fae36b9438cfb2b0088e590306b
sed 's/_rspamd/rspamd/g' -i rspamd.service
}

@@ -161,7 +162,6 @@ build() {
@@ -163,7 +165,7 @@ build() {
-DRSPAMD_USER=rspamd \
-DNO_SHARED=ON \
-DWANT_SYSTEMD_UNITS=ON \
- -DENABLE_HYPERSCAN=ON \
+ -DENABLE_HYPERSCAN=OFF \
-DENABLE_JEMALLOC=ON \
-DENABLE_OPTIMIZATION=ON
cmake --build build
@@ -175,7 +175,6 @@ package() {
@@ -177,7 +179,6 @@ package() {
install -Dm 644 rspamd.logrotate "${pkgdir}"/etc/logrotate.d/rspamd
install -Dm 644 rspamd-dmarc-report.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 rspamd-dmarc-report.timer -t "${pkgdir}"/usr/lib/systemd/system/
Expand Down
Loading