Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2020 08:55:42 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529169 - head/mail/opensmtpd
Message-ID:  <202003260855.02Q8tgke001014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003260855.02Q8tgke001014>