Skip to content

Commit

Permalink
mail-mta/opensmtpd: modernize options
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <[email protected]>
  • Loading branch information
zx2c4 committed Feb 5, 2020
1 parent 4c23c8b commit d852f2b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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
}

0 comments on commit d852f2b

Please sign in to comment.