1 |
commit: 31b9f87dbb03f46a9ccb9d16c41436b3560c9b0e |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Mar 25 00:39:29 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 25 08:09:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b9f87d |
7 |
|
8 |
sys-apps/ipmicfg: New package |
9 |
|
10 |
Closes: https://bugs.gentoo.org/601318 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/7304 |
12 |
|
13 |
sys-apps/ipmicfg/Manifest | 1 + |
14 |
sys-apps/ipmicfg/ipmicfg-1.27.1.170901.ebuild | 60 +++++++++++++++++++++++++++ |
15 |
sys-apps/ipmicfg/metadata.xml | 12 ++++++ |
16 |
3 files changed, 73 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/ipmicfg/Manifest b/sys-apps/ipmicfg/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..e35d9f11470 |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/ipmicfg/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST IPMICFG_1.27.1_build.170901.zip 1667230 BLAKE2B 6411f735fed2e66f8dc012c480e6f9a4c2c9223643074514ca6fbb0db62df06fd78714c4a95ce92edc22a4473734a1d41a6c3bdb61268c73a628f08e7dc87c0e SHA512 9ed01a8a1eae7a7e41fafdbb3b666e7760057c960b65da547f0cf197b30b1a535fa2fe8357e13e6ccda0e0dd4474170b43ca3bc89f55c2de5df0160adde9377e |
25 |
|
26 |
diff --git a/sys-apps/ipmicfg/ipmicfg-1.27.1.170901.ebuild b/sys-apps/ipmicfg/ipmicfg-1.27.1.170901.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ce0d6c43434 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/ipmicfg/ipmicfg-1.27.1.170901.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit eapi7-ver |
38 |
+ |
39 |
+MY_DATE="$(ver_cut 4)" |
40 |
+MY_PN="${PN^^}" |
41 |
+MY_PV="$(ver_cut 1-3)" |
42 |
+ |
43 |
+DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices" |
44 |
+HOMEPAGE="https://www.supermicro.com" |
45 |
+SRC_URI="ftp://ftp.supermicro.com/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip" |
46 |
+ |
47 |
+KEYWORDS="-* ~amd64 ~x86" |
48 |
+LICENSE="supermicro" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+RDEPEND="sys-libs/glibc" |
52 |
+DEPEND="app-arch/unzip" |
53 |
+ |
54 |
+RESTRICT="bindist fetch mirror strip" |
55 |
+ |
56 |
+S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}" |
57 |
+ |
58 |
+QA_PREBUILT="opt/ipmicfg/IPMICFG-Linux.x86 opt/ipmicfg/IPMICFG-Linux.x86_64" |
59 |
+ |
60 |
+pkg_nofetch() { |
61 |
+ elog "Please download ${A} from" |
62 |
+ elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI" |
63 |
+ elog "and place it in your DISTDIR directory." |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ # Choose ARCH |
68 |
+ if use amd64; then |
69 |
+ local my_arch_binary="x86_64" |
70 |
+ local my_arch_folder="64bit" |
71 |
+ else |
72 |
+ local my_arch_binary="x86" |
73 |
+ local my_arch_folder="32bit" |
74 |
+ fi |
75 |
+ |
76 |
+ # Install files |
77 |
+ insinto "/opt/ipmicfg" |
78 |
+ doins "Linux/${my_arch_folder}"/*.dat |
79 |
+ |
80 |
+ # Install binary |
81 |
+ exeinto "/opt/ipmicfg" |
82 |
+ doexe "Linux/${my_arch_folder}/IPMICFG-Linux.${my_arch_binary}" |
83 |
+ |
84 |
+ # Install symlink |
85 |
+ dodir "/opt/bin" |
86 |
+ dosym "../ipmicfg/IPMICFG-Linux.${my_arch_binary}" "/opt/bin/ipmicfg" |
87 |
+ |
88 |
+ # Install docs |
89 |
+ local DOCS=( "IPMICFG_UserGuide.pdf" "ReleaseNotes.txt" ) |
90 |
+ einstalldocs |
91 |
+} |
92 |
|
93 |
diff --git a/sys-apps/ipmicfg/metadata.xml b/sys-apps/ipmicfg/metadata.xml |
94 |
new file mode 100644 |
95 |
index 00000000000..54d5423c406 |
96 |
--- /dev/null |
97 |
+++ b/sys-apps/ipmicfg/metadata.xml |
98 |
@@ -0,0 +1,12 @@ |
99 |
+<?xml version="1.0" encoding="UTF-8"?> |
100 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
101 |
+<pkgmetadata> |
102 |
+ <maintainer type="person"> |
103 |
+ <email>ck+gentoo@××××××××.de</email> |
104 |
+ <name>Conrad Kostecki</name> |
105 |
+ </maintainer> |
106 |
+ <maintainer type="project"> |
107 |
+ <email>proxy-maint@g.o</email> |
108 |
+ <name>Proxy Maintainers</name> |
109 |
+ </maintainer> |
110 |
+</pkgmetadata> |