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/ipmitool/
Date: Sun, 31 Jul 2016 08:33:35
Message-Id: 1469953996.b20f927aa3629c048e8674002a712b046d0744c5.polynomial-c@gentoo
1 commit: b20f927aa3629c048e8674002a712b046d0744c5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 07:52:41 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 08:33:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b20f927a
7
8 sys-apps/ipmitool: Bump to version 1.8.17
9
10 Package-Manager: portage-2.3.0
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/ipmitool/Manifest | 2 +
14 sys-apps/ipmitool/ipmitool-1.8.17.ebuild | 81 ++++++++++++++++++++++++++++++++
15 2 files changed, 83 insertions(+)
16
17 diff --git a/sys-apps/ipmitool/Manifest b/sys-apps/ipmitool/Manifest
18 index 38e12fa..c3b887b 100644
19 --- a/sys-apps/ipmitool/Manifest
20 +++ b/sys-apps/ipmitool/Manifest
21 @@ -1,4 +1,6 @@
22 DIST ipmitool-1.8.14.tar.gz 917886 SHA256 fe9bce4587f83fe0fd7c4d86fd3241fe41cb661ebc5c7321128d59cc295874ab SHA512 1376a0d4209e4622f9b0e27d3f3d67d552be936ded92e4e894d2b04871717a585075b54bbb9b91d62b58483ee9b94b5c64e2ecdfcef3c3f818fa6f035fb34216 WHIRLPOOL a16d965218829f1a1b29133e8722272d6062698c546f96de94385b3a62aef5d886e4890ad48ed43f04531a18d806a2a5a798f50ce9dadcb87ba17b2902cffdce
23 DIST ipmitool-1.8.16.tar.gz 960472 SHA256 b83e12572fff00fce6bd5ae98f390063da7bd13f555cd386d94605917d808f73 SHA512 30f79e1547c7bb04f8447e9b3bba9a3761d0c8ce5b8b9aa98848382ee9163569b51dd4bc670998f52d3d07ee111747c981b840656113885185ed29c6c6a0f8fd WHIRLPOOL e63d1d42ab7cd0e05a7f679f5d663d36f2b837d92ec2547288208f48cfd4d4a0ba1e8571bf993f7cb05a2b72d0a12a916ffa445dd19e5c298040cb6e3c5a9419
24 +DIST ipmitool-1.8.17.tar.gz 976189 SHA256 717d3972c050541878eaeba85e02168e76f6e98bdb4837ac214fae165af89961 SHA512 929cf0087d3d712caf845eb62771aa96d034c2222170850b0d8bfdbb41d0b0aee05c14aa48e82368f4494606781c6639ada348fd086907c21b817d95dd36a3f6 WHIRLPOOL fdac04cc2601680ec645f5634947da52e31b1fe5b57ad2e74d5099cda3fd605e1ae218441de7241a4f7822701e7e49b81e0c8c52367cde8dfdcd1b217a3e07e0
25 DIST ipmitool_1.8.14-4.debian.tar.xz 16452 SHA256 24b57ffec3ca1bda69f82b006a12a3ccd1e643b2e0250c0a670218e1e76a54dc SHA512 f7b464d9167e2c92b9536fee1e0cb66da11f6cdc6f86d7adb3ad5c239f3c1850663ddfd9571561502904daff52b3a57b633c389de697da42e7bfafe8c67a60a9 WHIRLPOOL a559a3c1771fc4e33b817977c8eb23372e27a3d2c1bcbc5eefd3e714bfa0da82d05e597dbb2afc8cbf52b6b5ffcde4273505cad5fedc4b8893809d691fa21fc5
26 DIST ipmitool_1.8.16-3.debian.tar.xz 17788 SHA256 89f5d5bfae8a856c24249b98b2d9efbc6d39b5cc1536911efd2944c5f88d6205 SHA512 8f8b6862d6ff77e6a4f4ad3ae21d056c5d90d43610a45dac556b0a41a5417185553b81e863630a62bfa2ef2e1f7680a24e2661f469214eb3b4e93d8ae4ffb800 WHIRLPOOL c664f96ab9e62eb1ecd3cb1e505253ce6c9641d756e56f76a7c9b23bf31cb8b3a53b8aef32050b30cc125fe8da8fa7d95cb39f77f2afd55d71efe87ddd8c1825
27 +DIST ipmitool_1.8.17-1.debian.tar.xz 18252 SHA256 23fe78d07c96918377c0222f4dba5780e8a1746fc75c5f51a0a907cfefff7a61 SHA512 e1133262020e8fabe47e7aa308956078bc9fb3bb7033413230f1cf76aca1d4733bac64e52039365f24fe54a1bf8e271071bdaa1722720fca62f1c9e8888777a8 WHIRLPOOL 04c15df52d5fa74876de193b274d0f0ef0d858a2601b55a4823a6ddff405550def96a3407e7890b74e14da72fed21d9c6118a532ac01f2803a3664e7b9fbff80
28
29 diff --git a/sys-apps/ipmitool/ipmitool-1.8.17.ebuild b/sys-apps/ipmitool/ipmitool-1.8.17.ebuild
30 new file mode 100644
31 index 0000000..eaf8379
32 --- /dev/null
33 +++ b/sys-apps/ipmitool/ipmitool-1.8.17.ebuild
34 @@ -0,0 +1,81 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +inherit autotools eutils
41 +
42 +DESCRIPTION="Utility for controlling IPMI enabled devices."
43 +HOMEPAGE="http://ipmitool.sf.net/"
44 +DEBIAN_PR="1.debian"
45 +DEBIAN_P="${P/-/_}"
46 +DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}"
47 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
48 + https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz"
49 +#IUSE="freeipmi openipmi status"
50 +IUSE="openipmi static"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
53 +LICENSE="BSD"
54 +
55 +RDEPEND="dev-libs/openssl:0="
56 +DEPEND="${RDEPEND}
57 + openipmi? ( sys-libs/openipmi )
58 + virtual/os-headers"
59 + #freeipmi? ( sys-libs/freeipmi )
60 +# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi )
61 +# but it doesn't actually need either.
62 +
63 +src_prepare() {
64 + default
65 + [ -d "${S}"/debian ] && mv "${S}"/debian{,.package}
66 + ln -s "${WORKDIR}"/debian "${S}"
67 + for p in $(grep -v "^#" debian/patches/series) ; do
68 + eapply debian/patches/$p
69 + done
70 +
71 + eautoreconf
72 +}
73 +
74 +src_configure() {
75 + # - LIPMI and BMC are the Solaris libs
76 + # - OpenIPMI is unconditionally enabled in the configure as there is compat
77 + # code that is used if the library itself is not available
78 + # FreeIPMI does build now, but is disabled until the other arches keyword it
79 + # `use_enable freeipmi intf-free` \
80 + # --enable-ipmievd is now unconditional
81 + econf \
82 + $(use_enable static) \
83 + --enable-ipmishell \
84 + --enable-intf-lan \
85 + --enable-intf-lanplus \
86 + --enable-intf-open \
87 + --enable-intf-serial \
88 + --disable-intf-bmc \
89 + --disable-intf-dummy \
90 + --disable-intf-free \
91 + --disable-intf-imb \
92 + --disable-intf-lipmi \
93 + --disable-internal-md5 \
94 + --with-kerneldir=/usr --bindir=/usr/sbin
95 +
96 + # Fix linux/ipmi.h to compile properly. This is a hack since it doesn't
97 + # include the below file to define some things.
98 + echo "#include <asm/byteorder.h>" >>config.h
99 +}
100 +
101 +src_install() {
102 + emake DESTDIR="${D}" PACKAGE="${PF}" install
103 +
104 + into /usr
105 + dosbin contrib/bmclanconf
106 + rm -f "${D}"/usr/share/doc/${PF}/COPYING
107 + docinto contrib
108 + cd "${S}"/contrib
109 + dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README
110 +
111 + newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd
112 + newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd
113 + # TODO: init script for contrib/bmc-snmp-proxy
114 + # TODO: contrib/exchange-bmc-os-info
115 +}