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