public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/storcli/
Date: Tue, 30 Jul 2019 21:38:41 +0000 (UTC)	[thread overview]
Message-ID: <1564522704.4b7e6532abe25266ee67c28ab58e24f2fa221154.whissi@gentoo> (raw)

commit:     4b7e6532abe25266ee67c28ab58e24f2fa221154
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 21:37:33 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 21:38:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7e6532

sys-block/storcli: bump to v7.1017

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-block/storcli/Manifest              |  1 +
 sys-block/storcli/storcli-7.1017.ebuild | 68 +++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/sys-block/storcli/Manifest b/sys-block/storcli/Manifest
index 520e1364063..0f17d390995 100644
--- a/sys-block/storcli/Manifest
+++ b/sys-block/storcli/Manifest
@@ -7,3 +7,4 @@ DIST storcli-1.23.02_readme.txt 201906 BLAKE2B 6dde1f7609d51f3d0b2feec9301a57472
 DIST storcli-7.0504.zip 40558670 BLAKE2B 3cd54b47b42e5bb8329ccd4b09a6c0863347a04b276fa5dc11acf10ac1124c25b5f60e4171de96c1b8975bfae4cc7408554de933ba8fd5547fbd6e9395710ce8 SHA512 1c5c248a1c19eda5974415a7e1cc10c83bfad0d6e37adbd01ae624316fc1d60628503655c4dd0005a14c79c570177664ea9cdb7330b97daf19808a9513b1311a
 DIST storcli-7.0606.zip 36634159 BLAKE2B 56cae14537872ef23d8ddc6a0790b727abdf4abecd06b9d1615dc4ad0a554a48bdd077772181d2f0ad9bbe90f015130b4a62caa16b1f02d042403cb6ca389e04 SHA512 ef8bc6b275bb915707624d73d802e84e7a04da087d275055916f047f16d15f1303047c9eb53eae8de88da97ce82fc79616822888fc320af7ba54ad6aa2999996
 DIST storcli-7.0709.zip 25844769 BLAKE2B f44791d0813f348068a89a14a0ea457667ab8e224da09a458bfd1126f5e1d9f19655f5392a8d2a8a04ae07f76fc3c91abcdbd48a058c8e9d517c504de8688e66 SHA512 c3995110b592bbf6e58a0e54f62ddbdbb025c6d27ce56111a40d9eb04b7d5ee7a9bfc76e449b0b4900e1082f20df8e06a852a3fe0efc1114158d104036f6033e
+DIST storcli-7.1017.zip 36266095 BLAKE2B e1bb4c6bbd19712530fc8d3d7917bf943221f121d0a7d5d3e44205f73bab408d7e4ff94d8cac479a1b834b82e8bdb6661805ca13f1695f8bad52d69d2c988fe9 SHA512 fb4b45fa577417627e67d20bbfa2e07512fe600ffeb9d21e11a80e25208f17b56fb25fa74a9777622c72012a605813b0206a990a6d4191f6b57371bd1d72fd6b

diff --git a/sys-block/storcli/storcli-7.1017.ebuild b/sys-block/storcli/storcli-7.1017.ebuild
new file mode 100644
index 00000000000..7122690d293
--- /dev/null
+++ b/sys-block/storcli/storcli-7.1017.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit pax-utils
+
+# Upstream is still using strange version numbers
+MY_PV="007.1017.0000.0000"
+
+DESCRIPTION="MegaRAID StorCLI (successor of the MegaCLI)"
+HOMEPAGE="https://www.broadcom.com/support/download-search?dk=storcli"
+SRC_URI="https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/MR_SAS_Unified_StorCLI_${MY_PV}.zip -> ${P}.zip"
+
+LICENSE="Avago LSI BSD"
+SLOT="0/7.10"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/unzip"
+
+MY_STORCLI_BASEDIR="/opt/lsi/storcli"
+
+QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli
+	${MY_STORCLI_BASEDIR:1}/storcli32"
+QA_PREBUILT=${QA_PRESTRIPPED}
+
+src_unpack() {
+	mkdir srcfiles || die
+	pushd srcfiles &>/dev/null || die
+	default
+	mv Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storcli_*.deb"
+	popd &>/dev/null || die
+
+	rm -rf srcfiles || die
+
+	# Unpack Ubuntu package which will be our $S content
+	unpack "${WORKDIR}"/storcli_*.deb
+	rm -f storcli_*.deb || die "Failed to cleanup storcli_*.deb package"
+	unpack "${WORKDIR}"/data.tar.gz
+
+	mkdir "${S}" || die "Failed to create '${S}'"
+}
+
+src_prepare() {
+	default
+
+	# Create clean $S
+	mv "${WORKDIR}"/opt/Mega*/storcli/* "${S}" || die "Failed to move storcli_.deb content to '${S}'"
+	rm -rf "${WORKDIR}"/{opt,control.tar.gz,data.tar.gz,debian-binary} || die "Failed to cleanup no longer needed files"
+}
+
+src_install() {
+	exeinto "${MY_STORCLI_BASEDIR}"
+
+	if use x86; then
+		doexe storcli
+	elif use amd64; then
+		# 32-bit version is less crashy than the 64bit (bug #656494)
+		newexe storcli storcli32
+		newexe storcli64 storcli
+	fi
+
+	dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli
+
+	pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli
+}


             reply	other threads:[~2019-07-30 21:38 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 21:38 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-18  8:17 [gentoo-commits] repo/gentoo:master commit in: sys-block/storcli/ Joonas Niilola
2022-11-18  8:17 Joonas Niilola
2022-11-18  8:17 Joonas Niilola
2021-07-24 13:37 Thomas Deutschmann
2021-07-08 14:22 Thomas Deutschmann
2021-07-08 14:22 Thomas Deutschmann
2021-07-08 14:22 Thomas Deutschmann
2021-06-18 16:36 Thomas Deutschmann
2021-05-07 19:51 Thomas Deutschmann
2020-12-20 23:55 Thomas Deutschmann
2020-12-20 23:55 Thomas Deutschmann
2020-08-06 13:50 Thomas Deutschmann
2020-08-06 13:50 Thomas Deutschmann
2020-04-28 23:04 Thomas Deutschmann
2020-04-28 23:04 Thomas Deutschmann
2019-12-26 15:00 Thomas Deutschmann
2019-12-26 15:00 Thomas Deutschmann
2019-12-26 10:43 Thomas Deutschmann
2019-12-26 10:43 Thomas Deutschmann
2019-07-30 21:40 Thomas Deutschmann
2019-01-25  1:29 Patrick McLean
2019-01-25  1:27 Patrick McLean
2018-09-26 23:08 Thomas Deutschmann
2018-09-26 23:08 Thomas Deutschmann
2018-08-18 19:30 Thomas Deutschmann
2018-08-17  0:14 Patrick McLean
2018-05-26 18:56 Thomas Deutschmann
2018-05-26 18:56 Thomas Deutschmann
2017-07-10 15:33 Thomas Deutschmann
2017-07-10 15:33 Thomas Deutschmann
2017-07-10 15:33 Thomas Deutschmann
2017-03-03 21:02 Thomas Deutschmann
2017-03-03 21:02 Thomas Deutschmann
2017-01-04  1:42 Thomas Deutschmann
2016-12-18 21:16 Thomas Deutschmann
2016-12-17  9:16 Aaron Bauman
2016-08-12 20:24 Thomas Deutschmann
2016-08-12 19:33 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1564522704.4b7e6532abe25266ee67c28ab58e24f2fa221154.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox