remove deprecated hpacucli; hpssacli works just fine
This commit is contained in:
parent
af31a20750
commit
7c4fee83fd
@ -1,5 +0,0 @@
|
||||
AUX hpacucli-wrapper-r1 541 BLAKE2B 102c1957b78ed5a465ec7e6205f5bace8d1f37e03ea163c968d377724141abb5a895e4ae0360393c4e4c31d63a0dec538ec627445aee207f9f9e64f9d8b3a364 SHA512 8b5a96eaa53fcf8b0f118d34d8bc3e94c67a2dbef7b5cdd79fa10c74b42ac9c9ae1b41f530d47d8130cdedf1a5c755fcde42223739ca16dc30498d8d99405a02
|
||||
DIST hpacucli-9.40-12.0.i386.rpm 6824495 BLAKE2B 48fd1294eac0bc9eeab4479be07ce75c61cd5f846e5eabab04c22d154bc06051961b0094d421915b79b4b37526b15dceb8e015302373f2fb0bcbb37b4e5b045a SHA512 93ae6c170e14e187ce33522a7f7d4e0970f8443758aa76f4eb72c6b818eeeff7720e9869473b62e4b088ced0bb9a198afecf7ff62da2fc73e67208f5cc680158
|
||||
DIST hpacucli-9.40-12.0.x86_64.rpm 6800521 BLAKE2B 468ac943ddd477616345d982767bd23552f75d4a906c7e21248a1efa867952cd8929a0449fadb28234032b2d4ad57cf1ef56ae7e0eab9308ee4bb1055b131f0b SHA512 a7de22febc0261bdb60a5fee250d42455dc0ac152541f34eb91df81b4e57472ae96ee2972e3a4c44ff409e3d1c2b364054818c7ea610c3b2a20c913a51df2ed4
|
||||
EBUILD hpacucli-9.40.12.0.ebuild 1524 BLAKE2B a3e1e8272c38a7564fecebd4e287b5c1935aa1466c649d252fb63cba77e2d48c87f75bb7a5dc435e7f902a0e143f439e4cb88970e69af3a5df1ba5d706363899 SHA512 bd5ef0929fabf76848e75d5f238bbf56f3b10e1080e2c6d4e1ab295eb8caf0ae873397c29c72ab82fa35b95e8585b86d089e20dd9e426b4f877d7b3f8851c81b
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cmd="$(basename "$0")"
|
||||
|
||||
HPACUCLI_BASEDIR="/opt/hp/hpacucli"
|
||||
HPACUCLI_LOCKDIR="/run/lock/$cmd"
|
||||
HPACUCLI_LOCK="${HPACUCLI_LOCKDIR}/CPQACU_MUTEX"
|
||||
HPACUCLI_BIN="${HPACUCLI_BASEDIR}/$cmd.bin"
|
||||
|
||||
if pgrep -x "$cmd.bin"; then
|
||||
echo "Another instance of $cmd is running! Stop it first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [ -f "${HPACUCLI_LOCK}" ]; then
|
||||
mkdir -p -m 700 "${HPACUCLI_LOCKDIR}"
|
||||
touch "${HPACUCLI_LOCK}"
|
||||
fi
|
||||
|
||||
export LD_LIBRARY_PATH="${HPACUCLI_BASEDIR}"
|
||||
export ACUXE_LOCK_FILES_DIR="${HPACUCLI_LOCKDIR}/"
|
||||
"${HPACUCLI_BIN}" "${@}"
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rpm versionator pax-utils
|
||||
|
||||
MY_PV=$(replace_version_separator 2 '-')
|
||||
|
||||
SRC_URI_BASE="ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux"
|
||||
AMD64_PID="1257348637"
|
||||
AMD64_VID="80070"
|
||||
X86_PID="414707558"
|
||||
X86_VID="80071"
|
||||
|
||||
DESCRIPTION="HP Array Config Utility Command Line Interface (HPACUCLI, formerly CPQACUXE)"
|
||||
HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_BASE}/p${AMD64_PID}/v${AMD64_VID}/${PN}-${MY_PV}.x86_64.rpm )
|
||||
x86? ( ${SRC_URI_BASE}/p${X86_PID}/v${X86_VID}/${PN}-${MY_PV}.i386.rpm )"
|
||||
|
||||
LICENSE="hp-proliant-essentials"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
RESTRICT="mirror bindist"
|
||||
|
||||
RDEPEND="sys-apps/coreutils
|
||||
sys-process/procps
|
||||
>=sys-apps/util-linux-2.20.1"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
HPACUCLI_BASEDIR="/opt/hp/hpacucli"
|
||||
QA_PREBUILT="${HPACUCLI_BASEDIR:1}/*"
|
||||
QA_EXECSTACK="${HPACUCLI_BASEDIR:1}/libcpqimgr*.so"
|
||||
|
||||
src_install() {
|
||||
local MY_S="${S}/opt/compaq/${PN}/bld"
|
||||
|
||||
newsbin "${FILESDIR}"/"${PN}-wrapper-r1" hpacucli
|
||||
dosym /usr/sbin/hpacucli /usr/sbin/hpacuscripting
|
||||
|
||||
exeinto "${HPACUCLI_BASEDIR}"
|
||||
for bin in "${MY_S}"/.hp*; do
|
||||
local basename=$(basename "${bin}")
|
||||
newexe "${bin}" ${basename#.}.bin
|
||||
done
|
||||
|
||||
insinto "${HPACUCLI_BASEDIR}"
|
||||
doins "${MY_S}"/*.so
|
||||
|
||||
dodoc "${MY_S}"/*.txt
|
||||
doman "${S}"/usr/man/man*/*
|
||||
|
||||
cat <<-EOF >"${T}"/45${PN}
|
||||
LDPATH=${HPACUCLI_BASEDIR}
|
||||
EOF
|
||||
doenvd "${T}"/45${PN}
|
||||
|
||||
pax-mark m "${D}opt/hp/hpacucli/"*
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user