svn commit: r537905 - branches/2020Q2/mail/dovecot

Larry Rosenman ler at FreeBSD.org
Thu Jun 4 15:29:21 UTC 2020


Author: ler
Date: Thu Jun  4 15:29:20 2020
New Revision: 537905
URL: https://svnweb.freebsd.org/changeset/ports/537905

Log:
  MFH: r537587 r537837
  
  mail/dovecot: restore the REINPLACE_CMD for the example config.
  
  Overzealous removal.
  
  PR:		246947
  Submitted by:	gwbr0601 at yahoo.de
  Pointy Hat To:	ler
  
  mail/dovecot: fix example config *.conf.ext REINPLACE missed in r537587.
  
  PR:		246963
  Submitted by:	kfv at irbug.org
  
  Approved by:	ports-secteam (joneum)

Modified:
  branches/2020Q2/mail/dovecot/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/mail/dovecot/Makefile
==============================================================================
--- branches/2020Q2/mail/dovecot/Makefile	Thu Jun  4 15:26:25 2020	(r537904)
+++ branches/2020Q2/mail/dovecot/Makefile	Thu Jun  4 15:29:20 2020	(r537905)
@@ -9,6 +9,7 @@
 
 PORTNAME=	dovecot
 PORTVERSION=	2.3.10.1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 
@@ -133,6 +134,10 @@ CPPFLAGS+=	-I${LOCALBASE}/include -I${OPENSSLINC}
 LDFLAGS+=	-L${LOCALBASE}/lib -L${OPENSSLLIB}
 
 post-patch:
+	@${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \
+		s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
+		${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/* \
+		${WRKSRC}/doc/example-config/*.conf.ext
 	@${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
 		${WRKSRC}/src/lib-mail/Makefile.in
 # Install the sample config files into ETCDIR/example-config/


More information about the svn-ports-all mailing list