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/nagios: ChangeLog nagios-3.0.4.ebuild nagios-3.0.3.ebuild
Date: Thu, 16 Oct 2008 17:44:59
Message-Id: E1KqWu9-0007TG-OU@stork.gentoo.org
1 dertobi123 08/10/16 17:44:57
2
3 Modified: ChangeLog
4 Added: nagios-3.0.4.ebuild
5 Removed: nagios-3.0.3.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64)
9
10 Revision Changes Path
11 1.73 net-analyzer/nagios/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 28 Jun 2008 06:49:56 -0000 1.72
24 +++ ChangeLog 16 Oct 2008 17:44:57 -0000 1.73
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/nagios
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.72 2008/06/28 06:49:56 dertobi123 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.73 2008/10/16 17:44:57 dertobi123 Exp $
30 +
31 +*nagios-3.0.4 (16 Oct 2008)
32 +
33 + 16 Oct 2008; Tobias Scherbaum <dertobi123@g.o>
34 + -nagios-3.0.3.ebuild, +nagios-3.0.4.ebuild:
35 + Version bump
36
37 28 Jun 2008; Tobias Scherbaum <dertobi123@g.o> -nagios-2.11.ebuild,
38 -nagios-3.0.2.ebuild:
39
40
41
42 1.1 net-analyzer/nagios/nagios-3.0.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nagios-3.0.4.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.0.4.ebuild,v 1.1 2008/10/16 17:44:57 dertobi123 Exp $
52
53 DESCRIPTION="The Nagios metapackage - merge this to pull install all of the
54 nagios packages"
55 HOMEPAGE="http://www.nagios.org"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE=""
61
62 RDEPEND="~net-analyzer/nagios-core-${PV}
63 >=net-analyzer/nagios-plugins-1.4.12-r100
64 >=net-analyzer/nagios-imagepack-1.0-r100"
65
66 pkg_setup() {
67 # Avoid upgrading from Nagios <3 as the directory structure has changed
68 if [[ -f /var/lib/init.d/started/nagios ]] ; then
69 if has_version '<net-analyzer/nagios-3.0' ; then
70 if [[ "${FORCE_UPGRADE}" ]] ; then
71 echo
72 ewarn "you are upgrading from an incompatible version and have"
73 ewarn "FORCE_UPGRADE set, will build this package while Nagios is running."
74 echo
75 else
76 echo
77 eerror "You are upgrading from an incompatible version."
78 eerror "Please be advised that installation paths have changed to a more FHS"
79 eerror "compliant structure and you won't be able to easily upgrade to"
80 eerror "Nagios 3 therefore. You will have to change your configuration"
81 eerror "to reflect this change, for example Nagios plugins are now installed"
82 eerror "into /usr/$(get_libdir)/nagios/plugins/ instead of /usr/nagios/libexec."
83 echo
84 eerror "If you want to upgrade now, emerge nagios with:"
85 eerror " FORCE_UPGRADE=1 emerge nagios"
86 die "Upgrading from an incompatible version!"
87 echo
88 fi
89 fi
90 fi
91 }
92
93 pkg_postrm() {
94 elog "Note: this is a META ebuild for ${P}."
95 elog "to remove it completely or before re-emerging"
96 elog "either use 'depclean', or remove/re-emerge these packages:"
97 elog
98 for dep in ${RDEPEND}; do
99 elog " ${dep}"
100 done
101 echo
102 }