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 035B415806E for ; Tue, 23 May 2023 19:39:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44474E092D; Tue, 23 May 2023 19:39:58 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EFF4E0922 for ; Tue, 23 May 2023 19:39:58 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56BA6340E5A for ; Tue, 23 May 2023 19:39:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5DF9A71 for ; Tue, 23 May 2023 19:39:55 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1684870777.5de8f1446a4675e65ad2c364c87f434e861befb6.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l_crypto/, dev-libs/isa-l_crypto/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/isa-l_crypto/Manifest dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_makefile-no-D.patch dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild dev-libs/isa-l_crypto/metadata.xml X-VCS-Directories: dev-libs/isa-l_crypto/files/ dev-libs/isa-l_crypto/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 5de8f1446a4675e65ad2c364c87f434e861befb6 X-VCS-Branch: master Date: Tue, 23 May 2023 19:39:55 +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: 164d0a7a-67e3-423f-928f-b15169e5b865 X-Archives-Hash: f55485137546a3b6bbb8b3bc832cccf8 commit: 5de8f1446a4675e65ad2c364c87f434e861befb6 Author: Marek Szuba gentoo org> AuthorDate: Tue May 23 19:31:13 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue May 23 19:39:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de8f144 dev-libs/isa-l_crypto: new package, add 2.24.0 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l_crypto/Manifest | 1 + .../files/isa-l_crypto-2.24.0_makefile-no-D.patch | 13 +++++++ dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild | 43 ++++++++++++++++++++++ dev-libs/isa-l_crypto/metadata.xml | 21 +++++++++++ 4 files changed, 78 insertions(+) diff --git a/dev-libs/isa-l_crypto/Manifest b/dev-libs/isa-l_crypto/Manifest new file mode 100644 index 000000000000..4934b64eadcb --- /dev/null +++ b/dev-libs/isa-l_crypto/Manifest @@ -0,0 +1 @@ +DIST isa-l_crypto-2.24.0.tar.gz 687392 BLAKE2B 10b5e820f9e9d25f0f013d4cfe832760363bf1f1f2759a94f733b25ebd62b52a98262969e24be1ba86d132ee6eaefc9e64c99cceb4f9ba206c848b9aeb45f9d8 SHA512 f72800a8ff9c0b2bfdd88cb6780db91bfd5763af04a6318aa3acaff0b1326e3348cb3a4aff17c99636eb291d1ff6249dcf896392a2450adacd83ddbf4c7299da diff --git a/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_makefile-no-D.patch b/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_makefile-no-D.patch new file mode 100644 index 000000000000..dec1420e4d31 --- /dev/null +++ b/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_makefile-no-D.patch @@ -0,0 +1,13 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -136,8 +136,8 @@ + EXTRA_DIST += tools/yasm-filter.sh tools/nasm-filter.sh + EXTRA_DIST += tools/yasm-cet-filter.sh tools/nasm-cet-filter.sh + +-AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${D} +-AM_CCASFLAGS = ${yasm_args} ${INCLUDE} $(src_include) ${DEFS} ${D} ++AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${DIST_D} ++AM_CCASFLAGS = ${yasm_args} ${INCLUDE} $(src_include) ${DEFS} ${DIST_D} + + .asm.s: + @echo " MKTMP " $@; diff --git a/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild b/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild new file mode 100644 index 000000000000..5ea355130d4b --- /dev/null +++ b/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Intelligent Storage Acceleration Library - cryptographic components" +HOMEPAGE="https://github.com/intel/isa-l_crypto" +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_avx512f" + +# AVX512 support in yasm is still work in progress +BDEPEND="amd64? ( + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 + >=dev-lang/yasm-1.2.0 + ) ) +)" + +PATCHES=( + "${FILESDIR}"/${PN}-2.24.0_makefile-no-D.patch +) + +src_prepare() { + default + + # isa-l does not support arbitrary assemblers on amd64 (and presumably x86), + # it must be either nasm or yasm. + use amd64 && unset AS + + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/isa-l_crypto/metadata.xml b/dev-libs/isa-l_crypto/metadata.xml new file mode 100644 index 000000000000..aed47168584f --- /dev/null +++ b/dev-libs/isa-l_crypto/metadata.xml @@ -0,0 +1,21 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + ISA-L_crypto is a collection of optimized low-level functions targeting storage applications. ISA-L_crypto includes: + * Multi-buffer hashes - run multiple hash jobs together on one core for much better throughput than single-buffer versions. + * SHA1, SHA256, SHA512, MD5, SM3 + * Multi-hash - Get the performance of multi-buffer hashing with a single-buffer interface. + * Multi-hash + murmur - run both together. + * AES - block ciphers + * XTS, GCM, CBC + * Rolling hash - Hash input in a window which moves through the input + + + intel/isa-l_crypto + +