summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2020-02-05 13:10:01 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2020-02-05 13:16:28 +0100
commitd852f2b49ce874f02aa2804f9ebd9e04d55a8b15 (patch)
treec7ab25a44643b2edf4c356b34a7f24bc97de498d /mail-mta/opensmtpd
parentmail-mta/opensmtpd: bump to 6.6.2 (diff)
downloadgentoo-d852f2b49ce874f02aa2804f9ebd9e04d55a8b15.tar.gz
gentoo-d852f2b49ce874f02aa2804f9ebd9e04d55a8b15.tar.bz2
gentoo-d852f2b49ce874f02aa2804f9ebd9e04d55a8b15.zip
mail-mta/opensmtpd: modernize options
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'mail-mta/opensmtpd')
-rw-r--r--mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
index 47ee74dbd8ec..001f39e82b74 100644
--- a/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
@@ -41,15 +41,15 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${P/_}
src_configure() {
- tc-export AR
- AR="$(which "$AR")" econf \
- --with-table-db \
+ econf \
+ --sysconfdir=/etc/smtpd \
+ --with-path-mbox=/var/spool/mail \
+ --with-path-empty=/var/empty \
+ --with-path-socket=/run \
+ --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
--with-user-smtpd=smtpd \
--with-user-queue=smtpq \
--with-group-queue=smtpq \
- --with-path-socket=/run \
- --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
- --sysconfdir=/etc/opensmtpd \
$(use_with pam auth-pam)
}
@@ -82,4 +82,10 @@ pkg_postinst() {
einfo "Redis, and many other useful addons and filters are"
einfo "available in the mail-filter/opensmtpd-extras package."
einfo
+
+ ewarn
+ ewarn "If you're upgrading from version 6.0, note that the"
+ ewarn "configuration syntax has changed, and config files"
+ ewarn "now live in /etc/smtpd instead of /etc/opensmtpd."
+ ewarn
}