1 |
commit: 33ff5bc8237df774c9a9ce8d7fc3b111944624f0 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 14:27:41 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 14:29:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ff5bc8 |
7 |
|
8 |
sys-apps/superdiag: bump to version 1.4.0.20201120 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
sys-apps/superdiag/Manifest | 1 + |
14 |
sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild | 69 ++++++++++++++++++++++ |
15 |
2 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/superdiag/Manifest b/sys-apps/superdiag/Manifest |
18 |
index 16a6c41d1de..289693ba64e 100644 |
19 |
--- a/sys-apps/superdiag/Manifest |
20 |
+++ b/sys-apps/superdiag/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST SuperDiag_1.3.0_20200109.zip 5223744 BLAKE2B fd4ce0ebc0bc3d3fcd947a54f7c2166371131f4cb1fd172967dc2488bae48df48f2e2f4937aaf20d9ebd4f2d3187e0937a45d789c6f491554096f2009f3d8288 SHA512 6cc2e24ec7a8754c0b8c31b6bc6fdea9e961d1fb8e7c96c4450072ab0f35f3e8f8eee2463ac4d446511cabcde4db07272d19d3ff0cd4739aa31e4fe93707b448 |
23 |
+DIST SuperDiag_1.4.0_20201120.zip 5537813 BLAKE2B 014a3770944fdf9f9396e894320cfa65acebc63cfc1f396b4170a351813b72cca5902a27df21f62bf04a25ab5f9db306795ab108d8669045a205f990b1ef73a1 SHA512 d1e33f0fcb22c0b3794dd3677efa6d1041c81cdf09b92e297035a907e4110482daf896c109437380750ad2905008651b017718e97b1ca1e9f8ceee8c24ee0943 |
24 |
|
25 |
diff --git a/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild b/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2203a544278 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/superdiag/superdiag-1.4.0.20201120.ebuild |
30 |
@@ -0,0 +1,69 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+MY_DATE="$(ver_cut 4)" |
37 |
+MY_PN="SuperDiag" |
38 |
+MY_PV="$(ver_cut 1-3)" |
39 |
+ |
40 |
+DESCRIPTION="Provides the capability to determine the health of Supermicro servers components" |
41 |
+HOMEPAGE="https://www.supermicro.com" |
42 |
+SRC_URI="${MY_PN}_${MY_PV}_${MY_DATE}.zip" |
43 |
+ |
44 |
+KEYWORDS="-* ~amd64 ~x86" |
45 |
+LICENSE="supermicro" |
46 |
+SLOT="0" |
47 |
+IUSE="iso usb" |
48 |
+ |
49 |
+DEPEND="app-arch/unzip" |
50 |
+ |
51 |
+RESTRICT="bindist fetch mirror" |
52 |
+ |
53 |
+S="${WORKDIR}" |
54 |
+ |
55 |
+pkg_nofetch() { |
56 |
+ elog "Please download ${A} from" |
57 |
+ elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=SDO" |
58 |
+ elog "and place it in your DISTDIR directory." |
59 |
+} |
60 |
+ |
61 |
+src_unpack() { |
62 |
+ unpack ${A} |
63 |
+ |
64 |
+ if use iso; then |
65 |
+ unzip Diagnose_Remotely/ISOFor${MY_PN}_${MY_PV}.zip -d iso || die |
66 |
+ fi |
67 |
+ |
68 |
+ if use usb; then |
69 |
+ unzip Diagnose_Remotely/USBFor${MY_PN}_${MY_PV}.zip -d usb || die |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ insinto /usr/share/superdiag |
75 |
+ doins startup.nsh ${MY_PN}.efi EFI/Boot/BootX64.efi |
76 |
+ |
77 |
+ local DOCS=( |
78 |
+ "Supermicro Super Diagnostics Offline readme.txt" |
79 |
+ "Supermicro Super Diagnostics Offline User Guide V${MY_PV}.pdf" |
80 |
+ ) |
81 |
+ dodoc "${DOCS[@]}" |
82 |
+ |
83 |
+ if use iso; then |
84 |
+ insinto /usr/share/superdiag/ISO |
85 |
+ doins iso/${MY_PN}_${MY_PV}.iso |
86 |
+ |
87 |
+ newdoc iso/Readme.txt Readme.ISO.txt |
88 |
+ fi |
89 |
+ |
90 |
+ if use usb; then |
91 |
+ insinto /usr/share/superdiag/USB |
92 |
+ doins usb/startup.nsh |
93 |
+ |
94 |
+ dosym ../BootX64.efi /usr/share/superdiag/USB/BootX64.efi |
95 |
+ dosym ../${MY_PN}.efi /usr/share/superdiag/USB/${MY_PN}.efi |
96 |
+ |
97 |
+ newdoc usb/Readme.txt Readme.USB.txt |
98 |
+ fi |
99 |
+} |