diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-07-15 22:59:15 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-07-15 23:13:59 +0200 |
commit | 8fc3a2070b48efe708c6613eb1d3674bcc7ff138 (patch) | |
tree | a00cad468b04dc888e1af0bbeeb364a8cca47d58 /sys-apps/smc-sum | |
parent | sys-apps/superdiag: drop 1.6.0.20211224 (diff) | |
download | gentoo-8fc3a2070b48efe708c6613eb1d3674bcc7ff138.tar.gz gentoo-8fc3a2070b48efe708c6613eb1d3674bcc7ff138.tar.bz2 gentoo-8fc3a2070b48efe708c6613eb1d3674bcc7ff138.zip |
sys-apps/smc-sum: add 2.11.0.20230511
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/smc-sum')
-rw-r--r-- | sys-apps/smc-sum/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-apps/smc-sum/Manifest b/sys-apps/smc-sum/Manifest index 9ea23b097f66..9a2975db2676 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.11.0_Linux_x86_64_20230511.tar.gz 23588953 BLAKE2B 8afab12086ea2a3cc14c6e51d7554e5860aad63661e633f9eec847022635481cea350a5e85de7adbc204fd70302829b0740e55dd918949edaf55b25428dab2e8 SHA512 a1fb57e00d98f62a79cd3bff2205b2428edc1f4cfd6f6383f3dbdd1ca6c0f8d6233dc38e5b1877d36403734c01cc4f83982b9b1441823ab4f33cf4951e30a089 diff --git a/sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild b/sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild new file mode 100644 index 000000000000..bf11924d2b25 --- /dev/null +++ b/sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_IUSE="+module" + +inherit linux-mod-r1 + +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="https://www.supermicro.com/Bios/sw_download/570/${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 +" + +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" ) + +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 + + linux-mod-r1_pkg_setup +} + +src_compile() { + local modargs=( KDIR="${KV_OUT_DIR}" ) + local modlist=( sum_bios="misc:driver/Source/Linux" ) + + linux-mod-r1_src_compile +} + +src_install() { + newbin sum smc-sum + einstalldocs + + linux-mod-r1_src_install +} |