commit:     979c3fa625bf403e17268c70b7f7dace5c7efb31
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 16:19:56 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 17:18:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979c3fa6

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 <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 mail-filter/opendkim/opendkim-2.10.3-r7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild 
b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild
index 28700f34963..9a16abcce51 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

Reply via email to