diff options
author | Ebben Aries | 2020-09-26 06:12:49 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2020-09-26 11:10:54 +0200 |
commit | 7dc58003da48161c9fbd64f187503dc4b6c81608 (patch) | |
tree | 9ae82e4d1559254fabe57be609d343a01746ff45 /network/rspamd/rspamd.SlackBuild | |
parent | 127995585d2468d03145459e8f3d2b7586020bb1 (diff) | |
download | slackbuilds-7dc58003da48161c9fbd64f187503dc4b6c81608.tar.gz |
network/rspamd: Updated for version 2.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/rspamd/rspamd.SlackBuild')
-rw-r--r-- | network/rspamd/rspamd.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/rspamd/rspamd.SlackBuild b/network/rspamd/rspamd.SlackBuild index 1821c2026b..2f477747be 100644 --- a/network/rspamd/rspamd.SlackBuild +++ b/network/rspamd/rspamd.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Rspamd -# Copyright 2018, 2019 Ebben Aries <e@dscp.org> +# Copyright 2018-2020 Ebben Aries <e@dscp.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rspamd -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-2.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -80,6 +80,10 @@ 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 build cd build cmake \ @@ -104,9 +108,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# remove empty directory tree -rmdir -p --ignore-fail-on-non-empty $PKG/usr/share/examples/rspamd - mkdir -p $PKG/var/log/rspamd chown rspamd:rspamd $PKG/var/log/rspamd chmod 0755 $PKG/var/log/rspamd |