1 |
flameeyes 11/09/07 06:20:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freeipmi-1.0.6-r1.ebuild |
5 |
Removed: freeipmi-1.0.6.ebuild freeipmi-1.0.5.ebuild |
6 |
Log: |
7 |
Bump with a patch that allows bmc-watchdog to behave and the init script to work correctly in Gentoo for the first time. |
8 |
|
9 |
(Portage version: 2.2.0_alpha53/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.37 sys-libs/freeipmi/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.37&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.37&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?r1=1.36&r2=1.37 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v |
21 |
retrieving revision 1.36 |
22 |
retrieving revision 1.37 |
23 |
diff -u -r1.36 -r1.37 |
24 |
--- ChangeLog 3 Sep 2011 02:06:29 -0000 1.36 |
25 |
+++ ChangeLog 7 Sep 2011 06:20:45 -0000 1.37 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for sys-libs/freeipmi |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.36 2011/09/03 02:06:29 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.37 2011/09/07 06:20:45 flameeyes Exp $ |
31 |
+ |
32 |
+*freeipmi-1.0.6-r1 (07 Sep 2011) |
33 |
+ |
34 |
+ 07 Sep 2011; Diego E. Pettenò <flameeyes@g.o> -freeipmi-1.0.5.ebuild, |
35 |
+ -freeipmi-1.0.6.ebuild, +freeipmi-1.0.6-r1.ebuild, |
36 |
+ +files/freeipmi-1.0.6-bmc-watchdog-pidfile.patch, |
37 |
+ +files/bmc-watchdog.initd.2, +files/ipmidetectd.initd.2: |
38 |
+ Bump with a patch that allows bmc-watchdog to behave and the init script to |
39 |
+ work correctly in Gentoo for the first time. |
40 |
|
41 |
*freeipmi-1.0.6 (03 Sep 2011) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 sys-libs/freeipmi/freeipmi-1.0.6-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.0.6-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.0.6-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: freeipmi-1.0.6-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2011 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.0.6-r1.ebuild,v 1.1 2011/09/07 06:20:45 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 |
|
74 |
src_prepare() { |
75 |
# Fix build mistake, only causes warnings but at least stop it. |
76 |
sed -i -e '/-module/d' "${S}"/libfreeipmi/src/Makefile.am || die |
77 |
|
78 |
epatch "${FILESDIR}"/${PN}-1.0.5-strictaliasing.patch |
79 |
epatch "${FILESDIR}"/${P}-bmc-watchdog-pidfile.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 || die "emake install failed" |
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.2 ipmidetectd |
124 |
|
125 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.2 bmc-watchdog |
126 |
newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog |
127 |
} |