rspamd: update to 1.7.3.

Closes #13369.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-04-10 16:33:58 -03:00 committed by Enno Boland
parent 74d9ec81cb
commit c674a09602

View file

@ -1,21 +1,21 @@
# Template file for 'rspamd' # Template file for 'rspamd'
pkgname=rspamd pkgname=rspamd
version=1.7.2 version=1.7.3
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args=" configure_args="
-DRSPAMD_USER=rspamd -DRSPAMD_USER=rspamd
-DCONFDIR=/etc/rspamd -DCONFDIR=/etc/rspamd
-DDBDIR=/var/lib/rspamd" -DDBDIR=/var/lib/rspamd"
hostmakedepends="pkg-config perl ragel" hostmakedepends="perl pkg-config ragel"
makedepends="LuaJIT-devel libressl-devel gmime-devel libevent-devel sqlite-devel makedepends="LuaJIT-devel fann-devel file-devel gd-devel gmime-devel
hiredis-devel file-devel icu-devel fann-devel gd-devel" hiredis-devel icu-devel libevent-devel sqlite-devel"
short_desc="Fast, free and open-source spam filtering system" short_desc="Fast, free and open-source spam filtering system"
maintainer="Enno Boland <gottox@voidlinux.eu>" maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD" license="Apache-2.0"
homepage="http://rspamd.com/" homepage="http://rspamd.com/"
distfiles="https://github.com/vstakhov/rspamd/archive/${version}.tar.gz" distfiles="https://github.com/vstakhov/rspamd/archive/${version}.tar.gz"
checksum=5581462cfbe3414f53096d047b891d5c40a56dc478d2fc76d67a422c2d1702b0 checksum=ec152ee61deca97941e66fb93066ae1fb3802be66e24306072e76e9e51b4dd35
system_accounts="rspamd" system_accounts="rspamd"
rspamd_homedir="/var/lib/rspamd" rspamd_homedir="/var/lib/rspamd"
conf_files="/etc/rspamd/*.conf /etc/rspamd/*.inc /etc/rspamd/modules.d/*.conf" conf_files="/etc/rspamd/*.conf /etc/rspamd/*.inc /etc/rspamd/modules.d/*.conf"
@ -25,7 +25,7 @@ case "$XBPS_TARGET_MACHINE" in
esac esac
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" $makedepends" hostmakedepends+=" ${makedepends}"
pre_build() { pre_build() {
make -C build_native/contrib/snowball make -C build_native/contrib/snowball
@ -40,13 +40,12 @@ pre_configure() {
sed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d" sed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
esac esac
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
configure_args+=" -C $FILESDIR/TryRunResults.cmake" configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
mkdir -p build_native mkdir -p build_native
( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake .. ) ( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake .. )
fi fi
} }
post_install() { post_install() {
vsv rspamd vsv rspamd
vlicense LICENSE vlicense LICENSE