1 |
commit: ee2e4e06227885105a3d3273a55c6412a0109c03 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 14:19:27 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 14:34:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2e4e06 |
7 |
|
8 |
sys-apps/smc-sum: add 2.8.1.20220506 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
sys-apps/smc-sum/Manifest | 1 + |
13 |
sys-apps/smc-sum/smc-sum-2.8.1.20220506.ebuild | 73 ++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/smc-sum/Manifest b/sys-apps/smc-sum/Manifest |
17 |
index 668648b4f8ef..51a10713d0bf 100644 |
18 |
--- a/sys-apps/smc-sum/Manifest |
19 |
+++ b/sys-apps/smc-sum/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sum_2.8.0_Linux_x86_64_20220126.tar.gz 14852916 BLAKE2B a65243878ec41c05fc8c71f147883fea29517e93ef0e1460a39827a98e1fd9e533be2f4a6cfceed29562ba2d0e798cac64645bbf4d2b23267396d86516277df9 SHA512 4e11a9916b3386229eb5cfc15830bd1ecab7d79cdc3280f4a736b8882554170e6d1579531c441d0966c816e1f9c98d256d7fbb2c0a6e8c03770a1053860a06f5 |
22 |
+DIST sum_2.8.1_Linux_x86_64_20220506.tar.gz 15414174 BLAKE2B 939e338f7ae3223bcd970dfdabb1e5a0bb2388d21b8fdf3666b82cf77e6c415869518d15675f2a6b4a15312bdb6d44c5b13366d1173e4ac5343ec13c65a8cdec SHA512 7350fefee12c7272d568049d07b18ef5736afc8602cb563691f8887ba046cc19aadbf57c0328e593a797d641cc515ea322de8dfb7a63ecff9b089f463dfb223e |
23 |
|
24 |
diff --git a/sys-apps/smc-sum/smc-sum-2.8.1.20220506.ebuild b/sys-apps/smc-sum/smc-sum-2.8.1.20220506.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..e309a7ad7f47 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/smc-sum/smc-sum-2.8.1.20220506.ebuild |
29 |
@@ -0,0 +1,73 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit linux-mod |
36 |
+ |
37 |
+MY_DATE="$(ver_cut 4)" |
38 |
+MY_PN="${PN/smc-/}" |
39 |
+MY_PV="$(ver_cut 1-3)" |
40 |
+ |
41 |
+DESCRIPTION="Updates the BIOS and IPMI firmware and system settings on Supermicro mainboards" |
42 |
+HOMEPAGE="https://www.supermicro.com" |
43 |
+SRC_URI="${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz" |
44 |
+S="${WORKDIR}/${MY_PN}_${MY_PV}_Linux_x86_64" |
45 |
+ |
46 |
+LICENSE="supermicro" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="-* ~amd64" |
49 |
+IUSE="module" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-libs/zlib |
53 |
+ sys-power/iasl |
54 |
+ module? ( !sys-apps/smc-sum-driver ) |
55 |
+" |
56 |
+ |
57 |
+RESTRICT="bindist fetch mirror" |
58 |
+ |
59 |
+DOCS=( |
60 |
+ "PlatformFeatureSupportMatrix.pdf" |
61 |
+ "ReleaseNote.txt" |
62 |
+ "SUM_UserGuide.pdf" |
63 |
+ "sumrc.sample" |
64 |
+ "ExternalData/SMCIPID.txt" |
65 |
+ "ExternalData/VENID.txt" |
66 |
+) |
67 |
+ |
68 |
+PATCHES=( "${FILESDIR}/${PN}-2.7.0.20210903-missing-include.patch" ) |
69 |
+ |
70 |
+BUILD_TARGETS="default" |
71 |
+MODULE_NAMES="sum_bios(misc:${S}/driver/Source/Linux)" |
72 |
+ |
73 |
+QA_PREBUILT="usr/bin/smc-sum" |
74 |
+ |
75 |
+pkg_nofetch() { |
76 |
+ elog "Please download ${A} from" |
77 |
+ elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=SUM" |
78 |
+ elog "and place it in your DISTDIR directory." |
79 |
+} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ |
84 |
+ # Install new Makefile to respect users CFLAGS and LDFLAGS |
85 |
+ cp "${FILESDIR}"/makefile driver/Source/Linux/Makefile || die |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ if use module; then |
90 |
+ BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}/driver/Source/Linux" |
91 |
+ linux-mod_src_compile |
92 |
+ else |
93 |
+ :; |
94 |
+ fi |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ newbin sum smc-sum |
99 |
+ einstalldocs |
100 |
+ |
101 |
+ use module && linux-mod_src_install |
102 |
+} |