diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index c4846af5f51..ac534c26469 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -1,15 +1,15 @@ # Template file for 'opensmtpd' -# pkgname=opensmtpd version=5.4.1p1 -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/db --with-sock-dir=/run --with-mantype=doc - --with-privsep-user=smtpd --with-queue-user=smtpq" + --with-privsep-user=smtpd --with-queue-user=smtpq + --with-ca-file=/etc/ssl/certs/ca-certificates.crt" hostmakedepends="pkg-config bison" -makedepends="zlib-devel openssl-devel libevent-devel db-devel" +makedepends="zlib-devel openssl-devel libevent-devel db-devel ca-certificates" short_desc="Free implementation of the server-side SMTP protocol" maintainer="Juan RP " license="BSD, ISC, MIT" @@ -33,6 +33,7 @@ post_install() { } opensmtpd_package() { + depends="ca-certificates" conf_files="/etc/smtpd/smtpd.conf /etc/smtpd/aliases" system_accounts="smtpd smtpq" systemd_services="smtpd.socket on"