1 |
commit: 5271fd9e024b946a6e4c3b64d3326f567d79a531 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 8 14:21:23 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 8 14:21:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5271fd9e |
7 |
|
8 |
sys-block/storcli: bump to v7.1715 |
9 |
|
10 |
Package-Manager: Portage-3.0.21, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
sys-block/storcli/Manifest | 1 + |
14 |
sys-block/storcli/storcli-7.1715.ebuild | 61 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 62 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/storcli/Manifest b/sys-block/storcli/Manifest |
18 |
index 43a9ef2d0c8..f8c83e5e75a 100644 |
19 |
--- a/sys-block/storcli/Manifest |
20 |
+++ b/sys-block/storcli/Manifest |
21 |
@@ -13,3 +13,4 @@ DIST storcli-7.1316.zip 37136466 BLAKE2B 7bca2e1b330f40e66945567ac8fad04d448993f |
22 |
DIST storcli-7.1410.zip 34424559 BLAKE2B cb0b613d0ccbf6ac36d1aace9174286ffe89d0602c7bca3b2712abcdba1b82cc2498de686e815e01fa125920c94d780e2f7fa4ab2ff570dc42818f4c4f491da4 SHA512 4887d434757f15e931c3c3c57b2316fc0cf0a5284c6009601b58c9585b73f9b9c9a0318dd3c4472cd3578aa5ec12b641a371db1d726a637741f6f0b34dd1f3e7 |
23 |
DIST storcli-7.1508.zip 35678755 BLAKE2B 9fb8da35be491afaea3a288b5c4c1ed0806fa9d6831e9a6dbf14d4c00469b1ce6e9d8fe9a98ce64505580420b5c145f002338d3029794af4c54779d9f324ec56 SHA512 43565cc695e9e7a7725474ab8091ea00de8fde7fabffe708c45e4c0e8713b1fcb1a5a25963bba44974b7787bebc06a59f3b8180416fefb0a54b4fd403c6152be |
24 |
DIST storcli-7.1613.zip 35016341 BLAKE2B 046651c696e5a20bcd0488c3cb495c7260e7665e3cb93052fce7fc79de019cb310ac7b1615f4ee4cc59a3bddcb81e548b82098a5ba051b1ba94f721115e95ff9 SHA512 5c90bce5502ec725a41c670438acd2e1eb07d21edba6e940f00f568f63a2e9e9095817eb50a4995d1ff8482a60ab77a633f01df0dc0a1abe7b767ce24b38b79b |
25 |
+DIST storcli-7.1715.zip 40965278 BLAKE2B 044cf3e7b7bc9853ce7ff06050c59ceb877e88ffece2f6494561fcd416e00b41d033ff1ffe0e18b63e55edf2443296bdd3f817c09c48a0e0d69365d41cdd43fd SHA512 79dbd5f2ded4897a3d867bbab76d415b8532a647fc12f369f667e11e772b398954a2d762a011c37ab7a18b4759c3c1f8408d129ceb9b1ae62bce4671380eb988 |
26 |
|
27 |
diff --git a/sys-block/storcli/storcli-7.1715.ebuild b/sys-block/storcli/storcli-7.1715.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e406b517c51 |
30 |
--- /dev/null |
31 |
+++ b/sys-block/storcli/storcli-7.1715.ebuild |
32 |
@@ -0,0 +1,61 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+inherit pax-utils toolchain-funcs |
39 |
+ |
40 |
+# Upstream is still using strange version numbers |
41 |
+MY_PV="007.1715.0000.0000" |
42 |
+ |
43 |
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)" |
44 |
+HOMEPAGE="https://www.broadcom.com/support/download-search?dk=storcli" |
45 |
+SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_PV}_Unified_StorCLI-PUL.zip -> ${P}.zip" |
46 |
+ |
47 |
+LICENSE="Avago LSI BSD" |
48 |
+SLOT="0/7.16" |
49 |
+KEYWORDS="-* amd64" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RDEPEND="" |
53 |
+DEPEND="app-arch/unzip" |
54 |
+ |
55 |
+MY_STORCLI_BASEDIR="/opt/lsi/storcli" |
56 |
+ |
57 |
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli |
58 |
+ ${MY_STORCLI_BASEDIR:1}/storcli32" |
59 |
+QA_PREBUILT=${QA_PRESTRIPPED} |
60 |
+ |
61 |
+src_unpack() { |
62 |
+ mkdir srcfiles || die |
63 |
+ pushd srcfiles &>/dev/null || die |
64 |
+ default |
65 |
+ mv Unified_storcli_all_os/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storcli_*.deb" |
66 |
+ popd &>/dev/null || die |
67 |
+ |
68 |
+ rm -rf srcfiles || die |
69 |
+ |
70 |
+ # Unpack Ubuntu package which will be our $S content |
71 |
+ unpack "${WORKDIR}"/storcli_*.deb |
72 |
+ rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package" |
73 |
+ unpack "${WORKDIR}"/data.tar.xz |
74 |
+ |
75 |
+ mkdir "${S}" || die "Failed to create '${S}'" |
76 |
+} |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ |
81 |
+ # Create clean $S |
82 |
+ mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'" |
83 |
+ rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files" |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ exeinto "${MY_STORCLI_BASEDIR}" |
88 |
+ newexe storcli64 storcli |
89 |
+ |
90 |
+ dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli |
91 |
+ |
92 |
+ pax-mark m "${D}${MY_STORCLI_BASEDIR}"/storcli |
93 |
+} |