sys-apps/ipmicfg: bump to version 1.29.0.181029
authorConrad Kostecki <conrad@kostecki.com>
Fri, 30 Nov 2018 23:33:04 +0000 (00:33 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Dec 2018 19:29:11 +0000 (20:29 +0100)
Also bumped to EAPI=7.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10531
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sys-apps/ipmicfg/Manifest
sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild [new file with mode: 0644]

index 9d0f7d6dbe566f2308c33fc600d6b1c77dd89089..171c07d34e64854b5dbbea5f976927923803b390 100644 (file)
@@ -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 (file)
index 0000000..269ad03
--- /dev/null
@@ -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
+}