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 767B5158041 for ; Fri, 15 Mar 2024 04:14:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA42BE29EA; Fri, 15 Mar 2024 04:14:52 +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 A108AE29EA for ; Fri, 15 Mar 2024 04:14:52 +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 B56A333BE19 for ; Fri, 15 Mar 2024 04:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50E101515 for ; Fri, 15 Mar 2024 04:14:50 +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: <1710476057.4ea1b2361e90456b422cc08bc8d5c9f8e8241990.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sg3_utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/sg3_utils/sg3_utils-1.47-r2.ebuild X-VCS-Directories: sys-apps/sg3_utils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4ea1b2361e90456b422cc08bc8d5c9f8e8241990 X-VCS-Branch: master Date: Fri, 15 Mar 2024 04:14: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: 4ce1717e-275c-4edb-995f-45135d06b680 X-Archives-Hash: f58e5286da8490131e3891c960e707a1 commit: 4ea1b2361e90456b422cc08bc8d5c9f8e8241990 Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 15 04:12:17 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 15 04:14:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea1b236 sys-apps/sg3_utils: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-apps/sg3_utils/sg3_utils-1.47-r2.ebuild | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/sys-apps/sg3_utils/sg3_utils-1.47-r2.ebuild b/sys-apps/sg3_utils/sg3_utils-1.47-r2.ebuild new file mode 100644 index 000000000000..7713ea4da2c5 --- /dev/null +++ b/sys-apps/sg3_utils/sg3_utils-1.47-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +DESCRIPTION="Apps for querying the sg SCSI interface" +HOMEPAGE="https://sg.danny.cz/sg/" +#SRC_URI="https://github.com/hreinecke/sg3_utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://sg.danny.cz/sg/p/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="static-libs" + +RDEPEND="!sys-apps/rescan-scsi-bus" + +PATCHES=( + # Bug #828897 + "${FILESDIR}"/${PN}-1.47-musl.patch +) + +src_prepare() { + default + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + dodoc COVERAGE doc/README examples/*.txt + newdoc scripts/README README.scripts + + find "${ED}" -type f -name "*.la" -delete || die + + # Better fix for bug 231089; some packages look for sgutils2 + local path lib + path="/usr/$(get_libdir)" + for lib in "${ED}/"${path}/libsgutils2{,-${PV}}.*; do + lib=${lib##*/} + dosym "${lib}" "${path}/${lib/libsgutils2/libsgutils}" + done +}