diff options
author | Lance Albertson <ramereth@gentoo.org> | 2012-12-25 02:40:44 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2012-12-25 02:40:44 +0000 |
commit | 9fc65d6994754385c7e65fa1ab6cf2bc7d4f805f (patch) | |
tree | a8471204aadaabac3f189da1dbee7062e2f22191 /sys-block/megacli | |
parent | Add sub-slot as suggested by Arfrever on IRC. (diff) | |
download | gentoo-2-9fc65d6994754385c7e65fa1ab6cf2bc7d4f805f.tar.gz gentoo-2-9fc65d6994754385c7e65fa1ab6cf2bc7d4f805f.tar.bz2 gentoo-2-9fc65d6994754385c7e65fa1ab6cf2bc7d4f805f.zip |
Version bump (resolves #436024), mark stable
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 27F4B742)
Diffstat (limited to 'sys-block/megacli')
-rw-r--r-- | sys-block/megacli/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/megacli/megacli-8.02.16.ebuild | 6 | ||||
-rw-r--r-- | sys-block/megacli/megacli-8.02.21.ebuild | 4 | ||||
-rw-r--r-- | sys-block/megacli/megacli-8.05.06.ebuild | 79 |
4 files changed, 91 insertions, 6 deletions
diff --git a/sys-block/megacli/ChangeLog b/sys-block/megacli/ChangeLog index d05c6c624d4e..c7c83162f005 100644 --- a/sys-block/megacli/ChangeLog +++ b/sys-block/megacli/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/megacli # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.13 2012/05/18 07:17:47 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.14 2012/12/25 02:40:44 ramereth Exp $ + +*megacli-8.05.06 (25 Dec 2012) + + 25 Dec 2012; Lance Albertson <ramereth@gentoo.org> megacli-8.02.16.ebuild, + megacli-8.02.21.ebuild, +megacli-8.05.06.ebuild: + Version bump (resolves #436024), mark stable *megacli-8.02.21 (18 May 2012) diff --git a/sys-block/megacli/megacli-8.02.16.ebuild b/sys-block/megacli/megacli-8.02.16.ebuild index a4d726ceaf11..c8e35f108bda 100644 --- a/sys-block/megacli/megacli-8.02.16.ebuild +++ b/sys-block/megacli/megacli-8.02.16.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-8.02.16.ebuild,v 1.3 2011/11/26 06:21:42 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-8.02.16.ebuild,v 1.4 2012/12/25 02:40:44 ramereth Exp $ EAPI="4" @@ -14,7 +14,7 @@ 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" +KEYWORDS="amd64 x86" IUSE="" DEPEND="app-arch/unzip diff --git a/sys-block/megacli/megacli-8.02.21.ebuild b/sys-block/megacli/megacli-8.02.21.ebuild index f81cd53e4039..1608600cfffc 100644 --- a/sys-block/megacli/megacli-8.02.21.ebuild +++ b/sys-block/megacli/megacli-8.02.21.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-8.02.21.ebuild,v 1.1 2012/05/18 07:17:47 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-8.02.21.ebuild,v 1.2 2012/12/25 02:40:44 ramereth Exp $ EAPI="4" @@ -14,7 +14,7 @@ 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" +KEYWORDS="amd64 x86" IUSE="" DEPEND="app-arch/unzip diff --git a/sys-block/megacli/megacli-8.05.06.ebuild b/sys-block/megacli/megacli-8.05.06.ebuild new file mode 100644 index 000000000000..4caaad23e5c1 --- /dev/null +++ b/sys-block/megacli/megacli-8.05.06.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-8.05.06.ebuild,v 1.1 2012/12/25 02:40:44 ramereth Exp $ + +EAPI="4" + +inherit rpm + +DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool" +HOMEPAGE="http://www.lsi.com/" +SRC_URI="http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/${PV}_MegaCLI.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" + +S="${WORKDIR}" + +RESTRICT="mirror fetch" + +QA_PRESTRIPPED="/opt/megacli/megacli" + +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 ./MegaCli_Linux/MegaCli-${PV}-1.noarch.rpm + rpm_unpack ./MegaCliKL_Linux/Lib_Utils-1.00-09.noarch.rpm +} + +src_install() { + exeinto /opt/megacli + libsysfs=libsysfs.so.2.0.2 + case ${ARCH} in + amd64) MegaCli=MegaCli64 libsysfs=x86_64/${libsysfs};; + x86) MegaCli=MegaCli;; + *) die "invalid ARCH";; + esac + newexe opt/MegaRAID/MegaCli/${MegaCli} megacli + + exeinto /opt/megacli/lib + doexe opt/lsi/3rdpartylibs/${libsysfs} + + into /opt + newbin "${FILESDIR}"/${PN}-wrapper ${PN} + dosym ${PN} /opt/bin/MegaCli + + dodoc ${PV}_MegaCLI.txt + + # Remove DT_RPATH + chrpath -d "${D}"/opt/megacli/megacli +} + +pkg_postinst() { + einfo + einfo "See /usr/share/doc/${PF}/${PV}_MegaCli.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 +} |