Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/mk-livestatus: mk-livestatus-1.1.8.ebuild ChangeLog mk-livestatus-1.1.10_p1.ebuild
Date: Wed, 27 Apr 2011 13:50:25
Message-Id: 20110427135015.C841220054@flycatcher.gentoo.org
1 idl0r 11/04/27 13:50:15
2
3 Modified: mk-livestatus-1.1.8.ebuild ChangeLog
4 Added: mk-livestatus-1.1.10_p1.ebuild
5 Log:
6 Version bump to 1.1.10_p1.
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild?r1=1.2&r2=1.3
16
17 Index: mk-livestatus-1.1.8.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- mk-livestatus-1.1.8.ebuild 11 Mar 2011 08:49:47 -0000 1.2
24 +++ mk-livestatus-1.1.8.ebuild 27 Apr 2011 13:50:15 -0000 1.3
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild,v 1.2 2011/03/11 08:49:47 tove Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.8.ebuild,v 1.3 2011/04/27 13:50:15 idl0r Exp $
30
31 EAPI=3
32
33 @@ -42,7 +42,7 @@
34 SRC_TEST="parallel"
35
36 src_prepare() {
37 - # Use system Module::Install instead, it will be copied to $WORKDIR by
38 + # Use system Module::Install instead, it will be copied to $S by
39 # Module::install itself.
40 rm -rf api/perl/inc
41
42
43
44
45 1.3 net-analyzer/mk-livestatus/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog?rev=1.3&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog?rev=1.3&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog?r1=1.2&r2=1.3
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog,v
54 retrieving revision 1.2
55 retrieving revision 1.3
56 diff -u -r1.2 -r1.3
57 --- ChangeLog 11 Mar 2011 08:49:47 -0000 1.2
58 +++ ChangeLog 27 Apr 2011 13:50:15 -0000 1.3
59 @@ -1,6 +1,12 @@
60 # ChangeLog for net-analyzer/mk-livestatus
61 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog,v 1.2 2011/03/11 08:49:47 tove Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/ChangeLog,v 1.3 2011/04/27 13:50:15 idl0r Exp $
64 +
65 +*mk-livestatus-1.1.10_p1 (27 Apr 2011)
66 +
67 + 27 Apr 2011; Christian Ruppert <idl0r@g.o> mk-livestatus-1.1.8.ebuild,
68 + +mk-livestatus-1.1.10_p1.ebuild:
69 + Version bump to 1.1.10_p1.
70
71 11 Mar 2011; Torsten Veller <tove@g.o> mk-livestatus-1.1.8.ebuild:
72 Change dependency: Thread-Queue is a core module
73
74
75
76 1.1 net-analyzer/mk-livestatus/mk-livestatus-1.1.10_p1.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.10_p1.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.10_p1.ebuild?rev=1.1&content-type=text/plain
80
81 Index: mk-livestatus-1.1.10_p1.ebuild
82 ===================================================================
83 # Copyright 1999-2011 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/mk-livestatus/mk-livestatus-1.1.10_p1.ebuild,v 1.1 2011/04/27 13:50:15 idl0r Exp $
86
87 EAPI=3
88
89 GENTOO_DEPEND_ON_PERL=no
90 PERL_EXPORT_PHASE_FUNCTIONS=no
91
92 MY_PV="${PV/_p/p}"
93 MY_P="${PN}-${MY_PV}"
94
95 inherit perl-module python
96
97 DESCRIPTION="Nagios/Icinga event broker module that allows quick/direct access to your status data"
98 HOMEPAGE="http://mathias-kettner.de/checkmk_livestatus.html"
99 SRC_URI="http://mathias-kettner.de/download/${MY_P}.tar.gz"
100
101 LICENSE="GPL-2"
102 SLOT="0"
103 KEYWORDS="~amd64 ~x86"
104 IUSE="examples perl python test"
105
106 RDEPEND="perl? (
107 dev-lang/perl
108 virtual/perl-Digest-MD5
109 virtual/perl-Thread-Queue
110 )"
111 DEPEND="${RDEPEND}
112 perl? (
113 dev-perl/Module-Install
114 test? (
115 dev-perl/File-Copy-Recursive
116 dev-perl/Test-Pod
117 dev-perl/Test-Perl-Critic
118 dev-perl/Test-Pod-Coverage
119 dev-perl/Perl-Critic
120 dev-perl/Perl-Critic-Policy-Dynamic-NoIndirect
121 dev-perl/Perl-Critic-Deprecated
122 dev-perl/Perl-Critic-Nits
123 )
124 )"
125
126 # For perl test
127 SRC_TEST="parallel"
128
129 S="${WORKDIR}/${MY_P}"
130
131 src_prepare() {
132 # Use system Module::Install instead, it will be copied to $S by
133 # Module::install itself.
134 rm -rf api/perl/inc
135
136 if use perl; then
137 perl-module_src_prepare
138 fi
139
140 sed -i -e 's:$(LDFLAGS) -s:$(LDFLAGS):' src/Makefile.in || die
141 }
142
143 src_configure() {
144 econf
145
146 if use perl; then
147 cd api/perl/
148 perl-module_src_configure
149 fi
150 }
151
152 src_compile() {
153 emake || die
154
155 if use perl; then
156 cd api/perl
157 perl-module_src_compile
158 fi
159 }
160
161 src_test() {
162 if use perl; then
163 cd api/perl
164
165 export TEST_AUTHOR="Test Author"
166 perl-module_src_test
167 fi
168 }
169
170 src_install() {
171 emake -C src/ DESTDIR="${D}" install-binPROGRAMS install-data-local || die
172
173 if use perl; then
174 cd api/perl
175 perl-module_src_install
176 cd "${S}"
177
178 if use examples; then
179 docinto examples/
180 dodoc api/perl/examples/dump.pl || die
181 fi
182 fi
183 if use python; then
184 insinto $(python_get_sitedir)
185 doins api/python/livestatus.py || die
186
187 if use examples; then
188 newdoc api/python/README README.python || die
189
190 docinto examples/
191 dodoc api/python/{example,example_multisite,make_nagvis_map}.py || die
192 fi
193 fi
194 }