summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2012-05-18 07:17:47 +0000
committerLance Albertson <ramereth@gentoo.org>2012-05-18 07:17:47 +0000
commitca3a3f2a17692ae5f8f57ad3276cbe8333a4c5eb (patch)
treeb1fadb0e16eecb7854d19596dbfbbd0e41ead560 /sys-block
parentmarked x86 per bug 415581 (diff)
downloadhistorical-ca3a3f2a17692ae5f8f57ad3276cbe8333a4c5eb.tar.gz
historical-ca3a3f2a17692ae5f8f57ad3276cbe8333a4c5eb.tar.bz2
historical-ca3a3f2a17692ae5f8f57ad3276cbe8333a4c5eb.zip
version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/megacli/ChangeLog9
-rw-r--r--sys-block/megacli/Manifest14
-rw-r--r--sys-block/megacli/megacli-8.02.21.ebuild80
3 files changed, 100 insertions, 3 deletions
diff --git a/sys-block/megacli/ChangeLog b/sys-block/megacli/ChangeLog
index bab60e33eba8..d05c6c624d4e 100644
--- a/sys-block/megacli/ChangeLog
+++ b/sys-block/megacli/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/megacli
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.12 2011/11/26 06:21:42 robbat2 Exp $
+# 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 $
+
+*megacli-8.02.21 (18 May 2012)
+
+ 18 May 2012; Lance Albertson <ramereth@gentoo.org> +megacli-8.02.21.ebuild:
+ Version bump
26 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> megacli-8.02.16.ebuild:
No more direct download possible, upstream has implemented mandatory
diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index 53d1c25cf88f..fd178975c7b9 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,5 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX megacli-wrapper 102 RMD160 9135417a5df236c8bb6c40315e3d8fe036eca840 SHA1 f4f544e8c05b7edec122b3243fb8cb695a3b876f SHA256 af558f357388c8b47d2c2f70e188eb7f6092c557dca13170d35a9279e258944d
DIST 8.02.16_MegaCLI.zip 12244704 RMD160 c2db3a37721600f15224ec37f978511e0a76d675 SHA1 8f053a6101b2930d59b8ba72202aad4e62af7a47 SHA256 e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
+DIST 8.02.21_MegaCLI.zip 12939353 RMD160 704a8a9e1e049c2b5b1315d6b7034d81697fe47b SHA1 08cd8a10bceb8b1fdacc8bc54e259d8e1e27ae41 SHA256 e5fdaff341b3cd8c3b5bbe334f5e819f9eb167e141337ce92a47a73c3fd7ac0b
EBUILD megacli-8.02.16.ebuild 2166 RMD160 2fbe1b2c12d7a2854c0399a2e7766a7cfe279ee2 SHA1 d9b13ba5848dfe630d00158f55cde7204c6b0f8d SHA256 ab05b2be21b8267e2f880b05222749462fd786d844c4d2b7acc38bf648cb3799
-MISC ChangeLog 2417 RMD160 14e87ebeaf1f32b5d7eb7517e4f68f5fe76ff75f SHA1 43277aebe4b2bb8df22266e62a2252804619ffad SHA256 8f62940ee1fef62e4554932abcac147480158f1a7f7ad15373575538d8e01cfb
+EBUILD megacli-8.02.21.ebuild 2183 RMD160 fb6fca2347ba954f1f055a94641dc732587dc309 SHA1 90f185027c824160c6dacc02b9d9706df0ebb059 SHA256 77e36cc54cd83c4b48e5f613e7d500e5d4504420da71cc0940174452bc42d364
+MISC ChangeLog 2544 RMD160 2323dc1a29436089ee174ee3efc9f99c160ac327 SHA1 898cf119ea7bb61c50a9b3640153e9436ff3f721 SHA256 be04daf118a1fa676d54ccdcef964f6e8215ffdee2dde890e5627b69e2f6ad23
MISC metadata.xml 431 RMD160 1dc5a3f71b7eed24b64c6cf50dbdf6586d613526 SHA1 e31340fcbbed5bc34effe811dbfd519ca548f7c2 SHA256 0efa1b94d791f59e63f538c2048b9e82e3522ac6a2af6a17d1cd8209c468e7ea
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iD8DBQFPtfeiQW+hXSf0t0IRAos4AKCooimq4xqIDTCRygua2ujcpUi0zQCg4zIG
+zr3+zm7e2QOmnSnysRNACDs=
+=jx7/
+-----END PGP SIGNATURE-----
diff --git a/sys-block/megacli/megacli-8.02.21.ebuild b/sys-block/megacli/megacli-8.02.21.ebuild
new file mode 100644
index 000000000000..f81cd53e4039
--- /dev/null
+++ b/sys-block/megacli/megacli-8.02.21.ebuild
@@ -0,0 +1,80 @@
+# 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 $
+
+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}"
+ unpack ./${PV}_Linux_MegaCLI/MegaCliLin.zip
+ rpm_unpack ./MegaCli-${PV}-1.noarch.rpm
+ rpm_unpack ./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
+}