opensmtpd: make this work again: use default system users (_smtpd and _smtpq).

This commit is contained in:
Juan RP 2016-05-17 16:54:27 +02:00
parent e55c47c45c
commit 18ef82d25e

View file

@ -1,12 +1,11 @@
# Template file for 'opensmtpd'
pkgname=opensmtpd
version=5.9.2p1
revision=1
revision=2
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
--with-maildir=/var/spool/mail --with-privsep-path=/var/empty
--with-sock-dir=/run --with-mantype=doc --with-pie --enable-table-db
--with-privsep-user=smtpd --with-queue-user=smtpq
--with-ca-file=/etc/ssl/certs/ca-certificates.crt"
hostmakedepends="automake libtool pkg-config bison"
makedepends="zlib-devel libressl-devel libevent-devel db-devel libasr-devel"
@ -21,9 +20,7 @@ homepage="http://www.opensmtpd.org"
distfiles="http://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
checksum=3522f273c1630c781facdb2b921228e338ed4e651909316735df775d6a70a71d
system_accounts="smtpd smtpq"
smtpd_descr="SMTPD daemon"
smtpq_descr="SMTPD queue"
system_accounts="_smtpd _smtpq"
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-fts-devel"