Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/symon/files: symon-2.86-perl-5.18.patch
Date: Wed, 30 Jul 2014 14:49:16
Message-Id: 20140730144912.AACBB2004C@flycatcher.gentoo.org
1 jer 14/07/30 14:49:12
2
3 Added: symon-2.86-perl-5.18.patch
4 Log:
5 Fix building against dev-lang/perl-5.18. Move configuration logic to src_configure().
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-analyzer/symon/files/symon-2.86-perl-5.18.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/files/symon-2.86-perl-5.18.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/symon/files/symon-2.86-perl-5.18.patch?rev=1.1&content-type=text/plain
14
15 Index: symon-2.86-perl-5.18.patch
16 ===================================================================
17 --- a/client/SymuxClient.pm
18 +++ b/client/SymuxClient.pm
19 @@ -267,23 +267,35 @@
20
21 =head2 METHODS
22
23 +=over 4
24 +
25 =item getitem (host, stream, item)
26
27 +=back
28 +
29 Refresh the measured data and get an item from a stream for a particular
30 host. Note that successive calls for this function deal with successive
31 measurements of B<symon>. Set C<host> to '*' if data about any host is of
32 interest. Any errors are sent out on STDOUT prepended with 'error: '.
33
34 +=over 4
35 +
36 =item getcacheditem (host, stream, item)
37
38 +=back
39 +
40 Get an item from a stream for a particular host. Returns C<undef> if no data is
41 cached, or if the data cached does not match the B<host>. Can be called
42 multiple times to obtain items from the same measurement. Set C<host> to '*' if
43 data about any host is of interest. Any errors are sent out on STDOUT prepended
44 with 'error: '.
45
46 +=over 4
47 +
48 =item getsource ()
49
50 +=back
51 +
52 Get the symon source host of the currently cached information. Usefull to see
53 what host's data getcacheditem is working on.