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.1.2.ebuild nagios-3.1.0.ebuild
Date: Thu, 25 Jun 2009 16:08:50
Message-Id: E1MJrVI-0007T9-GW@stork.gentoo.org
1 dertobi123 09/06/25 16:08:48
2
3 Modified: ChangeLog
4 Added: nagios-3.1.2.ebuild
5 Removed: nagios-3.1.0.ebuild
6 Log:
7 Bump, somehow i forgot about it *sigh*
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.84 net-analyzer/nagios/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.84&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.84&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.83&r2=1.84
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
20 retrieving revision 1.83
21 retrieving revision 1.84
22 diff -u -r1.83 -r1.84
23 --- ChangeLog 18 Mar 2009 22:21:02 -0000 1.83
24 +++ ChangeLog 25 Jun 2009 16:08:48 -0000 1.84
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/nagios
27 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.83 2009/03/18 22:21:02 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.84 2009/06/25 16:08:48 dertobi123 Exp $
30 +
31 +*nagios-3.1.2 (25 Jun 2009)
32 +
33 + 25 Jun 2009; Tobias Scherbaum <dertobi123@g.o>
34 + -nagios-3.1.0.ebuild, +nagios-3.1.2.ebuild:
35 + Bump, somehow i forgot about it *sigh*
36
37 18 Mar 2009; Brent Baude <ranger@g.o> nagios-3.0.6.ebuild:
38 Marking nagios-3.0.6 ppc stable for bug 256177
39
40
41
42 1.1 net-analyzer/nagios/nagios-3.1.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.1.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.1.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nagios-3.1.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.1.2.ebuild,v 1.1 2009/06/25 16:08:48 dertobi123 Exp $
52
53 inherit multilib
54
55 DESCRIPTION="The Nagios metapackage - merge this to pull install all of the nagios packages"
56 HOMEPAGE="http://www.nagios.org"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE=""
62
63 RDEPEND="~net-analyzer/nagios-core-${PV}
64 >=net-analyzer/nagios-plugins-1.4.13-r1
65 >=net-analyzer/nagios-imagepack-1.0-r100"
66
67 pkg_setup() {
68 # Avoid upgrading from Nagios <3 as the directory structure has changed
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 }
91
92 pkg_postrm() {
93 elog "Note: this is a META ebuild for ${P}."
94 elog "to remove it completely or before re-emerging"
95 elog "either use 'depclean', or remove/re-emerge these packages:"
96 elog
97 for dep in ${RDEPEND}; do
98 elog " ${dep}"
99 done
100 echo
101 }