1 |
commit: 8c8ab49d518512a5636b4688afc11dbe8ceb639e |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Jul 21 20:14:06 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 10 06:56:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8ab49d |
7 |
|
8 |
sys-apps/smc-sum: make sys-apps/smc-sum-driver optional |
9 |
|
10 |
Since sys-apps/smc-sum can be also used remote, |
11 |
make the installation of the kernel module optional. |
12 |
|
13 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
14 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
sys-apps/smc-sum/metadata.xml | 3 ++ |
18 |
sys-apps/smc-sum/smc-sum-2.2.0.20190220-r1.ebuild | 39 +++++++++++++++++++++++ |
19 |
2 files changed, 42 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/smc-sum/metadata.xml b/sys-apps/smc-sum/metadata.xml |
22 |
index f51d8926c17..f8c11efe2d3 100644 |
23 |
--- a/sys-apps/smc-sum/metadata.xml |
24 |
+++ b/sys-apps/smc-sum/metadata.xml |
25 |
@@ -20,4 +20,7 @@ |
26 |
of the OS on the managed system and even before the system OS is installed. |
27 |
Licensing: SFT-OOB-LIC or SFT-DCMS-Single required for each monitor node. |
28 |
</longdescription> |
29 |
+ <use> |
30 |
+ <flag name="module">Install Supermicro's kernel module.</flag> |
31 |
+ </use> |
32 |
</pkgmetadata> |
33 |
|
34 |
diff --git a/sys-apps/smc-sum/smc-sum-2.2.0.20190220-r1.ebuild b/sys-apps/smc-sum/smc-sum-2.2.0.20190220-r1.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..aa3d81c05b4 |
37 |
--- /dev/null |
38 |
+++ b/sys-apps/smc-sum/smc-sum-2.2.0.20190220-r1.ebuild |
39 |
@@ -0,0 +1,39 @@ |
40 |
+# Copyright 1999-2019 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=7 |
44 |
+ |
45 |
+MY_DATE="$(ver_cut 4)" |
46 |
+MY_PN="${PN/smc-/}" |
47 |
+MY_PV="$(ver_cut 1-3)" |
48 |
+ |
49 |
+DESCRIPTION="Updates the BIOS and IPMI firmware and system settings on Supermicro mainboards" |
50 |
+HOMEPAGE="https://www.supermicro.com" |
51 |
+SRC_URI="${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz" |
52 |
+ |
53 |
+LICENSE="supermicro" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="-* ~amd64" |
56 |
+IUSE="module" |
57 |
+ |
58 |
+RDEPEND="module? ( sys-apps/smc-sum-driver )" |
59 |
+ |
60 |
+RESTRICT="bindist fetch mirror" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_PN}_${MY_PV}_Linux_x86_64" |
63 |
+ |
64 |
+DOCS=( "ReleaseNote.txt" "SUM_UserGuide.pdf" "sumrc.sample" "ExternalData/SMCIPID.txt" "ExternalData/VENID.txt" ) |
65 |
+ |
66 |
+QA_PREBUILT="usr/bin/smc-sum" |
67 |
+ |
68 |
+pkg_nofetch() { |
69 |
+ elog "Please download ${A} from" |
70 |
+ elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=SUM" |
71 |
+ elog "and place it in your DISTDIR directory." |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ newbin sum smc-sum |
76 |
+ |
77 |
+ einstalldocs |
78 |
+} |