Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2019 18:32:36 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504130 - head/mail/mailman
Message-ID:  <201906131832.x5DIWaQ8065303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Thu Jun 13 18:32:35 2019
New Revision: 504130
URL: https://svnweb.freebsd.org/changeset/ports/504130

Log:
  mail/mailman: fix cron/rundig if HTDIG option is enabled [1]
  
  Ditto for the two Mailman/Cgi/remote?mmsearch.
  
  PR:		238508 [1]
  Reported by:	asp-freebsd@partan.com [1]

Modified:
  head/mail/mailman/Makefile

Modified: head/mail/mailman/Makefile
==============================================================================
--- head/mail/mailman/Makefile	Thu Jun 13 18:26:28 2019	(r504129)
+++ head/mail/mailman/Makefile	Thu Jun 13 18:32:35 2019	(r504130)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mailman
 DISTVERSION=	2.1.29
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	mail
 MASTER_SITES=	GNU \
 		SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
@@ -176,6 +176,20 @@ post-patch:
 	${REINPLACE_CMD} -e 's/messages//' ${WRKSRC}/Makefile.in
 .endif
 	${MV} ${WRKSRC}/configure.in ${WRKSRC}/configure.ac # suppress warning
+
+# post-patch-HTDIG-on is to fix https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238508
+post-patch-HTDIG-on:
+	# these should match those in ht://Dig's ${LOCALBASE}/bin/rundig
+	${REINPLACE_CMD} -E \
+		-e 's#^(DBDIR)=/opt/www/var/htdig#\1=${LOCALBASE}/share/htdig/database#' \
+		-e 's#^(COMMONDIR)=/opt/www/share/htdig#\1=${LOCALBASE}/share/htdig/common#' \
+		-e 's#^(BINDIR)=/opt/www/bin#\1=${LOCALBASE}/bin#' \
+		-e 's#^(conffile)=/opt/www/conf/#\1=${LOCALBASE}/etc/htdig/#' \
+		${WRKSRC}/cron/rundig
+	${REINPLACE_CMD} -E \
+		-e 's#/opt/www/htdig/bin#${LOCALBASE}/bin#' \
+		${WRKSRC}/Mailman/Cgi/remote?mmsearch
+
 
 .if ${PORT_OPTIONS:MPOSTFIX}
 pre-configure:



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