Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions srcpkgs/rspamd/patches/vsx.patch

This file was deleted.

15 changes: 5 additions & 10 deletions srcpkgs/rspamd/template
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Template file for 'rspamd'
pkgname=rspamd
version=1.9.4
revision=11
version=3.14.2
revision=1
archs="x86_64* i686* aarch64* armv[67]* ppc64*"
build_style=cmake
configure_args="-DRSPAMD_USER=rspamd -DCONFDIR=/etc/rspamd
-DDBDIR=/var/lib/rspamd"
hostmakedepends="perl pkg-config ragel"
makedepends="LuaJIT-devel fann-devel file-devel gd-devel pcre-devel
hiredis-devel icu-devel libevent-devel sqlite-devel libglib-devel"
makedepends="LuaJIT-devel libsodium-devel zlib-devel glib-devel openssl-devel
icu-devel sqlite-devel libstemmer-devel libarchive-devel"
short_desc="Fast, free and open-source spam filtering system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Apache-2.0"
homepage="https://rspamd.com/"
changelog="https://raw.githubusercontent.com/vstakhov/rspamd/master/ChangeLog"
distfiles="https://github.com/vstakhov/rspamd/archive/${version}.tar.gz"
checksum=e4720c1f45defd07dd17b9563d0ddc480c70beadbc1a833235c077960092e030
checksum=b8402b639b2480b793795907d53609f375fd19b99501f777ff49f2e410edfb5b
system_accounts="rspamd"
rspamd_homedir=/var/lib/rspamd
conf_files="/etc/rspamd/*.conf /etc/rspamd/*.inc /etc/rspamd/modules.d/*.conf"
Expand All @@ -38,10 +38,6 @@ if [ "$CROSS_BUILD" ]; then
fi

pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) # Remove non existing library nsl
vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
mkdir -p build_native
Expand All @@ -51,5 +47,4 @@ pre_configure() {

post_install() {
vsv rspamd
vlicense LICENSE.md
}
Loading