1 |
commit: 6076a85af5dfa444faeddefaac997dcadac1f303 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 1 22:08:19 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 1 22:18:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6076a85a |
7 |
|
8 |
sys-apps/superdiag: bump to version 1.5.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
sys-apps/superdiag/Manifest | 1 + |
14 |
sys-apps/superdiag/superdiag-1.5.0.20210507.ebuild | 69 ++++++++++++++++++++++ |
15 |
2 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/superdiag/Manifest b/sys-apps/superdiag/Manifest |
18 |
index b85511c555c..04483bff487 100644 |
19 |
--- a/sys-apps/superdiag/Manifest |
20 |
+++ b/sys-apps/superdiag/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST SuperDiag_1.4.0_20201120.zip 5537813 BLAKE2B 014a3770944fdf9f9396e894320cfa65acebc63cfc1f396b4170a351813b72cca5902a27df21f62bf04a25ab5f9db306795ab108d8669045a205f990b1ef73a1 SHA512 d1e33f0fcb22c0b3794dd3677efa6d1041c81cdf09b92e297035a907e4110482daf896c109437380750ad2905008651b017718e97b1ca1e9f8ceee8c24ee0943 |
23 |
+DIST SuperDiag_1.5.0_20210507.zip 5039420 BLAKE2B bd249b7c2517857ce9079e3691cb31b3982dd097f11eb09288caff660d7f5e4a779519081cd27f89137d8173ad5419189122bc42bba5374f81f20c86f9e3e106 SHA512 ed457da1204b8670163f1186618b672cf088426461a1fb56c1bd618268e4f4420cd94bf05b62b3d6964499100583fe8ce72ced3ff8bafde3ac7db5c3ca0842e1 |
24 |
|
25 |
diff --git a/sys-apps/superdiag/superdiag-1.5.0.20210507.ebuild b/sys-apps/superdiag/superdiag-1.5.0.20210507.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cea0aa94f07 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/superdiag/superdiag-1.5.0.20210507.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 |
+BDEPEND="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 |
+} |