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: nagios-3.2.2.ebuild ChangeLog
Date: Thu, 02 Sep 2010 20:48:30
Message-Id: 20100902204823.35C3C20051@flycatcher.gentoo.org
1 dertobi123 10/09/02 20:48:23
2
3 Modified: ChangeLog
4 Added: nagios-3.2.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2_rc73/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.93 net-analyzer/nagios/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.93&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.93&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.92&r2=1.93
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
20 retrieving revision 1.92
21 retrieving revision 1.93
22 diff -u -r1.92 -r1.93
23 --- ChangeLog 23 Jul 2010 12:15:34 -0000 1.92
24 +++ ChangeLog 2 Sep 2010 20:48:23 -0000 1.93
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/nagios
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.92 2010/07/23 12:15:34 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.93 2010/09/02 20:48:23 dertobi123 Exp $
30 +
31 +*nagios-3.2.2 (02 Sep 2010)
32 +
33 + 02 Sep 2010; Tobias Scherbaum <dertobi123@g.o>
34 + +nagios-3.2.2.ebuild:
35 + Version bump
36
37 23 Jul 2010; Tobias Klausmann <klausman@g.o> nagios-3.2.1.ebuild:
38 Stable on alpha, bug #312843
39
40
41
42 1.1 net-analyzer/nagios/nagios-3.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nagios-3.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.2.2.ebuild,v 1.1 2010/09/02 20:48:23 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 }