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 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
Created attachment 373168 [details] megacli-8.07.14.ebuild ebuild that works with 8.07.14_MegaCLI.zip
+*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 +