summaryrefslogtreecommitdiff
path: root/sys-block/storcli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/storcli
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/storcli')
-rw-r--r--sys-block/storcli/Manifest12
-rw-r--r--sys-block/storcli/metadata.xml8
-rw-r--r--sys-block/storcli/storcli-1.19.04.ebuild65
-rw-r--r--sys-block/storcli/storcli-1.20.15.ebuild65
-rw-r--r--sys-block/storcli/storcli-1.21.06.ebuild83
-rw-r--r--sys-block/storcli/storcli-1.23.02.ebuild80
6 files changed, 313 insertions, 0 deletions
diff --git a/sys-block/storcli/Manifest b/sys-block/storcli/Manifest
new file mode 100644
index 000000000000..f6c0ac36d5a0
--- /dev/null
+++ b/sys-block/storcli/Manifest
@@ -0,0 +1,12 @@
+DIST storcli-1.19.04.zip 41606377 SHA256 026456cf30e1f14f33a42eb5804dcf9fb6d3b79b9fd46828db6cdd4abe736054 SHA512 3086360a4c40755cdcaa8faa7192adccae5555cf3aaa741be583fa3559a7dedc14652489d8248a69465040871710917d09461644df3d1d2d31fe6d6e0957196b WHIRLPOOL 81fd83d9b3e938b5cf5135066db97aa4db3c1c7b62ca861a1736dd7719874a2b68d5e1c65ad79d97e29e8d4cfbfa2ee0a7fdc347fc0931009e8f7cc946739cae
+DIST storcli-1.20.15.zip 47065136 SHA256 04272ebe0978f22d065193988561a128215f7797854b23ad0cdf741f2b234ae6 SHA512 8d0bd39c005b26ad0eb3db045ae8f303eb36333b569c1be9d1e599c0845b2427f473015c4f75859dd283f8ec5072a3037f1a0810c9ad54b6b552a9c08bfdba05 WHIRLPOOL b19cb84252b65b44b3fde752cf6bc9cf890554ed105a965e2a8917ccfaac2a58620062b08774be4271d4ca3aa12a0b53840cc02551aea3d63ad274cdde59b8e6
+DIST storcli-1.21.06.zip 48578520 SHA256 499e4c26d7ddcc37ccf198816444f4cc2e68724d01762aef36eda360e6ef5b0f SHA512 714d8588566d2baf51cd67e958c9dfdb3f2eb0776a7fa2a9cb46ddad74b8e8a5e1515bf6e3746184b70187c83323b040bf902a2a357e928ad7d3525d3005c71e WHIRLPOOL e56aa67c0044949614b62920e2c1fbdb491cfe3d89d12a88460554397e5f44d8ca139266f8eaa523298ea4bc315a6583cefffa60f7d66a37c85a30e20aa2d747
+DIST storcli-1.21.06_readme.txt 199925 SHA256 30ebccb7a8fefa14514510ca2bd26ca7b67628958c18af697e128da498be3dcd SHA512 78524212b5d95bd62ef692bb715f6ae977811fd5522498915a4dbbd74a5d783d176fe318c0a0b7aad1b23419c78d205267f19b55790519dcc6d7e1d873498bad WHIRLPOOL bde52e5da198fd73943f455a9f85100d0fc2220e2a7f56e4277acf473278ef756374d841206e8763126f4c3f8f5bee88e9243e313dbc4973333676fe761dda97
+DIST storcli-1.23.02.zip 48778476 SHA256 d7cd07b7af93cbeb5735f5d4754fb5cb0fa92af3965017c6642e5273e10eb8ff SHA512 2018c8b40d7371077f01bbe586ed1135d683823b9d243fde14d45404c8bab8328f36e19ac91eb876666a174a7cce7e95a2a75485f70681460cda4c9b65d4d579 WHIRLPOOL ed010dd3120d32ca8a6b75a474dde27d02221c230243c5df1e69114e52aa29b8662b4acdda9d77a1b43a7defc4c8183f2444eb37ad144b60afbe315267f3a069
+DIST storcli-1.23.02_readme.txt 201906 SHA256 7b8d5e63b80634ace0993c3ee40ac9c564e09473ac5d2c017ecbd0f08a002e55 SHA512 9eefe69aee1a65339d2360759ba574f632a21bd3d13ba9d4cb0a86980e652addf5f7d2b650588f659caaa8ee302c48bc27b9f3ad7455e65d34dbcff0a8188e03 WHIRLPOOL 23bde95444fca8433868a4232417abdee9b914b4d8a6cf244e90b7c5f187854194445f9cff43c51a8874792f43491124a064cb465b33e8ae79f190265c24aba6
+EBUILD storcli-1.19.04.ebuild 2050 SHA256 8d806e3d8ca372833c3d391c2063ea522f5d61cea7f56b6e348a7b52ffe35e68 SHA512 4b0697daca02917b91c5efb2cbbf9145af30a19ed9adb7b0279cb3b8b1a94819b2b23ff46bee7895bf016249402e2c8da467d92c25201995d8227aabbbbc298c WHIRLPOOL d7bd65a079b6dedc9ceffcec1d1687efbe22f2ff73f57e990fee9ab7ab9915cecd8a3b085d045e43412fd384748dc5940085b155958a410bbe1f12577df230a0
+EBUILD storcli-1.20.15.ebuild 2063 SHA256 832e7020714c2024838d3a1491fbe54ec4a0abaa9f04c4592e163daa4f4a919a SHA512 8e6a5ebe11f74fc0351a1983dbc19d1cfe527513dc3f927567e500667755fbf921a531a4b41ebc59d430a6cddb36d0266e40a68c648b87f6de4be9ecffddbe33 WHIRLPOOL 041f2f348f50f182eded1f330f90b0f075458169c7ff626d52d9fd02a5975991ce7745c5e78f1da3183246efd6ebb0ec63e5f60c5864087a19ea647dbb192797
+EBUILD storcli-1.21.06.ebuild 2656 SHA256 98240b2674e31a9801495e4dca41325a301555f826eca1e30848fea097f0bf18 SHA512 ff8dfdfe0bbd8e7e520f76150aec96d7873cb7b17b88ed68a2d9d8ed6fa1e74f7a4ef2606cdc6a1eb7a1769899f03de2118abe6d8997246240d646956ac855e9 WHIRLPOOL 117da82cec515020c631410cda90d554e1946bbf65492d4dfaff508e1fef4588651d2bac2bd0055e05fc845bfc652c9a73a6a357cf8cd11790a336493921091d
+EBUILD storcli-1.23.02.ebuild 2360 SHA256 0869fc3c79e6c5c46df4386ab3cd8a43e1ff5023f19a2fa0a1fa1267cb95e53a SHA512 3a26ba5f46cefb18ae8f5cbc030191176096a6b9a43b0155e0842411311302f72a623cc498f94e957934dfb17a6bdc25ac5c8e434ca66c4c4ff63058575282ae WHIRLPOOL f252360de971a1e7591daec801b2252d3ffa4c0ff7b343e61d95160563a6107df38ca0a2ef3388e952ab5559f567ebd51f897201f5f126272834b95e2f1d1fe0
+MISC ChangeLog 779 SHA256 423a4f297ff10f5904b4f0c17c6668cb1564b833163f10e1eac114796ea28d96 SHA512 76836ed13ad29d457e1ffd8aed8f4036665826338a7c028a6756349a14421531cf302e8c0d0802ef1799f5fc967a6fcc621b46d56a236a262f1bae65a198ffce WHIRLPOOL ee7deaa4fec2c0e8033b4432ef26b53e7246d0d660e5fb4b0c7736c20b76575cde08965ffb4eaa3a535f67279bf811111bc5517f2f4ba1abc6d7a2eee2373edb
+MISC metadata.xml 251 SHA256 57392d56dc3642e88d87f162c5309d9b913a94aaf87247f09d002a6e28ddb24e SHA512 46942a98ef7e36470d1169a5bc8839d25603e33c143cd36327a8a85fc14cb6bfb32247eb7608d92cc58a06cc8eef5bd64d6ec2d21e69a88632e4b936598aa772 WHIRLPOOL ecd6a64abe1bc22a4d1a7ac61cc425e6e33b6f376b7e243de4c8fb86bdcb814022a0de881c76f5130a3e62f8ee129337a58c224e81d501771df5c03dc4e929f3
diff --git a/sys-block/storcli/metadata.xml b/sys-block/storcli/metadata.xml
new file mode 100644
index 000000000000..a32d600f949d
--- /dev/null
+++ b/sys-block/storcli/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>whissi@gentoo.org</email>
+ <name>Thomas Deutschmann</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-block/storcli/storcli-1.19.04.ebuild b/sys-block/storcli/storcli-1.19.04.ebuild
new file mode 100644
index 000000000000..7e731e74ad6f
--- /dev/null
+++ b/sys-block/storcli/storcli-1.19.04.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils
+
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)"
+HOMEPAGE="http://www.avagotech.com/support/download-search?dnd-keyword=storcli"
+# For new versions check http://www.avagotech.com/cs/Satellite?pagename=AVG2/Utilities/searchResultsJson&page=1&q=storcli&endDate=null&searchType=type-AVG_Document_C~Downloads&isEntitled=null&dynamic-search-relevance=Newest
+SRC_URI="http://docs.avagotech.com/docs-and-downloads/docs-and-downloads/raid-controllers/raid-controllers-common-files/${PV}_StorCLI.zip -> ${P}.zip"
+
+LICENSE="Avago LSI BSD"
+SLOT="0/6.11"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+DOCS=( readme.txt license.txt )
+
+MY_STORCLI_BASEDIR="/opt/lsi/storcli"
+
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli"
+
+src_unpack() {
+ unpack ${A}
+
+ mv storcli_all_os/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storclli_*.deb"
+
+ # Unpack Ubuntu package which will be our $S content
+ unpack "${WORKDIR}"/storcli_*.deb
+ rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package"
+ unpack "${WORKDIR}"/data.tar.gz
+
+ mkdir "${S}" || die "Failed to create '${S}'"
+}
+
+src_prepare() {
+ default
+
+ # Create clean $S
+ mv "${WORKDIR}"/*CLI.txt "${S}"/readme.txt || die "Failed to move *CLI.txt to readme.txt"
+ mv "${WORKDIR}"/storcli_all_os/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt"
+ rm -rf "${WORKDIR}"/storcli_all* || die "Failed to cleanup storcli_all* dirs/files"
+ mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'"
+ rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files"
+}
+
+src_install() {
+ exeinto "${MY_STORCLI_BASEDIR}"
+
+ if use x86; then
+ doexe storcli
+ elif use amd64; then
+ newexe storcli64 storcli
+ fi
+
+ dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli
+
+ dodoc "${DOCS[@]}"
+
+ pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli
+}
diff --git a/sys-block/storcli/storcli-1.20.15.ebuild b/sys-block/storcli/storcli-1.20.15.ebuild
new file mode 100644
index 000000000000..ee90410d73ad
--- /dev/null
+++ b/sys-block/storcli/storcli-1.20.15.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit pax-utils
+
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)"
+HOMEPAGE="http://www.avagotech.com/support/download-search?dnd-keyword=storcli"
+# For new versions check http://www.avagotech.com/cs/Satellite?pagename=AVG2/Utilities/searchResultsJson&page=1&q=storcli&endDate=null&searchType=type-AVG_Document_C~Downloads&isEntitled=null&dynamic-search-relevance=Newest
+SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${PV}_StorCLI.zip -> ${P}.zip"
+
+LICENSE="Avago LSI BSD"
+SLOT="0/6.12"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+DOCS=( readme.txt license.txt )
+
+MY_STORCLI_BASEDIR="/opt/lsi/storcli"
+
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli"
+
+src_unpack() {
+ unpack ${A}
+
+ mv storcli_All_OS/storcli_All_OS/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storclli_*.deb"
+
+ # Unpack Ubuntu package which will be our $S content
+ unpack "${WORKDIR}"/storcli_*.deb
+ rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package"
+ unpack "${WORKDIR}"/data.tar.gz
+
+ mkdir "${S}" || die "Failed to create '${S}'"
+}
+
+src_prepare() {
+ default
+
+ # Create clean $S
+ mv "${WORKDIR}"/*CLI.txt "${S}"/readme.txt || die "Failed to move *CLI.txt to readme.txt"
+ mv "${WORKDIR}"/storcli_All_OS/storcli_All_OS/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt"
+ rm -rf "${WORKDIR}"/storcli_all* || die "Failed to cleanup storcli_all* dirs/files"
+ mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'"
+ rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files"
+}
+
+src_install() {
+ exeinto "${MY_STORCLI_BASEDIR}"
+
+ if use x86; then
+ doexe storcli
+ elif use amd64; then
+ newexe storcli64 storcli
+ fi
+
+ dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli
+
+ dodoc "${DOCS[@]}"
+
+ pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli
+}
diff --git a/sys-block/storcli/storcli-1.21.06.ebuild b/sys-block/storcli/storcli-1.21.06.ebuild
new file mode 100644
index 000000000000..bec8d6bb4290
--- /dev/null
+++ b/sys-block/storcli/storcli-1.21.06.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit pax-utils
+
+# Upstream messed up packaging:
+# This is v1.21.06 according to "storcli -v" but ZIP is named v1.21.16..
+# Also, README is isn't included in archive.
+MY_PV="1.21.16"
+
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)"
+HOMEPAGE="https://www.broadcom.com/support/download-search?dk=storcli"
+SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_PV}_StorCLI.zip -> ${P}.zip
+ https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${PV}_StorCLI.txt -> ${P}_readme.txt"
+
+LICENSE="Avago LSI BSD"
+SLOT="0/6.13"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+DOCS=( readme.txt license.txt )
+
+MY_STORCLI_BASEDIR="/opt/lsi/storcli"
+
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli"
+
+src_unpack() {
+ local _src_file
+
+ for _src_file in ${A}; do
+ if [[ ${_src_file} == *.txt ]]; then
+ cp "${DISTDIR}/${_src_file}" "${WORKDIR}" || die "Failed to copy '${_src_file}' to '${WORKDIR}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+
+ mv versionChangeSet/univ_viva_cli_rel/storcli_All_OS.zip "${WORKDIR}" || die "Failed to move storcli_All_OS.zip"
+ rm -rf versionChangeSet || die "Failed to cleanup upstream's archive mess (versionChangeSet)"
+ rm -rf cqAttachments || die "Failed to cleanup upstream's archive mess (cqAttachments)"
+ unpack "${WORKDIR}"/storcli_All_OS.zip
+
+ mv storcli_All_OS/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storclli_*.deb"
+
+ # Unpack Ubuntu package which will be our $S content
+ unpack "${WORKDIR}"/storcli_*.deb
+ rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package"
+ unpack "${WORKDIR}"/data.tar.gz
+
+ mkdir "${S}" || die "Failed to create '${S}'"
+}
+
+src_prepare() {
+ default
+
+ # Create clean $S
+ mv "${WORKDIR}"/*_readme.txt "${S}"/readme.txt || die "Failed to move *CLI.txt to readme.txt"
+ mv "${WORKDIR}"/storcli_All_OS/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt"
+ rm -rf "${WORKDIR}"/storcli_All* || die "Failed to cleanup storcli_all* dirs/files"
+ mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'"
+ rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files"
+}
+
+src_install() {
+ exeinto "${MY_STORCLI_BASEDIR}"
+
+ if use x86; then
+ doexe storcli
+ elif use amd64; then
+ newexe storcli64 storcli
+ fi
+
+ dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli
+
+ dodoc "${DOCS[@]}"
+
+ pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli
+}
diff --git a/sys-block/storcli/storcli-1.23.02.ebuild b/sys-block/storcli/storcli-1.23.02.ebuild
new file mode 100644
index 000000000000..5d1cf5644ce1
--- /dev/null
+++ b/sys-block/storcli/storcli-1.23.02.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit pax-utils
+
+# Upstream messed up packaging:
+# This is v1.21.06 according to "storcli -v" but ZIP is named v1.21.16..
+# Also, README is isn't included in archive.
+MY_PV="1.23.02"
+
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)"
+HOMEPAGE="https://www.broadcom.com/support/download-search?dk=storcli"
+SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_PV}_StorCLI.zip -> ${P}.zip
+ https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${PV}_StorCLI.txt -> ${P}_readme.txt"
+
+LICENSE="Avago LSI BSD"
+SLOT="0/6.14"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+DOCS=( readme.txt license.txt )
+
+MY_STORCLI_BASEDIR="/opt/lsi/storcli"
+
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli"
+
+src_unpack() {
+ local _src_file
+
+ for _src_file in ${A}; do
+ if [[ ${_src_file} == *.txt ]]; then
+ cp "${DISTDIR}/${_src_file}" "${WORKDIR}" || die "Failed to copy '${_src_file}' to '${WORKDIR}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+
+ unpack "${WORKDIR}"/storcli_All_OS.zip
+
+ mv storcli_All_OS/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storclli_*.deb"
+
+ # Unpack Ubuntu package which will be our $S content
+ unpack "${WORKDIR}"/storcli_*.deb
+ rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package"
+ unpack "${WORKDIR}"/data.tar.gz
+
+ mkdir "${S}" || die "Failed to create '${S}'"
+}
+
+src_prepare() {
+ default
+
+ # Create clean $S
+ mv "${WORKDIR}"/*_readme.txt "${S}"/readme.txt || die "Failed to move *CLI.txt to readme.txt"
+ mv "${WORKDIR}"/storcli_All_OS/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt"
+ rm -rf "${WORKDIR}"/storcli_All* || die "Failed to cleanup storcli_all* dirs/files"
+ mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'"
+ rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files"
+}
+
+src_install() {
+ exeinto "${MY_STORCLI_BASEDIR}"
+
+ if use x86; then
+ doexe storcli
+ elif use amd64; then
+ newexe storcli64 storcli
+ fi
+
+ dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli
+
+ dodoc "${DOCS[@]}"
+
+ pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli
+}