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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50BCE158086 for ; Tue, 28 Dec 2021 15:02:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D22CE0826; Tue, 28 Dec 2021 15:02:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5857DE0825 for ; Tue, 28 Dec 2021 15:02:54 +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 55D71342F23 for ; Tue, 28 Dec 2021 15:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74C9F1BD for ; Tue, 28 Dec 2021 15:02:50 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1640703766.6037c0a5fc5f9ffd5f07c3eacfc09d4b6c9a4aba.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/mbedtls/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/mbedtls/mbedtls-2.16.11.ebuild net-libs/mbedtls/mbedtls-2.16.12.ebuild net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild net-libs/mbedtls/metadata.xml X-VCS-Directories: net-libs/mbedtls/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 6037c0a5fc5f9ffd5f07c3eacfc09d4b6c9a4aba X-VCS-Branch: master Date: Tue, 28 Dec 2021 15:02:50 +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: af53f8a2-5695-49c5-9fa0-df43da8ff98b X-Archives-Hash: 831fa08aa7cc978958d5976834aa5e17 commit: 6037c0a5fc5f9ffd5f07c3eacfc09d4b6c9a4aba Author: Andrew Udvare gmail com> AuthorDate: Mon Dec 27 19:32:52 2021 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Dec 28 15:02:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6037c0a5 net-libs/mbedtls: add cmac USE flag for 2.x Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Udvare gmail.com> Signed-off-by: Anthony G. Basile gentoo.org> net-libs/mbedtls/mbedtls-2.16.11.ebuild | 3 ++- net-libs/mbedtls/mbedtls-2.16.12.ebuild | 3 ++- net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild | 3 ++- net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild | 3 ++- net-libs/mbedtls/metadata.xml | 3 +++ 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/net-libs/mbedtls/mbedtls-2.16.11.ebuild b/net-libs/mbedtls/mbedtls-2.16.11.ebuild index 8ddca1907c00..0ad3fec46cf1 100644 --- a/net-libs/mbedtls/mbedtls-2.16.11.ebuild +++ b/net-libs/mbedtls/mbedtls-2.16.11.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/3.12.0" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" +IUSE="cmac cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" RESTRICT="!test? ( test )" RDEPEND=" @@ -34,6 +34,7 @@ enable_mbedtls_option() { } src_prepare() { + use cmac && enable_mbedtls_option MBEDTLS_CMAC_C use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C diff --git a/net-libs/mbedtls/mbedtls-2.16.12.ebuild b/net-libs/mbedtls/mbedtls-2.16.12.ebuild index 8ddca1907c00..0ad3fec46cf1 100644 --- a/net-libs/mbedtls/mbedtls-2.16.12.ebuild +++ b/net-libs/mbedtls/mbedtls-2.16.12.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/3.12.0" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" +IUSE="cmac cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" RESTRICT="!test? ( test )" RDEPEND=" @@ -34,6 +34,7 @@ enable_mbedtls_option() { } src_prepare() { + use cmac && enable_mbedtls_option MBEDTLS_CMAC_C use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C diff --git a/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild b/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild index fc18e8b6b047..7436d6b627e9 100644 --- a/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild +++ b/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/7.13.1" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" +IUSE="cmac cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" RESTRICT="!test? ( test )" RDEPEND=" @@ -34,6 +34,7 @@ enable_mbedtls_option() { } src_prepare() { + use cmac && enable_mbedtls_option MBEDTLS_CMAC_C use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C diff --git a/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild b/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild index ef9cb32d329a..545749431ca9 100644 --- a/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild +++ b/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/7.14.1" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" +IUSE="cmac cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" RESTRICT="!test? ( test )" RDEPEND=" @@ -34,6 +34,7 @@ enable_mbedtls_option() { } src_prepare() { + use cmac && enable_mbedtls_option MBEDTLS_CMAC_C use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C diff --git a/net-libs/mbedtls/metadata.xml b/net-libs/mbedtls/metadata.xml index abf57a31dfbf..a39a95180bc6 100644 --- a/net-libs/mbedtls/metadata.xml +++ b/net-libs/mbedtls/metadata.xml @@ -10,6 +10,9 @@ cryptographic library written in C and targeted at embedded systems. + Enable block cipher-based message authentication + code algorithm + Enable the HAVEGE random generator. Warning: the HAVEGE random generator is not suitable for virtualized environments