Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/
Date: Thu, 05 Apr 2018 08:52:26
Message-Id: 1522918336.fe1d83c663d5154cec69653644212f9cfc5a1537.polynomial-c@gentoo
1 commit: fe1d83c663d5154cec69653644212f9cfc5a1537
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 5 08:46:46 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 5 08:52:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1d83c6
7
8 sys-apps/ipmiutil: Bump to version 3.0.9
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11
12 sys-apps/ipmiutil/Manifest | 1 +
13 sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild | 60 +++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
17 index 5334b6036f4..498a88f0874 100644
18 --- a/sys-apps/ipmiutil/Manifest
19 +++ b/sys-apps/ipmiutil/Manifest
20 @@ -1,3 +1,4 @@
21 DIST ipmiutil-3.0.6.tar.gz 1692679 BLAKE2B dcc02dbb5467b824005dbc95c8f5231b2e2758e7600231c1c3fc31c1207cff0540400857dd1bfa83fc8b033fe0277ab23c6013f110744bff57fe4bc7b89174f9 SHA512 0c47246b7aa6a060091745d36e33aae07e7907dcad5fefb1759aac62adf48316915ce5818d2f9241e24b73be13e54fbb57046234a69c60ce56f41a933915580f
22 DIST ipmiutil-3.0.7.tar.gz 1694854 BLAKE2B a46940da8b71439d803342bb640353498a9ae2ac5516930bcb76042aba9981c50bbe7cd2bdd4feb18e1074bb180d578fb213c151a3d10593985c8b9601eee905 SHA512 26a0c805f2c49102eee44052814a6f7af67c74082489e70b058bd4350526a65aad1e1352e33b12e1afeae5e9e96fd2eb361fc6a112d38782dee58f95c3e2a13b
23 DIST ipmiutil-3.0.8.tar.gz 1695826 BLAKE2B 1a20ecdab438c461519db6c9065aab28c07ac26303c3ace0339b1aceb53da73d05e975fa0b73f543a2d1e6ae908ec291d167b545430b85c9744b7a1252d8850a SHA512 9997dac5bc48231ec5333c86cff669bb6b321940497d9e7397763482960956dcf066f27ad2fdf33f4e42033ae2479d8f1ed37fb096b06f9075ad43709b94950d
24 +DIST ipmiutil-3.0.9.tar.gz 1697688 BLAKE2B 93ed8865cae1cea0ea4f7de4683f4698e3f75e9190cc7e0af1832ca44a08f52aa149393761f1ede3994827db78841061d54058bbe4178b5930accd3a4c225ba7 SHA512 c2c0a516216a46a52621159e665a77d96cf81f385fc9cf19877e72283be3e1a4dad5a4826454727b71576c22cc4de3c73ff428d26f35bf496c7dc1511305cda3
25
26 diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild
27 new file mode 100644
28 index 00000000000..ac6d2f9004f
29 --- /dev/null
30 +++ b/sys-apps/ipmiutil/ipmiutil-3.0.9.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 +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 +}