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/ndoutils: ChangeLog ndoutils-1.4_beta9.ebuild ndoutils-1.4_beta8.ebuild
Date: Thu, 03 Jun 2010 18:41:56
Message-Id: 20100603184151.A64A02CF47@corvid.gentoo.org
1 dertobi123 10/06/03 18:41:51
2
3 Modified: ChangeLog
4 Added: ndoutils-1.4_beta9.ebuild
5 Removed: ndoutils-1.4_beta8.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.10 net-analyzer/ndoutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ndoutils/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ndoutils/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ndoutils/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ndoutils/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 21 Jul 2009 19:23:37 -0000 1.9
24 +++ ChangeLog 3 Jun 2010 18:41:51 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/ndoutils
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndoutils/ChangeLog,v 1.9 2009/07/21 19:23:37 dertobi123 Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndoutils/ChangeLog,v 1.10 2010/06/03 18:41:51 dertobi123 Exp $
31 +
32 +*ndoutils-1.4_beta9 (03 Jun 2010)
33 +
34 + 03 Jun 2010; Tobias Scherbaum <dertobi123@g.o>
35 + -ndoutils-1.4_beta8.ebuild, +ndoutils-1.4_beta9.ebuild:
36 + Version bump
37
38 *ndoutils-1.4_beta8 (21 Jul 2009)
39
40
41
42
43 1.1 net-analyzer/ndoutils/ndoutils-1.4_beta9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ndoutils/ndoutils-1.4_beta9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ndoutils/ndoutils-1.4_beta9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ndoutils-1.4_beta9.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndoutils/ndoutils-1.4_beta9.ebuild,v 1.1 2010/06/03 18:41:51 dertobi123 Exp $
53
54 inherit eutils
55
56 MY_P=${P/_beta/b}
57
58 DESCRIPTION="Nagios addon to store Nagios data in a MySQL database"
59 HOMEPAGE="http://www.nagios.org"
60 SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~ppc"
65 IUSE=""
66
67 DEPEND="dev-perl/DBI
68 dev-perl/DBD-mysql
69 virtual/mysql"
70 RDEPEND="${DEPEND}
71 >=net-analyzer/nagios-core-3.0"
72
73 S="${WORKDIR}/${MY_P}"
74
75 pkg_setup() {
76 enewgroup nagios
77 enewuser nagios -1 /bin/bash /var/nagios/home nagios
78 }
79
80 src_compile() {
81 econf \
82 --sysconfdir=/etc/nagios \
83 --enable-mysql \
84 --disable-pgsql || die "econf failed"
85
86 emake || die "emake failed"
87 }
88
89 src_install() {
90 emake install DESTDIR="${D}" || die "emake install failed"
91 emake install-config DESTDIR="${D}" || die "emake install-config failed"
92
93 dodoc README REQUIREMENTS TODO UPGRADING Changelog "docs/NDOUTILS DB Model.pdf" "docs/NDOUtils Documentation.pdf"
94
95 newinitd "${FILESDIR}"/ndo2db.init-nagios3 ndo2db
96 }
97
98 pkg_postinst() {
99 elog "To include NDO in your Nagios setup you'll need to activate the NDO broker module"
100 elog "in /etc/nagios/nagios.cfg:"
101 elog "\tbroker_module=/usr/bin/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg"
102 }