[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/, profiles/features/musl/

2022-07-29 Thread David Seifert
commit: 36d341bafe0587acc2a75914fc9fcb44f7363dca
Author: David Seifert  gentoo  org>
AuthorDate: Fri Jul 29 08:24:18 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jul 29 08:24:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d341ba

sys-block/megacli: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/832934
Signed-off-by: David Seifert  gentoo.org>

 profiles/features/musl/package.mask|  4 +++
 ...8.07.14-r3.ebuild => megacli-8.07.14-r4.ebuild} | 31 +-
 2 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/profiles/features/musl/package.mask 
b/profiles/features/musl/package.mask
index 22eb277af38e..60195181698f 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# David Seifert  (2022-07-29)
+# Binary package linked against glibc
+sys-block/megacli
+
 # Marek Szuba  (2022-07-28)
 # Relies on unimplemented functions outb_p and inb_p,
 # support for which has never made it into musl. Bug #712972.

diff --git a/sys-block/megacli/megacli-8.07.14-r3.ebuild 
b/sys-block/megacli/megacli-8.07.14-r4.ebuild
similarity index 88%
rename from sys-block/megacli/megacli-8.07.14-r3.ebuild
rename to 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() {



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2021-10-22 Thread Jakov Smolić
commit: 41979a31511a5cd937068c1246cb561cb2837a86
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Oct 22 06:40:09 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Oct 22 06:40:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41979a31

sys-block/megacli: drop 8.07.14-r2

Bug: https://bugs.gentoo.org/819219
Signed-off-by: Jakov Smolić  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r2.ebuild | 80 -
 1 file changed, 80 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.14-r2.ebuild 
b/sys-block/megacli/megacli-8.07.14-r2.ebuild
deleted file mode 100644
index 777fb0cbbf0..000
--- a/sys-block/megacli/megacli-8.07.14-r2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit rpm
-MY_PV="${PV//./-}"
-MY_P=${MY_PV}_MegaCLI
-
-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;
-
-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}
-   /opt/${PN}/lib/*"
-
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
-   rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
-}
-
-src_install() {
-   newdoc "${PV}_MegaCLI.txt" RELEASE.txt
-
-   exeinto /opt/megacli
-   libsysfs=libstorelibir-2.so.14.07-0
-   case ${ARCH} in
-   amd64) MegaCli=MegaCli64;;
-   x86) MegaCli=MegaCli;;
-   *) die "invalid ARCH";;
-   esac
-   newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
-
-   exeinto /opt/${PN}/lib
-   doexe opt/MegaRAID/MegaCli/${libsysfs}
-
-   into /opt
-   newbin "${FILESDIR}"/${PN}-wrapper ${PN}
-   dosym ${PN} /opt/bin/MegaCli
-
-   # Remove DT_RPATH
-   chrpath -d "${D}"/opt/${PN}/${PN}
-}
-
-pkg_postinst() {
-   einfo
-   einfo "See /usr/share/doc/${PF}/RELEASE.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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2021-10-21 Thread Sam James
commit: 8a6f8091b5aabb7af0d98f4734d06909a2516af9
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 21 23:28:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 21 23:28:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6f8091

sys-block/megacli: Stabilize 8.07.14-r3 amd64, #819219

Signed-off-by: Sam James  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-block/megacli/megacli-8.07.14-r3.ebuild 
b/sys-block/megacli/megacli-8.07.14-r3.ebuild
index 323f9106eb2..240d079dd48 100644
--- a/sys-block/megacli/megacli-8.07.14-r3.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r3.ebuild
@@ -16,7 +16,7 @@ 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



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2021-10-21 Thread Sam James
commit: 472b2b74dcf339e066e97d3f0a128d92f0f5f66f
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 21 23:27:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 21 23:27:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472b2b74

sys-block/megacli: Stabilize 8.07.14-r3 x86, #819219

Signed-off-by: Sam James  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.14-r3.ebuild 
b/sys-block/megacli/megacli-8.07.14-r3.ebuild
index ed3a7f8c02d..323f9106eb2 100644
--- a/sys-block/megacli/megacli-8.07.14-r3.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ 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



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2020-09-24 Thread Aaron Bauman
commit: 6cb752486e6593648b73b552ac7f597fba8d17e5
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Sep 24 20:22:05 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Sep 24 20:22:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb75248

sys-block/megacli: fix Manifest

Signed-off-by: Aaron Bauman  gentoo.org>

 sys-block/megacli/Manifest | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index 2ec47c1bd14..05fd638dc13 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,3 +1 @@
 DIST 8-07-14_MegaCLI.zip 7939395 BLAKE2B 
3b4151724fab8b9fd2a5797d11919c52cdd5c96fefb6074fad6637a9a82a6d9291dd43e5480669779dbce18f3cb0c56fe119e868a6d6a7c9d05779eb6fccb154
 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
-DIST 8.07.10_MegaCLI_Linux.zip 1543709 BLAKE2B 
6b42195d105faa5ce6469d6a36c37a1d84b9a814bbc0e85ba45d8d29914232868db40fef0572c281a2716041e98222923547d7c7f25a71217bd4468ac3031fbd
 SHA512 
ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7
-DIST 8.07.14_MegaCLI.zip 7939395 BLAKE2B 
3b4151724fab8b9fd2a5797d11919c52cdd5c96fefb6074fad6637a9a82a6d9291dd43e5480669779dbce18f3cb0c56fe119e868a6d6a7c9d05779eb6fccb154
 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2020-09-24 Thread Robin H. Johnson
commit: 8040a5a77fb1f690fe39652316df8c14b27c429f
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Sep 24 19:17:34 2020 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Thu Sep 24 19:17:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8040a5a7

sys-block/megacli: bump for EAPI7

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r3.ebuild | 80 +
 1 file changed, 80 insertions(+)

diff --git a/sys-block/megacli/megacli-8.07.14-r3.ebuild 
b/sys-block/megacli/megacli-8.07.14-r3.ebuild
new file mode 100644
index 000..ed3a7f8c02d
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.14-r3.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm
+MY_PV="${PV//./-}"
+MY_P=${MY_PV}_MegaCLI
+
+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;
+
+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}
+   /opt/${PN}/lib/*"
+
+src_unpack() {
+   unpack ${A}
+   cd "${S}"
+   rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+   newdoc "${PV}_MegaCLI.txt" RELEASE.txt
+
+   exeinto /opt/megacli
+   libsysfs=libstorelibir-2.so.14.07-0
+   case ${ARCH} in
+   amd64) MegaCli=MegaCli64;;
+   x86) MegaCli=MegaCli;;
+   *) die "invalid ARCH";;
+   esac
+   newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+   exeinto /opt/${PN}/lib
+   doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+   into /opt
+   newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+   dosym ${PN} /opt/bin/MegaCli
+
+   # Remove DT_RPATH
+   chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+   einfo
+   einfo "See /usr/share/doc/${PF}/RELEASE.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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2020-09-24 Thread Robin H. Johnson
commit: 6276c83364f2c1b2e5d6f6b66a33f93f3a5403e0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Sep 24 19:18:40 2020 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Thu Sep 24 19:18:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6276c833

sys-block/megacli: cleanup

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/megacli/megacli-8.07.10.ebuild| 79 
 sys-block/megacli/megacli-8.07.14-r1.ebuild | 81 -
 sys-block/megacli/megacli-8.07.14.ebuild| 79 
 3 files changed, 239 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.10.ebuild 
b/sys-block/megacli/megacli-8.07.10.ebuild
deleted file mode 100644
index d7705715e38..000
--- a/sys-block/megacli/megacli-8.07.10.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit rpm
-MY_P=${PV}_MegaCLI_Linux
-
-DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
-HOMEPAGE="http://www.lsi.com/;
-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"
-IUSE=""
-
-DEPEND="app-arch/unzip
-   app-admin/chrpath"
-RDEPEND="sys-libs/ncurses-compat:5"
-
-S=${WORKDIR}/${MY_P}
-
-RESTRICT="mirror fetch"
-QA_PREBUILT="/opt/${PN}/${PN}
-   /opt/${PN}/lib/*"
-
-pkg_nofetch() {
-   einfo "Upstream has implement a mandatory clickthrough EULA for 
distfile download"
-   einfo "Please visit $SRC_URI"
-   einfo "And place $A into your DISTDIR directory"
-}
-
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
-   rpm_unpack ./"Linux MegaCLI ${PV}"/MegaCli-${PV}-1.noarch.rpm
-}
-
-src_install() {
-   newdoc "Linux MegaCLI ${PV}.txt" RELEASE.txt
-
-   exeinto /opt/megacli
-   libsysfs=libstorelibir-2.so.14.07-0
-   case ${ARCH} in
-   amd64) MegaCli=MegaCli64;;
-   x86) MegaCli=MegaCli;;
-   *) die "invalid ARCH";;
-   esac
-   newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
-
-   exeinto /opt/${PN}/lib
-   doexe opt/MegaRAID/MegaCli/${libsysfs}
-
-   into /opt
-   newbin "${FILESDIR}"/${PN}-wrapper ${PN}
-   dosym ${PN} /opt/bin/MegaCli
-
-   # Remove DT_RPATH
-   chrpath -d "${D}"/opt/${PN}/${PN}
-}
-
-pkg_postinst() {
-   einfo
-   einfo "See /usr/share/doc/${PF}/RELEASE.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
-}

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
deleted file mode 100644
index 718d3ec37f9..000
--- a/sys-block/megacli/megacli-8.07.14-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit rpm
-MY_PV="${PV//./-}"
-MY_P=${MY_PV}_MegaCLI
-
-DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
-# Avagotech now owns LSI
-HOMEPAGE="http://www.avagotech.com/cs/Satellite?pagename=AVG2/searchLayout=8.07=DocumentFileExtension-zip=avg_en=within=8.07;
-# This file is '[zip]  MegaCLI 5.5 P2', Date: 01/20/2014   Size: 7753 KB
-SRC_URI="http://docs.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${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"
-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}
-   /opt/${PN}/lib/*"
-
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
-   rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
-}
-

[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2020-09-15 Thread Thomas Deutschmann
commit: 2436c7d32514dcb30f2d97afcdc705f9fd680a8d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Sep 15 22:21:19 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Sep 15 22:23:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2436c7d3

sys-block/megacli: x86 stable (bug #741712)

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.14-r2.ebuild 
b/sys-block/megacli/megacli-8.07.14-r2.ebuild
index e211dc65c70..a7ef05dd0fc 100644
--- a/sys-block/megacli/megacli-8.07.14-r2.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,7 +16,7 @@ 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



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2019-11-04 Thread Agostino Sarubbo
commit: db71e4873d3a9922457f8362a60c80a0c4e5672f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov  4 10:32:43 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov  4 10:32:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db71e487

sys-block/megacli: add a new revision to fix bug #689996

Bug: https://bugs.gentoo.org/689996
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-block/megacli/megacli-8.07.14-r2.ebuild | 80 +
 1 file changed, 80 insertions(+)

diff --git a/sys-block/megacli/megacli-8.07.14-r2.ebuild 
b/sys-block/megacli/megacli-8.07.14-r2.ebuild
new file mode 100644
index 000..e211dc65c70
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.14-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm
+MY_PV="${PV//./-}"
+MY_P=${MY_PV}_MegaCLI
+
+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;
+
+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}
+   /opt/${PN}/lib/*"
+
+src_unpack() {
+   unpack ${A}
+   cd "${S}"
+   rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+   newdoc "${PV}_MegaCLI.txt" RELEASE.txt
+
+   exeinto /opt/megacli
+   libsysfs=libstorelibir-2.so.14.07-0
+   case ${ARCH} in
+   amd64) MegaCli=MegaCli64;;
+   x86) MegaCli=MegaCli;;
+   *) die "invalid ARCH";;
+   esac
+   newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+   exeinto /opt/${PN}/lib
+   doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+   into /opt
+   newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+   dosym ${PN} /opt/bin/MegaCli
+
+   # Remove DT_RPATH
+   chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+   einfo
+   einfo "See /usr/share/doc/${PF}/RELEASE.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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2019-10-01 Thread Michał Górny
commit: ab67bfcb57b0b6ca9b2fc7941578a90ce9bb5b0f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:11:04 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab67bfcb

sys-block/megacli: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sys-block/megacli/megacli-8.07.10.ebuild| 2 +-
 sys-block/megacli/megacli-8.07.14-r1.ebuild | 4 ++--
 sys-block/megacli/megacli-8.07.14.ebuild| 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.10.ebuild 
b/sys-block/megacli/megacli-8.07.10.ebuild
index 1e136f4e315..d7705715e38 100644
--- a/sys-block/megacli/megacli-8.07.10.ebuild
+++ b/sys-block/megacli/megacli-8.07.10.ebuild
@@ -19,7 +19,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="sys-libs/ncurses:5"
+RDEPEND="sys-libs/ncurses-compat:5"
 
 S=${WORKDIR}/${MY_P}
 

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
index 92d6aa9dc7d..718d3ec37f9 100644
--- a/sys-block/megacli/megacli-8.07.14-r1.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="sys-libs/ncurses:5"
+RDEPEND="sys-libs/ncurses-compat:5"
 
 S=${WORKDIR}
 

diff --git a/sys-block/megacli/megacli-8.07.14.ebuild 
b/sys-block/megacli/megacli-8.07.14.ebuild
index cb55e6adb14..968ffeb5764 100644
--- a/sys-block/megacli/megacli-8.07.14.ebuild
+++ b/sys-block/megacli/megacli-8.07.14.ebuild
@@ -19,7 +19,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="sys-libs/ncurses:5"
+RDEPEND="sys-libs/ncurses-compat:5"
 
 S=${WORKDIR}
 



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2019-02-04 Thread Ben Kohler
commit: 18323ff89f126ac5b0dc1072a8d1c964b35240be
Author: Ben Kohler  gentoo  org>
AuthorDate: Mon Feb  4 22:59:11 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Feb  4 22:59:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18323ff8

sys-block/megacli: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sys-block/megacli/megacli-8.07.10.ebuild | 4 ++--
 sys-block/megacli/megacli-8.07.14.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.10.ebuild 
b/sys-block/megacli/megacli-8.07.10.ebuild
index b8d98d13d67..1e136f4e315 100644
--- a/sys-block/megacli/megacli-8.07.10.ebuild
+++ b/sys-block/megacli/megacli-8.07.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -30,7 +30,7 @@ QA_PREBUILT="/opt/${PN}/${PN}
 pkg_nofetch() {
einfo "Upstream has implement a mandatory clickthrough EULA for 
distfile download"
einfo "Please visit $SRC_URI"
-   einfo "And place $A in ${DISTDIR}"
+   einfo "And place $A into your DISTDIR directory"
 }
 
 src_unpack() {

diff --git a/sys-block/megacli/megacli-8.07.14.ebuild 
b/sys-block/megacli/megacli-8.07.14.ebuild
index b1b11afc3a9..cb55e6adb14 100644
--- a/sys-block/megacli/megacli-8.07.14.ebuild
+++ b/sys-block/megacli/megacli-8.07.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -30,7 +30,7 @@ QA_PREBUILT="/opt/${PN}/${PN}
 pkg_nofetch() {
einfo "Upstream has implement a mandatory clickthrough EULA for 
distfile download"
einfo "Please visit $SRC_URI"
-   einfo "And place $A in ${DISTDIR}"
+   einfo "And place $A into your DISTDIR directory"
 }
 
 src_unpack() {



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2018-05-28 Thread Robin H. Johnson
commit: 2af412e407cb60954bba425f33f358dde38251ab
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon May 28 18:26:32 2018 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon May 28 18:26:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af412e4

sys-block/megacli: clarify ncurses dep

Signed-off-by: Robin H. Johnson  gentoo.org>
Package-Manager: Portage-2.3.33, Repoman-2.3.9

 sys-block/megacli/megacli-8.07.10.ebuild| 4 ++--
 sys-block/megacli/megacli-8.07.14-r1.ebuild | 4 ++--
 sys-block/megacli/megacli-8.07.14.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-block/megacli/megacli-8.07.10.ebuild 
b/sys-block/megacli/megacli-8.07.10.ebuild
index f822d8763e9..b8d98d13d67 100644
--- a/sys-block/megacli/megacli-8.07.10.ebuild
+++ b/sys-block/megacli/megacli-8.07.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="=sys-libs/ncurses-5*"
+RDEPEND="sys-libs/ncurses:5"
 
 S=${WORKDIR}/${MY_P}
 

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
index 5092c2b2b77..92d6aa9dc7d 100644
--- a/sys-block/megacli/megacli-8.07.14-r1.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="=sys-libs/ncurses-5*"
+RDEPEND="sys-libs/ncurses:5"
 
 S=${WORKDIR}
 

diff --git a/sys-block/megacli/megacli-8.07.14.ebuild 
b/sys-block/megacli/megacli-8.07.14.ebuild
index fe24a5d5c17..b1b11afc3a9 100644
--- a/sys-block/megacli/megacli-8.07.14.ebuild
+++ b/sys-block/megacli/megacli-8.07.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND="=sys-libs/ncurses-5*"
+RDEPEND="sys-libs/ncurses:5"
 
 S=${WORKDIR}
 



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2018-01-12 Thread Ulrich Müller
commit: 41c6a923ae4b613e9192c7fe6038d2a5ad8f409f
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Jan 12 15:33:22 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Jan 12 15:35:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c6a923

sys-block/megacli: Update Manifest hashes.

Closes: https://bugs.gentoo.org/642912

 sys-block/megacli/Manifest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index 268be799f75..2ec47c1bd14 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,3 +1,3 @@
 DIST 8-07-14_MegaCLI.zip 7939395 BLAKE2B 
3b4151724fab8b9fd2a5797d11919c52cdd5c96fefb6074fad6637a9a82a6d9291dd43e5480669779dbce18f3cb0c56fe119e868a6d6a7c9d05779eb6fccb154
 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
-DIST 8.07.10_MegaCLI_Linux.zip 1543709 SHA256 
631b58c1a51815c1c01db4d4d7b7b8c1099e3dff2c7ae6f1c2bf32a9aae6aca4 SHA512 
ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7
 WHIRLPOOL 
5a045a113aee047b9d30f58029ba5c039c721f16d7e6ce0958de2273d0024e475bc1aeee786dfee95342f595fc13c050a7bb45a374851cc73dee60b335c276be
-DIST 8.07.14_MegaCLI.zip 7939395 SHA256 
d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
 WHIRLPOOL 
6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae
+DIST 8.07.10_MegaCLI_Linux.zip 1543709 BLAKE2B 
6b42195d105faa5ce6469d6a36c37a1d84b9a814bbc0e85ba45d8d29914232868db40fef0572c281a2716041e98222923547d7c7f25a71217bd4468ac3031fbd
 SHA512 
ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7
+DIST 8.07.14_MegaCLI.zip 7939395 BLAKE2B 
3b4151724fab8b9fd2a5797d11919c52cdd5c96fefb6074fad6637a9a82a6d9291dd43e5480669779dbce18f3cb0c56fe119e868a6d6a7c9d05779eb6fccb154
 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2016-12-10 Thread Robin H. Johnson
commit: bfffc93bba583f40d0ad15ba5e6894d5b3b4bc50
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Dec 11 07:42:30 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 11 07:44:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfffc93b

sys-block/megacli: drop old version.

Package-Manager: portage-2.3.2

 sys-block/megacli/Manifest   |  1 -
 sys-block/megacli/megacli-8.02.21.ebuild | 81 
 2 files changed, 82 deletions(-)

diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index bb4616f..b91d101 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,4 +1,3 @@
 DIST 8-07-14_MegaCLI.zip 7939395 SHA256 
d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
 WHIRLPOOL 
6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae
-DIST 8.02.21_MegaCLI.zip 12939353 SHA256 
e5fdaff341b3cd8c3b5bbe334f5e819f9eb167e141337ce92a47a73c3fd7ac0b
 DIST 8.07.10_MegaCLI_Linux.zip 1543709 SHA256 
631b58c1a51815c1c01db4d4d7b7b8c1099e3dff2c7ae6f1c2bf32a9aae6aca4 SHA512 
ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7
 WHIRLPOOL 
5a045a113aee047b9d30f58029ba5c039c721f16d7e6ce0958de2273d0024e475bc1aeee786dfee95342f595fc13c050a7bb45a374851cc73dee60b335c276be
 DIST 8.07.14_MegaCLI.zip 7939395 SHA256 
d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
 WHIRLPOOL 
6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae

diff --git a/sys-block/megacli/megacli-8.02.21.ebuild 
b/sys-block/megacli/megacli-8.02.21.ebuild
deleted file mode 100644
index 3872622..
--- a/sys-block/megacli/megacli-8.02.21.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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/RAID%20Controllers/RAID%20Controllers%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"
-RDEPEND="=sys-libs/ncurses-5*"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2016-05-22 Thread Zac Medico
commit: daf32442fc225d463ca522449c801c0c26d84e63
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 22 18:25:57 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 22 18:27:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf32442

sys-block/megacli: add ncurses-5 dependency for bug 583208

Package-Manager: portage-2.3.0_rc1

 sys-block/megacli/megacli-8.02.21.ebuild| 3 ++-
 sys-block/megacli/megacli-8.07.10.ebuild| 4 ++--
 sys-block/megacli/megacli-8.07.14-r1.ebuild | 2 +-
 sys-block/megacli/megacli-8.07.14.ebuild| 4 ++--
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/sys-block/megacli/megacli-8.02.21.ebuild 
b/sys-block/megacli/megacli-8.02.21.ebuild
index 6457fa8..3872622 100644
--- a/sys-block/megacli/megacli-8.02.21.ebuild
+++ b/sys-block/megacli/megacli-8.02.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,6 +19,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
+RDEPEND="=sys-libs/ncurses-5*"
 
 S="${WORKDIR}"
 

diff --git a/sys-block/megacli/megacli-8.07.10.ebuild 
b/sys-block/megacli/megacli-8.07.10.ebuild
index af5ad89..2e9294c 100644
--- a/sys-block/megacli/megacli-8.07.10.ebuild
+++ b/sys-block/megacli/megacli-8.07.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,7 +20,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND=""
+RDEPEND="=sys-libs/ncurses-5*"
 
 S=${WORKDIR}/${MY_P}
 

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
index 048bcd6..7d11d8e 100644
--- a/sys-block/megacli/megacli-8.07.14-r1.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -23,7 +23,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND=""
+RDEPEND="=sys-libs/ncurses-5*"
 
 S=${WORKDIR}
 

diff --git a/sys-block/megacli/megacli-8.07.14.ebuild 
b/sys-block/megacli/megacli-8.07.14.ebuild
index 805e6b1..06827df 100644
--- a/sys-block/megacli/megacli-8.07.14.ebuild
+++ b/sys-block/megacli/megacli-8.07.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,7 +20,7 @@ IUSE=""
 
 DEPEND="app-arch/unzip
app-admin/chrpath"
-RDEPEND=""
+RDEPEND="=sys-libs/ncurses-5*"
 
 S=${WORKDIR}
 



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2016-02-08 Thread Robin H. Johnson
commit: f6afcf81e3bb4e02f5960c3737d7f4ccd1674ab0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Feb  9 00:12:15 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Feb  9 00:13:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6afcf81

sys-block/megacli: per bug #563218 and sys-block/lsiutil, upstream does not 
fetch-restrict anymore.

Package-Manager: portage-2.2.27

 sys-block/megacli/Manifest  |  1 +
 sys-block/megacli/megacli-8.07.14-r1.ebuild | 81 +
 2 files changed, 82 insertions(+)

diff --git a/sys-block/megacli/Manifest b/sys-block/megacli/Manifest
index 3471791..bb4616f 100644
--- a/sys-block/megacli/Manifest
+++ b/sys-block/megacli/Manifest
@@ -1,3 +1,4 @@
+DIST 8-07-14_MegaCLI.zip 7939395 SHA256 
d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
 WHIRLPOOL 
6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae
 DIST 8.02.21_MegaCLI.zip 12939353 SHA256 
e5fdaff341b3cd8c3b5bbe334f5e819f9eb167e141337ce92a47a73c3fd7ac0b
 DIST 8.07.10_MegaCLI_Linux.zip 1543709 SHA256 
631b58c1a51815c1c01db4d4d7b7b8c1099e3dff2c7ae6f1c2bf32a9aae6aca4 SHA512 
ee83910dac54b653f5c33703555c51d37b33e1672c6de6473950ca21ff19518b7de921cfa07a50e1c7f26054c7075c6bc241b52f89757cc1e0e0f4251a07bcd7
 WHIRLPOOL 
5a045a113aee047b9d30f58029ba5c039c721f16d7e6ce0958de2273d0024e475bc1aeee786dfee95342f595fc13c050a7bb45a374851cc73dee60b335c276be
 DIST 8.07.14_MegaCLI.zip 7939395 SHA256 
d9b152ae3dab76a334b9251702dba3311ceed91b58aaf52d916eb4ba1c2ab6e9 SHA512 
ee2b66b69dc41bb678e54f5ccf4908a51e6fde147b2118844ff6248127aa51f12af0e7562c74461d52ea8e9b4345877b21c87fc89210208d80cf2fd3402a93e3
 WHIRLPOOL 
6720e246590a89ca6914f38a87aea83fe78f3986cee931bc2b133185c686574b80cf298a805c0412de6fc8fdd4e14a56e70ea5591446a1547a15b5487af245ae

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
new file mode 100644
index 000..ca44b0c
--- /dev/null
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit rpm
+MY_PV="${PV//./-}"
+MY_P=${MY_PV}_MegaCLI
+
+DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
+# Avagotech now owns LSI
+HOMEPAGE="http://www.www.avagotech.com/;
+SRC_URI="http://docs.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${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"
+IUSE=""
+
+DEPEND="app-arch/unzip
+   app-admin/chrpath"
+RDEPEND=""
+
+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}
+   /opt/${PN}/lib/*"
+
+src_unpack() {
+   unpack ${A}
+   cd "${S}"
+   rpm_unpack ./Linux/MegaCli-${PV}-1.noarch.rpm
+}
+
+src_install() {
+   newdoc "${PV}_MegaCLI.txt" RELEASE.txt
+
+   exeinto /opt/megacli
+   libsysfs=libstorelibir-2.so.14.07-0
+   case ${ARCH} in
+   amd64) MegaCli=MegaCli64;;
+   x86) MegaCli=MegaCli;;
+   *) die "invalid ARCH";;
+   esac
+   newexe opt/MegaRAID/MegaCli/${MegaCli} ${PN}
+
+   exeinto /opt/${PN}/lib
+   doexe opt/MegaRAID/MegaCli/${libsysfs}
+
+   into /opt
+   newbin "${FILESDIR}"/${PN}-wrapper ${PN}
+   dosym ${PN} /opt/bin/MegaCli
+
+   # Remove DT_RPATH
+   chrpath -d "${D}"/opt/${PN}/${PN}
+}
+
+pkg_postinst() {
+   einfo
+   einfo "See /usr/share/doc/${PF}/RELEASE.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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-block/megacli/

2016-02-08 Thread Robin H. Johnson
commit: e548724f322893514373bbd6156db838adf70f3f
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Feb  9 01:13:31 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Feb  9 01:13:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e548724f

sys-block/megacli: document the download link that does not require 
click-through.

Package-Manager: portage-2.2.27

 sys-block/megacli/megacli-8.07.14-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-block/megacli/megacli-8.07.14-r1.ebuild 
b/sys-block/megacli/megacli-8.07.14-r1.ebuild
index ca44b0c..048bcd6 100644
--- a/sys-block/megacli/megacli-8.07.14-r1.ebuild
+++ b/sys-block/megacli/megacli-8.07.14-r1.ebuild
@@ -10,7 +10,8 @@ MY_P=${MY_PV}_MegaCLI
 
 DESCRIPTION="LSI Logic MegaRAID Command Line Interface management tool"
 # Avagotech now owns LSI
-HOMEPAGE="http://www.www.avagotech.com/;
+HOMEPAGE="http://www.avagotech.com/cs/Satellite?pagename=AVG2/searchLayout=8.07=DocumentFileExtension-zip=avg_en=within=8.07;
+# This file is '[zip]  MegaCLI 5.5 P2', Date: 01/20/2014   Size: 7753 KB
 
SRC_URI="http://docs.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip;
 
 LICENSE="LSI"