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 E2F8113835B for ; Mon, 8 Feb 2021 14:54:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1987AE091A; Mon, 8 Feb 2021 14:54:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 EF4C3E091A for ; Mon, 8 Feb 2021 14:54:17 +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 C661A340D42 for ; Mon, 8 Feb 2021 14:54:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE1744C7 for ; Mon, 8 Feb 2021 14:54:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1612796041.26acfdd1f862b2419bb6b1914a0208645e35a192.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/chrony/chrony-4.0-r1.ebuild net-misc/chrony/metadata.xml X-VCS-Directories: net-misc/chrony/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 26acfdd1f862b2419bb6b1914a0208645e35a192 X-VCS-Branch: master Date: Mon, 8 Feb 2021 14:54:13 +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: 7033840e-a5a5-4370-b9dc-2f8c43934361 X-Archives-Hash: dfe20cccb7a3838514103a09e6c8a623 commit: 26acfdd1f862b2419bb6b1914a0208645e35a192 Author: Sam James gentoo org> AuthorDate: Mon Feb 8 13:57:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 8 14:54:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26acfdd1 net-misc/chrony: add dev-libs/libtomcrypt support Used for different hashes than MD5. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> net-misc/chrony/chrony-4.0-r1.ebuild | 12 ++++++------ net-misc/chrony/metadata.xml | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/net-misc/chrony/chrony-4.0-r1.ebuild b/net-misc/chrony/chrony-4.0-r1.ebuild index 21e864d92e0..29a5fe41d5f 100644 --- a/net-misc/chrony/chrony-4.0-r1.ebuild +++ b/net-misc/chrony/chrony-4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,14 +20,14 @@ S="${WORKDIR}/${P/_/-}" LICENSE="GPL-2" SLOT="0" -IUSE="+caps +cmdmon debug html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux" +IUSE="+caps +cmdmon debug html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux libtomcrypt" REQUIRED_USE=" - sechash? ( || ( nettle nss ) ) + sechash? ( || ( nettle nss libtomcrypt ) ) nettle? ( !nss ) !sechash? ( !nss ) !sechash? ( !nts? ( !nettle ) ) nts? ( nettle ) - " +" RESTRICT="test" BDEPEND="nettle? ( virtual/pkgconfig )" @@ -110,7 +110,7 @@ src_configure() { $(usex rtc '' --disable-rtc) $(usex samba --enable-ntp-signd '') $(usex sechash '' --disable-sechash) - ${EXTRA_ECONF} + $(usex libtomcrypt '' --disable-tomcrypt) --chronysockdir="${EPREFIX}/run/chrony" --docdir="${EPREFIX}/usr/share/doc/${PF}" --mandir="${EPREFIX}/usr/share/man" @@ -118,7 +118,7 @@ src_configure() { --sysconfdir="${EPREFIX}/etc/chrony" --with-hwclockfile="${EPREFIX}/etc/adjtime" --with-pidfile="${EPREFIX}/run/chrony/chronyd.pid" - --without-tomcrypt + ${EXTRA_ECONF} ) # print the ./configure call diff --git a/net-misc/chrony/metadata.xml b/net-misc/chrony/metadata.xml index 811f8ec399c..e43d7873661 100644 --- a/net-misc/chrony/metadata.xml +++ b/net-misc/chrony/metadata.xml @@ -35,6 +35,7 @@ Support for reference clocks Support for the Linux Real Time Clock interface Enable support for hashes other than MD5 + Support different hashes via dev-libs/libtomcrypt cpe:/a:chrony_project:chrony