mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
mail/opensmtpd: honor hier(1) for mbox homedir
By default, OpenSMTPd rely on OpenBSD defaults, /var/spool/mail, instead of /var/mail Point it on /var/mail on all supported platforms != OpenBSD Reported by: Denis Fortin via private mail MFH: 2020Q1
This commit is contained in:
parent
5f66d1e6f3
commit
4214e3e63b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529169
@ -5,7 +5,7 @@ PORTNAME= opensmtpd
|
||||
PORTVERSION= 6.6.4
|
||||
DISTVERSIONSUFFIX= p1
|
||||
PORTEPOCH= 1
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.opensmtpd.org/archives/
|
||||
|
||||
@ -64,6 +64,10 @@ CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
|
||||
BROKEN= Openssl 1.0 API is EoL, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} != OpenBSD
|
||||
CONFIGURE_ARGS+= --with-path-mbox=/var/mail
|
||||
.endif
|
||||
|
||||
post-install-TABLE_DB-on:
|
||||
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user