From fbd9734cedfe790955100b8e4ab3613457d77b1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jul 2021 19:42:07 +0100 Subject: gentoo resync (3) : 24.07.2021 --- sys-block/Manifest.gz | Bin 10533 -> 10535 bytes sys-block/storcli/Manifest | 2 ++ sys-block/storcli/storcli-7.1804.ebuild | 61 ++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 sys-block/storcli/storcli-7.1804.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index e0e768a16e30..ff8596e97120 100644 Binary files a/sys-block/Manifest.gz and b/sys-block/Manifest.gz differ diff --git a/sys-block/storcli/Manifest b/sys-block/storcli/Manifest index 0db4599ced15..0fc447323edf 100644 --- a/sys-block/storcli/Manifest +++ b/sys-block/storcli/Manifest @@ -14,6 +14,7 @@ DIST storcli-7.1410.zip 34424559 BLAKE2B cb0b613d0ccbf6ac36d1aace9174286ffe89d06 DIST storcli-7.1508.zip 35678755 BLAKE2B 9fb8da35be491afaea3a288b5c4c1ed0806fa9d6831e9a6dbf14d4c00469b1ce6e9d8fe9a98ce64505580420b5c145f002338d3029794af4c54779d9f324ec56 SHA512 43565cc695e9e7a7725474ab8091ea00de8fde7fabffe708c45e4c0e8713b1fcb1a5a25963bba44974b7787bebc06a59f3b8180416fefb0a54b4fd403c6152be DIST storcli-7.1613.zip 35016341 BLAKE2B 046651c696e5a20bcd0488c3cb495c7260e7665e3cb93052fce7fc79de019cb310ac7b1615f4ee4cc59a3bddcb81e548b82098a5ba051b1ba94f721115e95ff9 SHA512 5c90bce5502ec725a41c670438acd2e1eb07d21edba6e940f00f568f63a2e9e9095817eb50a4995d1ff8482a60ab77a633f01df0dc0a1abe7b767ce24b38b79b DIST storcli-7.1715.zip 40965278 BLAKE2B 044cf3e7b7bc9853ce7ff06050c59ceb877e88ffece2f6494561fcd416e00b41d033ff1ffe0e18b63e55edf2443296bdd3f817c09c48a0e0d69365d41cdd43fd SHA512 79dbd5f2ded4897a3d867bbab76d415b8532a647fc12f369f667e11e772b398954a2d762a011c37ab7a18b4759c3c1f8408d129ceb9b1ae62bce4671380eb988 +DIST storcli-7.1804.zip 41197159 BLAKE2B ade40bce515a3b1715243877f7b255c368296c153232ec268b95d9a61d79b538403da160c0ecfe20e6d5ab80f1d631fd459fba7391cfeb3041c42ed641474b2f SHA512 fd47759c757f61193fd449cb5ea6d33ccfb9ec239176fa4f4d5997afc62e168f0cd24fe9910d8c8fd3a65d2386fbbaa78ac13d53fca2e82c294eea2f45219a3b EBUILD storcli-1.19.04.ebuild 2061 BLAKE2B 4325ee37d40cec579ec666a21729c157992db6e71dd52ef0686dd555be2d3fe3b6aad15785427b65dbb0b677a1ce80079a0d08e2fb871d10d230a1bc5d867149 SHA512 f267f5faa8e9d3951b3e166915c9cb090702ae0bf751d923e8206ce73628bf82777965e156e40bb864434b1855af3488bcd5c1ac7748537fff567a2f5964a083 EBUILD storcli-1.20.15.ebuild 2074 BLAKE2B 8b6fd28e3be1b8895c393ce38d844d85a9d80bca8d8c58be6c7e5f4a8c3560bc219b5e3a3d891cea6a2d274762319fd18c44e3200aa1238abb6a4cd5d2a3c5df SHA512 07da506f5535aa55195dbc8ca04564e7e88073cc61a2ec94f513ce877b156618c8092290793558495ff339273dc8d1b9f02ed07cb35138ff4fdc2301ee021564 EBUILD storcli-1.21.06.ebuild 2667 BLAKE2B 71249f138b350ca36f6fec6e64672ce923b80e982baac3666e844bd98fcd7ea18c3527b14299f05a9b8c720b3ea39cd25abb4c3bd1d3394bec4ce281203d9c23 SHA512 657a80558476e4134fc2821c5aa9f8de0b3dc6ff3ee38a9385be538f310006d725b52683fd56ead278eb92c57413d3a3096fb09792af93854248cc9aab69c598 @@ -28,4 +29,5 @@ EBUILD storcli-7.1410.ebuild 1701 BLAKE2B 706ca8f5b08be1d5bbd552daa202ab419fe844 EBUILD storcli-7.1508.ebuild 1686 BLAKE2B 905183e8003dee1d7317633157662844b35ba85744a10671e1d60fc41a878d53d58f9d504f2cb67d3e16d29e3dcfd2dd4c9338ee743177b2b4d8c55674f92def SHA512 0382c253f4b98fde4d498523f7bf76b26cb18b05e8e2e2026274a3695eba91955514f1a1d2fc1a35fc75b75f8b79e04f9fa0ada9ab5d3089df79aaadd392334e EBUILD storcli-7.1613.ebuild 1686 BLAKE2B 620c6f13830d7ef1470f1d6ef1f2f0d37528b3b64506283c4f5fd4bd575f6c6867d7b1a2b96befb34df8f666800f40c2cf91e75b13d4e2f92c9df287b977abeb SHA512 4eae2f7667481130727e8fdb13bbdc8e6df08eb10c2fc11453e5ffc597cea5c06b43a0a5fcea5d3d2eabe3fd189cff4394aa8495bdba77a821ce287b8db2861d EBUILD storcli-7.1715.ebuild 1686 BLAKE2B 840605886041ef5a01949bc69cb64eaab3de7025f77e6da7f8a49d5364b1308d3fcfb24c8e2b4768768b97ebf74dde7f8283664b10546aad19b6f2a0986185d4 SHA512 e2dd6f7a5e9f7841ba04a2eaaa99534c9d5aaf39ec2293a46f148cf0789e81668afb2b995600f29a84a889ac46ee8ef5d19e7e3c0bdce18499d0bb8cf7a334b5 +EBUILD storcli-7.1804.ebuild 1690 BLAKE2B 9b9e93aafd75777ea2e013b25024f54afda66e5b7d09102efb7d42675d6b3015d3e213a9cea2c29a58ba7378526e5cd1d9a1f946cd5ec3ae037dbcc6b001fa69 SHA512 f46ce5a76445f20ee86a22394b4ad67b090f47cab6f3ff0397ba8faf902a5420235a9f11cd0b4b18dcf03631faa9028d1f598b5c11f94e0fe2b6fa32221613a7 MISC metadata.xml 251 BLAKE2B fb85d245662fa1577cfe1d77526bd34fb2a674dd447192f2defe78b751423e3d14ae73efd3ac0e1e5e6fdb6259622a782e724ec77021faf526509f199dd20d61 SHA512 46942a98ef7e36470d1169a5bc8839d25603e33c143cd36327a8a85fc14cb6bfb32247eb7608d92cc58a06cc8eef5bd64d6ec2d21e69a88632e4b936598aa772 diff --git a/sys-block/storcli/storcli-7.1804.ebuild b/sys-block/storcli/storcli-7.1804.ebuild new file mode 100644 index 000000000000..f3cd616aa398 --- /dev/null +++ b/sys-block/storcli/storcli-7.1804.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 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="00${PV}.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/${PV:0:4}" +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 +} -- cgit v1.2.3