1 |
flameeyes 14/08/01 22:15:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freeipmi-1.4.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
9 |
|
10 |
Revision Changes Path |
11 |
1.85 sys-libs/freeipmi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.85&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?rev=1.85&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/ChangeLog?r1=1.84&r2=1.85 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v |
20 |
retrieving revision 1.84 |
21 |
retrieving revision 1.85 |
22 |
diff -u -r1.84 -r1.85 |
23 |
--- ChangeLog 28 Jun 2014 14:03:44 -0000 1.84 |
24 |
+++ ChangeLog 1 Aug 2014 22:15:33 -0000 1.85 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-libs/freeipmi |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.84 2014/06/28 14:03:44 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.85 2014/08/01 22:15:33 flameeyes Exp $ |
30 |
+ |
31 |
+*freeipmi-1.4.5 (01 Aug 2014) |
32 |
+ |
33 |
+ 01 Aug 2014; Diego E. Pettenò <flameeyes@g.o> +freeipmi-1.4.5.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*freeipmi-1.4.4 (28 Jun 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-libs/freeipmi/freeipmi-1.4.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.4.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/freeipmi/freeipmi-1.4.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: freeipmi-1.4.5.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-libs/freeipmi/freeipmi-1.4.5.ebuild,v 1.1 2014/08/01 22:15:33 flameeyes Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit autotools eutils multilib autotools-utils |
55 |
|
56 |
DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" |
57 |
HOMEPAGE="http://www.gnu.org/software/freeipmi/" |
58 |
|
59 |
MY_P="${P/_/.}" |
60 |
S="${WORKDIR}"/${MY_P} |
61 |
[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha" |
62 |
SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-3" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="debug nagios" |
68 |
|
69 |
RDEPEND="dev-libs/libgcrypt:0" |
70 |
DEPEND="${RDEPEND} |
71 |
virtual/os-headers" |
72 |
RDEPEND="${RDEPEND} |
73 |
nagios? ( |
74 |
|| ( net-analyzer/icinga net-analyzer/nagios ) |
75 |
dev-lang/perl |
76 |
) |
77 |
sys-apps/openrc" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch |
81 |
|
82 |
AT_M4DIR="config" eautoreconf |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
local myeconfargs=( |
87 |
$(use_enable debug) |
88 |
--disable-static |
89 |
--disable-init-scripts |
90 |
--localstatedir=/var |
91 |
) |
92 |
|
93 |
autotools-utils_src_configure |
94 |
} |
95 |
|
96 |
# There are no tests |
97 |
src_test() { :; } |
98 |
|
99 |
src_install() { |
100 |
autotools-utils_src_install |
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 |
# Install the nagios plugin in its proper place, if desired |
117 |
if use nagios; then |
118 |
dodir /usr/$(get_libdir)/nagios/plugins |
119 |
mv "${D}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \ |
120 |
"${D}"/usr/$(get_libdir)/nagios/plugins/ || die |
121 |
fperms 0755 /usr/$(get_libdir)/nagios/plugins/nagios_ipmi_sensors.pl |
122 |
|
123 |
insinto /etc/icinga/conf.d |
124 |
newins "${FILESDIR}"/freeipmi.icinga freeipmi-command.cfg |
125 |
fi |
126 |
|
127 |
dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt |
128 |
|
129 |
keepdir \ |
130 |
/var/cache/ipmimonitoringsdrcache \ |
131 |
/var/lib/freeipmi \ |
132 |
/var/log/ipmiconsole |
133 |
|
134 |
# starting from version 1.2.0 the two daemons are similar enough |
135 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd |
136 |
newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd |
137 |
|
138 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog |
139 |
newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog |
140 |
|
141 |
newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmiseld |
142 |
newconfd "${FILESDIR}"/ipmiseld.confd ipmiseld |
143 |
} |