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.3.1.ebuild nagios-3.2.0.ebuild nagios-3.2.1.ebuild
Date: Wed, 27 Jul 2011 16:16:54
Message-Id: 20110727161639.65BC02004B@flycatcher.gentoo.org
1 dertobi123 11/07/27 16:16:39
2
3 Modified: ChangeLog
4 Added: nagios-3.3.1.ebuild
5 Removed: nagios-3.2.0.ebuild nagios-3.2.1.ebuild
6 Log:
7 Version bump and cleanup, #376471
8
9 (Portage version: 2.1.10.7/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.103 net-analyzer/nagios/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.103&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.103&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.102&r2=1.103
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
21 retrieving revision 1.102
22 retrieving revision 1.103
23 diff -u -r1.102 -r1.103
24 --- ChangeLog 25 Jul 2011 16:27:02 -0000 1.102
25 +++ ChangeLog 27 Jul 2011 16:16:39 -0000 1.103
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/nagios
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.102 2011/07/25 16:27:02 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.103 2011/07/27 16:16:39 dertobi123 Exp $
31 +
32 +*nagios-3.3.1 (27 Jul 2011)
33 +
34 + 27 Jul 2011; Tobias Scherbaum <dertobi123@g.o> -nagios-3.2.0.ebuild,
35 + -nagios-3.2.1.ebuild, +nagios-3.3.1.ebuild:
36 + Version bump and cleanup, #376471
37
38 25 Jul 2011; Kacper Kowalik <xarthisius@g.o> nagios-3.2.3.ebuild:
39 ppc/ppc64 stable wrt #374553
40
41
42
43 1.1 net-analyzer/nagios/nagios-3.3.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.3.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.3.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nagios-3.3.1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 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.3.1.ebuild,v 1.1 2011/07/27 16:16:39 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 ~hppa ~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"
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 }