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