summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-11-29 02:55:21 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-11-29 02:55:21 +0100
commit8b39399becd981739e5edde3740152d89fd9da88 (patch)
tree7a30530525070393bce3c2d418e66490a2698309 /net-misc/ipmiview
parentdev-lua/luacheck: add myself as maintainer (diff)
downloadgentoo-8b39399becd981739e5edde3740152d89fd9da88.tar.gz
gentoo-8b39399becd981739e5edde3740152d89fd9da88.tar.bz2
gentoo-8b39399becd981739e5edde3740152d89fd9da88.zip
net-misc/ipmiview: bump to version 2.18.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc/ipmiview')
-rw-r--r--net-misc/ipmiview/Manifest1
-rw-r--r--net-misc/ipmiview/ipmiview-2.18.0.201007.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/net-misc/ipmiview/Manifest b/net-misc/ipmiview/Manifest
index 21862601db1d..3e8cc63342ec 100644
--- a/net-misc/ipmiview/Manifest
+++ b/net-misc/ipmiview/Manifest
@@ -1 +1,2 @@
DIST IPMIView_2.17.0_build.200505_bundleJRE_Linux_x64.tar.gz 105509705 BLAKE2B 915c1c27bb9e1f519634c0c2a78e3673aaa2c6e713be1132d2682dabf8f56a35b16c2403645fc0fda54643e35214ead65ef9d01854180219dfcc8489904b8766 SHA512 17ed72e802fb0a55c140f98262575385ede2d490484fe926bb7ff19f34e5a376f2d21025e99318d2001b042487729dc8b07b38cca4bf62df6e04d7df0d1d3091
+DIST IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64.tar.gz 108315796 BLAKE2B 5ffbe555245a6fce04bd53ad7f91f8a7aef3b645b0f9affa0aaa7fbaa221cc7259d0de2ee7bf9a3d6e79f5525190314435c4553c785c1b345030edd7b46126d8 SHA512 bda6116f59776b93c449711ad890160238b53ec93aabc669b2c5938eaee7f594e3b91a11f8c293110874fb13c2ed94692257c16fbffe7f86c1d2ee757d30b948
diff --git a/net-misc/ipmiview/ipmiview-2.18.0.201007.ebuild b/net-misc/ipmiview/ipmiview-2.18.0.201007.ebuild
new file mode 100644
index 000000000000..e6d9549403ff
--- /dev/null
+++ b/net-misc/ipmiview/ipmiview-2.18.0.201007.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 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
+}