Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505088 - sys-block/megacli-8.07.14 version bump
Summary: sys-block/megacli-8.07.14 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kacper Kowalik (Xarthisius) (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-03-19 13:50 UTC by Martino Dell'Ambrogio
Modified: 2014-03-21 11:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for currently available archive of MegaCLI (megacli-8.07.14.ebuild,2.08 KB, text/plain)
2014-03-19 13:50 UTC, Martino Dell'Ambrogio
Details
megacli-8.07.14.ebuild (megacli-8.07.14.ebuild,2.09 KB, text/plain)
2014-03-21 07:23 UTC, John Stile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martino Dell'Ambrogio 2014-03-19 13:50:13 UTC
Created attachment 373026 [details]
Ebuild for currently available archive of MegaCLI

Hello,

Archive for the current stable MegaCLI ebuild, 8.07.10, is not available anymore on LSI website.
The currently available version, 8.07.14, has a different packaging so I had to modify the ebuild a little.

Martino Dell'Ambrogio
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-19 15:33:51 UTC
Comment on attachment 373026 [details]
Ebuild for currently available archive of MegaCLI

--- megacli-8.07.10.ebuild      2014-03-05 16:41:30.803573209 +0100
+++ -   2014-03-19 16:33:38.339029265 +0100
@@ -5,24 +5,24 @@
 EAPI=5
 inherit rpm
-MY_P=${PV}_MegaCLI_Linux
+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/MegaRAID%20Common%20Files/${MY_P}.zip"
+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"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 DEPEND="app-arch/unzip
        app-admin/chrpath"
 RDEPEND=""
-S=${WORKDIR}/${MY_P}
+S=${WORKDIR}
 RESTRICT="mirror fetch"
 QA_PREBUILT="/opt/${PN}/${PN}
@@ -37,11 +37,11 @@
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       rpm_unpack ./"Linux MegaCLI ${PV}"/MegaCli-${PV}-1.noarch.rpm
+       rpm_unpack ./"Linux"/MegaCli-${PV}-1.noarch.rpm
 }
 src_install() {
-       newdoc "Linux MegaCLI ${PV}.txt" RELEASE.txt
+       newdoc "${MY_P}.txt" RELEASE.txt
        exeinto /opt/megacli
        libsysfs=libstorelibir-2.so.14.07-0
Comment 2 John Stile 2014-03-21 07:23:28 UTC
Created attachment 373168 [details]
megacli-8.07.14.ebuild

ebuild that works with 8.07.14_MegaCLI.zip
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2014-03-21 11:53:58 UTC
+*megacli-8.07.14 (21 Mar 2014)
+
+  21 Mar 2014; Kacper Kowalik <xarthisius@gentoo.org> +megacli-8.07.14.ebuild,
+  -megacli-8.07.07.ebuild, megacli-8.07.10.ebuild:
+  Fix SRC_URI wrt #504858. Thanks to Anthony Ryan <anthonyryan1@gmail.com> for
+  providing updated one. Drop old. Version bump wrt #505088. Thanks to Martino
+  Dell'Ambrogio <tillo@tillo.ch> and johnny99 <john@stilen.com> for updated
+  ebuild
+