commit:     687e40d244aecbd3e81c58dd49e926d92d465bdb
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Nov 30 23:35:11 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 16 19:29:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687e40d2

sys-apps/smcipmitool: bump to version 2.21.0.181029

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10532
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-apps/smcipmitool/Manifest                      |  2 +
 .../smcipmitool/smcipmitool-2.21.0.181029.ebuild   | 85 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/sys-apps/smcipmitool/Manifest b/sys-apps/smcipmitool/Manifest
index b8596d05d7e..44340c90d9a 100644
--- a/sys-apps/smcipmitool/Manifest
+++ b/sys-apps/smcipmitool/Manifest
@@ -1,2 +1,4 @@
 DIST SMCIPMITool_2.20.0_build.180525_bundleJRE_Linux.tar.gz 78319288 BLAKE2B 
9084894dd52aebce26853c611ca445d20d8d5363771013830ca2a27c4dfdbdfd00a660019755d579eb9bb6a845e196e59ef03c824cd7da5af9c9081406049c2f
 SHA512 
b2c9fdc22c5963e8ab45ded776e823466fc5bd9fb3b1c04d44603f719409c38cc7f3f78fdd82c1230bf015f271607131ba0e00b73ef182ce18426490b9c58e9e
 DIST SMCIPMITool_2.20.0_build.180525_bundleJRE_Linux_x64.tar.gz 76888805 
BLAKE2B 
73ec6205ce5ed261706ecc2cd0947cdb6f27c930bdd3809581eb06062d2608d76c6696b906a44cd48b065eed1b2f5a83108b7a616cd956c77238c9af0ff1fa46
 SHA512 
4adab5f7d45eb8a2c88c37c519743af5244509f75800b3dcd6b002d6385309709e8efa15c0dca18f827d054ad7861168d17fcc93d4e1f5427769a0071f5772bc
+DIST SMCIPMITool_2.21.0_build.181029_bundleJRE_Linux.tar.gz 122153416 BLAKE2B 
2d4224a76588fa4da41a8080bde5833ce3a7da01a11e45fc48069084077fe2e1e48f5e92ec266b10a390b3a40cfbc66f2b674c9ef59f8b3b11d42cb20eb992bb
 SHA512 
e655e14751906d392f0f528c6d5afe83298f398025c5808d2efed142a3cdf9b56d06964feeed63fef58f2fe793d7de06c3eeb909e4467ce774317bb7971792d1
+DIST SMCIPMITool_2.21.0_build.181029_bundleJRE_Linux_x64.tar.gz 119034481 
BLAKE2B 
032bbae5a3e608f6f51ae955df875d18a7b260fc0d49d6371af910cc1186c47b3db2b012dccd2837b598d5e405fde01390cfb44a5526297691c9bb99029c2dbd
 SHA512 
9d721b8409510f75dbe36e8b5e3fdfb89f42f85365406f2c53890c1f5a6620f6abe00325017443b9af26bc60aeae7392065eb451d1a318de9898783562b43933

diff --git a/sys-apps/smcipmitool/smcipmitool-2.21.0.181029.ebuild 
b/sys-apps/smcipmitool/smcipmitool-2.21.0.181029.ebuild
new file mode 100644
index 00000000000..5947d13f59c
--- /dev/null
+++ b/sys-apps/smcipmitool/smcipmitool-2.21.0.181029.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eapi7-ver 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="
+       amd64? ( 
ftp://ftp.supermicro.com/utility/${MY_PN_SRC_URI}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux_x64.tar.gz
 )
+       x86? ( 
ftp://ftp.supermicro.com/utility/${MY_PN_SRC_URI}/Linux/${MY_PN}_${MY_PV}_build.${MY_DATE}_bundleJRE_Linux.tar.gz
 )
+"
+
+LICENSE="supermicro"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RDEPEND="
+       net-misc/stunnel
+       sys-libs/ncurses:5
+       virtual/jre:1.8
+"
+
+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$(usex amd64 
_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 $(usex amd64 '*64.so' '*32.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
+}

Reply via email to