net-misc/ipmiview: add 2.23.0.250519

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki 2025-08-10 23:31:55 +02:00
parent 06896d5240
commit 9b039fe738
No known key found for this signature in database
GPG Key ID: 7A96AB564BF498FB
2 changed files with 82 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST IPMIView_2.22.0_build.241017_bundleJRE_Linux_x64.tar.gz 109059981 BLAKE2B 858f2d593d1ab9c2bc5fb544b4a4b28cd20318395b37681806a7ce056cd6ec32096decbb395278aa382f1cb15fa12e7e881509039be21435b1c326d7c9b3c393 SHA512 b9e698443095ecaf018caee4a9a4bda2341a3c8eb7e8136d201a9351564222bdd2373524cd16492c1a0264882e961f128de8fd9121c130a302a28d4effcbac7f
DIST IPMIView_2.23.0_build.250519_bundleJRE_Linux_x64.tar.gz 148229072 BLAKE2B 85831cb3ab2e3ea57fde57907f6e51e1c4229a2ddf10410d703608e4cf597476d7336b1043abd63d349de95202ca8dff6d8d8cdffc2bd1275075ceeab88cfe58 SHA512 b673f62a852024da336db18c4f50996415351856897caa3c44df3bff6487d334d7a43b48025a39939e32213c48f2c725265627463743c5810bd1eae123da4a4a

View File

@ -0,0 +1,81 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop java-pkg-2 prefix
MY_DATE="$(ver_cut 4)"
MY_PN="IPMIView"
MY_PV="$(ver_cut 1-3)"
DESCRIPTION="A GUI application that allows to manage multiple target systems through BMC"
HOMEPAGE="https://www.supermicro.com/"
SRC_URI="https://www.supermicro.com/Bios/sw_download/960/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz"
LICENSE="supermicro"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
net-misc/stunnel
sys-libs/ncurses-compat:5
virtual/jre:1.8
"
BDEPEND="app-arch/unzip"
RESTRICT="bindist mirror"
DIR="/usr/share/${PN}"
QA_PREBUILT="usr/lib*"
src_unpack() {
unpack ${A}
mv -v ${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64 ${P} || die
}
src_prepare() {
default
# Extract icons for menu entries
unzip -j -LL IPMIView20.jar images/ipmi{view,trap}.ico || die
# Don't use their scary launchers
rm -v lax.jar || die
}
src_compile() {
:
}
src_install() {
java-pkg_dojar *.jar
java-pkg_doso *64.so
local pre=$(prefixify_ro "${FILESDIR}"/launcher-pre.bash)
java-pkg_dolauncher ipmiview --jar IPMIView20.jar -pre "${pre}"
java-pkg_dolauncher ikvm --jar iKVM.jar -pre "${pre}"
java-pkg_dolauncher ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}"
java-pkg_dolauncher jviewerx9 --jar JViewerX9.jar -pre "${pre}"
java-pkg_dolauncher trapreceiver --jar TrapView.jar -pre "${pre}"
exeinto ${DIR}/jre/bin
newexe $(prefixify_ro "${FILESDIR}"/fake-java-r1.bash) java
insinto ${DIR}/lib/BMCSecurity
doins BMCSecurity/*.{crt,key,pem,txt}
insinto ${DIR}/lib/BMCSecurity/linux
doins BMCSecurity/linux/stunnel.conf
dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel32
dosym ../../../../../bin/stunnel ${DIR}/lib/BMCSecurity/linux/stunnel64
doicon ipmi{view,trap}.ico
make_desktop_entry ipmiview IPMIView ipmiview.ico
make_desktop_entry trapreceiver "Trap Receiver" ipmitrap.ico
local DOCS=( *.pdf *.txt )
einstalldocs
}