network/rspamd: Updated for version 3.6
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c534a3ca63
commit
e5f577b43d
|
@ -1,16 +0,0 @@
|
|||
--- cmake/Toolset.cmake 2023-01-02 17:31:12.369073592 -0700
|
||||
+++ cmake/Toolset.cmake 2023-01-02 17:32:15.127507305 -0700
|
||||
@@ -56,10 +56,10 @@
|
||||
find_program(GOLD_PATH NAMES "ld.gold" "gold")
|
||||
|
||||
if(NOT LINKER_NAME)
|
||||
- if(LLD_PATH)
|
||||
- set(LINKER_NAME "lld")
|
||||
- elseif(GOLD_PATH)
|
||||
+ if(GOLD_PATH)
|
||||
set(LINKER_NAME "gold")
|
||||
+ elseif(LLD_PATH)
|
||||
+ set(LINKER_NAME "lld")
|
||||
else()
|
||||
message(STATUS "Use generic 'ld' as a linker")
|
||||
endif()
|
|
@ -27,7 +27,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=rspamd
|
||||
VERSION=${VERSION:-3.5}
|
||||
VERSION=${VERSION:-3.6}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -91,10 +91,6 @@ 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
|
||||
|
||||
mkdir -p rspamd.build
|
||||
cd rspamd.build
|
||||
cmake \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="rspamd"
|
||||
VERSION="3.5"
|
||||
VERSION="3.6"
|
||||
HOMEPAGE="https://rspamd.com"
|
||||
DOWNLOAD="https://github.com/rspamd/rspamd/archive/3.5/rspamd-3.5.tar.gz"
|
||||
MD5SUM="60c9811a9188ca2a2f63e9c82d1a1109"
|
||||
DOWNLOAD="https://github.com/rspamd/rspamd/archive/3.6/rspamd-3.6.tar.gz"
|
||||
MD5SUM="8262cb6327da16dc2d7cc7f7ac1ab127"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ragel luajit redis hyperscan"
|
||||
|
|
Loading…
Reference in New Issue