From 693cc9b6e847a01c1bb692153021aaf9fb0fab25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Jan 2019 08:09:37 +0000 Subject: gentoo resync : 25.01.2019 --- sys-block/Manifest.gz | Bin 11194 -> 11200 bytes sys-block/storcli/Manifest | 2 +- sys-block/storcli/storcli-7.0709-r1.ebuild | 81 +++++++++++++++++++++++++++++ sys-block/storcli/storcli-7.0709.ebuild | 78 --------------------------- 4 files changed, 82 insertions(+), 79 deletions(-) create mode 100644 sys-block/storcli/storcli-7.0709-r1.ebuild delete mode 100644 sys-block/storcli/storcli-7.0709.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index 560b30611c9a..9a3876354ef4 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 89e2728397f7..b4f661981e6b 100644 --- a/sys-block/storcli/Manifest +++ b/sys-block/storcli/Manifest @@ -13,5 +13,5 @@ EBUILD storcli-1.21.06.ebuild 2656 BLAKE2B 272ee62c3fa026de02d750ca3c5bd2f6267ee EBUILD storcli-1.23.02.ebuild 2358 BLAKE2B 6a124e14392bedf31f5408ce4b2bded73b8237f08391f40b1f8438ef8df31e38d5ea9e8cca99d8888e3f5e25dac309052c9a3896cb78dc270fa7bc74fcf482d6 SHA512 279aedf5aff9387e4dcad20172f253fa24b08b862f84dc9781b30da937ee5dd3f0c406bc769da91dd72f0914e017fb7df003f3951e9f42e3ca4a4fb523a47fb7 EBUILD storcli-7.0504.ebuild 2209 BLAKE2B fac3eb79205c9826a12fbd058bcff11233cfe76043c9872a8906f833bce749426c61e1cddfefafa40b98460d88ae1cc364145570462619a91e5756a15975418a SHA512 2a7a4b4491c145e2c2243414a075f401e5d22d057e6b5e9bc02bc1912cee390768a111aaf9678df77b84b653f2737a441f8bc4213403e20a2d7f8208ab42f54c EBUILD storcli-7.0606.ebuild 2486 BLAKE2B 0873b7c99026c2d3eee5c07bfa960c1b087ccbd2157809ab7682b41d198bd0752132752a4f528116587a0dab594bd55a574ddd20d8f341a7f7f30fe84229036e SHA512 8cefa565d87a6abe22d8290eadb1a675a2e4791a507f68ff56cd28857b31a15a409d91c550174b66e8ccc7e4de99d790894f32f1e2b73b525e8110a5d02298d1 -EBUILD storcli-7.0709.ebuild 2222 BLAKE2B fb28a94e96f4c91c3f7d7e99876ab19592c1a352a0b7b0ff9bf437b373be227f070f69ca639218a1e0384e900c03861d886f7674575a4dad43b47afaf7e32061 SHA512 6d2ef5d662d3b7c28af51ed47d393a8497f8eb633697785259557ecfb10945fbba47352777038d06ef7448174c94c6e4f7ff58a4194721b53846cc5d561c2dfc +EBUILD storcli-7.0709-r1.ebuild 2347 BLAKE2B ed6bcf2602ec1a5db7228039469710c233d5b2955a353dd622b6f2613f9866580ad88285012bfa49f4a24ed8a9143f6ea5c7de51a083cca903c1e8c491e02059 SHA512 ffe5dd86ffec62f9d0dc287c831196fb04c3c151b8e233dee4bb86be29d88b8a76f79a4027117e709ff3990a43ca18c4f5dccdcb18ae0a106402ae8882076d49 MISC metadata.xml 251 BLAKE2B fb85d245662fa1577cfe1d77526bd34fb2a674dd447192f2defe78b751423e3d14ae73efd3ac0e1e5e6fdb6259622a782e724ec77021faf526509f199dd20d61 SHA512 46942a98ef7e36470d1169a5bc8839d25603e33c143cd36327a8a85fc14cb6bfb32247eb7608d92cc58a06cc8eef5bd64d6ec2d21e69a88632e4b936598aa772 diff --git a/sys-block/storcli/storcli-7.0709-r1.ebuild b/sys-block/storcli/storcli-7.0709-r1.ebuild new file mode 100644 index 000000000000..65a0583219bc --- /dev/null +++ b/sys-block/storcli/storcli-7.0709-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit pax-utils + +# Upstream is still using strange version numbers +MY_PV="007.0709.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.zip -> ${P}.zip" + +LICENSE="Avago LSI BSD" +SLOT="0/7.7" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="app-arch/unzip" + +DOCS=( readme.txt license.txt ) + +MY_STORCLI_BASEDIR="/opt/lsi/storcli" + +QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli + ${MY_STORCLI_BASEDIR:1}/storcli32" +QA_PREBUILT=${QA_PRESTRIPPED} + +src_unpack() { + local _src_file + + for _src_file in ${A}; do + if [[ ${_src_file} == *.txt ]]; then + cp "${DISTDIR}/${_src_file}" "${WORKDIR}" || die "Failed to copy '${_src_file}' to '${WORKDIR}'!" + else + unpack ${_src_file} + fi + done + + unpack "${WORKDIR}"/Unified_storcli_all_os.zip + + mv Unified_storcli_all_os/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storcli_*.deb" + + # 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}"/*_StorCLI.txt "${S}"/readme.txt || die "Failed to move *StorCLI.txt to readme.txt" + mv "${WORKDIR}"/Unified_storcli_all_os/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt" + rm -rf "${WORKDIR}"/Unified_stor* || die "Failed to cleanup Unified_storcli* dirs/files" + 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 + + dodoc "${DOCS[@]}" + + pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli +} diff --git a/sys-block/storcli/storcli-7.0709.ebuild b/sys-block/storcli/storcli-7.0709.ebuild deleted file mode 100644 index 0cdb4e15b173..000000000000 --- a/sys-block/storcli/storcli-7.0709.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit pax-utils - -# Upstream is still using strange version numbers -MY_PV="007.0709.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.zip -> ${P}.zip" - -LICENSE="Avago LSI BSD" -SLOT="0/7.7" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/unzip" - -DOCS=( readme.txt license.txt ) - -MY_STORCLI_BASEDIR="/opt/lsi/storcli" - -QA_PRESTRIPPED="${MY_STORCLI_BASEDIR:1}/storcli" -QA_PREBUILT=${QA_PRESTRIPPED} - -src_unpack() { - local _src_file - - for _src_file in ${A}; do - if [[ ${_src_file} == *.txt ]]; then - cp "${DISTDIR}/${_src_file}" "${WORKDIR}" || die "Failed to copy '${_src_file}' to '${WORKDIR}'!" - else - unpack ${_src_file} - fi - done - - unpack "${WORKDIR}"/Unified_storcli_all_os.zip - - mv Unified_storcli_all_os/Ubuntu/storcli_*.deb "${WORKDIR}" || die "Failed to move storcli_*.deb" - - # 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}"/*_StorCLI.txt "${S}"/readme.txt || die "Failed to move *StorCLI.txt to readme.txt" - mv "${WORKDIR}"/Unified_storcli_all_os/Linux/license.txt "${S}"/license.txt || die "Failed to move Linux/license.txt" - rm -rf "${WORKDIR}"/Unified_stor* || die "Failed to cleanup Unified_storcli* dirs/files" - 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 - newexe storcli64 storcli - fi - - dosym "${MY_STORCLI_BASEDIR}"/storcli /usr/sbin/storcli - - dodoc "${DOCS[@]}" - - pax-mark m "${D%/}${MY_STORCLI_BASEDIR}"/storcli -} -- cgit v1.2.3