Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/ipmitool: ipmitool-1.8.14.ebuild ChangeLog
Date: Sat, 28 Jun 2014 00:43:10
Message-Id: 20140628004302.194932004E@flycatcher.gentoo.org
1 robbat2 14/06/28 00:43:02
2
3 Modified: ChangeLog
4 Added: ipmitool-1.8.14.ebuild
5 Log:
6 Bump, now with IPv6.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.25 sys-apps/ipmitool/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmitool/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmitool/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmitool/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -p -w -b -B -u -u -r1.24 -r1.25
23 --- ChangeLog 29 Jan 2014 13:37:22 -0000 1.24
24 +++ ChangeLog 28 Jun 2014 00:43:01 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/ipmitool
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/ChangeLog,v 1.24 2014/01/29 13:37:22 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/ChangeLog,v 1.25 2014/06/28 00:43:01 robbat2 Exp $
30 +
31 +*ipmitool-1.8.14 (28 Jun 2014)
32 +
33 + 28 Jun 2014; Robin H. Johnson <robbat2@g.o> +ipmitool-1.8.14.ebuild:
34 + Bump, now with IPv6.
35
36 29 Jan 2014; Jeroen Roovers <jer@g.o> ipmitool-1.8.11-r1.ebuild:
37 Stable for HPPA too.
38
39
40
41 1.1 sys-apps/ipmitool/ipmitool-1.8.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmitool/ipmitool-1.8.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmitool/ipmitool-1.8.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ipmitool-1.8.14.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/ipmitool-1.8.14.ebuild,v 1.1 2014/06/28 00:43:01 robbat2 Exp $
51
52 EAPI=4
53 inherit eutils
54
55 DESCRIPTION="Utility for controlling IPMI enabled devices."
56 HOMEPAGE="http://ipmitool.sf.net/"
57 DEBIAN_PR="2.debian"
58 DEBIAN_P="${P/-/_}"
59 DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
61 https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz"
62 #IUSE="freeipmi openipmi"
63 IUSE="openipmi"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
66 LICENSE="BSD"
67
68 RDEPEND="dev-libs/openssl"
69 DEPEND="${RDEPEND}
70 openipmi? ( sys-libs/openipmi )
71 virtual/os-headers"
72 #freeipmi? ( sys-libs/freeipmi )
73 # ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi )
74 # but it doesn't actually need either.
75
76 src_prepare() {
77 [ -d "${S}"/debian ] && mv "${S}"/debian{,.package}
78 ln -s "${WORKDIR}"/debian "${S}"
79 for p in $(cat debian/patches/series) ; do
80 epatch debian/patches/$p
81 done
82 }
83
84 src_configure() {
85 # - LIPMI and BMC are the Solaris libs
86 # - OpenIPMI is unconditionally enabled in the configure as there is compat
87 # code that is used if the library itself is not available
88 # FreeIPMI does build now, but is disabled until the other arches keyword it
89 # `use_enable freeipmi intf-free` \
90 # --enable-ipmievd is now unconditional
91 econf \
92 --enable-ipmishell \
93 --enable-intf-lan \
94 --enable-intf-lanplus \
95 --enable-intf-open \
96 --enable-intf-serial \
97 --disable-intf-bmc \
98 --disable-intf-dummy \
99 --disable-intf-free \
100 --disable-intf-imb \
101 --disable-intf-lipmi \
102 --disable-internal-md5 \
103 --with-kerneldir=/usr --bindir=/usr/sbin \
104 || die "econf failed"
105 # Fix linux/ipmi.h to compile properly. This is a hack since it doesn't
106 # include the below file to define some things.
107 echo "#include <asm/byteorder.h>" >>config.h
108 }
109
110 src_compile() {
111 emake || die "emake failed"
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" PACKAGE="${PF}" install || die "emake install failed"
116
117 into /usr
118 dosbin contrib/bmclanconf
119 rm -f "${D}"/usr/share/doc/${PF}/COPYING
120 docinto contrib
121 cd "${S}"/contrib
122 dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README
123
124 newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd
125 newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd
126 # TODO: init script for contrib/bmc-snmp-proxy
127 # TODO: contrib/exchange-bmc-os-info
128 }