1 |
commit: ee9e40622a4371df748a6a3bd1da194d35708cef |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 1 12:47:22 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 07:39:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9e4062 |
7 |
|
8 |
sys-apps/ipmiutil: Bump to version 3.1.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
11 |
|
12 |
sys-apps/ipmiutil/Manifest | 1 + |
13 |
sys-apps/ipmiutil/ipmiutil-3.1.2.ebuild | 62 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest |
17 |
index f0dc079ba32..8d2d069bf41 100644 |
18 |
--- a/sys-apps/ipmiutil/Manifest |
19 |
+++ b/sys-apps/ipmiutil/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST ipmiutil-3.0.6.tar.gz 1692679 BLAKE2B dcc02dbb5467b824005dbc95c8f5231b2e275 |
21 |
DIST ipmiutil-3.0.9.tar.gz 1697688 BLAKE2B 93ed8865cae1cea0ea4f7de4683f4698e3f75e9190cc7e0af1832ca44a08f52aa149393761f1ede3994827db78841061d54058bbe4178b5930accd3a4c225ba7 SHA512 c2c0a516216a46a52621159e665a77d96cf81f385fc9cf19877e72283be3e1a4dad5a4826454727b71576c22cc4de3c73ff428d26f35bf496c7dc1511305cda3 |
22 |
DIST ipmiutil-3.1.0.tar.gz 1697374 BLAKE2B 42cbe5a252fff7427f9a6eed48f110a16ecccc1e251f033ef8184b9efa7d9d184af4e83483e234fa97c1cfd964bce1c5fae756e34b5713328ed58be4d66e0fef SHA512 2089110e5c829f7bb2d97d634a543a93612503fb918d5696a17e376bf12aff160272634634652085d7f374ea39102c2bc8fc06d61ccbd50c6a76152073ea0a8c |
23 |
DIST ipmiutil-3.1.1.tar.gz 1697588 BLAKE2B 89d5f6a4b92494d5b5845a856011bf75eb6925506d7956b72efd3a258b29726f3b426185588cbf45a721c804e5e2f8203b1ba5ca132e8e907435cc2cbe5e563a SHA512 c2a7e05f85d668d6d02c990c1078d6f05c30f7ca26b5fdb4bbfe09952dcc4e9cc5eb67657ca07770fa8b0d333bc4d4a96ba845b45efe942c28342be013cf60bd |
24 |
+DIST ipmiutil-3.1.2.tar.gz 1698885 BLAKE2B aa6ad98b38c2d2c4a618717842afc88496f88c291a2731fe95072005a4a85f6dcb3a312924c3353e7b902d90a6bfbedc73bef0ce3d7c31d2326db14e4777ee0b SHA512 83dfddb30e8ddb8ac323473873e0920d2f81c059790556a472fb33c4dd140f5045b74f6f63e3300817b2f5c4af3d5ce35f3bacb96dc65c91ad0133bf088ba565 |
25 |
|
26 |
diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.2.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4a05a288313 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/ipmiutil/ipmiutil-3.1.2.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit autotools systemd |
37 |
+ |
38 |
+DESCRIPTION="IPMI Management Utilities" |
39 |
+HOMEPAGE="http://ipmiutil.sourceforge.net/" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~hppa ~x86" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+RDEPEND=">=dev-libs/openssl-1:0=" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ virtual/os-headers" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-2.9.8-flags.patch |
53 |
+ "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch |
54 |
+) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ |
59 |
+ sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die |
60 |
+ sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die |
61 |
+ |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf --disable-systemd --enable-sha256 |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ # Ulgy workaround. Upstream is misusing the make system here |
71 |
+ # and it doesn't even work. |
72 |
+ # Please check on each bump if this workaround is still required. |
73 |
+ pushd lib/lanplus &>/dev/null || die |
74 |
+ emake || die "emake lanplus failed" |
75 |
+ cp libipmi_lanplus.a .. || die |
76 |
+ popd &>/dev/null || die |
77 |
+ |
78 |
+ emake |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install |
83 |
+ dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide |
84 |
+ |
85 |
+ # Init scripts are only for Fedora |
86 |
+ rm -r "${ED%/}"/etc/init.d || die 'remove initscripts failed' |
87 |
+ |
88 |
+ if ! use static-libs ; then |
89 |
+ find "${ED}" -name '*.a' -delete || die |
90 |
+ fi |
91 |
+ |
92 |
+ keepdir /var/lib/ipmiutil |
93 |
+} |