mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/ipmiview: bump to version 2.19.0
Closes: https://bugs.gentoo.org/796506 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64.tar.gz 108315796 BLAKE2B 5ffbe555245a6fce04bd53ad7f91f8a7aef3b645b0f9affa0aaa7fbaa221cc7259d0de2ee7bf9a3d6e79f5525190314435c4553c785c1b345030edd7b46126d8 SHA512 bda6116f59776b93c449711ad890160238b53ec93aabc669b2c5938eaee7f594e3b91a11f8c293110874fb13c2ed94692257c16fbffe7f86c1d2ee757d30b948
|
||||
DIST IPMIView_2.19.0_build.210401_bundleJRE_Linux_x64.tar.gz 147779297 BLAKE2B e3a0846e2704c5acc91ec303d40882d3572165b608c875e02d171b78e8158ea388c38da4e22a78ec4008517bbe7a826f89566bd4a16380009ed94b773b476686 SHA512 6bbde5ff7e5ba73d35068e30a6ca34a2993bc96b3ee10a5bbbafbeb321eb98960a176ec6712183e94705c33462791c23e93732b2945c93b2df5304e8e7d95a10
|
||||
|
||||
81
net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild
Normal file
81
net-misc/ipmiview/ipmiview-2.19.0.210401.ebuild
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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/wftp/utility/${MY_PN}/Linux/${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 ipmiview-ikvm --jar iKVM.jar -pre "${pre}"
|
||||
java-pkg_dolauncher ipmiview-ikvmmicroblade --jar iKVMMicroBlade.jar -pre "${pre}"
|
||||
java-pkg_dolauncher ipmiview-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
|
||||
}
|
||||
Reference in New Issue
Block a user