From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96896138335 for ; Wed, 1 May 2019 03:50:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96008E08BF; Wed, 1 May 2019 03:50:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C214E08BF for ; Wed, 1 May 2019 03:50:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF42D3430D2 for ; Wed, 1 May 2019 03:50:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3788567 for ; Wed, 1 May 2019 03:50:00 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1556681889.cdd295d9bdd2a99fb9d9a42b5d58988939479e6f.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/opendkim/opendkim-2.10.3-r12.ebuild mail-filter/opendkim/opendkim-2.10.3-r13.ebuild X-VCS-Directories: mail-filter/opendkim/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: cdd295d9bdd2a99fb9d9a42b5d58988939479e6f X-VCS-Branch: master Date: Wed, 1 May 2019 03:50:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad5d5ee1-7c58-4dd7-a283-692292d38266 X-Archives-Hash: 63f7acebbc960fede41d940ea1de093a commit: cdd295d9bdd2a99fb9d9a42b5d58988939479e6f Author: Michael Orlitzky gentoo org> AuthorDate: Wed May 1 00:40:18 2019 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed May 1 03:38:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd295d9 mail-filter/opendkim: new revision with missing test dependency. The OpenDKIM test suite won't be run if the user doesn't have Lua installed. The (R)DEPEND variables have been refactored to add that missing build-time dependency. In addition, a hacky sed line that relocated the unix socket in the test suite has been replaced, by the --with-test-socket ./configure flag. Bug: https://bugs.gentoo.org/682290 Signed-off-by: Michael Orlitzky gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 ....10.3-r12.ebuild => opendkim-2.10.3-r13.ebuild} | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/mail-filter/opendkim/opendkim-2.10.3-r12.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r13.ebuild similarity index 93% rename from mail-filter/opendkim/opendkim-2.10.3-r12.ebuild rename to mail-filter/opendkim/opendkim-2.10.3-r13.ebuild index ee5908da59c..037a1b0f98c 100644 --- a/mail-filter/opendkim/opendkim-2.10.3-r12.ebuild +++ b/mail-filter/opendkim/opendkim-2.10.3-r13.ebuild @@ -13,9 +13,9 @@ SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz" LICENSE="BSD GPL-2 Sendmail-Open-Source" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="+berkdb ldap libressl lmdb lua memcached opendbx poll sasl selinux +ssl static-libs unbound" +IUSE="+berkdb ldap libressl lmdb lua memcached opendbx poll sasl selinux +ssl static-libs test unbound" -DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) +COMMON_DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) dev-libs/libbsd sys-apps/grep ssl? ( @@ -32,7 +32,10 @@ DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) unbound? ( >=net-dns/unbound-1.4.1:= net-dns/dnssec-root ) !unbound? ( net-libs/ldns )" -RDEPEND="${DEPEND} +DEPEND="${COMMON_DEPEND} + test? ( dev-lang/lua:* )" + +RDEPEND="${COMMON_DEPEND} sys-process/psmisc selinux? ( sec-policy/selinux-dkim )" @@ -52,12 +55,12 @@ pkg_setup() { src_prepare() { default - sed -i -e 's:/var/db/dkim:/var/lib/opendkim:g' \ - opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in || die - sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am || die - # TODO: what purpose does this serve? - sed -i -e "/sock.*mt.getcwd/s:mt.getcwd():${T}:" \ - opendkim/tests/*.lua || die + sed -e 's:/var/db/dkim:/var/lib/opendkim:g' \ + -i opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \ + || die + sed -e 's:dist_doc_DATA:dist_html_DATA:' \ + -i libopendkim/docs/Makefile.am \ + || die eautoreconf } @@ -106,7 +109,8 @@ src_configure() { --enable-default_sender \ --enable-sender_macro \ --enable-vbr \ - --disable-live-testing + --disable-live-testing \ + --with-test-socket="${T}/opendkim.sock" } src_compile() {