Gentoo Archives: gentoo-commits

From: "Tiago Cunha (tcunha)" <tcunha@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/symon: ChangeLog metadata.xml symon-2.80.ebuild symon-2.79-r5.ebuild
Date: Tue, 01 Dec 2009 18:25:25
Message-Id: E1NFXPe-0005P7-J7@stork.gentoo.org
1 tcunha 09/12/01 18:25:22
2
3 Modified: ChangeLog metadata.xml
4 Added: symon-2.80.ebuild
5 Removed: symon-2.79-r5.ebuild
6 Log:
7 - Version bump.
8 - Remove old.
9 (Portage version: 2.1.6.13/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.8 net-analyzer/symon/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/ChangeLog?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/ChangeLog?r1=1.7&r2=1.8
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ChangeLog 8 Dec 2008 15:09:19 -0000 1.7
25 +++ ChangeLog 1 Dec 2009 18:25:22 -0000 1.8
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-analyzer/symon
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.7 2008/12/08 15:09:19 tcunha Exp $
30 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/ChangeLog,v 1.8 2009/12/01 18:25:22 tcunha Exp $
32 +
33 +*symon-2.80 (01 Dec 2009)
34 +
35 + 01 Dec 2009; Tiago Cunha <tcunha@g.o> -symon-2.79-r5.ebuild,
36 + +symon-2.80.ebuild, +files/symon.conf, -files/symon-symon.conf.patch,
37 + -files/symon-symux.conf.patch, +files/symux.conf, metadata.xml:
38 + - Version bump.
39 + - Remove old.
40
41 08 Dec 2008; Tiago Cunha <tcunha@g.o> metadata.xml,
42 symon-2.79-r5.ebuild:
43 @@ -45,167 +53,3 @@
44 Initial import from sunrise, bug #176635. Syweb splited into separate
45 package. Thank Tiago Cunha for all the work.
46
47 - 11 Aug 2008; Tiago Cunha (tcunha) <me@××××××××××.org> metadata.xml:
48 - Add USE flag description to metadata wrt GLEP 56
49 -
50 - 06 Aug 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
51 - symon-2.79-r1.ebuild:
52 - Improve syweb elog messages by saying how to customize it, and mention that
53 - there's a no user interaction php script
54 -
55 - 06 Aug 2008; Tiago Cunha (tcunha) <me@××××××××××.org> -symon-2.79.ebuild,
56 - +symon-2.79-r1.ebuild:
57 - Install syweb documentation, remove old
58 -
59 - 31 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
60 - symon doesn't use GNU make, hence ignore MAKEOPTS since some options aren't
61 - available in pmake (e.g. --load-average)
62 -
63 - 31 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
64 - Tell the user how to test the configuration files, and how the RRDs
65 - directory structure for syweb should be organized
66 -
67 - 31 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
68 - Make doins, dodoc, doman, dosbin, and dobin die on failure
69 -
70 - 31 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
71 - Shorten DESCRIPTION
72 -
73 - 21 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
74 - Improve elog messages
75 -
76 - 16 Jul 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
77 - Rename 'client' USE flag to 'perl'
78 -
79 - 11 Jun 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
80 - Simplify die messages, while there avoid using identical die messages in the
81 - same function to ease error identification
82 -
83 - 03 Jun 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
84 - Simplify sed calls
85 -
86 - 31 May 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
87 - Respect AR and RANLIB, while there beautify the ebuild
88 -
89 - 08 Apr 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.79.ebuild:
90 - Prettify src_compile, virtual/httpd-cgi removed from RDEPEND since it isn't
91 - needed
92 -
93 - 08 Apr 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
94 - -symon-2.78-r2.ebuild, +symon-2.79.ebuild:
95 - Version bump (syweb bumped too), remove old
96 -
97 - 21 Mar 2008; Jakub Moc <jakub@g.o> symon-2.78-r2.ebuild:
98 - Improve webapp eclass handling and fix dependencies
99 -
100 - 18 Mar 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
101 - files/symon-symon.conf.patch, files/symon-symux.conf.patch:
102 - Prettify the configuration files, add resources for MP machines, while there
103 - insert missing comments to document the patch purpose
104 -
105 - 18 Mar 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
106 - files/symon-syweb-class_lexer.inc.patch,
107 - files/symon-syweb-setup.inc.patch,
108 - files/symon-syweb-total_firewall.layout.patch:
109 - Improve patch comment about renaming the directories, while there prettify them
110 -
111 - 18 Mar 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
112 - symon-2.78-r2.ebuild:
113 - Tell the user to test the configuration files only after creating the RRDs,
114 - since symux reads the configuration file with file access checks (prevents
115 - symux -t from giving warnings)
116 -
117 - 18 Mar 2008; Tiago Cunha (tcunha) <me@××××××××××.org> files/symon-init.d,
118 - files/symux-init.d:
119 - Beautify the code by converting spaces to tabs
120 -
121 - 23 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
122 - symon-2.78-r2.ebuild:
123 - Remove slash from docinto, simplify elog messages
124 -
125 - 19 Feb 2008; Jakub Moc <jakub@g.o> symon-2.78-r2.ebuild:
126 - Fix php check in pkg_setup, add missing pkg_prerm for webapp.eclass
127 -
128 - 18 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
129 - symon-2.78-r2.ebuild:
130 - Introduce a new variable (CDEPEND) that will hold common dependencies for
131 - (R)DEPEND
132 -
133 - 18 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
134 - -symon-2.78-r1.ebuild, +symon-2.78-r2.ebuild:
135 - New USE flag 'client' added, remove old
136 -
137 - 17 Feb 2008; (Tommy[D]) tommy100@×××.de symon-2.78-r1.ebuild:
138 - Shorten description
139 -
140 - 03 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org> files/symon-init.d,
141 - files/symux-init.d:
142 - net is really necessary for the correct functioning of the service
143 -
144 - 03 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
145 - symon-2.78-r1.ebuild:
146 - Simplify elog messages
147 -
148 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
149 - symon-2.78-r1.ebuild:
150 - Die if sed failed
151 -
152 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
153 - symon-2.78-r1.ebuild:
154 - Append Gentoo CFLAGS in src_compile by using the CFLAGS variable from the
155 - portage environment instead of doing it with sed in src_unpack
156 -
157 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
158 - symon-2.78-r1.ebuild:
159 - Put sed calls after epatch ones to prevent breaking patches, and use "${S}"
160 - instead of hardcoding the directories
161 -
162 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
163 - symon-2.78-r1.ebuild:
164 - Do a safer pattern in sed when the user requested not to build the symux target
165 -
166 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
167 - symon-2.78-r1.ebuild:
168 - Instead of using sed and avoiding pre-stripping in src_unpack, make the
169 - package use the STRIP variable from the portage environment in src_compile
170 -
171 - 02 Feb 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
172 - symon-2.78-r1.ebuild:
173 - Instead of using sed and tc-getCC to call the correct gcc in src_unpack,
174 - make the package use the proper CC from the portage environment in
175 - src_compile
176 -
177 - 10 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
178 - symon-2.78-r1.ebuild:
179 - Avoid pre-stripping
180 -
181 - 10 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
182 - symon-2.78-r1.ebuild:
183 - Honour Gentoo CFLAGS
184 -
185 - 10 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org>
186 - symon-2.78-r1.ebuild:
187 - Fix hardcoded CC
188 -
189 - 09 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org> files/symon-init.d,
190 - +files/symux-init.d, -symon-2.78.ebuild, +symon-2.78-r1.ebuild:
191 - New USE flag 'symux' added, remove old
192 -
193 - 08 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.78.ebuild:
194 - Added ~amd64 keyword
195 -
196 - 07 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org> symon-2.78.ebuild:
197 - Bump syweb, too
198 -
199 - 07 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org> -symon-2.77.ebuild,
200 - +symon-2.78.ebuild:
201 - Version bump, remove old
202 -
203 - 06 Jan 2008; Tiago Cunha (tcunha) <me@××××××××××.org> +files/symon-init.d,
204 - +files/symon-symon.conf.patch, +files/symon-symux.conf.patch,
205 - +files/symon-syweb-class_lexer.inc.patch,
206 - +files/symon-syweb-setup.inc.patch,
207 - +files/symon-syweb-total_firewall.layout.patch, +metadata.xml,
208 - +symon-2.77.ebuild:
209 - New Ebuild for bug 176635
210 -
211
212
213
214 1.5 net-analyzer/symon/metadata.xml
215
216 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/metadata.xml?rev=1.5&view=markup
217 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/metadata.xml?rev=1.5&content-type=text/plain
218 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/metadata.xml?r1=1.4&r2=1.5
219
220 Index: metadata.xml
221 ===================================================================
222 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/symon/metadata.xml,v
223 retrieving revision 1.4
224 retrieving revision 1.5
225 diff -u -r1.4 -r1.5
226 --- metadata.xml 8 Dec 2008 15:09:19 -0000 1.4
227 +++ metadata.xml 1 Dec 2009 18:25:22 -0000 1.5
228 @@ -7,8 +7,8 @@
229 </maintainer>
230 <use>
231 <flag name='perl'>Enables a generic perl symux client</flag>
232 - <flag name='symon'>Enables the lightweight system monitor. Offers no
233 - functionality but monitoring and forwarding of measured data</flag>
234 + <flag name='symon'>Enables the system monitor. Offers no functionality
235 + but monitoring and forwarding of measured data</flag>
236 <flag name='symux'>Enables the multiplexer which stores incoming symon
237 streams on disk in RRD (<pkg>net-analyzer/rrdtool</pkg>) files</flag>
238 </use>
239
240
241
242 1.1 net-analyzer/symon/symon-2.80.ebuild
243
244 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/symon-2.80.ebuild?rev=1.1&view=markup
245 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/symon/symon-2.80.ebuild?rev=1.1&content-type=text/plain
246
247 Index: symon-2.80.ebuild
248 ===================================================================
249 # Copyright 1999-2009 Gentoo Foundation
250 # Distributed under the terms of the GNU General Public License v2
251 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/symon/symon-2.80.ebuild,v 1.1 2009/12/01 18:25:22 tcunha Exp $
252
253 EAPI="1"
254
255 inherit perl-module toolchain-funcs
256
257 DESCRIPTION="Performance and information monitoring tool"
258 HOMEPAGE="http://www.xs4all.nl/~wpd/symon/"
259 SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz"
260
261 LICENSE="BSD-2"
262 SLOT="0"
263 KEYWORDS="~amd64 ~sparc ~x86"
264 IUSE="perl +symon symux"
265
266 RDEPEND="perl? ( dev-lang/perl )
267 symux? ( net-analyzer/rrdtool )"
268 DEPEND="${RDEPEND}
269 virtual/pmake"
270
271 S=${WORKDIR}/${PN}
272
273 # Deletes the directory passed as an argument from the internal pmake
274 # variable SUBDIR.
275 zap_subdir() {
276 sed -i "/^SUBDIR/s/$1//" Makefile || die "sed $1 failed"
277 }
278
279 pkg_setup() {
280 use symon && USE_SYMON=1 && return
281
282 if ! use perl && ! use symon && ! use symux; then
283 ewarn "You have all available USE flags disabled. Therefore, only the"
284 ewarn "system monitor will be emerged. Please, enable at least one USE"
285 ewarn "flag to avoid this message."
286 USE_SYMON=1
287 fi
288 }
289
290 src_unpack() {
291 unpack ${A}
292 cd "${S}"
293
294 # Respect LDFLAGS.
295 sed -i "/^[ \t]*\${CC}.*\${LIBS}/s/\${CC}/& \${LDFLAGS}/" sym*/Makefile \
296 || die "sed ldflags failed"
297
298 # Do some sed magic in accordance with the USE flags.
299 use perl && [[ -z ${USE_SYMON} ]] && ! use symux && zap_subdir lib
300 ! use perl && zap_subdir client
301 ! use symux && zap_subdir symux
302 [[ -z ${USE_SYMON} ]] && zap_subdir symon
303 }
304
305 src_compile() {
306 pmake CC="$(tc-getCC)" CFLAGS+="${CFLAGS}" STRIP=true || die "pmake failed"
307 }
308
309 src_install() {
310 if [[ -n ${USE_SYMON} ]]; then
311 insinto /etc
312 doins "${FILESDIR}"/symon.conf || die "doins symon.conf failed"
313
314 newinitd "${FILESDIR}"/symon-init.d symon || die "newinitd symon failed"
315
316 dodoc CHANGELOG HACKERS TODO || die "dodoc failed"
317
318 doman symon/symon.8 || die "doman symon failed"
319 dosbin symon/symon || die "dosbin symon failed"
320 fi
321
322 if use perl; then
323 dobin client/getsymonitem.pl || die "dobin getsymonitem.pl failed"
324
325 perlinfo
326 insinto ${VENDOR_LIB}
327 doins client/SymuxClient.pm || die "doins SymuxClient.pm failed"
328 fi
329
330 if use symux; then
331 insinto /etc
332 doins "${FILESDIR}"/symux.conf || die "doins symux.conf failed"
333
334 newinitd "${FILESDIR}"/symux-init.d symux || die "newinitd symux failed"
335
336 doman symux/symux.8 || die "doman symux failed"
337 dosbin symux/symux || die "dosbin symux failed"
338
339 dodir /usr/share/symon
340 insinto /usr/share/symon
341 doins symux/c_smrrds.sh || die "doins c_smrrds.sh failed"
342 fperms a+x /usr/share/symon/c_smrrds.sh
343
344 dodir /var/lib/symon/rrds/localhost
345 fi
346 }
347
348 pkg_postinst() {
349 use perl && perl-module_pkg_postinst
350
351 if use symux; then
352 elog "The RRDs files can be obtained by running"
353 elog "/usr/share/symon/c_smrrds.sh all."
354 elog "For information about migrating RRDs from a previous"
355 elog "symux version read the LEGACY FORMATS section of symux(8)."
356 elog "To view the rrdtool pictures of the stored data, emerge"
357 elog "net-analyzer/syweb."
358 fi
359 }