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.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 74B0C158086 for ; Tue, 2 Nov 2021 15:01:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71E7CE0825; Tue, 2 Nov 2021 15:01:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E90ABE0825 for ; Tue, 2 Nov 2021 15:01:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AAEB3342DE6 for ; Tue, 2 Nov 2021 15:01:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E414186 for ; Tue, 2 Nov 2021 15:01:54 +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: <1635865210.895d71e3d1c76e283f09143480870a500a889233.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/openssl/metadata.xml dev-libs/openssl/openssl-3.0.0.ebuild X-VCS-Directories: dev-libs/openssl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 895d71e3d1c76e283f09143480870a500a889233 X-VCS-Branch: master Date: Tue, 2 Nov 2021 15:01:54 +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: beb3fe13-afcc-4ca3-b140-49130fb193d5 X-Archives-Hash: fc30618ce3f2c9a186ad69b296622ca6 commit: 895d71e3d1c76e283f09143480870a500a889233 Author: Mathieu Tortuyaux microsoft com> AuthorDate: Tue Nov 2 12:52:20 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 2 15:00:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895d71e3 dev-libs/openssl: add `fips` support `FIPS` provider is not enabled by default with OpenSSL version 3. Let's make it optional by adding conditional `fips` internal useflag. See also: https://github.com/openssl/openssl/blob/master/README-FIPS.md Bug: https://bugs.gentoo.org/820173 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Mathieu Tortuyaux microsoft.com> Closes: https://github.com/gentoo/gentoo/pull/22796 Signed-off-by: Sam James gentoo.org> dev-libs/openssl/metadata.xml | 1 + dev-libs/openssl/openssl-3.0.0.ebuild | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/openssl/metadata.xml b/dev-libs/openssl/metadata.xml index a338ff2ba12..e0b7df73655 100644 --- a/dev-libs/openssl/metadata.xml +++ b/dev-libs/openssl/metadata.xml @@ -8,6 +8,7 @@ Support assembly hand optimized crypto functions (i.e. faster run time) Disable/Restrict EC algorithms (as they seem to be patented) -- note: changes the ABI + Enable FIPS provider Enable support for Kernel implementation of TLS (kTLS) Enable support for RFC 3779 (X.509 Extensions for IP Addresses and AS Identifiers) Support for the old/insecure SSLv2 protocol -- note: not required for TLS/https diff --git a/dev-libs/openssl/openssl-3.0.0.ebuild b/dev-libs/openssl/openssl-3.0.0.ebuild index c7bab83b760..dad6d1b877b 100644 --- a/dev-libs/openssl/openssl-3.0.0.ebuild +++ b/dev-libs/openssl/openssl-3.0.0.ebuild @@ -22,7 +22,7 @@ fi LICENSE="Apache-2.0" SLOT="0/3" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 elibc_musl ktls rfc3779 sctp static-libs test tls-compression vanilla" +IUSE="+asm cpu_flags_x86_sse2 elibc_musl fips ktls rfc3779 sctp static-libs test tls-compression vanilla" RESTRICT="!test? ( test )" COMMON_DEPEND=" @@ -171,6 +171,7 @@ multilib_src_configure() { enable-idea enable-mdc2 enable-rc5 + $(use fips && echo "enable-fips") $(use_ssl asm) $(use_ssl ktls) $(use_ssl rfc3779)