diff options
-rw-r--r-- | net-misc/ipmiview/Manifest | 1 | ||||
-rw-r--r-- | net-misc/ipmiview/ipmiview-2.17.0.200505.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/net-misc/ipmiview/Manifest b/net-misc/ipmiview/Manifest index 2650bf9d879b..46c5b8bb6b35 100644 --- a/net-misc/ipmiview/Manifest +++ b/net-misc/ipmiview/Manifest @@ -1,3 +1,4 @@ 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 +DIST IPMIView_2.17.0_build.200505_bundleJRE_Linux_x64.tar.gz 105509705 BLAKE2B 915c1c27bb9e1f519634c0c2a78e3673aaa2c6e713be1132d2682dabf8f56a35b16c2403645fc0fda54643e35214ead65ef9d01854180219dfcc8489904b8766 SHA512 17ed72e802fb0a55c140f98262575385ede2d490484fe926bb7ff19f34e5a376f2d21025e99318d2001b042487729dc8b07b38cca4bf62df6e04d7df0d1d3091 diff --git a/net-misc/ipmiview/ipmiview-2.17.0.200505.ebuild b/net-misc/ipmiview/ipmiview-2.17.0.200505.ebuild new file mode 100644 index 000000000000..664d3944d27e --- /dev/null +++ b/net-misc/ipmiview/ipmiview-2.17.0.200505.ebuild @@ -0,0 +1,86 @@ +# 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="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 +" + +BDEPEND="app-arch/unzip" + +RESTRICT="bindist fetch mirror" + +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 +} |