diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-10-04 22:29:41 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-10-04 22:33:47 +0200 |
commit | 8ba95497b57b1964392098a7234a1f339f7ef9d4 (patch) | |
tree | 0a676b127334a9f48d91a0a91bd48468c72eb5ce /sys-apps | |
parent | net-dns/ddclient: restrict tests (diff) | |
download | gentoo-8ba95497b57b1964392098a7234a1f339f7ef9d4.tar.gz gentoo-8ba95497b57b1964392098a7234a1f339f7ef9d4.tar.bz2 gentoo-8ba95497b57b1964392098a7234a1f339f7ef9d4.zip |
sys-apps/smcipmitool: add 2.27.0.220824
Bug: https://bugs.gentoo.org/874834
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/smcipmitool/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/smcipmitool/smcipmitool-2.27.0.220824.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/smcipmitool/Manifest b/sys-apps/smcipmitool/Manifest index a3cedb6c96db..7079cd553ac6 100644 --- a/sys-apps/smcipmitool/Manifest +++ b/sys-apps/smcipmitool/Manifest @@ -1 +1,2 @@ DIST SMCIPMITool_2.26.0_build.220209_bundleJRE_Linux_x64.tar.gz 124144278 BLAKE2B 2b4cc6f6fc315c7c22a271e201044d8e6d6825555f44c787c66941f76e029207ef3e4f216c330e6adeae508194d20c07e5f062e1bb3f19bb5eec45152a161614 SHA512 b39074ed515ef9698630e2b2969178caa68e27448e49636d1daf633c1e4b0f4ff1a30a4074a6c5ed68a960bfd653b5d3294641e1f0d3f8ee9732065337a8b243 +DIST SMCIPMITool_2.27.0_build.220824_bundleJRE_Linux_x64.tar.gz 123207545 BLAKE2B aac318a42fafed71aec106d379fdf0b26a555330f14ee8d16f029db565dee26ec829e87973b5c82c8b5f2811b7efc370801bc2631f1d51a2382f1b8d02d9ff16 SHA512 18925dacbb75d6773b75684aee5598d118ffafd82d0a6e3bc2685f5457e49417fdbf00c9c8410503f172d0cd328bd9a1c4ec766a0bc65918cdf1645b5b0fcf62 diff --git a/sys-apps/smcipmitool/smcipmitool-2.27.0.220824.ebuild b/sys-apps/smcipmitool/smcipmitool-2.27.0.220824.ebuild new file mode 100644 index 000000000000..092ee2dab490 --- /dev/null +++ b/sys-apps/smcipmitool/smcipmitool-2.27.0.220824.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +} |