From 05644e4ce4886d97a712fcdca7d4144a7ced4191 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Dec 2023 23:32:21 +0000 Subject: gentoo auto-resync : 12:12:2023 - 23:32:21 --- sys-apps/smc-sum/Manifest | 5 +- .../files/smc-sum-2.13.0.20230825-kernel-6.4.patch | 15 +++++ sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild | 65 --------------------- sys-apps/smc-sum/smc-sum-2.13.0.20230825.ebuild | 68 ++++++++++++++++++++++ 4 files changed, 86 insertions(+), 67 deletions(-) create mode 100644 sys-apps/smc-sum/files/smc-sum-2.13.0.20230825-kernel-6.4.patch delete mode 100644 sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild create mode 100644 sys-apps/smc-sum/smc-sum-2.13.0.20230825.ebuild (limited to 'sys-apps/smc-sum') diff --git a/sys-apps/smc-sum/Manifest b/sys-apps/smc-sum/Manifest index 6368020dad37..e650cb972a62 100644 --- a/sys-apps/smc-sum/Manifest +++ b/sys-apps/smc-sum/Manifest @@ -1,5 +1,6 @@ AUX makefile 298 BLAKE2B 58431440f52821bf8f1a6070075eace33f173dc1cbe19722c033cc6525b2ae4a6890aec2870f68b282368c9722b87796a14b53d364ce3e7002dfac452480e74e SHA512 862b6a2ae684da3b864eacef8b645c27ef4a6ccc4f577ccc9c5d88cd0426ce66a6462bcaaf01bdd0082898f7e3801cd6a00bc1c702af83faf7ca31b9de1c14e9 +AUX smc-sum-2.13.0.20230825-kernel-6.4.patch 503 BLAKE2B c05b6c6423d49ab2143400ee6e4e811662841368c31b9fd704e777368dba53a846e8cf6a4faa084c564127fa8882a4a1a841e5030916f156a515372625b03da0 SHA512 ca991ad2a24e7ebba2a3c17a663bd3be316f2a57319a38abe492e54902606ce9c4cba98026081276466bab91b8872e060ee4c4212abd20d8fc6bc13769d4b3af AUX smc-sum-2.7.0.20210903-missing-include.patch 264 BLAKE2B 977008b43b91ff7ee7a1c32ac6ce4221d078c782b36479f5319818c143d99eec0ef69c787e8e170badb54c45bde4bf10f7359bf7e30e84141de816de4334f1e1 SHA512 c75b04f7c44cb273d781648e57c7339eb16c23e37b6cdfe3387444e0f5a4dcb72097d03a78d5f6ec327ba4b739444c93c378f0d2212c845873a387d30517328b -DIST sum_2.11.0_Linux_x86_64_20230511.tar.gz 23588953 BLAKE2B 8afab12086ea2a3cc14c6e51d7554e5860aad63661e633f9eec847022635481cea350a5e85de7adbc204fd70302829b0740e55dd918949edaf55b25428dab2e8 SHA512 a1fb57e00d98f62a79cd3bff2205b2428edc1f4cfd6f6383f3dbdd1ca6c0f8d6233dc38e5b1877d36403734c01cc4f83982b9b1441823ab4f33cf4951e30a089 -EBUILD smc-sum-2.11.0.20230511.ebuild 1312 BLAKE2B de028af3a936e2ca2d0f8091d850bbd8e934efbc74cbdab289781fd31b5a6fa5a6684440668664fc6d1c87e9d6c1b3ce0fba0e060ef1f69e5c49286308d5f341 SHA512 abb2c306dffdad7e0b2c0893f76f167b8ed2e1d8e584d9bc4db4c450373816c873a3e1fa8a7ab24dc6ed4d9ec2f012f4524e12019ef6142bc9b8b52bdf30a66f +DIST sum_2.13.0_Linux_x86_64_20230825.tar.gz 19925759 BLAKE2B ca0c0de3f8cc600b2d457f798e2d24310ec0eb52ecbc8976260dc5f84475a012bf66ec8b6a353a1477db558af82603b6ed2d0ce1bc31d3e70f98158fc52c2c19 SHA512 c05055e217d3d80a6b09a28c106e5c96640719db21617886571b1f6e527aef22cae1ddceabc09b5e9c10ef26e4fc48cad7a238457d4b503947e2f967c577d163 +EBUILD smc-sum-2.13.0.20230825.ebuild 1367 BLAKE2B 1674a041bef1e6516ab80448f8de52fd92a2f52d2ddea1ee403270bb10e0a1e9df2e32e79257e43046922c815f44854285833349d8412339833682bc6ae2dafe SHA512 c061402b5cfec747ac7f314feab88b7e821ab13bf585cdf36efe6a89e70d74d3cd67197b945980c0d2274dbf7ccc5d29ea836445301f4543426d0a920567dbe5 MISC metadata.xml 1098 BLAKE2B af888334fb5709cdaf9ee12821a8d006e4343d27ae89d51683b30c32820a6250b75b762946a6c7d1f23b7c1383eb66ba4d6b450d5d366bdac42d4df350f5e5fc SHA512 aef30566e58c8781faed28eee5e8574fa7017f90c20065a13868a0c6abaa9e069f425c4826cddbbbbbb84c37b3ef83c13eb46ce1eb829dca0380a2f5ed72729c diff --git a/sys-apps/smc-sum/files/smc-sum-2.13.0.20230825-kernel-6.4.patch b/sys-apps/smc-sum/files/smc-sum-2.13.0.20230825-kernel-6.4.patch new file mode 100644 index 000000000000..072251fdcb7a --- /dev/null +++ b/sys-apps/smc-sum/files/smc-sum-2.13.0.20230825-kernel-6.4.patch @@ -0,0 +1,15 @@ +--- a/driver/Source/Linux/sum_bios.c ++++ b/driver/Source/Linux/sum_bios.c +@@ -345,8 +345,12 @@ + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 13) + sum_bios_class = class_simple_create(THIS_MODULE, "sum_bios"); + #else ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ sum_bios_class = class_create("sum_bios"); ++#else + sum_bios_class = class_create(THIS_MODULE, "sum_bios"); + #endif ++#endif + + if (IS_ERR(sum_bios_class)) { + printk(KERN_ERR "Error creating sum bios class.\n"); 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 deleted file mode 100644 index bf11924d2b25..000000000000 --- a/sys-apps/smc-sum/smc-sum-2.11.0.20230511.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 -} diff --git a/sys-apps/smc-sum/smc-sum-2.13.0.20230825.ebuild b/sys-apps/smc-sum/smc-sum-2.13.0.20230825.ebuild new file mode 100644 index 000000000000..3efbf5931904 --- /dev/null +++ b/sys-apps/smc-sum/smc-sum-2.13.0.20230825.ebuild @@ -0,0 +1,68 @@ +# 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/633/${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" + "${FILESDIR}/${PN}-2.13.0.20230825-kernel-6.4.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 +} -- cgit v1.2.3