summaryrefslogtreecommitdiff
path: root/sys-block/megacli
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/megacli
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/megacli')
-rw-r--r--sys-block/megacli/Manifest10
-rw-r--r--sys-block/megacli/files/megacli-wrapper3
-rw-r--r--sys-block/megacli/megacli-8.07.10.ebuild79
-rw-r--r--sys-block/megacli/megacli-8.07.14-r1.ebuild81
-rw-r--r--sys-block/megacli/megacli-8.07.14.ebuild79
-rw-r--r--sys-block/megacli/metadata.xml9
6 files changed, 261 insertions, 0 deletions
diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
new file mode 100644
index 000000000000..374e02a08ac7
--- /dev/null
+++ b/sys-block/megacli/Manifest
@@ -0,0 +1,10 @@
+AUX megacli-wrapper 102 SHA256 af558f357388c8b47d2c2f70e188eb7f6092c557dca13170d35a9279e258944d SHA512 b420a93bc930ca346cd76d54871929231d7a7d378c602523d291517c1861b925cb6226a27326559c13b572bc1f9494b6a0abba1526bc02141a8ba1d86f245ec7 WHIRLPOOL 413ddf8f901e136ed565a402c35ed3f832aa44a8e95679ab35fa2babe5d05c53f8974ec9261648246e09d8ace31dabf70366080e64ea449c6ac658e6d5310aef
+DIST 8-07-14_MegaCLI.zip 7939395 SHA256 d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3 WHIRLPOOL 6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae
+DIST 8.07.10_MegaCLI_Linux.zip 1543709 SHA256 631b58c1a51815c1c01db4d4d7b7b8c1099e3dff2c7ae6f1c2bf32a9aae6aca4 SHA512 ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7 WHIRLPOOL 5a045a113aee047b9d30f58029ba5c039c721f16d7e6ce0958de2273d0024e475bc1aeee786dfee95342f595fc13c050a7bb45a374851cc73dee60b335c276be
+DIST 8.07.14_MegaCLI.zip 7939395 SHA256 d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3 WHIRLPOOL 6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae
+EBUILD megacli-8.07.10.ebuild 2079 SHA256 eff9a8d5ae3a82a3169dc91a89073a9dd4fb858212acd8061d1caa76f9ea73ae SHA512 bd78ba3d2884a1b34f41decadba4dbfb1c987801f3195adafe6e4c79617987a608d63a6873fb799a58b12a326f4bc237583b56e4855c1a53e6c0b62d95d97d20 WHIRLPOOL 8aca04e16f3a9c0837f99a36ebb74546f2cbb2eabc8b36d54b4561ba2a728e335095291ca9b92f9e65b03485f45ccba888d63d241499fe218081ed661a6a8255
+EBUILD megacli-8.07.14-r1.ebuild 2501 SHA256 52ff712acb336529c450549e5d9786756348819091f8e78583ee4215d589e13f SHA512 f45b645ddd611917337688277c917c92032c81607d0a0bdeb8c197b4b1ed53403af1eb49d8b0ef72487311a0b5c641b53043ae1cca8e277bb42e9e8bd6b474a5 WHIRLPOOL 2c62b9fd14ceba0e78c466e700821ded65c5277f303b82f5cb2293b0a1bde8b985fb8854dcb417a5f49b6ec06e6ed3322b7a85aaf62406027b364e7cd0a65df3
+EBUILD megacli-8.07.14.ebuild 2039 SHA256 69c80f7f6f7846d8cb8de8266e2ffbae8ef6905d30915bc9111cfa3b972ce072 SHA512 eb008a26eeba00b43230842c6e7a992a3d9237b09578d63ab012985349598346220655be44a80f7f901ca5241ea5732e4bd0c648153c21b55179f31e607d0a4f WHIRLPOOL 0c47077f7cef34651c652d31a7f3d66f33a3ba5f5785b0915389037612a7010c2163a08c54443a960647de67d7753b906d60c5aa14637d54d0efeb09f02c2842
+MISC ChangeLog 3479 SHA256 0efd269bcb8e40645b39927d55c8dbfd9541697adf405abc0fe15118415053d4 SHA512 39a979e2e525456245ffc86b8537c9954598077df914d291ff6c3ba01eefe707c09a0973de7120278a9f8b86666020a62c8e25767e9fdd70e76b85a9a701a6f2 WHIRLPOOL 90979ebf420f62b67745ce9dd480a98364f34f9190566ce8f953ba4fbcd283c73c0984019aed902808d5ef52c439c0c9d9ef49532db7605e55c0ca019df4c05b
+MISC ChangeLog-2015 4399 SHA256 edeee0fb8b5de6e6499fc6697b4f925d1ae307af8f1dce466631aee953460c7b SHA512 8f9062f46447abeac5362621a8465337c9a24c3d76289c18d11db81f476ee310ea498e20efa73ef1daff3c7e91e59c153b4649e3fbe8a4ca6640acf33b3d284b WHIRLPOOL e49c696e71e5b0b06a3794c579584780a4c658173ec816477f0a8c11d6a41837aa67ca99de2d5d4204ff1fcf4802ff0b5686054a60a23ffc344b04322e54dc68
+MISC metadata.xml 318 SHA256 f284945d31b8b6f423bdcbc1e86c88818d855321cebebf30452ccb32b4741fdc SHA512 d2c34bba25ecc086ba1e3e009fbcf56d40efa3522cbc8d1fd4e273a58d21d82c2fd159c25e9295939f713e1ed845d361645915060fef9bc71be9be3d4ef043ee WHIRLPOOL b7ddfd832767f9521adcb53a5d7a4faebb4b15ba826a4fb116b5e75bb4268a3bd375d970a7f2e8b4e0febe9b68d19b3c40e9ea38aaa677158f13db441ed92f37
diff --git a/sys-block/megacli/files/megacli-wrapper b/sys-block/megacli/files/megacli-wrapper
new file mode 100644
index 000000000000..ec6e2b8dc9da
--- /dev/null
+++ b/sys-block/megacli/files/megacli-wrapper
@@ -0,0 +1,3 @@
+#!/bin/sh
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/megacli/lib"
+exec /opt/megacli/megacli "$@"
diff --git a/sys-block/megacli/megacli-8.07.10.ebuild b/sys-block/megacli/megacli-8.07.10.ebuild
new file mode 100644
index 000000000000..f822d8763e9e
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.10.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm
+MY_P=${PV}_MegaCLI_Linux
+
+DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
+HOMEPAGE="http://www.lsi.com/"
+SRC_URI="http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/${MY_P}.zip"
+
+LICENSE="LSI"
+SLOT="0"
+# This package can never enter stable, it can't be mirrored and upstream
+# can remove the distfiles from their mirror anytime.
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ app-admin/chrpath"
+RDEPEND="=sys-libs/ncurses-5*"
+
+S=${WORKDIR}/${MY_P}
+
+RESTRICT="mirror fetch"
+QA_PREBUILT="/opt/${PN}/${PN}
+ /opt/${PN}/lib/*"
+
+pkg_nofetch() {
+ einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
+ einfo "Please visit $SRC_URI"
+ einfo "And place $A in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rpm_unpack ./"Linux MegaCLI ${PV}"/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+ newdoc "Linux MegaCLI ${PV}.txt" RELEASE.txt
+
+ exeinto /opt/megacli
+ libsysfs=libstorelibir-2.so.14.07-0
+ case ${ARCH} in
+ amd64) MegaCli=MegaCli64;;
+ x86) MegaCli=MegaCli;;
+ *) die "invalid ARCH";;
+ esac
+ newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+ exeinto /opt/${PN}/lib
+ doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+ into /opt
+ newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+ dosym ${PN} /opt/bin/MegaCli
+
+ # Remove DT_RPATH
+ chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+ einfo
+ einfo "See /usr/share/doc/${PF}/RELEASE.txt for a list of supported controllers"
+ einfo "(contains LSI model names only, not those sold by 3rd parties"
+ einfo "under custom names like Dell PERC etc)."
+ einfo
+ einfo "As there's no dedicated manual, you might want to have"
+ einfo "a look at the following cheat sheet (originally written"
+ einfo "for Dell PowerEdge Expandable RAID Controllers):"
+ einfo "http://tools.rapidsoft.de/perc/perc-cheat-sheet.html"
+ einfo
+ einfo "For more information about working with Dell PERCs see:"
+ einfo "http://tools.rapidsoft.de/perc/"
+ einfo
+}
diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild b/sys-block/megacli/megacli-8.07.14-r1.ebuild
new file mode 100644
index 000000000000..5092c2b2b775
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm
+MY_PV="${PV//./-}"
+MY_P=${MY_PV}_MegaCLI
+
+DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
+# Avagotech now owns LSI
+HOMEPAGE="http://www.avagotech.com/cs/Satellite?pagename=AVG2/searchLayout&SearchKeyWord=8.07&searchType=DocumentFileExtension-zip&locale=avg_en&srchradio=within&within=8.07"
+# This file is '[zip] MegaCLI 5.5 P2', Date: 01/20/2014 Size: 7753 KB
+SRC_URI="http://docs.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip"
+
+LICENSE="LSI"
+SLOT="0"
+# This package can never enter stable, it can't be mirrored and upstream
+# can remove the distfiles from their mirror anytime.
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ app-admin/chrpath"
+RDEPEND="=sys-libs/ncurses-5*"
+
+S=${WORKDIR}
+
+# Previous releases from LSI directly required a click-through EULA; but the
+# upstream website no longer requires this consistently: most old files have
+# two or more download pages, and while one of the pages has a generic
+# click-through download form, the file-specific download page only requires
+# click-through on some items. See also sys-block/lsiutil
+RESTRICT="mirror bindist"
+QA_PREBUILT="/opt/${PN}/${PN}
+ /opt/${PN}/lib/*"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+ newdoc "${PV}_MegaCLI.txt" RELEASE.txt
+
+ exeinto /opt/megacli
+ libsysfs=libstorelibir-2.so.14.07-0
+ case ${ARCH} in
+ amd64) MegaCli=MegaCli64;;
+ x86) MegaCli=MegaCli;;
+ *) die "invalid ARCH";;
+ esac
+ newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+ exeinto /opt/${PN}/lib
+ doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+ into /opt
+ newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+ dosym ${PN} /opt/bin/MegaCli
+
+ # Remove DT_RPATH
+ chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+ einfo
+ einfo "See /usr/share/doc/${PF}/RELEASE.txt for a list of supported controllers"
+ einfo "(contains LSI model names only, not those sold by 3rd parties"
+ einfo "under custom names like Dell PERC etc)."
+ einfo
+ einfo "As there's no dedicated manual, you might want to have"
+ einfo "a look at the following cheat sheet (originally written"
+ einfo "for Dell PowerEdge Expandable RAID Controllers):"
+ einfo "http://tools.rapidsoft.de/perc/perc-cheat-sheet.html"
+ einfo
+ einfo "For more information about working with Dell PERCs see:"
+ einfo "http://tools.rapidsoft.de/perc/"
+ einfo
+}
diff --git a/sys-block/megacli/megacli-8.07.14.ebuild b/sys-block/megacli/megacli-8.07.14.ebuild
new file mode 100644
index 000000000000..fe24a5d5c170
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.14.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm
+MY_P=${PV}_MegaCLI
+
+DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
+HOMEPAGE="http://www.lsi.com/"
+SRC_URI="http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/${MY_P}.zip"
+
+LICENSE="LSI"
+SLOT="0"
+# This package can never enter stable, it can't be mirrored and upstream
+# can remove the distfiles from their mirror anytime.
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ app-admin/chrpath"
+RDEPEND="=sys-libs/ncurses-5*"
+
+S=${WORKDIR}
+
+RESTRICT="mirror fetch"
+QA_PREBUILT="/opt/${PN}/${PN}
+ /opt/${PN}/lib/*"
+
+pkg_nofetch() {
+ einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
+ einfo "Please visit $SRC_URI"
+ einfo "And place $A in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+ newdoc "${MY_P}.txt" RELEASE.txt
+
+ exeinto /opt/megacli
+ libsysfs=libstorelibir-2.so.14.07-0
+ case ${ARCH} in
+ amd64) MegaCli=MegaCli64;;
+ x86) MegaCli=MegaCli;;
+ *) die "invalid ARCH";;
+ esac
+ newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+ exeinto /opt/${PN}/lib
+ doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+ into /opt
+ newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+ dosym ${PN} /opt/bin/MegaCli
+
+ # Remove DT_RPATH
+ chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+ einfo
+ einfo "See /usr/share/doc/${PF}/RELEASE.txt for a list of supported controllers"
+ einfo "(contains LSI model names only, not those sold by 3rd parties"
+ einfo "under custom names like Dell PERC etc)."
+ einfo
+ einfo "As there's no dedicated manual, you might want to have"
+ einfo "a look at the following cheat sheet (originally written"
+ einfo "for Dell PowerEdge Expandable RAID Controllers):"
+ einfo "http://tools.rapidsoft.de/perc/perc-cheat-sheet.html"
+ einfo
+ einfo "For more information about working with Dell PERCs see:"
+ einfo "http://tools.rapidsoft.de/perc/"
+ einfo
+}
diff --git a/sys-block/megacli/metadata.xml b/sys-block/megacli/metadata.xml
new file mode 100644
index 000000000000..38830086e85b
--- /dev/null
+++ b/sys-block/megacli/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- used by infra, please do not non-maintainer drop -->
+ <maintainer type="project">
+ <email>sysadmin@gentoo.org</email>
+ <name>Gentoo Sysadmin Project</name>
+ </maintainer>
+</pkgmetadata>