From 5af5ca7f3b195eb34a16a61bf1ad32018692e685 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sat, 1 Dec 2018 00:33:04 +0100 Subject: [PATCH] sys-apps/ipmicfg: bump to version 1.29.0.181029 Also bumped to EAPI=7. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Conrad Kostecki Closes: https://github.com/gentoo/gentoo/pull/10531 Signed-off-by: Andreas Sturmlechner --- sys-apps/ipmicfg/Manifest | 1 + sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild | 58 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild diff --git a/sys-apps/ipmicfg/Manifest b/sys-apps/ipmicfg/Manifest index 9d0f7d6dbe56..171c07d34e64 100644 --- a/sys-apps/ipmicfg/Manifest +++ b/sys-apps/ipmicfg/Manifest @@ -1 +1,2 @@ DIST IPMICFG_1.28.0_build.180302.zip 1722771 BLAKE2B fde93f75714aac9f79cb76e0a11f4747a933f28eb06c4daf09113e75e0fb26c57e8cf54ad58cff040d3a37427c74d699eef9532db256fe5ae2344667a542b342 SHA512 764103de5cf7109a20216d5277ba038747cea16dc78563876b38a8c830d8437bcdf06e0e55db68ad44b32b2a3043535f5c307b3bdaca40bcb04ee05bd097610e +DIST IPMICFG_1.29.0_build.181029.zip 1730029 BLAKE2B 32e00e3be90273a447ad34e952568853f66fc41728c419a4b0c991af28d9558e9535a726a46f468ee1c04dc5619c558b0701b54e543b98dc4e35b73ce9cb3f35 SHA512 c87ce7be7e9fa0c63638d537a9d29b1cb728dc499056f5c3a77cb4bf1989eebba00198f63d15134af8ea19ed521660d1f4bedb10d06a516dd860623cc919275a diff --git a/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild b/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild new file mode 100644 index 000000000000..269ad03eb27b --- /dev/null +++ b/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 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 +} -- 2.26.2