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 DFD1A139083 for ; Fri, 22 Dec 2017 08:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF14BE0E85; Fri, 22 Dec 2017 08:49:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 BB3A1E0E85 for ; Fri, 22 Dec 2017 08:49:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EC7D8340806 for ; Fri, 22 Dec 2017 08:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9369AE7E for ; Fri, 22 Dec 2017 08:49:23 +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: <1513932553.fd1c277cc09f4c92ac00b0354286f19a7a93ac54.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/hpssacli/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/hpssacli/Manifest sys-block/hpssacli/hpssacli-3.10.3.0.ebuild X-VCS-Directories: sys-block/hpssacli/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: fd1c277cc09f4c92ac00b0354286f19a7a93ac54 X-VCS-Branch: master Date: Fri, 22 Dec 2017 08:49:23 +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-Archives-Salt: 632fe95a-1323-402f-a2d3-98a60313081d X-Archives-Hash: 6060b4eaca8df039b9cab1376367df3f commit: fd1c277cc09f4c92ac00b0354286f19a7a93ac54 Author: Steffen Weber gmail com> AuthorDate: Fri Dec 22 08:47:26 2017 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Dec 22 08:49:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1c277c sys-block/hpssacli: Bump to v3.10.3.0 Ebuild changes: =============== - x86 dropped because no x86 package is currently available. Closes: https://bugs.gentoo.org/641982 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Signed-off-by: Thomas Deutschmann gentoo.org> sys-block/hpssacli/Manifest | 1 + sys-block/hpssacli/hpssacli-3.10.3.0.ebuild | 63 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sys-block/hpssacli/Manifest b/sys-block/hpssacli/Manifest index c8889224ca7..cda04230216 100644 --- a/sys-block/hpssacli/Manifest +++ b/sys-block/hpssacli/Manifest @@ -1,2 +1,3 @@ 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 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 00000000000..fa95dc7cfd0 --- /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 +}