diff options
Diffstat (limited to 'network/rspamd/rspamd.SlackBuild')
-rw-r--r-- | network/rspamd/rspamd.SlackBuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/network/rspamd/rspamd.SlackBuild b/network/rspamd/rspamd.SlackBuild index 8c7ebddcf2..071fadc54f 100644 --- a/network/rspamd/rspamd.SlackBuild +++ b/network/rspamd/rspamd.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Rspamd -# Copyright 2018-2021 Ebben Aries <slackbuilds@dscp.org> +# Copyright 2018-2024 Ebben Aries <slackbuilds@dscp.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rspamd -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-3.8.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -91,15 +91,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# Patch to use correct linker -# https://github.com/rspamd/rspamd/issues/3168#issuecomment-583849873 -patch -p0 < $CWD/Toolset.cmake.patch - -# 20220320 bkw: patch from Debian, allows building on 32-bit. -patch -p1 < $CWD/0007-fix-i386-compilation.patch - -mkdir -p build -cd build +mkdir -p rspamd.build +cd rspamd.build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -109,10 +102,11 @@ cd build -DENABLE_STATIC=OFF \ -DENABLE_HYPERSCAN=ON \ -DENABLE_JEMALLOC=ON \ + -DENABLE_LUAJIT=ON \ -DENABLE_OPTIMIZATION=ON \ -DCMAKE_BUILD_TYPE=Release \ .. - make VERBOSE=1 + make make install/strip DESTDIR=$PKG cd .. gzip $PKG/usr/man/man*/* |