Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/freeipmi: freeipmi-1.1.7.ebuild freeipmi-1.2.0_beta0.ebuild ChangeLog freeipmi-1.1.6-r1.ebuild
Date: Tue, 31 Jul 2012 01:41:46
Message-Id: 20120731014136.7AF542004B@flycatcher.gentoo.org
1 flameeyes 12/07/31 01:41:36
2
3 Modified: ChangeLog
4 Added: freeipmi-1.1.7.ebuild freeipmi-1.2.0_beta0.ebuild
5 Removed: freeipmi-1.1.6-r1.ebuild
6 Log:
7 Version bump to 1.1.7, and add the new beta. The new beta simplifies the init scripts as well.
8
9 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.52 sys-libs/freeipmi/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.52&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.52&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?r1=1.51&r2=1.52
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v
21 retrieving revision 1.51
22 retrieving revision 1.52
23 diff -u -r1.51 -r1.52
24 --- ChangeLog 29 Jul 2012 02:46:27 -0000 1.51
25 +++ ChangeLog 31 Jul 2012 01:41:36 -0000 1.52
26 @@ -1,6 +1,15 @@
27 # ChangeLog for sys-libs/freeipmi
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.51 2012/07/29 02:46:27 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.52 2012/07/31 01:41:36 flameeyes Exp $
31 +
32 +*freeipmi-1.1.7 (31 Jul 2012)
33 +*freeipmi-1.2.0_beta0 (31 Jul 2012)
34 +
35 + 31 Jul 2012; Diego E. Pettenò <flameeyes@g.o>
36 + +files/bmc-watchdog.initd.4, +files/ipmidetectd.confd, +freeipmi-1.1.7.ebuild,
37 + +freeipmi-1.2.0_beta0.ebuild, -freeipmi-1.1.6-r1.ebuild:
38 + Version bump to 1.1.7, and add the new beta. The new beta simplifies the init
39 + scripts as well.
40
41 *freeipmi-1.1.6-r1 (29 Jul 2012)
42
43
44
45
46 1.1 sys-libs/freeipmi/freeipmi-1.1.7.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.1.7.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.1.7.ebuild?rev=1.1&content-type=text/plain
50
51 Index: freeipmi-1.1.7.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.1.7.ebuild,v 1.1 2012/07/31 01:41:36 flameeyes Exp $
56
57 EAPI=4
58
59 inherit autotools eutils
60
61 DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
62 HOMEPAGE="http://www.gnu.org/software/freeipmi/"
63 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
64 http://ftp.gluster.com/pub/${PN}/${PV}/${P}.tar.gz"
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="debug"
69
70 RDEPEND="dev-libs/libgcrypt"
71 DEPEND="${RDEPEND}
72 virtual/os-headers"
73 RDEPEND="${RDEPEND}
74 sys-apps/openrc"
75
76 src_prepare() {
77 epatch \
78 "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch \
79 "${FILESDIR}"/${PN}-1.1.6-thresholds.patch
80
81 AT_M4DIR="config" eautoreconf
82 }
83
84 src_configure() {
85 econf \
86 $(use_enable debug) \
87 --disable-dependency-tracking \
88 --enable-fast-install \
89 --disable-static \
90 --disable-init-scripts \
91 --enable-logrotate-config \
92 --localstatedir=/var
93 }
94
95 # There are no tests
96 src_test() { :; }
97
98 src_install() {
99 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
100 find "${D}" -name '*.la' -delete
101
102 # freeipmi by defaults install _all_ commands to /usr/sbin, but
103 # quite a few can be run remotely as standard user, so move them
104 # in /usr/bin afterwards.
105 dodir /usr/bin
106 for file in ipmi{detect,ping,power,console}; do
107 mv "${D}"/usr/{s,}bin/${file} || die
108
109 # The default install symlinks these commands to add a dash
110 # after the ipmi prefix; we repeat those after move for
111 # consistency.
112 rm "${D}"/usr/sbin/${file/ipmi/ipmi-}
113 dosym ${file} /usr/bin/${file/ipmi/ipmi-}
114 done
115
116 dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
117
118 keepdir \
119 /var/cache/ipmimonitoringsdrcache \
120 /var/lib/freeipmi \
121 /var/log/{freeipmi,ipmiconsole}
122
123 newinitd "${FILESDIR}"/ipmidetectd.initd.3 ipmidetectd
124
125 newinitd "${FILESDIR}"/bmc-watchdog.initd.3 bmc-watchdog
126 newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog
127 }
128
129
130
131 1.1 sys-libs/freeipmi/freeipmi-1.2.0_beta0.ebuild
132
133 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.2.0_beta0.ebuild?rev=1.1&view=markup
134 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.2.0_beta0.ebuild?rev=1.1&content-type=text/plain
135
136 Index: freeipmi-1.2.0_beta0.ebuild
137 ===================================================================
138 # Copyright 1999-2012 Gentoo Foundation
139 # Distributed under the terms of the GNU General Public License v2
140 # $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.2.0_beta0.ebuild,v 1.1 2012/07/31 01:41:36 flameeyes Exp $
141
142 EAPI=4
143
144 inherit autotools eutils
145
146 DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
147 HOMEPAGE="http://www.gnu.org/software/freeipmi/"
148
149 MY_P="${P/_/.}"
150 S="${WORKDIR}"/${MY_P}
151 [[ ${MY_P} == *.beta* ]] && ALPHA="-alpha"
152 SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz"
153
154 LICENSE="GPL-3"
155 SLOT="0"
156 KEYWORDS="~amd64 ~x86"
157 IUSE="debug"
158
159 RDEPEND="dev-libs/libgcrypt"
160 DEPEND="${RDEPEND}
161 virtual/os-headers"
162 RDEPEND="${RDEPEND}
163 sys-apps/openrc"
164
165 src_prepare() {
166 epatch \
167 "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch
168
169 AT_M4DIR="config" eautoreconf
170 }
171
172 src_configure() {
173 econf \
174 $(use_enable debug) \
175 --disable-dependency-tracking \
176 --enable-fast-install \
177 --disable-static \
178 --disable-init-scripts \
179 --localstatedir=/var
180 }
181
182 # There are no tests
183 src_test() { :; }
184
185 src_install() {
186 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
187 find "${D}" -name '*.la' -delete
188
189 # freeipmi by defaults install _all_ commands to /usr/sbin, but
190 # quite a few can be run remotely as standard user, so move them
191 # in /usr/bin afterwards.
192 dodir /usr/bin
193 for file in ipmi{detect,ping,power,console}; do
194 mv "${D}"/usr/{s,}bin/${file} || die
195
196 # The default install symlinks these commands to add a dash
197 # after the ipmi prefix; we repeat those after move for
198 # consistency.
199 rm "${D}"/usr/sbin/${file/ipmi/ipmi-}
200 dosym ${file} /usr/bin/${file/ipmi/ipmi-}
201 done
202
203 dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
204
205 keepdir \
206 /var/cache/ipmimonitoringsdrcache \
207 /var/lib/freeipmi \
208 /var/log/ipmiconsole
209
210 # starting from version 1.2.0 the two daemons are similar enough
211 newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd
212 newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd
213
214 newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog
215 newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog
216 }