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 0989D138359 for ; Sun, 5 Jul 2020 08:24:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51B2AE0844; Sun, 5 Jul 2020 08:24:55 +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 2EF78E0841 for ; Sun, 5 Jul 2020 08:24:55 +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 E0FA434F1F5 for ; Sun, 5 Jul 2020 08:24:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3B0E2D3 for ; Sun, 5 Jul 2020 08:24:48 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1593937455.890e5a5b16a05ab916b03de876383b488cba6de9.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/json-c/json-c-0.14-r3.ebuild dev-libs/json-c/json-c-9999.ebuild dev-libs/json-c/metadata.xml X-VCS-Directories: dev-libs/json-c/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 890e5a5b16a05ab916b03de876383b488cba6de9 X-VCS-Branch: master Date: Sun, 5 Jul 2020 08:24:48 +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: e64212b9-ae0d-4f4a-a116-0450eb2414dc X-Archives-Hash: f3744290751cef93087b97f65e03de28 commit: 890e5a5b16a05ab916b03de876383b488cba6de9 Author: Jakov Smolic sartura hr> AuthorDate: Wed May 20 17:05:20 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 5 08:24:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890e5a5b dev-libs/json-c: add USE flag to enable rdrand support Closes: https://bugs.gentoo.org/724354 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jakov Smolic sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/15895 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/json-c/json-c-0.14-r3.ebuild | 3 ++- dev-libs/json-c/json-c-9999.ebuild | 3 ++- dev-libs/json-c/metadata.xml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-libs/json-c/json-c-0.14-r3.ebuild b/dev-libs/json-c/json-c-0.14-r3.ebuild index 2b34de77a7f..0d4ff648a36 100644 --- a/dev-libs/json-c/json-c-0.14-r3.ebuild +++ b/dev-libs/json-c/json-c-0.14-r3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" LICENSE="MIT" SLOT="0/5" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc static-libs threads" +IUSE="cpu-flags-x86-rdrand doc static-libs threads" PATCHES=( "${FILESDIR}/${PN}-0.14-cmake-static-libs.patch" @@ -34,6 +34,7 @@ multilib_src_configure() { -DBUILD_DOCUMENTATION=$(multilib_native_usex doc) -DBUILD_STATIC_LIBS=$(usex static-libs) -DDISABLE_WERROR=ON + -DENABLE_RDRAND=$(usex cpu-flags-x86-rdrand) -DENABLE_THREADING=$(usex threads) ) diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild index eac441be4e7..51583e0b0ad 100644 --- a/dev-libs/json-c/json-c-9999.ebuild +++ b/dev-libs/json-c/json-c-9999.ebuild @@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/json-c/json-c.git" LICENSE="MIT" SLOT="0/5" -IUSE="doc static-libs threads" +IUSE="cpu-flags-x86-rdrand doc static-libs threads" MULTILIB_WRAPPED_HEADERS=( /usr/include/json-c/config.h @@ -27,6 +27,7 @@ multilib_src_configure() { -DBUILD_DOCUMENTATION=$(multilib_native_usex doc) -DDISABLE_WERROR=ON -DENABLE_THREADING=$(usex threads) + -DENABLE_RDRAND=$(usex cpu-flags-x86-rdrand) -DBUILD_STATIC_LIBS=$(usex static-libs) ) diff --git a/dev-libs/json-c/metadata.xml b/dev-libs/json-c/metadata.xml index ca10c6aa7ae..4165aa7d278 100644 --- a/dev-libs/json-c/metadata.xml +++ b/dev-libs/json-c/metadata.xml @@ -13,6 +13,9 @@ proxy-maint@gentoo.org Proxy Maintainers + + Enable RDRAND Hardware RNG Hash Seed + "A JSON implementation in C" is probably the better description, and then "JSON-C implements a reference counting object model that allows you to