From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA2F61382C5 for ; Sun, 20 Dec 2020 23:55:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F30B7E0894; Sun, 20 Dec 2020 23:55:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CEA7AE0894 for ; Sun, 20 Dec 2020 23:55:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BF303410CB for ; Sun, 20 Dec 2020 23:55:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F4144B for ; Sun, 20 Dec 2020 23:55:46 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1608508542.6431b3d954448ccee095780239fe182de100989e.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/storcli/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/storcli/Manifest sys-block/storcli/storcli-7.1508.ebuild X-VCS-Directories: sys-block/storcli/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 6431b3d954448ccee095780239fe182de100989e X-VCS-Branch: master Date: Sun, 20 Dec 2020 23:55:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c381a272-b80d-446a-8687-e16af698a3f8 X-Archives-Hash: 62e22a160b0367b942cd3a55c6b9852a commit: 6431b3d954448ccee095780239fe182de100989e Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Dec 20 23:54:04 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Dec 20 23:55:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6431b3d9 sys-block/storcli: bump to v7.1508 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> sys-block/storcli/Manifest | 1 + sys-block/storcli/storcli-7.1508.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/sys-block/storcli/Manifest b/sys-block/storcli/Manifest index 986a4fed064..8a98c1c53f8 100644 --- a/sys-block/storcli/Manifest +++ b/sys-block/storcli/Manifest @@ -11,3 +11,4 @@ DIST storcli-7.1017.zip 36266095 BLAKE2B e1bb4c6bbd19712530fc8d3d7917bf943221f12 DIST storcli-7.1211.zip 36988201 BLAKE2B 487dda0c78af60d96dc6eb8bc0c7074dd99719acc4faf10027430ea80a5d1cb76e6bdc9eaf0931967c5cdf10d80ee824f45118144bfc032a4ddce52d678df354 SHA512 f28ae41adf2286153ecd57f7d022940069356c9636e45aaae4ae45215487bbb8e3dea51fa4aa00b9e9340069036c1be21b186ce177e0fd0a6a0bb786cb58181f DIST storcli-7.1316.zip 37136466 BLAKE2B 7bca2e1b330f40e66945567ac8fad04d448993ff7ab4a4d846a0b6142fbe3988ab00775aa3897e3268e30b34cb7659e96f75d2383d3e85e4bec433edde5ba17e SHA512 049b34d44bb1140ad804f6bb6d8fb133ac9bbc4aface721051e713c7a1056acb0f894f4f4793ef9e02e48958a745d12bc5389e7e763716c780fb1c2c387e34d6 DIST storcli-7.1410.zip 34424559 BLAKE2B cb0b613d0ccbf6ac36d1aace9174286ffe89d0602c7bca3b2712abcdba1b82cc2498de686e815e01fa125920c94d780e2f7fa4ab2ff570dc42818f4c4f491da4 SHA512 4887d434757f15e931c3c3c57b2316fc0cf0a5284c6009601b58c9585b73f9b9c9a0318dd3c4472cd3578aa5ec12b641a371db1d726a637741f6f0b34dd1f3e7 +DIST storcli-7.1508.zip 35678755 BLAKE2B 9fb8da35be491afaea3a288b5c4c1ed0806fa9d6831e9a6dbf14d4c00469b1ce6e9d8fe9a98ce64505580420b5c145f002338d3029794af4c54779d9f324ec56 SHA512 43565cc695e9e7a7725474ab8091ea00de8fde7fabffe708c45e4c0e8713b1fcb1a5a25963bba44974b7787bebc06a59f3b8180416fefb0a54b4fd403c6152be diff --git a/sys-block/storcli/storcli-7.1508.ebuild b/sys-block/storcli/storcli-7.1508.ebuild new file mode 100644 index 00000000000..ae266864ee4 --- /dev/null +++ b/sys-block/storcli/storcli-7.1508.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit pax-utils toolchain-funcs + +# Upstream is still using strange version numbers +MY_PV="007.1508.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/${MY_PV}_Unified_StorCLI-PUL.zip -> ${P}.zip" + +LICENSE="Avago LSI BSD" +SLOT="0/7.15" +KEYWORDS="-* ~amd64" +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 Unified_storcli_all_os/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.xz + + 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}" + newexe storcli64 storcli + + dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli + + pax-mark m "${D}${MY_STORCLI_BASEDIR}"/storcli +}