c33a31ad55
Also enhance the start script. The rmilter default config places files under /run/rmilter.
23 lines
739 B
Bash
23 lines
739 B
Bash
# Template file for 'rmilter'
|
|
pkgname=rmilter
|
|
version=1.8.6
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DMILTER_USER=rmilter -DSBINDIR=/usr/bin"
|
|
hostmakedepends="pkg-config bison flex"
|
|
makedepends="libressl-devel pcre-devel libmilter-devel opendkim-devel libsasl-devel libmemcached-devel"
|
|
short_desc="Postfix/sendmail integration for rspamd"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="BSD"
|
|
homepage="https://github.com/vstakhov/rmilter"
|
|
distfiles="$homepage/archive/${version}.tar.gz"
|
|
checksum=dd00e10a6c5e2a7682bd81155f8cb09fbdbed0416e1c7ccc955a4338c85f144f
|
|
system_accounts="rmilter"
|
|
rmilter_homedir="/var/lib/rmilter"
|
|
|
|
post_install() {
|
|
vdoc rmilter.conf.sample
|
|
vdoc rmilter-grey.conf
|
|
vsv rmilter
|
|
vlicense src/rmilter.c
|
|
}
|