summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-27 23:11:13 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-27 23:11:13 +0000
commit57c3913ddcd1163221fbf16db31590576d8d17cc (patch)
tree53df6e5a7d8baf71c335b6b716bbb81cd98c97fc /sys-block
parentArm love #388713 by Norman Shulman. (diff)
downloadhistorical-57c3913ddcd1163221fbf16db31590576d8d17cc.tar.gz
historical-57c3913ddcd1163221fbf16db31590576d8d17cc.tar.bz2
historical-57c3913ddcd1163221fbf16db31590576d8d17cc.zip
Version bump (bug #387933, acked by Ramereth). Rebundle libsysfs library (fixes bugs #377701 and #382839) and update to EAPI 4.
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/megacli/ChangeLog9
-rw-r--r--sys-block/megacli/Manifest19
-rwxr-xr-xsys-block/megacli/files/megacli-wrapper3
-rw-r--r--sys-block/megacli/megacli-8.02.16.ebuild74
4 files changed, 97 insertions, 8 deletions
diff --git a/sys-block/megacli/ChangeLog b/sys-block/megacli/ChangeLog
index 83bb8c597f54..cce33b9054f9 100644
--- a/sys-block/megacli/ChangeLog
+++ b/sys-block/megacli/ChangeLog
@@ -1,6 +1,13 @@
# 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.8 2011/07/11 18:42:13 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/megacli/ChangeLog,v 1.9 2011/10/27 23:11:13 radhermit Exp $
+
+*megacli-8.02.16 (27 Oct 2011)
+
+ 27 Oct 2011; Tim Harder <radhermit@gentoo.org> +megacli-8.02.16.ebuild,
+ +files/megacli-wrapper:
+ Version bump (bug #387933, acked by Ramereth). Rebundle libsysfs library
+ (fixes bugs #377701 and #382839) and update to EAPI 4.
*megacli-8.01.06 (11 Jul 2011)
diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index d1fedd55d116..f6f6a68e2e16 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,16 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
+AUX megacli-wrapper 102 RMD160 9135417a5df236c8bb6c40315e3d8fe036eca840 SHA1 f4f544e8c05b7edec122b3243fb8cb695a3b876f SHA256 af558f357388c8b47d2c2f70e188eb7f6092c557dca13170d35a9279e258944d
DIST 8.01.06_Linux_MegaCLI.zip 2711321 RMD160 3132d0db340a02647a9bc83f1327637aee89d446 SHA1 2056c7f5eeea1fc24222b935fd7f9d9a0fc216cd SHA256 c47295d3d789f6156f9e4cc2be05da809d8c79a5fe4b3f2bf4c7a150da08dc54
+DIST 8.02.16_MegaCLI.zip 12244704 RMD160 c2db3a37721600f15224ec37f978511e0a76d675 SHA1 8f053a6101b2930d59b8ba72202aad4e62af7a47 SHA256 e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
EBUILD megacli-8.01.06.ebuild 1889 RMD160 6f2de89997d2aacf70ee885990b7a40aea7a309b SHA1 a771fa7344b6cf72a25acce2c3262334c6aa3802 SHA256 209cd6e5f8d1822684daca1849549292e2e2694715f7a9e4eaf9453deff4a388
-MISC ChangeLog 1767 RMD160 0d5f8740e8b188bb6fbec24fb1443800dc8f10c5 SHA1 746f2374395e14132e2949dda987dde35ebdcffb SHA256 243d2be5998a8ee5c80a773b768a1ee23c2c61e6f04640bf21ce67a08c7f264a
+EBUILD megacli-8.02.16.ebuild 1998 RMD160 8a8266eb5d61a03a926bbfb57222cd3d7dcaf22b SHA1 0d0e56b6a7fd360605109f2556717d3c9822aec8 SHA256 a1c9ac976df3977162cc37e9e7315d8637cad43a122f1b6fa060bce88b599f42
+MISC ChangeLog 2036 RMD160 c5bcd8c5099905cb143f150981b2e87f32abfb3f SHA1 58b27c6ba4afdd247ec7afce070a20e65d2dadf8 SHA256 c7f6c6e97beaabe640b608dfa5f532f1d278ab098bec13f1995d891096f0f906
MISC metadata.xml 431 RMD160 1dc5a3f71b7eed24b64c6cf50dbdf6586d613526 SHA1 e31340fcbbed5bc34effe811dbfd519ca548f7c2 SHA256 0efa1b94d791f59e63f538c2048b9e82e3522ac6a2af6a17d1cd8209c468e7ea
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk59siwACgkQfXuS5UK5QB2lKwP9H7WMG0y3O5vk9s6tes/i16xG
-mHyDofYazhRNvJ6WbiMZmbC/9lN61qkrEk7xFx+OfihELxkDlLLQJPdop2mDeM4e
-DJHGkU3EooFXIWUfkgOMcAmPXjOTCmqlkN/yhSK9jAJqRSuyLboJK9PbusFFv/cv
-Ev3TPQXEEb3NECrirGU=
-=Tt4S
+iQEcBAEBCgAGBQJOqeUZAAoJEEqz6FtPBkyjZWgH/0SSkZVOLoL5hwyWRGuY2km5
+PR/FFmt13NXktPwSVmbRfNGyQWpObzidQJRqHCYILuur6Mxet9UpPlHVGqP7biBG
+I0fwXSyd2KRHO3gEN0aWgqMgSiK/YsaYQSkGXiECb4thUg0AdhxwgAqcKomON6P5
+D37g1rtC7E4uNbNtZBjcAs6C0ilQznPpWAZ6/IhPcEVCgr0EBq33KfPv42jsmUHE
+N5Tfcec/q32u9SyefZFeiMiFUIVj9qJtNtxyltMT5HGSjMAPEACvs2bFhy6/V9zJ
+ZK3+v4raQHhMnwqukH+ccRw8E5gMWZzW+JeIfDpZLGFGaHYAThtYvbBZLbQmGxA=
+=+XKG
-----END PGP SIGNATURE-----
diff --git a/sys-block/megacli/files/megacli-wrapper b/sys-block/megacli/files/megacli-wrapper
new file mode 100755
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.02.16.ebuild b/sys-block/megacli/megacli-8.02.16.ebuild
new file mode 100644
index 000000000000..4d3e96d90902
--- /dev/null
+++ b/sys-block/megacli/megacli-8.02.16.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 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.1 2011/10/27 23:11:12 radhermit 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"
+
+QA_PRESTRIPPED="/opt/megacli/megacli"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ unpack ./LINUX/MegaCliLin.zip
+ rpm_unpack ./MegaCli-${PV}-1.i386.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
+
+ # Get a rid of 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
+}