From owner-svn-ports-head@freebsd.org Thu Jun 13 18:32:36 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B629815B99C4; Thu, 13 Jun 2019 18:32:36 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5399E69A62; Thu, 13 Jun 2019 18:32:36 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40FF4460F; Thu, 13 Jun 2019 18:32:36 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5DIWa4w065304; Thu, 13 Jun 2019 18:32:36 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5DIWaQ8065303; Thu, 13 Jun 2019 18:32:36 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201906131832.x5DIWaQ8065303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Thu, 13 Jun 2019 18:32:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504130 - head/mail/mailman X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: head/mail/mailman X-SVN-Commit-Revision: 504130 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5399E69A62 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2019 18:32:36 -0000 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: