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.2.3.ebuild nagios-3.0.6.ebuild nagios-3.2.2.ebuild
Date: Thu, 07 Oct 2010 17:03:26
Message-Id: 20101007162456.A8D6020051@flycatcher.gentoo.org
1 dertobi123 10/10/07 16:24:56
2
3 Modified: ChangeLog
4 Added: nagios-3.2.3.ebuild
5 Removed: nagios-3.0.6.ebuild nagios-3.2.2.ebuild
6 Log:
7 Version bump (#339831), cleanup
8
9 (Portage version: 2.2_rc88/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.96 net-analyzer/nagios/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.96&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.96&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.95&r2=1.96
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
21 retrieving revision 1.95
22 retrieving revision 1.96
23 diff -u -r1.95 -r1.96
24 --- ChangeLog 1 Oct 2010 00:46:39 -0000 1.95
25 +++ ChangeLog 7 Oct 2010 16:24:56 -0000 1.96
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/nagios
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.95 2010/10/01 00:46:39 ranger Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.96 2010/10/07 16:24:56 dertobi123 Exp $
31 +
32 +*nagios-3.2.3 (07 Oct 2010)
33 +
34 + 07 Oct 2010; Tobias Scherbaum <dertobi123@g.o>
35 + -nagios-3.0.6.ebuild, -nagios-3.2.2.ebuild, +nagios-3.2.3.ebuild:
36 + Version bump (#339831), cleanup
37
38 01 Oct 2010; Brent Baude <ranger@g.o> nagios-3.2.1.ebuild:
39 Marking nagios-3.2.1 ppc64 for bug 312843
40
41
42
43 1.1 net-analyzer/nagios/nagios-3.2.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.2.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.2.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nagios-3.2.3.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/nagios/nagios-3.2.3.ebuild,v 1.1 2010/10/07 16:24:56 dertobi123 Exp $
53
54 inherit multilib
55
56 DESCRIPTION="The Nagios metapackage - merge this to pull install all of the nagios packages"
57 HOMEPAGE="http://www.nagios.org"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE=""
63
64 RDEPEND="~net-analyzer/nagios-core-${PV}
65 >=net-analyzer/nagios-plugins-1.4.13-r1
66 >=net-analyzer/nagios-imagepack-1.0-r100"
67
68 pkg_setup() {
69 # Avoid upgrading from Nagios <3 as the directory structure has changed
70 if has_version '<net-analyzer/nagios-3.0' ; then
71 if [[ "${FORCE_UPGRADE}" ]] ; then
72 echo
73 ewarn "you are upgrading from an incompatible version and have"
74 ewarn "FORCE_UPGRADE set, will build this package while Nagios is running."
75 echo
76 else
77 echo
78 eerror "You are upgrading from an incompatible version."
79 eerror "Please be advised that installation paths have changed to a more FHS"
80 eerror "compliant structure and you won't be able to easily upgrade to"
81 eerror "Nagios 3 therefore. You will have to change your configuration"
82 eerror "to reflect this change, for example Nagios plugins are now installed"
83 eerror "into /usr/$(get_libdir)/nagios/plugins/ instead of /usr/nagios/libexec."
84 echo
85 eerror "If you want to upgrade now, emerge nagios with:"
86 eerror " FORCE_UPGRADE=1 emerge nagios"
87 die "Upgrading from an incompatible version!"
88 echo
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 }