summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-12-17 10:48:50 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-12-17 10:53:22 +0100
commitd61ff7e234eba560b7f1745a2caf6ee87c90756f (patch)
treeb53bb6a0e745f0aa5b0e74700699d25acb13af48 /sys-apps/smcipmitool
parentnet-misc/ipmiview: drop 2.20.0.220309 (diff)
downloadgentoo-d61ff7e234eba560b7f1745a2caf6ee87c90756f.tar.gz
gentoo-d61ff7e234eba560b7f1745a2caf6ee87c90756f.tar.bz2
gentoo-d61ff7e234eba560b7f1745a2caf6ee87c90756f.zip
sys-apps/smcipmitool: add 2.27.1.221101
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/smcipmitool')
-rw-r--r--sys-apps/smcipmitool/Manifest1
-rw-r--r--sys-apps/smcipmitool/smcipmitool-2.27.1.221101.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/smcipmitool/Manifest b/sys-apps/smcipmitool/Manifest
index bf9feecf51bd..a09358a97d64 100644
--- a/sys-apps/smcipmitool/Manifest
+++ b/sys-apps/smcipmitool/Manifest
@@ -1 +1,2 @@
DIST SMCIPMITool_2.27.0_build.220824_bundleJRE_Linux_x64.tar.gz 123207545 BLAKE2B aac318a42fafed71aec106d379fdf0b26a555330f14ee8d16f029db565dee26ec829e87973b5c82c8b5f2811b7efc370801bc2631f1d51a2382f1b8d02d9ff16 SHA512 18925dacbb75d6773b75684aee5598d118ffafd82d0a6e3bc2685f5457e49417fdbf00c9c8410503f172d0cd328bd9a1c4ec766a0bc65918cdf1645b5b0fcf62
+DIST SMCIPMITool_2.27.1_build.221101_bundleJRE_Linux_x64.tar.gz 124435879 BLAKE2B d26209f370f17d503668cfd8871782147356fcebe3b23de22b6c83c6a34e6d8a6997e7c913f06c09ba4e5b07c90f9e7c32e39cb112c37e9cb236527adb6317f0 SHA512 183fd6e4d777597ebaee9986824436c446fd114ded7ec0dc9c7e55e2c2bc959827771abeff32d18837694e2d938e9b49e7f86a94ba597406198043757c51f41a
diff --git a/sys-apps/smcipmitool/smcipmitool-2.27.1.221101.ebuild b/sys-apps/smcipmitool/smcipmitool-2.27.1.221101.ebuild
new file mode 100644
index 000000000000..092ee2dab490
--- /dev/null
+++ b/sys-apps/smcipmitool/smcipmitool-2.27.1.221101.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
+}