Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/sysstat: sysstat-11.1.1-r1.ebuild sysstat-11.0.1-r1.ebuild ChangeLog sysstat-11.0.1.ebuild sysstat-11.1.1.ebuild
Date: Fri, 26 Sep 2014 09:02:02
Message-Id: 20140926090158.894AF64F5@oystercatcher.gentoo.org
1 jer 14/09/26 09:01:58
2
3 Modified: ChangeLog
4 Added: sysstat-11.1.1-r1.ebuild sysstat-11.0.1-r1.ebuild
5 Removed: sysstat-11.0.1.ebuild sysstat-11.1.1.ebuild
6 Log:
7 Install alternative crontab file into /etc/cron.d instead of /etc/cron.{daily,hourly} by shino (bug #523766).
8
9 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.272 app-admin/sysstat/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?rev=1.272&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?rev=1.272&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?r1=1.271&r2=1.272
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v
21 retrieving revision 1.271
22 retrieving revision 1.272
23 diff -u -r1.271 -r1.272
24 --- ChangeLog 24 Sep 2014 10:43:46 -0000 1.271
25 +++ ChangeLog 26 Sep 2014 09:01:58 -0000 1.272
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-admin/sysstat
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.271 2014/09/24 10:43:46 nimiux Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.272 2014/09/26 09:01:58 jer Exp $
31 +
32 +*sysstat-11.1.1-r1 (26 Sep 2014)
33 +*sysstat-11.0.1-r1 (26 Sep 2014)
34 +
35 + 26 Sep 2014; Jeroen Roovers <jer@g.o> -sysstat-11.0.1.ebuild,
36 + +sysstat-11.0.1-r1.ebuild, -sysstat-11.1.1.ebuild, +sysstat-11.1.1-r1.ebuild:
37 + Install alternative crontab file into /etc/cron.d instead of
38 + /etc/cron.{daily,hourly} by shino (bug #523766).
39
40 24 Sep 2014; Chema Alonso <nimiux@g.o> sysstat-11.0.0.ebuild:
41 Stable for amd64 wrt bug #520940
42
43
44
45 1.1 app-admin/sysstat/sysstat-11.1.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-11.1.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-11.1.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: sysstat-11.1.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-11.1.1-r1.ebuild,v 1.1 2014/09/26 09:01:58 jer Exp $
55
56 EAPI=5
57 inherit eutils multilib systemd toolchain-funcs
58
59 DESCRIPTION="System performance tools for Linux"
60 HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
61 SRC_URI="${HOMEPAGE}${P}.tar.xz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS=""
66 IUSE="cron debug +doc isag nls lm_sensors selinux"
67
68 RDEPEND="
69 cron? ( sys-process/cronbase )
70 isag? (
71 dev-lang/tk
72 dev-vcs/rcs
73 sci-visualization/gnuplot
74 )
75 nls? ( virtual/libintl )
76 lm_sensors? ( sys-apps/lm_sensors )
77 selinux? ( sec-policy/selinux-sysstat )
78 "
79 DEPEND="
80 ${RDEPEND}
81 nls? ( sys-devel/gettext )
82 "
83
84 src_prepare() {
85 if use nls; then
86 strip-linguas -i nls/
87 local lingua pofile
88 for pofile in nls/*.po; do
89 lingua=${pofile/nls\/}
90 lingua=${lingua/.po}
91 if ! has ${lingua} ${LINGUAS}; then
92 rm "nls/${lingua}.po" || die
93 fi
94 done
95 fi
96 epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch
97 }
98
99 src_configure() {
100 tc-export AR
101 sa_lib_dir=/usr/$(get_libdir)/sa \
102 conf_dir=/etc \
103 rcdir=Gentoo-does-not-use-rc.d \
104 econf \
105 --enable-copy-only \
106 --with-systemdsystemunitdir=$(systemd_get_unitdir) \
107 $(use_enable cron install-cron) \
108 $(use_enable debug debuginfo) \
109 $(use_enable doc documentation ) \
110 $(use_enable isag install-isag) \
111 $(use_enable lm_sensors sensors) \
112 $(use_enable nls)
113 }
114
115 src_compile() {
116 emake LFLAGS="${LDFLAGS}"
117 }
118
119 src_install() {
120 keepdir /var/log/sa
121
122 use cron && dodir /etc/cron.d
123
124 emake \
125 DESTDIR="${D}" \
126 DOC_DIR=/usr/share/doc/${PF} \
127 install
128
129 dodoc contrib/sargraph/sargraph
130
131 newinitd "${FILESDIR}"/${PN}.init.d ${PN}
132 systemd_dounit ${PN}.service
133
134 use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
135 }
136
137
138
139 1.1 app-admin/sysstat/sysstat-11.0.1-r1.ebuild
140
141 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-11.0.1-r1.ebuild?rev=1.1&view=markup
142 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-11.0.1-r1.ebuild?rev=1.1&content-type=text/plain
143
144 Index: sysstat-11.0.1-r1.ebuild
145 ===================================================================
146 # Copyright 1999-2014 Gentoo Foundation
147 # Distributed under the terms of the GNU General Public License v2
148 # $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-11.0.1-r1.ebuild,v 1.1 2014/09/26 09:01:58 jer Exp $
149
150 EAPI=5
151 inherit eutils multilib systemd toolchain-funcs
152
153 DESCRIPTION="System performance tools for Linux"
154 HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
155 SRC_URI="${HOMEPAGE}${P}.tar.xz"
156
157 LICENSE="GPL-2"
158 SLOT="0"
159 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
160 IUSE="cron debug +doc isag nls lm_sensors selinux"
161
162 RDEPEND="
163 cron? ( sys-process/cronbase )
164 isag? (
165 dev-lang/tk
166 dev-vcs/rcs
167 sci-visualization/gnuplot
168 )
169 nls? ( virtual/libintl )
170 lm_sensors? ( sys-apps/lm_sensors )
171 selinux? ( sec-policy/selinux-sysstat )
172 "
173 DEPEND="
174 ${RDEPEND}
175 nls? ( sys-devel/gettext )
176 "
177
178 src_prepare() {
179 if use nls; then
180 strip-linguas -i nls/
181 local lingua pofile
182 for pofile in nls/*.po; do
183 lingua=${pofile/nls\/}
184 lingua=${lingua/.po}
185 if ! has ${lingua} ${LINGUAS}; then
186 rm "nls/${lingua}.po" || die
187 fi
188 done
189 fi
190 epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch
191 }
192
193 src_configure() {
194 tc-export AR
195 sa_lib_dir=/usr/$(get_libdir)/sa \
196 conf_dir=/etc \
197 rcdir=Gentoo-does-not-use-rc.d \
198 econf \
199 --enable-copy-only \
200 --with-systemdsystemunitdir=$(systemd_get_unitdir) \
201 $(use_enable cron install-cron) \
202 $(use_enable debug debuginfo) \
203 $(use_enable doc documentation ) \
204 $(use_enable isag install-isag) \
205 $(use_enable lm_sensors sensors) \
206 $(use_enable nls)
207 }
208
209 src_compile() {
210 emake LFLAGS="${LDFLAGS}"
211 }
212
213 src_install() {
214 keepdir /var/log/sa
215
216 use cron && dodir /etc/cron.d
217
218 emake \
219 DESTDIR="${D}" \
220 DOC_DIR=/usr/share/doc/${PF} \
221 install
222
223 dodoc contrib/sargraph/sargraph
224
225 newinitd "${FILESDIR}"/${PN}.init.d ${PN}
226 systemd_dounit ${PN}.service
227
228 use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
229 }