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.1.ebuild ChangeLog nagios-2.12.ebuild
Date: Fri, 02 Apr 2010 17:04:35
Message-Id: E1NxkIJ-0000Wf-En@stork.gentoo.org
1 dertobi123 10/04/02 17:04:31
2
3 Modified: ChangeLog
4 Added: nagios-3.2.1.ebuild
5 Removed: nagios-2.12.ebuild
6 Log:
7 Version bump, plus remove old 2.x series
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.86 net-analyzer/nagios/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.86&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.86&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.85&r2=1.86
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
20 retrieving revision 1.85
21 retrieving revision 1.86
22 diff -u -r1.85 -r1.86
23 --- ChangeLog 13 Aug 2009 14:51:20 -0000 1.85
24 +++ ChangeLog 2 Apr 2010 17:04:31 -0000 1.86
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/nagios
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.85 2009/08/13 14:51:20 dertobi123 Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.86 2010/04/02 17:04:31 dertobi123 Exp $
31 +
32 +*nagios-3.2.1 (02 Apr 2010)
33 +
34 + 02 Apr 2010; Tobias Scherbaum <dertobi123@g.o> -nagios-2.12.ebuild,
35 + +nagios-3.2.1.ebuild:
36 + Version bump, plus remove old 2.x series
37
38 *nagios-3.2.0 (13 Aug 2009)
39
40
41
42
43 1.1 net-analyzer/nagios/nagios-3.2.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.2.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.2.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nagios-3.2.1.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.1.ebuild,v 1.1 2010/04/02 17:04:31 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 }