New package: rmilter-1.8.5

This commit is contained in:
John Regan 2016-06-17 16:06:33 -05:00 committed by Duncaen
parent d91e417cc0
commit 94d2d9ba13
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec chpst -u rmilter:rmilter rmilter -n -c /etc/rmilter/rmilter.conf ${OPTS}

23
srcpkgs/rmilter/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'rmilter'
pkgname=rmilter
version=1.8.5
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=e9e1b3c724aa7d9e43f899ad0dbb367d37945e48b742b89188e1a1c256be318f
system_accounts="rmilter"
rmilter_homedir="/var/lib/rmilter"
post_install() {
vdoc rmilter.conf.sample
vdoc rmilter-grey.conf
vsv rmilter
vlicense src/rmilter.c
}