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 50982158062 for ; Sun, 12 Mar 2023 19:00:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E045E07C7; Sun, 12 Mar 2023 19:00:14 +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 76A32E07D1 for ; Sun, 12 Mar 2023 19:00:14 +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 9691C335D27 for ; Sun, 12 Mar 2023 19:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCC8A8E2 for ; Sun, 12 Mar 2023 19:00:10 +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: <1678647597.b07c6cb0de5c0c111c636082a49a4bbb09e94601.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smc-sum/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smc-sum/Manifest sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild X-VCS-Directories: sys-apps/smc-sum/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: b07c6cb0de5c0c111c636082a49a4bbb09e94601 X-VCS-Branch: master Date: Sun, 12 Mar 2023 19:00:10 +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: 64bd764d-834c-4b05-80d0-45776f47821c X-Archives-Hash: 2cdecab1aabd91ab9dc5d31035349acc commit: b07c6cb0de5c0c111c636082a49a4bbb09e94601 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Mar 12 18:57:29 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Mar 12 18:59:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07c6cb0 sys-apps/smc-sum: add 2.10.0.20221209 Signed-off-by: Conrad Kostecki gentoo.org> sys-apps/smc-sum/Manifest | 1 + sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild | 68 +++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sys-apps/smc-sum/Manifest b/sys-apps/smc-sum/Manifest index ddb25790be38..af5db447d968 100644 --- a/sys-apps/smc-sum/Manifest +++ b/sys-apps/smc-sum/Manifest @@ -1 +1,2 @@ +DIST sum_2.10.0_Linux_x86_64_20221209.tar.gz 20797081 BLAKE2B 2dde47521c0243a02098a4aafb4f8818227c01e73cba860b82ba5b989ee77a8fbc9a665f92222a55830b982b157782839e07e3d6f7c8dbb41b80034bf67428ae SHA512 5627fa6e473429e6fe3c93ef74f6938c9da3481b890435fb56359ea6d7f4b733e9aeae18c3c19895697db2318aa62806eae2bc40e57ca467365ffd9749d0cc75 DIST sum_2.8.1_Linux_x86_64_20220506.tar.gz 15414174 BLAKE2B 939e338f7ae3223bcd970dfdabb1e5a0bb2388d21b8fdf3666b82cf77e6c415869518d15675f2a6b4a15312bdb6d44c5b13366d1173e4ac5343ec13c65a8cdec SHA512 7350fefee12c7272d568049d07b18ef5736afc8602cb563691f8887ba046cc19aadbf57c0328e593a797d641cc515ea322de8dfb7a63ecff9b089f463dfb223e diff --git a/sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild b/sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild new file mode 100644 index 000000000000..fa73a90522dd --- /dev/null +++ b/sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod + +MY_DATE="$(ver_cut 4)" +MY_PN="${PN/smc-/}" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="Updates the BIOS and IPMI firmware and system settings on Supermicro mainboards" +HOMEPAGE="https://www.supermicro.com" +#SRC_URI="${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz" +SRC_URI="https://www.supermicro.com/Bios/sw_download/527/${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz" +S="${WORKDIR}/${MY_PN}_${MY_PV}_Linux_x86_64" + +LICENSE="supermicro" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="module" + +RDEPEND=" + sys-libs/zlib + sys-power/iasl + module? ( !sys-apps/smc-sum-driver ) +" + +RESTRICT="bindist mirror" + +DOCS=( + "PlatformFeatureSupportMatrix.pdf" + "ReleaseNote.txt" + "SUM_UserGuide.pdf" + "sumrc.sample" + "ExternalData/SMCIPID.txt" + "ExternalData/VENID.txt" +) + +PATCHES=( "${FILESDIR}/${PN}-2.7.0.20210903-missing-include.patch" ) + +BUILD_TARGETS="default" +MODULE_NAMES="sum_bios(misc:${S}/driver/Source/Linux)" + +QA_PREBUILT="usr/bin/smc-sum" + +src_prepare() { + default + + # Install new Makefile to respect users CFLAGS and LDFLAGS + cp "${FILESDIR}"/makefile driver/Source/Linux/Makefile || die +} + +src_compile() { + if use module; then + BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}/driver/Source/Linux" + linux-mod_src_compile + else + :; + fi +} + +src_install() { + newbin sum smc-sum + einstalldocs + + use module && linux-mod_src_install +}