Diff hpssacli-2.40.13.0-r1 with a hpssacli-3.40.3.0

/usr/portage/sys-block/hpssacli/hpssacli-3.40.3.0.ebuild 2023-10-09 14:52:35.436368500 +0300
1
# Copyright 1999-2016 Gentoo Foundation
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
......
8 8
MY_PV=$(replace_version_separator 2 '-')
9 9

  
10 10
DESCRIPTION="HPE Smart Storage Administrator (HPE SSA) CLI (HPSSACLI, formerly HPACUCLI)"
11
HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_04bffb688a73438598fef81ddd"
12
SRC_URI="
13
	amd64? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/x86_64/current/${PN}-${MY_PV}.x86_64.rpm )
14
	x86? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/i686/current/${PN}-${MY_PV}.i386.rpm )"
11
HOMEPAGE="https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_688838b13b194c7abe1aa98584"
12
SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/2019.03.0/packages/ssacli-${MY_PV}.x86_64.rpm"
15 13

  
16 14
LICENSE="hpe"
17 15
SLOT="0"
18
KEYWORDS="-* amd64 x86"
16
KEYWORDS="-* amd64"
19 17
IUSE=""
20 18

  
21 19
DEPEND=""
22
RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )
23
	>=sys-libs/libunwind-0.99
24
	>=sys-process/procps-3.3.6"
20
RDEPEND="
21
	elibc_glibc? ( sys-libs/glibc )
22
	sys-libs/libunwind
23
	sys-process/procps"
25 24

  
26 25
DOCS=( license.txt readme.txt )
27 26

  
......
40 39
	default
41 40

  
42 41
	# Create a clean $S
43
	mv "${WORKDIR}"/opt/hp/hpssacli/bld/hpss* "${S}" || die "Failed to to copy 'hpss*' related files"
44
	mv "${S}"/hpssacli.license "${S}"/license.txt || die "Renaming hpssacli.license failed!"
45
	mv "${S}"/hpssacli*.txt "${S}"/readme.txt || die "Renaming hpssacli*.txt failed!"
46
	rm -rf "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'"
47
	rm -rf "${WORKDIR}"/usr || die "Failed to cleanup '${WORKDIR}/usr'"
42
	mv "${WORKDIR}"/opt/smartstorageadmin/ssacli/bin/ssa* "${S}" || die "Failed to to copy 'ssa*' related files"
43
	mv "${S}"/ssacli "${S}"/hpssacli || die "Renaming ssacli failed!"
44
	mv "${S}"/ssascripting "${S}"/hpssascripting || die "Renaming ssascripting failed!"
45
	mv "${S}"/ssacli.license "${S}"/license.txt || die "Renaming ssacli.license failed!"
46
	mv "${S}"/ssacli*.txt "${S}"/readme.txt || die "Renaming ssacli*.txt failed!"
47
	rm -r "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'"
48
	rm -r "${WORKDIR}"/usr || die "Failed to cleanup '${WORKDIR}/usr'"
48 49
}
49 50

  
50 51
src_install() {
Thank you!