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