public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/
Date: Mon, 28 Dec 2020 19:12:23 +0000 (UTC)	[thread overview]
Message-ID: <1609182535.6f8585de7ea586a36cbc06530346f855540d25e0.mjo@gentoo> (raw)

commit:     6f8585de7ea586a36cbc06530346f855540d25e0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 19:08:38 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 19:08:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8585de

mail-filter/opendkim: new revision to disable parallel tests.

The test suite for OpenDKIM currently relies on two "setup" and
"cleanup" tests being run at the beginning/end of the test suite,
respectively. But when the test suite is run in parallel, that's not
always guaranteed. This new revision runs the test suite sequentially
to avoid the problem, which has been reported upstream.  The credit
for this goes to klondike, who was able to determine the root cause of
the heisenbug.

In the process, a minor security vulnerability (insecure /tmp path)
was also reported upstream and fixed in the ebuild.

Closes: https://bugs.gentoo.org/745969
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 ...ndkim-2.10.3-r25.ebuild => opendkim-2.10.3-r26.ebuild} | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r26.ebuild
similarity index 93%
rename from mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
rename to mail-filter/opendkim/opendkim-2.10.3-r26.ebuild
index b105074a89a..5aad117eed3 100644
--- a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
+++ b/mail-filter/opendkim/opendkim-2.10.3-r26.ebuild
@@ -68,6 +68,15 @@ src_prepare() {
 	sed -e 's:dist_doc_DATA:dist_html_DATA:' \
 		-i libopendkim/docs/Makefile.am \
 		|| die
+
+	# The existing hard-coded path under /tmp is vulnerable to exploits
+	# since (for example) a user can create a symlink there to a file
+	# that portage will clobber. Reported upstream at,
+	#
+	#   https://github.com/trusteddomainproject/OpenDKIM/issues/113
+	#
+	sed -e "s:/tmp:${T}:" -i libopendkim/tests/t-testdata.h || die
+
 	eautoreconf
 }
 
@@ -121,6 +130,12 @@ src_compile() {
 	emake runstatedir=/run
 }
 
+src_test() {
+	# Needed for now due to the expected sequencing of the setup/cleanup
+	# tests, https://github.com/trusteddomainproject/OpenDKIM/issues/110
+	emake -j1 check
+}
+
 src_install() {
 	default
 	find "${D}" -name '*.la' -type f -delete || die


             reply	other threads:[~2020-12-28 19:12 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 19:12 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-15  2:43 [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/ Michael Orlitzky
2024-10-14 17:50 Sam James
2024-10-14 17:50 Sam James
2024-10-14 14:12 Michael Orlitzky
2023-06-10 11:43 Michael Orlitzky
2023-06-10  4:20 Sam James
2023-06-10  4:20 Sam James
2023-02-23  1:03 Michael Orlitzky
2023-02-23  1:03 Michael Orlitzky
2022-07-29  4:17 Sam James
2022-03-23 10:35 Agostino Sarubbo
2022-03-23  9:56 Jakov Smolić
2022-03-23  0:14 Sam James
2022-02-23 12:34 Michael Orlitzky
2021-05-02  8:59 Mikle Kolyada
2021-03-25 23:31 Conrad Kostecki
2020-12-23 18:11 Michael Orlitzky
2020-12-23 14:52 Marek Szuba
2020-12-21 13:23 Michael Orlitzky
2020-12-09 15:05 Michael Orlitzky
2020-10-01 11:09 Sam James
2019-12-18 16:32 Joonas Niilola
2019-12-15 14:46 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-10-08 21:42 Michael Orlitzky
2019-07-22  8:58 Mikle Kolyada
2019-07-18 14:32 Thomas Deutschmann
2019-07-04  1:55 Michael Orlitzky
2019-06-14 13:39 Michael Orlitzky
2019-06-14 13:39 Michael Orlitzky
2019-05-01  3:50 Michael Orlitzky
2019-05-01  3:50 Michael Orlitzky
2019-04-16 22:59 Michael Orlitzky
2019-04-06 11:32 Michael Orlitzky
2019-04-02  1:37 Thomas Deutschmann
2019-03-31 21:16 Michael Orlitzky
2019-03-30 10:46 Agostino Sarubbo
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-03-27 17:19 Michael Orlitzky
2019-01-07 19:15 Lars Wendler
2018-09-14 22:13 Thomas Deutschmann
2017-03-31 12:09 Agostino Sarubbo
2017-03-03 23:52 Alon Bar-Lev
2016-08-05 14:14 Michał Górny
2016-06-03 13:03 Anthony G. Basile
2016-02-16 12:45 Eray Aslan
2016-02-14 10:11 Agostino Sarubbo
2016-01-15  9:03 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609182535.6f8585de7ea586a36cbc06530346f855540d25e0.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox