summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-06-23 00:58:27 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-06-22 16:27:32 -0700
commitea16be6c702ae3072c6446cb8cffac47a8ecf8c1 (patch)
treeda4eec749d374be2d93cc75d5751ddd2d3446524 /sys-apps/ipmicfg
parentnet-wireless/linssid: New package (diff)
downloadgentoo-ea16be6c702ae3072c6446cb8cffac47a8ecf8c1.tar.gz
gentoo-ea16be6c702ae3072c6446cb8cffac47a8ecf8c1.tar.bz2
gentoo-ea16be6c702ae3072c6446cb8cffac47a8ecf8c1.zip
sys-apps/ipmicfg: bump to version 1.28.0.180302
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-apps/ipmicfg')
-rw-r--r--sys-apps/ipmicfg/Manifest1
-rw-r--r--sys-apps/ipmicfg/ipmicfg-1.28.0.180302.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/Manifest b/sys-apps/ipmicfg/Manifest
index e35d9f114709..4ed50849121d 100644
--- a/sys-apps/ipmicfg/Manifest
+++ b/sys-apps/ipmicfg/Manifest
@@ -1 +1,2 @@
DIST IPMICFG_1.27.1_build.170901.zip 1667230 BLAKE2B 6411f735fed2e66f8dc012c480e6f9a4c2c9223643074514ca6fbb0db62df06fd78714c4a95ce92edc22a4473734a1d41a6c3bdb61268c73a628f08e7dc87c0e SHA512 9ed01a8a1eae7a7e41fafdbb3b666e7760057c960b65da547f0cf197b30b1a535fa2fe8357e13e6ccda0e0dd4474170b43ca3bc89f55c2de5df0160adde9377e
+DIST IPMICFG_1.28.0_build.180302.zip 1722771 BLAKE2B fde93f75714aac9f79cb76e0a11f4747a933f28eb06c4daf09113e75e0fb26c57e8cf54ad58cff040d3a37427c74d699eef9532db256fe5ae2344667a542b342 SHA512 764103de5cf7109a20216d5277ba038747cea16dc78563876b38a8c830d8437bcdf06e0e55db68ad44b32b2a3043535f5c307b3bdaca40bcb04ee05bd097610e
diff --git a/sys-apps/ipmicfg/ipmicfg-1.28.0.180302.ebuild b/sys-apps/ipmicfg/ipmicfg-1.28.0.180302.ebuild
new file mode 100644
index 000000000000..ce0d6c434345
--- /dev/null
+++ b/sys-apps/ipmicfg/ipmicfg-1.28.0.180302.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver
+
+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"
+
+RDEPEND="sys-libs/glibc"
+DEPEND="app-arch/unzip"
+
+RESTRICT="bindist fetch mirror strip"
+
+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
+ if use amd64; then
+ local my_arch_binary="x86_64"
+ local my_arch_folder="64bit"
+ else
+ local my_arch_binary="x86"
+ local my_arch_folder="32bit"
+ fi
+
+ # 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
+}