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 B72D815803E for ; Sun, 7 Jan 2024 00:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E5242BC025; Sun, 7 Jan 2024 00:20:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77AF22BC025 for ; Sun, 7 Jan 2024 00:20:25 +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 AB4803431E8 for ; Sun, 7 Jan 2024 00:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E1AF14B5 for ; Sun, 7 Jan 2024 00:20:23 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1704586773.7497b5d60f22700ebb72c0ecdfff2be10b381bd3.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libscrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/libscrypt/libscrypt-1.22-r2.ebuild X-VCS-Directories: app-crypt/libscrypt/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 7497b5d60f22700ebb72c0ecdfff2be10b381bd3 X-VCS-Branch: master Date: Sun, 7 Jan 2024 00:20:23 +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: 52908c5e-c5a7-41f0-8d2e-10ecff851863 X-Archives-Hash: 051b279471391c2e90f4045416b2ed3d commit: 7497b5d60f22700ebb72c0ecdfff2be10b381bd3 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Dec 30 16:48:58 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jan 7 00:19:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7497b5d6 app-crypt/libscrypt: don't call ar directly, fix #718126 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/718126 Closes: https://github.com/gentoo/gentoo/pull/34566 Signed-off-by: Conrad Kostecki gentoo.org> app-crypt/libscrypt/libscrypt-1.22-r2.ebuild | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild new file mode 100644 index 000000000000..a5954ba92ca6 --- /dev/null +++ b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Shared library to implement the scrypt algorithm" +HOMEPAGE="https://github.com/technion/libscrypt" +SRC_URI="https://github.com/technion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-1.22-no-clobber-fortify-source.patch +) + +src_prepare() { + sed -i -e "s|ar rcs|$(tc-getAR) rcs|g" Makefile || die + default +} + +src_configure() { + export LIBDIR=${PREFIX}/$(get_libdir) + export CFLAGS_EXTRA="${CFLAGS}" + export LDFLAGS_EXTRA="${LDFLAGS}" + export PREFIX=/usr + unset CFLAGS + unset LDFLAGS +} + +src_compile() { + emake CC="$(tc-getCC)" +}