void-packages/srcpkgs/rspamd/template

44 lines
1.3 KiB
Bash
Raw Normal View History

2015-07-10 07:11:34 +00:00
# Template file for 'rspamd'
pkgname=rspamd
version=0.9.9
revision=1
build_style=cmake
configure_args="-DRSPAMD_USER=rspamd \
-DRSPAMD_GROUP=rspamd \
-DCONFDIR=/etc/rspamd
-DDBDIR=/var/lib/rspamd"
hostmakedepends="cmake pkg-config"
makedepends="LuaJIT-devel glib-devel libressl-devel gmime-devel libevent-devel sqlite-devel hiredis-devel"
short_desc="Fast, free and open-source spam filtering system"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD"
homepage="http://rspamd.com/"
distfiles="http://rspamd.com/downloads/rspamd-${version}.tar.xz"
checksum=bb4e6d7f69376f8d9fcd4b5a84cc9973a3551eb3e430e7c10b1bd9094db7c211
system_accounts="rspamd"
rspamd_homedir="/var/lib/rspamd"
conf_files="
/etc/rspamd/2tld.inc
/etc/rspamd/common.conf
/etc/rspamd/composites.conf
/etc/rspamd/logging.inc
/etc/rspamd/lua/hfilter.lua
/etc/rspamd/lua/regexp/drugs.lua
/etc/rspamd/lua/regexp/fraud.lua
/etc/rspamd/lua/regexp/headers.lua
/etc/rspamd/lua/regexp/lotto.lua
/etc/rspamd/lua/rspamd.classifiers.lua
/etc/rspamd/lua/rspamd.lua
/etc/rspamd/metrics.conf
/etc/rspamd/modules.conf
/etc/rspamd/options.inc
/etc/rspamd/rspamd.conf
/etc/rspamd/statistic.conf
/etc/rspamd/surbl-whitelist.inc
/etc/rspamd/worker-controller.inc
/etc/rspamd/worker-normal.inc"
post_install() {
vsv rspamd
}