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 2C15B138359 for ; Mon, 13 Jul 2020 17:18:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63687E08DA; Mon, 13 Jul 2020 17:18:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 4DBEDE08DA for ; Mon, 13 Jul 2020 17:18:13 +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 4F94034EA7C for ; Mon, 13 Jul 2020 17:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6E862C4 for ; Mon, 13 Jul 2020 17:18:10 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1594660685.62e39b27ae92110cf8eeeedc59ddef439c38fb8e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/cpuid2cpuflags/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/cpuid2cpuflags/Manifest app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild X-VCS-Directories: app-portage/cpuid2cpuflags/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 62e39b27ae92110cf8eeeedc59ddef439c38fb8e X-VCS-Branch: master Date: Mon, 13 Jul 2020 17:18:10 +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: 11582ef5-8872-4162-9053-1eb6fcbe83f0 X-Archives-Hash: fb411e651d1fd195f509c6342f8d21df commit: 62e39b27ae92110cf8eeeedc59ddef439c38fb8e Author: Michał Górny gentoo org> AuthorDate: Mon Jul 13 17:17:12 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 13 17:18:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e39b27 app-portage/cpuid2cpuflags: Bump to v11 Now with rdrand flag support. Bug: https://bugs.gentoo.org/724354 Signed-off-by: Michał Górny gentoo.org> app-portage/cpuid2cpuflags/Manifest | 1 + .../cpuid2cpuflags/cpuid2cpuflags-11.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/app-portage/cpuid2cpuflags/Manifest b/app-portage/cpuid2cpuflags/Manifest index a39ad055c5c..4327a880f66 100644 --- a/app-portage/cpuid2cpuflags/Manifest +++ b/app-portage/cpuid2cpuflags/Manifest @@ -1,3 +1,4 @@ DIST cpuid2cpuflags-10.tar.bz2 82756 BLAKE2B 144ccc9ffff9fdafa9d29628963143b3685421c3c96a81ab780d835c7e0d83fdfe02c720744f57f2947c6079af157c2b6d3e61277f5af734fdba08c6fec23b9f SHA512 c34feef1548b9ade349efbdb68880fea303dd9a8d361de017b925688f9b189602cb175e1699dbe7b48f6887f343fafca9ff0ac95b8eb174bf7201c8bb5978c98 +DIST cpuid2cpuflags-11.tar.bz2 83091 BLAKE2B 2225b6031505597050332d50f4cee69aebb263f9def8043fde64b61e7d06bd2b2ab306eab31701434435a5ede1da974004db3d800a9184011595ed5c16422c79 SHA512 0eeff4e6369eaca6ddb516ff95597c649a7619c1ad79b0d73f51ef9f903db55cb7a49c5ccec478c9a923abfcce63e4ee5b6436f08eb9092b0024c898e508750b DIST cpuid2cpuflags-9.tar.bz2 82841 BLAKE2B 6f866a29680b53975359c56f54f3ecd8e978fe55297fdfcb84b25f57dc38bb0fb5c2169dde83e29235d13667a43faa11d75fa15e3d8fbef65a86cea2832363c4 SHA512 61a265abfd5b0920e1b3c18d322dceb416a6a353b3d3ef3f01ab1d02aab1b45dd1ec4eed4ccf667eae82c953830f29d22a671dd7d7c2b4d309050033af1fd5b7 DIST cpuinfo2cpuflags-1.tar.gz 1429 BLAKE2B 5126e643e5e2ea0be2418068fbcfbbae1781a0e3ab7903d909d4a5a291cb2e5db132a7a6a5c6db12a757688efca0557e4331a91f64af4b7e47deca415fd05b34 SHA512 68a21cfdb0fc8c6eb5aad5c6702d50dd56c927b2010efea1651dbc6a9657654b770bc5a4055fb11e790066c2c63c9ea29c3e03d91057abe187e7029e6797aede diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild new file mode 100644 index 00000000000..365682172c5 --- /dev/null +++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tool to guess CPU_FLAGS_* flags for the host" +HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags" +SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if [[ ${v%-r*} -lt 2 ]]; then + elog 'Please note that the output has changed in v2. The new format is suitable' + elog 'both for Portage and Paludis. To use it, e.g.:' + elog + elog ' $ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags' + elog + elog '(you may need to convert package.use into a directory if you want to use' + elog ' separate file as presented here)' + fi + done +}