Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/pnp4nagios: ChangeLog pnp4nagios-0.4.12.ebuild pnp4nagios-0.4.7.ebuild pnp4nagios-0.4.11.ebuild pnp4nagios-0.4.10.ebuild
Date: Sat, 29 Nov 2008 17:09:32
Message-Id: E1L6TJy-0003ep-1g@stork.gentoo.org
1 dertobi123 08/11/29 17:09:30
2
3 Modified: ChangeLog
4 Added: pnp4nagios-0.4.12.ebuild
5 Removed: pnp4nagios-0.4.7.ebuild pnp4nagios-0.4.11.ebuild
6 pnp4nagios-0.4.10.ebuild
7 Log:
8 Cleanup, version bump and add hint on how to configure apache for pnp4nagios (#232474)
9 (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64)
10
11 Revision Changes Path
12 1.5 net-analyzer/pnp4nagios/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 29 Sep 2008 18:04:20 -0000 1.4
25 +++ ChangeLog 29 Nov 2008 17:09:29 -0000 1.5
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-analyzer/pnp4nagios
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.4 2008/09/29 18:04:20 dertobi123 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.5 2008/11/29 17:09:29 dertobi123 Exp $
31 +
32 +*pnp4nagios-0.4.12 (29 Nov 2008)
33 +
34 + 29 Nov 2008; Tobias Scherbaum <dertobi123@g.o>
35 + -pnp4nagios-0.4.7.ebuild, -pnp4nagios-0.4.10.ebuild,
36 + -pnp4nagios-0.4.11.ebuild, +pnp4nagios-0.4.12.ebuild:
37 + Cleanup, version bump and add hint on how to configure apache for pnp4nagios
38 + (#232474)
39
40 *pnp4nagios-0.4.11 (29 Sep 2008)
41
42
43
44
45 1.1 net-analyzer/pnp4nagios/pnp4nagios-0.4.12.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.4.12.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.4.12.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pnp4nagios-0.4.12.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.4.12.ebuild,v 1.1 2008/11/29 17:09:29 dertobi123 Exp $
55
56 inherit confutils
57
58 MY_P=pnp-${PV}
59
60 DESCRIPTION="A performance data analyzer for nagios"
61 HOMEPAGE="http://www.pnp4nagios.org"
62
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 IUSE=""
68 KEYWORDS="~x86 ~amd64 ~ppc"
69
70 DEPEND=">=dev-lang/php-4.3
71 >=net-analyzer/rrdtool-1.2
72 net-analyzer/nagios-core"
73 RDEPEND="${DEPEND}"
74
75 S=${WORKDIR}/${MY_P}
76
77 pkg_setup() {
78 confutils_require_built_with_all dev-lang/php gd pcre xml zlib
79 }
80
81 src_compile() {
82 econf \
83 --sysconfdir=/etc/pnp \
84 --datarootdir=/usr/share/pnp \
85 --with-perfdata-dir=/var/nagios/perfdata \
86 --with-perfdata-spool-dir=/var/spool/pnp || die "econf failed"
87 emake all || die "emake failed"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" fullinstall || die "emake install failed"
92 }
93
94 pkg_postinst() {
95 elog "To include the pnp webinterface into your Nagios setup you could use"
96 elog "an Alias in you Apache configuration as follows:"
97
98 elog "\tAlias /nagios/pnp /usr/share/pnp/"
99 elog "\t<Directory "/usr/share/pnp">"
100 elog "\t\tAllowOverride AuthConfig"
101 elog "\t\tOrder allow,deny"
102 elog "\t\tAllow from all"
103 elog "\t</Directory>"
104 }