From 51536d2fe4697ba9114d611178bb9e20d3d5b729 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2017 20:48:53 +0000 Subject: gentoo resync : 23.12.2017 --- sys-block/Manifest.gz | Bin 11176 -> 11180 bytes sys-block/hpssacli/Manifest | 2 + sys-block/hpssacli/hpssacli-3.10.3.0.ebuild | 63 ++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 sys-block/hpssacli/hpssacli-3.10.3.0.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index b7486fec40d9..80e8f06c1a8e 100644 Binary files a/sys-block/Manifest.gz and b/sys-block/Manifest.gz differ diff --git a/sys-block/hpssacli/Manifest b/sys-block/hpssacli/Manifest index 47d3b4b0f627..2f875f63b76b 100644 --- a/sys-block/hpssacli/Manifest +++ b/sys-block/hpssacli/Manifest @@ -1,5 +1,7 @@ AUX hpssacli-wrapper 534 BLAKE2B 151a434fb5bc2f2168d6d19d117edbf852c0ee8e3e664a7d5d34601b2bb41f7c8489baf391ffd331ec2ab4445e884b80f7572e522c09e4eaab22eb15ad3d71a5 SHA512 e80780df1e683ac58a50c12ae8854deb5c4bb8b08c5fde40df7f1f045fc94d76fa64221f78cff9b100588f520d03761a7994e33897722c3746675a6522e4fecc DIST hpssacli-2.40-13.0.i386.rpm 11413754 BLAKE2B e6aa28581e08a34bbd77be507d6224090e42458b300e176164794c749c119923da80b9832d589d535bc0a8dc81d4819fe3111393a4e0dfaf7926b396bf75f6ea SHA512 f284c0979141fa2ef8728b2a6c7d7aa8b0e5e61ebb3878439321dd3742223f240f5be9782068da49a58c07ce91615072d9575f22feefb9ff6bb6fac00ae31d75 DIST hpssacli-2.40-13.0.x86_64.rpm 11772990 BLAKE2B e8d5def139939342183d8edb69902778f53c470af58833a137924e9ba31b277abf40afd96137015dff6d2507bee0e0a6ebb7f39aa7db4f0d6d7aa7f8d7292382 SHA512 4a650c2700f77bdc79693905e56598cbe8f198d4f54c7c97e05a7b8af830f11c5e5eea2d16538a3c6068eadb75159850b391d7f772f59447bbbd870f64eb7efa +DIST ssacli-3.10-3.0.x86_64.rpm 14202277 BLAKE2B 4697326cbb0d4b89cc68dc8ff44668a7941007398e46e793c1ac785e5d994172d9570af1a2e13328658c2264d0fd9fcc09322dcc9fa92291de8159a9237863c6 SHA512 32df57143f0cdae086569400d3b9f2263aedb536cc81ac794f67c559518f7b9033105f967f15025036b280956149e0ae84f9928c2b6a22b01f5757de7190657b EBUILD hpssacli-2.40.13.0-r1.ebuild 1813 BLAKE2B 38a6dfaaaf13ad267ee68dbf98e0070f0083dbbd3b7a69b86f68ca7c72409dee5088d913129dae0ada17b3018fa989384553055f491b8684d4a64bbfe965a131 SHA512 ec7c7e0c0118332eff213066a74699d91803317b3a06a1f4d28eebd50d0103dc2baa786747cf9feb901c94ee3e387afcb1680c088be53ef12040467ecadeac5f +EBUILD hpssacli-3.10.3.0.ebuild 1848 BLAKE2B 0640f0ec506895598ef48c0056cfd867f63026f57d37a39d5d4fe60345ef47f6cebf8eb69f6bc179d116f4b45b029550f8ab9701e8c4443392d9da2888d77702 SHA512 50e3fd826edba186459a7abe747ee6e029a3dc9bd9d115a4db1b849d5b70f288c648aad2b002f7b2203ace11a38b67ac767f18d924207ca6cad231bb0e65c24a MISC metadata.xml 251 BLAKE2B fb85d245662fa1577cfe1d77526bd34fb2a674dd447192f2defe78b751423e3d14ae73efd3ac0e1e5e6fdb6259622a782e724ec77021faf526509f199dd20d61 SHA512 46942a98ef7e36470d1169a5bc8839d25603e33c143cd36327a8a85fc14cb6bfb32247eb7608d92cc58a06cc8eef5bd64d6ec2d21e69a88632e4b936598aa772 diff --git a/sys-block/hpssacli/hpssacli-3.10.3.0.ebuild b/sys-block/hpssacli/hpssacli-3.10.3.0.ebuild new file mode 100644 index 000000000000..fa95dc7cfd07 --- /dev/null +++ b/sys-block/hpssacli/hpssacli-3.10.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit pax-utils rpm versionator + +MY_PV=$(replace_version_separator 2 '-') + +DESCRIPTION="HPE Smart Storage Administrator (HPE SSA) CLI (HPSSACLI, formerly HPACUCLI)" +HOMEPAGE="https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5530b3f5b38b4e0781e6bf9c74" +SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/2017.10.1/packages/ssacli-${MY_PV}.x86_64.rpm" + +LICENSE="hpe" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 ) + >=sys-libs/libunwind-0.99 + >=sys-process/procps-3.3.6" + +DOCS=( license.txt readme.txt ) + +MY_HPSSACLI_BASEDIR="/opt/hp/hpssacli" + +QA_PREBUILT="${MY_HPSSACLI_BASEDIR:1}/hpssa*.bin" +QA_EXECSTACK="${MY_HPSSACLI_BASEDIR:1}/hpssa*.bin" + +src_unpack() { + rpm_src_unpack + + mkdir "${S}" || die "Failed to create '${S}'" +} + +src_prepare() { + default + + # Create a clean $S + mv "${WORKDIR}"/opt/smartstorageadmin/ssacli/bin/ssa* "${S}" || die "Failed to to copy 'ssa*' related files" + mv "${S}"/ssacli "${S}"/hpssacli || die "Renaming ssacli failed!" + mv "${S}"/ssascripting "${S}"/hpssascripting || die "Renaming ssascripting failed!" + mv "${S}"/ssacli.license "${S}"/license.txt || die "Renaming ssacli.license failed!" + mv "${S}"/ssacli*.txt "${S}"/readme.txt || die "Renaming ssacli*.txt failed!" + rm -rf "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'" + rm -rf "${WORKDIR}"/usr || die "Failed to cleanup '${WORKDIR}/usr'" +} + +src_install() { + newsbin "${FILESDIR}"/"${PN}-wrapper" ${PN} + dosym ${PN} /usr/sbin/hpssascripting + + exeinto "${MY_HPSSACLI_BASEDIR}" + for bin in "${S}"/hpssa{cli,scripting}; do + local basename=$(basename "${bin}") + newexe "${bin}" ${basename}.bin + done + + dodoc "${DOCS[@]}" + + pax-mark m "${D%/}${HPSSACLI_BASEDIR}"/*.bin +} -- cgit v1.2.3