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