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
1 changed files with 2 additions and 5 deletions

View File

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