Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/
Date: Wed, 27 Mar 2019 17:19:14
Message-Id: 1553707088.979c3fa625bf403e17268c70b7f7dace5c7efb31.mjo@gentoo
1 commit: 979c3fa625bf403e17268c70b7f7dace5c7efb31
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 27 16:19:56 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 27 17:18:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979c3fa6
7
8 mail-filter/opendkim: add a TODO question about a sed line.
9
10 There's a sed line in src_prepare that messes with some *.lua test
11 files. I've changed the action of that script to use "${T}" rather
12 than "/tmp" for security reasons... but I'm unable to figure out when
13 those test files are actuallty used. So, I've left a TODO comment to
14 figure it out in the future (or maybe just delete that sed line
15 entirely).
16
17 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
18 Package-Manager: Portage-2.3.62, Repoman-2.3.11
19
20 mail-filter/opendkim/opendkim-2.10.3-r7.ebuild | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23 diff --git a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild
24 index 28700f34963..9a16abcce51 100644
25 --- a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild
26 +++ b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild
27 @@ -66,8 +66,8 @@ src_prepare() {
28 sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
29 || die
30
31 - sed -e '/sock.*mt.getcwd/s:mt.getcwd():"/tmp":' \
32 - -e '/sock.*mt.getcwd/s:mt.getcwd():"/proc/self/cwd":' \
33 + # TODO: what purpose does this serve, do the tests even get run?
34 + sed -e "/sock.*mt.getcwd/s:mt.getcwd():${T}:" \
35 -i opendkim/tests/*.lua || die
36
37 eautoreconf