diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-11-30 14:30:52 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-11-30 14:32:54 +0100 |
commit | 77f324d59b715d4ae37ee57c0125f77f9c7ec16e (patch) | |
tree | d8daf07805bd74a89d74c2bdbf50bdf72d5784eb /sys-apps/smcipmitool | |
parent | dev-lua/inifile: new package (diff) | |
download | gentoo-77f324d59b715d4ae37ee57c0125f77f9c7ec16e.tar.gz gentoo-77f324d59b715d4ae37ee57c0125f77f9c7ec16e.tar.bz2 gentoo-77f324d59b715d4ae37ee57c0125f77f9c7ec16e.zip |
sys-apps/smcipmitool: bump to version 2.24.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/smcipmitool')
-rw-r--r-- | sys-apps/smcipmitool/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/smcipmitool/smcipmitool-2.24.0.201007.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/smcipmitool/Manifest b/sys-apps/smcipmitool/Manifest index 3de8e46b8947..8d8229962b36 100644 --- a/sys-apps/smcipmitool/Manifest +++ b/sys-apps/smcipmitool/Manifest @@ -1 +1,2 @@ DIST SMCIPMITool_2.23.0_build.191216_bundleJRE_Linux_x64.tar.gz 78810880 BLAKE2B fa4d0c7ed8cd7fb8b03847b30d22b4c70d74402be50ef217b237a0ba786e264a0832533476db5523cf3ce9a88c2191cbc9ff32d54911dfca54ff8835268f0efd SHA512 7770a1ec468934e1ac89612e77092f83ce91822326279afedcc5da9b5cdd84193e8077b87441c79253e366bde6f1ef3756ff35ff7fce8bc1759bb889ab8b082b +DIST SMCIPMITool_2.24.0_build.201007_bundleJRE_Linux_x64.tar.gz 81360010 BLAKE2B 9903172cdfbe962b8147489bb96be57550b61dc4e4dff3728e980d105c6fbfbde1448c0264153e3bb38be1fcac7580e4fd96e2cd7de3a9ecdf797839fde7f133 SHA512 9ac85b79d3addbbedf938bd07d001ebd421f5261aad7d0ebe11b26d69c7d4ebc7c48a57a1a9c6538f51289962c8d18d09b6cf52946a686ca030012bb915bfb05 diff --git a/sys-apps/smcipmitool/smcipmitool-2.24.0.201007.ebuild b/sys-apps/smcipmitool/smcipmitool-2.24.0.201007.ebuild new file mode 100644 index 000000000000..279c66adc7f2 --- /dev/null +++ b/sys-apps/smcipmitool/smcipmitool-2.24.0.201007.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 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 libjcurses.so *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 +} |