diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2009-05-06 15:44:03 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2009-05-06 15:44:03 +0000 |
commit | fde220a1bdd8a7ec797380b239c8866094b9a55f (patch) | |
tree | 1876ceae291ad83cbb5b3b604a18d468bd945d39 /sys-block/megacli | |
parent | Stable for HPPA (bug #268765). (diff) | |
download | gentoo-2-fde220a1bdd8a7ec797380b239c8866094b9a55f.tar.gz gentoo-2-fde220a1bdd8a7ec797380b239c8866094b9a55f.tar.bz2 gentoo-2-fde220a1bdd8a7ec797380b239c8866094b9a55f.zip |
version bump
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-block/megacli')
-rw-r--r-- | sys-block/megacli/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/megacli/megacli-4.00.11.ebuild | 56 |
2 files changed, 64 insertions, 2 deletions
diff --git a/sys-block/megacli/ChangeLog b/sys-block/megacli/ChangeLog index 5c5efb940b38..b6d963a84e2a 100644 --- a/sys-block/megacli/ChangeLog +++ b/sys-block/megacli/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/megacli -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.4 2008/07/30 06:18:00 wschlich Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.5 2009/05/06 15:44:03 wschlich Exp $ + +*megacli-4.00.11 (06 May 2009) + + 06 May 2009; Wolfram Schlich <wschlich@gentoo.org> + +megacli-4.00.11.ebuild: + version bump *megacli-2.00.11 (30 Jul 2008) diff --git a/sys-block/megacli/megacli-4.00.11.ebuild b/sys-block/megacli/megacli-4.00.11.ebuild new file mode 100644 index 000000000000..b9901365a2a1 --- /dev/null +++ b/sys-block/megacli/megacli-4.00.11.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/megacli-4.00.11.ebuild,v 1.1 2009/05/06 15:44:03 wschlich Exp $ + +inherit rpm + +DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool" +HOMEPAGE="http://www.lsi.com/" +SRC_URI="http://www.lsi.com/DistributionSystem/AssetDocument/${PV}_Linux_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" + +RESTRICT="strip mirror test" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./MegaCliLin.zip || die "failed to unpack inner ZIP" + rpm_unpack "${S}"/MegaCli-${PV}-1.i386.rpm || die "failed to unpack RPM" +} + +src_compile() { + echo "Nothing to compile." +} + +src_install() { + exeinto /opt/MegaRAID/MegaCli + case ${ARCH} in + amd64) MegaCli=MegaCli64;; + x86) MegaCli=MegaCli;; + *) die "invalid ARCH";; + esac + doexe opt/MegaRAID/MegaCli/${MegaCli} + dosym /opt/MegaRAID/MegaCli/${MegaCli} /usr/sbin/MegaCli +} + +pkg_postinst() { + 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 +} |