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