diff options
Diffstat (limited to 'sys-apps/smcipmitool')
-rw-r--r-- | sys-apps/smcipmitool/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/smcipmitool/smcipmitool-2.25.0.210326.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/smcipmitool/Manifest b/sys-apps/smcipmitool/Manifest index dffa40912d06..2624063fc584 100644 --- a/sys-apps/smcipmitool/Manifest +++ b/sys-apps/smcipmitool/Manifest @@ -1 +1,2 @@ DIST SMCIPMITool_2.24.0_build.201007_bundleJRE_Linux_x64.tar.gz 81360010 BLAKE2B 9903172cdfbe962b8147489bb96be57550b61dc4e4dff3728e980d105c6fbfbde1448c0264153e3bb38be1fcac7580e4fd96e2cd7de3a9ecdf797839fde7f133 SHA512 9ac85b79d3addbbedf938bd07d001ebd421f5261aad7d0ebe11b26d69c7d4ebc7c48a57a1a9c6538f51289962c8d18d09b6cf52946a686ca030012bb915bfb05 +DIST SMCIPMITool_2.25.0_build.210326_bundleJRE_Linux_x64.tar.gz 120356581 BLAKE2B c3106bcb4d1f3e0cf3197e605b741d88d662824ec7e0aecde1a2b9bc1db0313b1cb6fba4d41b792dbc2f0f6da2cab7eab75ae912b329feaec9e2f601774eca36 SHA512 f0e11c7ca7c46ffda8a37e510e1653d413679b54f19e00d05379b422a37a008c2cae6a7a06c184f73ac0925b73ddb449364bf9178ad8fea4ddc718ebf8425dae diff --git a/sys-apps/smcipmitool/smcipmitool-2.25.0.210326.ebuild b/sys-apps/smcipmitool/smcipmitool-2.25.0.210326.ebuild new file mode 100644 index 000000000000..32a3379ef7d1 --- /dev/null +++ b/sys-apps/smcipmitool/smcipmitool-2.25.0.210326.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 prefix + +MY_DATE="$(ver_cut 4)" +MY_PN="SMCIPMITool" +MY_PN_SRC_URI="SMCIPMItool" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="An out-of-band utility for interfacing with SuperBlade and IPMI devices via CLI" +HOMEPAGE="https://www.supermicro.com/" +SRC_URI="https://www.supermicro.com/wftp/utility/${MY_PN_SRC_URI}/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 +" + +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 + + # 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 smcipmitool-ikvm --jar iKVM.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool-jviewersmc --jar JViewerSMC.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool-jviewerx9 --jar JViewerX9.jar -pre "${pre}" + java-pkg_dolauncher smcipmitool --jar SMCIPMITool.jar -pre "${pre}" + + exeinto "${DIR}"/jre/bin + newexe $(prefixify_ro "${FILESDIR}"/fake-java.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 + + local DOCS=( + "jcurses.README" + "ReleaseNotes.txt" + "SMCIPMITool_User_Guide.pdf" + ) + + einstalldocs +} |