1 |
flameeyes 13/05/31 10:27:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freeipmi-1.3.0_beta0.ebuild |
5 |
Log: |
6 |
Version bump to latest beta. |
7 |
|
8 |
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
9 |
|
10 |
Revision Changes Path |
11 |
1.72 sys-libs/freeipmi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.72&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.72&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?r1=1.71&r2=1.72 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v |
20 |
retrieving revision 1.71 |
21 |
retrieving revision 1.72 |
22 |
diff -u -r1.71 -r1.72 |
23 |
--- ChangeLog 20 May 2013 19:58:18 -0000 1.71 |
24 |
+++ ChangeLog 31 May 2013 10:27:08 -0000 1.72 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-libs/freeipmi |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.71 2013/05/20 19:58:18 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.72 2013/05/31 10:27:08 flameeyes Exp $ |
30 |
+ |
31 |
+*freeipmi-1.3.0_beta0 (31 May 2013) |
32 |
+ |
33 |
+ 31 May 2013; Diego E. Pettenò <flameeyes@g.o> |
34 |
+ +freeipmi-1.3.0_beta0.ebuild: |
35 |
+ Version bump to latest beta. |
36 |
|
37 |
*freeipmi-1.2.7 (20 May 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-libs/freeipmi/freeipmi-1.3.0_beta0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.3.0_beta0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.3.0_beta0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freeipmi-1.3.0_beta0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.3.0_beta0.ebuild,v 1.1 2013/05/31 10:27:08 flameeyes Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit autotools eutils multilib autotools-utils |
56 |
|
57 |
DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" |
58 |
HOMEPAGE="http://www.gnu.org/software/freeipmi/" |
59 |
|
60 |
MY_P="${P/_/.}" |
61 |
S="${WORKDIR}"/${MY_P} |
62 |
[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha" |
63 |
SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-3" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="debug nagios" |
69 |
|
70 |
RDEPEND="dev-libs/libgcrypt" |
71 |
DEPEND="${RDEPEND} |
72 |
virtual/os-headers" |
73 |
RDEPEND="${RDEPEND} |
74 |
nagios? ( |
75 |
|| ( net-analyzer/icinga net-analyzer/nagios ) |
76 |
dev-lang/perl |
77 |
) |
78 |
sys-apps/openrc" |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch |
82 |
|
83 |
AT_M4DIR="config" eautoreconf |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
local myeconfargs=( |
88 |
$(use_enable debug) |
89 |
--disable-static |
90 |
--disable-init-scripts |
91 |
--localstatedir=/var |
92 |
) |
93 |
|
94 |
autotools-utils_src_configure |
95 |
} |
96 |
|
97 |
# There are no tests |
98 |
src_test() { :; } |
99 |
|
100 |
src_install() { |
101 |
autotools-utils_src_install |
102 |
|
103 |
# freeipmi by defaults install _all_ commands to /usr/sbin, but |
104 |
# quite a few can be run remotely as standard user, so move them |
105 |
# in /usr/bin afterwards. |
106 |
dodir /usr/bin |
107 |
for file in ipmi{detect,ping,power,console}; do |
108 |
mv "${D}"/usr/{s,}bin/${file} || die |
109 |
|
110 |
# The default install symlinks these commands to add a dash |
111 |
# after the ipmi prefix; we repeat those after move for |
112 |
# consistency. |
113 |
rm "${D}"/usr/sbin/${file/ipmi/ipmi-} |
114 |
dosym ${file} /usr/bin/${file/ipmi/ipmi-} |
115 |
done |
116 |
|
117 |
# Install the nagios plugin in its proper place, if desired |
118 |
if use nagios; then |
119 |
dodir /usr/$(get_libdir)/nagios/plugins |
120 |
mv "${D}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \ |
121 |
"${D}"/usr/$(get_libdir)/nagios/plugins/ || die |
122 |
fperms 0755 /usr/$(get_libdir)/nagios/plugins/nagios_ipmi_sensors.pl |
123 |
|
124 |
insinto /etc/icinga/conf.d |
125 |
newins "${FILESDIR}"/freeipmi.icinga freeipmi-command.cfg |
126 |
fi |
127 |
|
128 |
dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt |
129 |
|
130 |
keepdir \ |
131 |
/var/cache/ipmimonitoringsdrcache \ |
132 |
/var/lib/freeipmi \ |
133 |
/var/log/ipmiconsole |
134 |
|
135 |
# starting from version 1.2.0 the two daemons are similar enough |
136 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd |
137 |
newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd |
138 |
|
139 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog |
140 |
newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog |
141 |
|
142 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmiseld |
143 |
newconfd "${FILESDIR}"/ipmiseld.confd ipmiseld |
144 |
} |