From: Michael Orlitzky Date: Wed, 27 Mar 2019 16:19:56 +0000 (-0400) Subject: mail-filter/opendkim: add a TODO question about a sed line. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=979c3fa625bf403e17268c70b7f7dace5c7efb31;p=gentoo.git mail-filter/opendkim: add a TODO question about a sed line. There's a sed line in src_prepare that messes with some *.lua test files. I've changed the action of that script to use "${T}" rather than "/tmp" for security reasons... but I'm unable to figure out when those test files are actuallty used. So, I've left a TODO comment to figure it out in the future (or maybe just delete that sed line entirely). Signed-off-by: Michael Orlitzky Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- diff --git a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild index 28700f349638..9a16abcce519 100644 --- a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild +++ b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild @@ -66,8 +66,8 @@ src_prepare() { sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \ || die - sed -e '/sock.*mt.getcwd/s:mt.getcwd():"/tmp":' \ - -e '/sock.*mt.getcwd/s:mt.getcwd():"/proc/self/cwd":' \ + # TODO: what purpose does this serve, do the tests even get run? + sed -e "/sock.*mt.getcwd/s:mt.getcwd():${T}:" \ -i opendkim/tests/*.lua || die eautoreconf