30 lines
1022 B
Bash
30 lines
1022 B
Bash
# Template file for 'rmilter'
|
|
pkgname=rmilter
|
|
version=1.10.0
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DMILTER_USER=rmilter -DMILTER_GROUP=_rmilter -DSBINDIR=/usr/bin"
|
|
hostmakedepends="pkg-config bison flex"
|
|
makedepends="openssl-devel pcre-devel libmilter-devel opendkim-devel
|
|
libsasl-devel libmemcached-devel glib-devel xxHash-devel libzstd-devel
|
|
http-parser-devel hiredis-devel libucl-devel uthash"
|
|
short_desc="Postfix/sendmail integration for rspamd"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause, BSD-3-Clause"
|
|
homepage="https://github.com/vstakhov/rmilter"
|
|
distfiles="$homepage/archive/${version}.tar.gz"
|
|
checksum=ea80563fa7636afed0b5fd9a29aa2300f15793ed85788e4ce69c187d341a7d54
|
|
system_accounts="rmilter"
|
|
rmilter_pgroup="_rmilter"
|
|
rmilter_homedir="/var/lib/rmilter"
|
|
|
|
post_install() {
|
|
vdoc rmilter.conf.sample
|
|
vdoc rmilter-grey.conf
|
|
vsv rmilter
|
|
head -26 src/rmilter.c >rmilter.LICENSE
|
|
head -38 contrib/lc-btrie/btrie.h >btrie.LICENSE
|
|
vlicense rmilter.LICENSE
|
|
vlicense btrie.LICENSE
|
|
}
|