diff options
Diffstat (limited to 'sys-block/megacli')
-rw-r--r-- | sys-block/megacli/Manifest | 2 | ||||
-rw-r--r-- | sys-block/megacli/megacli-8.07.14-r4.ebuild (renamed from sys-block/megacli/megacli-8.07.14-r3.ebuild) | 31 |
2 files changed, 19 insertions, 14 deletions
diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest index ba3dd427ddc4..9b704af77eb3 100644 --- a/sys-block/megacli/Manifest +++ b/sys-block/megacli/Manifest @@ -1,4 +1,4 @@ AUX megacli-wrapper 102 BLAKE2B 15b4c1bcc7102e7c757527e4f8fbb30b4d6eb14773da3690450e010fedecc248b3ff9cfd7f3ad9751cce750de816df98b249ed8f32c9960ac5eef60424f3dede SHA512 b420a93bc930ca346cd76d54871929231d7a7d378c602523d291517c1861b925cb6226a27326559c13b572bc1f9494b6a0abba1526bc02141a8ba1d86f245ec7 DIST 8-07-14_MegaCLI.zip 7939395 BLAKE2B 3b4151724fab8b9fd2a5797d11919c52cdd5c96fefb6074fad6637a9a82a6d9291dd43e5480669779dbce18f3cb0c56fe119e868a6d6a7c9d05779eb6fccb154 SHA512 ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3 -EBUILD megacli-8.07.14-r3.ebuild 2486 BLAKE2B 6fc1d8df7fc476156222cc86cefe79cf28894cfa54036d40a9906194cfb42a2ecb3d8beb9ee6128f9478b7b109ae9e9c22d4e3c64112fc95e500193b30c9bf50 SHA512 b1fbc0e8e49315b32031b73cbae3af593683510208ed2dd97b0edf75d12fd532f588e48b4670c9b4408649f13326b1b38385847895e8421220c4e54cddd952c0 +EBUILD megacli-8.07.14-r4.ebuild 2573 BLAKE2B 4d6b13d37b0b1a6c0fdd87ce7e9f2f8b43ced49c4f20a3af519850414641ce03151a4962a6288408fb6c61e741813668efbc8cc668c4351152e4c0ea8d143a70 SHA512 33eda118b4b342805e98d38eb96742342ae30f856ef3a1cede3f8b6b506ec9fe089b0f4274f794ff163d55a0a6f3a705a27ff00d46809a18c571c9562dde7b2c MISC metadata.xml 319 BLAKE2B 5a45f58f8cc5f61094270415357ea4a684040c69f261e9bc3bc07ef5cf8252e5c1201aac2317c2a14571185e7964fcd706533b15022820d14cb653c8aef1cc14 SHA512 c8e3764dd6248eebe247218e5a53136627fb3117f620ee336d6555f7c6b5fd62fc2eeb287d63120e50efa14496db647363ae3f2047efcfcca7cfde6e7a8fe6aa diff --git a/sys-block/megacli/megacli-8.07.14-r3.ebuild b/sys-block/megacli/megacli-8.07.14-r4.ebuild index 240d079dd480..c1a4970b565a 100644 --- a/sys-block/megacli/megacli-8.07.14-r3.ebuild +++ b/sys-block/megacli/megacli-8.07.14-r4.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit rpm + MY_PV="${PV//./-}" MY_P=${MY_PV}_MegaCLI @@ -11,32 +12,36 @@ DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool" HOMEPAGE="https://www.broadcom.com/support/knowledgebase/1211161498596/megacli-cheat-sheet--live-examples https://www.broadcom.com/support/knowledgebase/1211161496959/megacli-commands" # This file is '[zip] MegaCLI 5.5 P2', Date: 01/20/2014 Size: 7753 KB SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip" +S="${WORKDIR}" 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" -RDEPEND="sys-libs/ncurses-compat:5" - -S=${WORKDIR} - # Previous releases from LSI directly required a click-through EULA; but the # upstream website no longer requires this consistently: most old files have # two or more download pages, and while one of the pages has a generic # click-through download form, the file-specific download page only requires # click-through on some items. See also sys-block/lsiutil RESTRICT="mirror bindist" -QA_PREBUILT="/opt/${PN}/${PN} + +BDEPEND=" + app-admin/chrpath + app-arch/unzip" +# links to glibc and libstdc++/libgcc_s +RDEPEND=" + sys-devel/gcc + sys-libs/glibc + sys-libs/ncurses-compat:5" + +QA_PREBUILT=" + /opt/${PN}/${PN} /opt/${PN}/lib/*" src_unpack() { unpack ${A} - cd "${S}" + cd "${S}" || die rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm } @@ -60,7 +65,7 @@ src_install() { dosym ${PN} /opt/bin/MegaCli # Remove DT_RPATH - chrpath -d "${D}"/opt/${PN}/${PN} + chrpath -d "${ED}"/opt/${PN}/${PN} || die } pkg_postinst() { |