From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1561804-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 17F2E158089
	for <garchives@archives.gentoo.org>; Wed, 11 Oct 2023 05:21:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4D2402BC016;
	Wed, 11 Oct 2023 05:21:23 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 32C162BC016
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 05:21:23 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5ED63335C31
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 05:21:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C80199B
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 05:21:20 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1697001660.a8b4ac651ffcdc65becba780e490224bb5e5f7fb.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/botan/botan-3.2.0.ebuild
X-VCS-Directories: dev-libs/botan/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a8b4ac651ffcdc65becba780e490224bb5e5f7fb
X-VCS-Branch: master
Date: Wed, 11 Oct 2023 05:21:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 66dac98c-d4b4-4c2c-b2af-5edcda59a68d
X-Archives-Hash: 641f2caf3d08c84b29a62e0de18a0214

commit:     a8b4ac651ffcdc65becba780e490224bb5e5f7fb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 11 02:18:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 05:21:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b4ac65

dev-libs/botan: wire up cpu_flags_arm_{sha1,sha2}

Noticed while poking at the linked bug.

Bug: https://bugs.gentoo.org/915544
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/botan/botan-3.2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/botan/botan-3.2.0.ebuild b/dev-libs/botan/botan-3.2.0.ebuild
index 25af4176f0f6..82a09259f817 100644
--- a/dev-libs/botan/botan-3.2.0.ebuild
+++ b/dev-libs/botan/botan-3.2.0.ebuild
@@ -22,7 +22,7 @@ IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib"
 RESTRICT="!test? ( test )"
 
 CPU_USE=(
-	cpu_flags_arm_{aes,neon}
+	cpu_flags_arm_{aes,neon,sha1,sha2}
 	cpu_flags_ppc_altivec
 	cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2}
 )
@@ -126,6 +126,8 @@ src_configure() {
 		# TODO: POWER Crypto (new CPU_FLAGS_PPC?)
 		$(usev !cpu_flags_arm_aes '--disable-armv8crypto')
 		$(usev !cpu_flags_arm_neon '--disable-neon')
+		$(usev !cpu_flags_arm_sha1 '--disable-armv8crypto')
+		$(usev !cpu_flags_arm_sha2 '--disable-armv8crypto')
 		$(usev !cpu_flags_ppc_altivec '--disable-altivec')
 		$(usev !cpu_flags_x86_aes '--disable-aes-ni')
 		$(usev !cpu_flags_x86_avx2 '--disable-avx2')