svn commit: r504130 - head/mail/mailman
Matthias Andree
mandree at FreeBSD.org
Thu Jun 13 18:32:36 UTC 2019
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 at 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:
More information about the svn-ports-all
mailing list