1 |
dertobi123 10/01/26 18:36:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pnp4nagios-0.6.2.ebuild |
5 |
Log: |
6 |
Version bump, #301273 |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.13 net-analyzer/pnp4nagios/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?rev=1.13&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?rev=1.13&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?r1=1.12&r2=1.13 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v |
19 |
retrieving revision 1.12 |
20 |
retrieving revision 1.13 |
21 |
diff -u -r1.12 -r1.13 |
22 |
--- ChangeLog 27 Oct 2009 19:40:42 -0000 1.12 |
23 |
+++ ChangeLog 26 Jan 2010 18:36:22 -0000 1.13 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-analyzer/pnp4nagios |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.12 2009/10/27 19:40:42 dertobi123 Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.13 2010/01/26 18:36:22 dertobi123 Exp $ |
30 |
+ |
31 |
+*pnp4nagios-0.6.2 (26 Jan 2010) |
32 |
+ |
33 |
+ 26 Jan 2010; Tobias Scherbaum <dertobi123@g.o> |
34 |
+ +pnp4nagios-0.6.2.ebuild: |
35 |
+ Version bump, #301273 |
36 |
|
37 |
*pnp4nagios-0.4.14 (27 Oct 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-analyzer/pnp4nagios/pnp4nagios-0.6.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.6.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.6.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pnp4nagios-0.6.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.6.2.ebuild,v 1.1 2010/01/26 18:36:22 dertobi123 Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
DESCRIPTION="A performance data analyzer for nagios" |
56 |
HOMEPAGE="http://www.pnp4nagios.org" |
57 |
|
58 |
SRC_URI="mirror://sourceforge/${PN}/PNP-0.6/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
IUSE="" |
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
|
65 |
DEPEND=">=dev-lang/php-4.3[gd-external,pcre,filter,xml,zlib] |
66 |
>=net-analyzer/rrdtool-1.2 |
67 |
net-analyzer/nagios-core" |
68 |
RDEPEND="${DEPEND} |
69 |
virtual/perl-Getopt-Long |
70 |
virtual/perl-Time-HiRes" |
71 |
|
72 |
src_configure() { |
73 |
econf \ |
74 |
--sysconfdir=/etc/pnp \ |
75 |
--datarootdir=/usr/share/pnp \ |
76 |
--with-perfdata-dir=/var/nagios/perfdata \ |
77 |
--with-perfdata-spool-dir=/var/spool/pnp || die "econf failed" |
78 |
} |
79 |
|
80 |
src_compile() { |
81 |
emake all || die "emake failed" |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
emake DESTDIR="${D}" install install-config || die "emake install failed" |
86 |
doinitd "${FILESDIR}/npcd" |
87 |
} |
88 |
|
89 |
pkg_postinst() { |
90 |
elog "To include the pnp webinterface into your Nagios setup you could use" |
91 |
elog "an Alias in you Apache configuration as follows:" |
92 |
|
93 |
elog "\tAlias /nagios/pnp /usr/share/pnp/" |
94 |
elog "\t<Directory "/usr/share/pnp">" |
95 |
elog "\t\tAllowOverride AuthConfig" |
96 |
elog "\t\tOrder allow,deny" |
97 |
elog "\t\tAllow from all" |
98 |
elog "\t</Directory>" |
99 |
} |