summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-09-21 23:30:51 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-10-06 14:44:33 +0200
commit6ef08ee23128086dd5824042ea0ebfba5d607f92 (patch)
tree661c06aef52293c5547d0b32c2806e9e23daf467 /sys-apps/ipmicfg
parentmail-client/roundcube: 1.3.10 version bump (diff)
downloadgentoo-6ef08ee23128086dd5824042ea0ebfba5d607f92.tar.gz
gentoo-6ef08ee23128086dd5824042ea0ebfba5d607f92.tar.bz2
gentoo-6ef08ee23128086dd5824042ea0ebfba5d607f92.zip
sys-apps/ipmicfg: bump to version 1.30.0
Closes: https://bugs.gentoo.org/696500 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps/ipmicfg')
-rw-r--r--sys-apps/ipmicfg/Manifest1
-rw-r--r--sys-apps/ipmicfg/ipmicfg-1.30.0.190710.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/Manifest b/sys-apps/ipmicfg/Manifest
index 1e0f952ab998..8c6930c7e9de 100644
--- a/sys-apps/ipmicfg/Manifest
+++ b/sys-apps/ipmicfg/Manifest
@@ -1 +1,2 @@
DIST IPMICFG_1.29.0_build.181029.zip 1730029 BLAKE2B 32e00e3be90273a447ad34e952568853f66fc41728c419a4b0c991af28d9558e9535a726a46f468ee1c04dc5619c558b0701b54e543b98dc4e35b73ce9cb3f35 SHA512 c87ce7be7e9fa0c63638d537a9d29b1cb728dc499056f5c3a77cb4bf1989eebba00198f63d15134af8ea19ed521660d1f4bedb10d06a516dd860623cc919275a
+DIST IPMICFG_1.30.0_build.190710.zip 1886457 BLAKE2B 5a303ccedda2ffab8d599e68feb1e23faeba0cca7d2fdb224c29440a11a12114cdf536e3f9e5544c1f929fdf8aab0846db51ff2935b20b70b7c3cf7a0fa82bfc SHA512 bad76fd5bc07a9bafecbc02c9a0fc26310b4894c6c365f3c53f1a900244b634317bf59f43d8fa230af866ce6e7f537c7f902b38bb1d4ff5a8546de4fe94043f4
diff --git a/sys-apps/ipmicfg/ipmicfg-1.30.0.190710.ebuild b/sys-apps/ipmicfg/ipmicfg-1.30.0.190710.ebuild
new file mode 100644
index 000000000000..c8ffc2689fba
--- /dev/null
+++ b/sys-apps/ipmicfg/ipmicfg-1.30.0.190710.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_DATE="$(ver_cut 4)"
+MY_PN="${PN^^}"
+MY_PV="$(ver_cut 1-3)"
+
+DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices"
+HOMEPAGE="https://www.supermicro.com"
+SRC_URI="ftp://ftp.supermicro.com/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="supermicro"
+SLOT="0"
+
+DEPEND="app-arch/unzip"
+
+RESTRICT="bindist fetch mirror"
+
+S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}"
+
+QA_PREBUILT="
+ opt/ipmicfg/IPMICFG-Linux.x86
+ opt/ipmicfg/IPMICFG-Linux.x86_64
+"
+
+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_install() {
+ # Choose ARCH
+ local my_arch_binary="$(usex amd64 'x86_64' 'x86')"
+ local my_arch_folder="$(usex amd64 '64bit' '32bit')"
+
+ # Install files
+ insinto /opt/ipmicfg
+ doins Linux/"${my_arch_folder}"/*.dat
+
+ # Install binary
+ exeinto /opt/ipmicfg
+ doexe Linux/"${my_arch_folder}"/IPMICFG-Linux."${my_arch_binary}"
+
+ # Install symlink
+ dodir /opt/bin
+ dosym ../ipmicfg/IPMICFG-Linux."${my_arch_binary}" /opt/bin/ipmicfg
+
+ # Install docs
+ local DOCS=(
+ "IPMICFG_UserGuide.pdf"
+ "ReleaseNotes.txt"
+ )
+ einstalldocs
+}