From b34e2ae6f21625f525b4857256cc083471923235 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Fri, 8 Mar 2019 21:05:51 +0100 Subject: net-misc/ipmiview: bump to version 2.15.0.190109. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Conrad Kostecki Closes: https://github.com/gentoo/gentoo/pull/11307 Signed-off-by: Patrice Clement --- net-misc/ipmiview/Manifest | 2 + net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild | 89 +++++++++++++++++++++++++ net-misc/ipmiview/metadata.xml | 7 ++ 3 files changed, 98 insertions(+) create mode 100644 net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild (limited to 'net-misc/ipmiview') diff --git a/net-misc/ipmiview/Manifest b/net-misc/ipmiview/Manifest index 292d743261e3..f949eb85cce5 100644 --- a/net-misc/ipmiview/Manifest +++ b/net-misc/ipmiview/Manifest @@ -1,2 +1,4 @@ DIST IPMIView_2.14.0_build.180213_bundleJRE_Linux.tar.gz 95430772 BLAKE2B 467f1b8b99df6e0b48bab0d652411ce097826eb532e92ac7889ea9c93ad53ff78a291508498d9ffa1463342951cc640fb46bfddd887669b4ebad9f1a9dd09941 SHA512 59fd4ad70f7f6da98a8ca1a95678e368cf963caa3c454e1e1c60006966aa5faeb964c7c68d4fc7f0f5804ffbb49c06d44ab56974bb47bcb77490ad737c707e92 DIST IPMIView_2.14.0_build.180213_bundleJRE_Linux_x64.tar.gz 94006067 BLAKE2B 38e597401f3bfb27acb2b6c824ac1dcae17b7ca46fcba1ba64d3533142913915a836bbee6ccfbdb9d21f9a9976629b3412e5f6f40850c3ce139a97428bb25be1 SHA512 7b4f0e3438281da33cb85195048f21fe1101a44ec18a67f83f88665c875d01706664df44ea8eb7403b98685c09764094eaf553f985cebadce66c3dcf635151e1 +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 diff --git a/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild b/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild new file mode 100644 index 000000000000..7d565a17b74c --- /dev/null +++ b/net-misc/ipmiview/ipmiview-2.15.0.190109.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop eapi7-ver 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=" + amd64? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz ) + x86? ( ftp://ftp.supermicro.com/utility/${MY_PN}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz ) +" + +LICENSE="supermicro" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +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$(usex amd64 _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 $(usex amd64 '*64.so' '*32.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 +} diff --git a/net-misc/ipmiview/metadata.xml b/net-misc/ipmiview/metadata.xml index 54d5423c4060..c4509ff079b0 100644 --- a/net-misc/ipmiview/metadata.xml +++ b/net-misc/ipmiview/metadata.xml @@ -9,4 +9,11 @@ proxy-maint@gentoo.org Proxy Maintainers + + IPMIView is a GUI-based software application that allows administrators + to manage multiple target systems through BMC. IPMIView supports Supermicros + BMCs that adheres to either IPMI v1.5 or v2.0. IPMIView monitors and reports + on the status of a SuperBlade system, including the blade server, power supply, + gigabit switch, InfiniBand and CMM modules. IPMIView also supports remote KVM and Virtual Media. + -- cgit v1.2.3-65-gdbad