New package: rspamd-0.9.9

This commit is contained in:
Enno Boland 2015-07-10 09:11:34 +02:00
parent b612bed60a
commit b6ee1c9693
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec rspamd -f ${OPTS}

45
srcpkgs/rspamd/template Normal file
View file

@ -0,0 +1,45 @@
# 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"
system_groups="rspamd"
rspamd_homedir="/var/lib/rspamd"
rspamd_pgroup="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
}