mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
net-misc/ipmiview: bump to version 2.16.0
Dropped x86 keyword, as upstream dropped support. Also bumped to EAPI=7. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/13002 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux.tar.gz 138691420 BLAKE2B 7f2d8e9519d6a9651d09c8b55e6a530266b809e437132ac4a814473ec25622663a0fb455a3b078fd5e79194e82d24d1b324369799f15bd1d4dbb6b607cdada76 SHA512 17078c8480579e63391a8cfb7af5033510ca3a9c5616b2af0af7679bbd6592f4f7fbe68dc01194aa11c1b481bc1c4089339adb42c22a687effa05dd728984579
|
||||
DIST IPMIView_2.15.0_build.190109_bundleJRE_Linux_x64.tar.gz 135584164 BLAKE2B d74ade013d00e7c7dd5d79b808d158519a520603931dfe9bd44f4dc64911b066f0e9f61bdff7386ee30d2d5b1f4fb86477ee339e76f00746f0b119c3a4b49e82 SHA512 2409f79850cafb2af5f34ec3fd755a6438ef7abef3c1a014df95d4ccc49d9b151ddfba7c1824de9c0f00234ea36b2fa6bb519f5035321dccae9ac06fa2f9458a
|
||||
DIST IPMIView_2.16.0_build.190815_bundleJRE_Linux_x64.tar.gz 93629983 BLAKE2B 7be066184a6722b7fae87a3427bd161092393662dbb9597188de913bccfe6df0050441d5180b434c8394438d98d37f77452a6eb9ad3cf6f654eb67f4cc7facaa SHA512 9a6af293a08dcdb662a226c061590e7149e5cee0a69eca12906e4581e254d3293d27e71dd36c301a449a43a10be700f3023f8408bdda5a3b9b65d76c96eaa3d7
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2019 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="ftp://ftp.supermicro.com/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
|
||||
virtual/jre:1.8
|
||||
"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="bindist fetch mirror strip"
|
||||
|
||||
DIR="/usr/share/${PN}"
|
||||
QA_PREBUILT="usr/lib*"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from"
|
||||
elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
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