From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/hpssacli/
Date: Wed, 7 Apr 2021 15:23:15 +0000 (UTC) [thread overview]
Message-ID: <1617808984.de8145261482a68155d192ab7d418d1cea4ec9ca.monsieurp@gentoo> (raw)
commit: de8145261482a68155d192ab7d418d1cea4ec9ca
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 15:20:32 2021 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 15:23:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de814526
sys-block/hpssacli: add 3.40.3.0
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
sys-block/hpssacli/Manifest | 1 +
sys-block/hpssacli/hpssacli-3.40.3.0.ebuild | 64 +++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/sys-block/hpssacli/Manifest b/sys-block/hpssacli/Manifest
index cda04230216..4e25469d3df 100644
--- a/sys-block/hpssacli/Manifest
+++ b/sys-block/hpssacli/Manifest
@@ -1,3 +1,4 @@
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
+DIST ssacli-3.40-3.0.x86_64.rpm 15201025 BLAKE2B a4307ffad4b01f11fea5bf51a27dc8971b46d08afedba5b522b67c43c811ef8f48245e1831f0b9f34cda267d6dd039de33719e53da861bbd60f1a796231aadcf SHA512 372a08098cb4769455e0ced7ebe3e25589353f2feb689fba6234272b79c21fac7e419d559279dedca1e18b7fe0250efb624b0e1b7a8a8ea4720a67701b507d3d
diff --git a/sys-block/hpssacli/hpssacli-3.40.3.0.ebuild b/sys-block/hpssacli/hpssacli-3.40.3.0.ebuild
new file mode 100644
index 00000000000..3295f24d916
--- /dev/null
+++ b/sys-block/hpssacli/hpssacli-3.40.3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# 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_688838b13b194c7abe1aa98584"
+SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/2019.03.0/packages/ssacli-${MY_PV}.x86_64.rpm"
+
+LICENSE="hpe"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ elibc_glibc? ( sys-libs/glibc )
+ sys-libs/libunwind
+ sys-process/procps"
+
+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 -r "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'"
+ rm -r "${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
+}
next reply other threads:[~2021-04-07 15:23 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 15:23 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-09 15:52 [gentoo-commits] repo/gentoo:master commit in: sys-block/hpssacli/ Florian Schmaus
2023-12-01 7:56 Florian Schmaus
2023-12-01 7:41 Florian Schmaus
2023-12-01 7:41 Florian Schmaus
2023-11-30 16:31 Ulrich Müller
2022-11-30 9:39 Florian Schmaus
2022-10-28 13:28 Florian Schmaus
2022-07-11 7:49 Florian Schmaus
2022-06-13 9:04 Florian Schmaus
2022-06-06 7:42 Florian Schmaus
2022-06-05 13:23 Florian Schmaus
2022-06-05 13:23 Florian Schmaus
2022-06-05 9:07 Florian Schmaus
2022-01-18 7:28 Florian Schmaus
2017-12-22 8:49 Thomas Deutschmann
2016-12-18 21:20 Thomas Deutschmann
2016-12-17 9:12 Aaron Bauman
2016-08-15 14:16 Thomas Deutschmann
2016-08-14 14:42 Thomas Deutschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1617808984.de8145261482a68155d192ab7d418d1cea4ec9ca.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox