svn commit: r529169 - head/mail/opensmtpd

Dima Panov fluffy at FreeBSD.org
Thu Mar 26 08:55:51 UTC 2020


Author: fluffy
Date: Thu Mar 26 08:55:42 2020
New Revision: 529169
URL: https://svnweb.freebsd.org/changeset/ports/529169

Log:
  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

Modified:
  head/mail/opensmtpd/Makefile

Modified: head/mail/opensmtpd/Makefile
==============================================================================
--- head/mail/opensmtpd/Makefile	Thu Mar 26 08:37:48 2020	(r529168)
+++ head/mail/opensmtpd/Makefile	Thu Mar 26 08:55:42 2020	(r529169)
@@ -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/
 
@@ -62,6 +62,10 @@ CONFIGURE_ARGS+=	--with-libasr=${LOCALBASE} \
 .if ${OPSYS} == FreeBSD && \
     (${OSVERSION} < 1200084 && ${SSL_DEFAULT} == "base")
 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:


More information about the svn-ports-all mailing list