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.0.6.ebuild nagios-3.1.0.ebuild
Date: Sun, 25 Jan 2009 17:14:58
Message-Id: E1LR8ZS-0007Zj-Ue@stork.gentoo.org
1 dertobi123 09/01/25 17:14:54
2
3 Modified: ChangeLog nagios-3.0.6.ebuild
4 Added: nagios-3.1.0.ebuild
5 Log:
6 Version bump (and set on nagios-plugins to 1.4.13-r1 for 3.0.6, too)
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.77 net-analyzer/nagios/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 4 Jan 2009 18:30:06 -0000 1.76
23 +++ ChangeLog 25 Jan 2009 17:14:54 -0000 1.77
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-analyzer/nagios
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.76 2009/01/04 18:30:06 dertobi123 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.77 2009/01/25 17:14:54 dertobi123 Exp $
29 +
30 +*nagios-3.1.0 (25 Jan 2009)
31 +
32 + 25 Jan 2009; Tobias Scherbaum <dertobi123@g.o> nagios-3.0.6.ebuild,
33 + +nagios-3.1.0.ebuild:
34 + Version bump (and set on nagios-plugins to 1.4.13-r1 for 3.0.6, too)
35
36 04 Jan 2009; Tobias Scherbaum <dertobi123@g.o> nagios-3.0.6.ebuild:
37 Fix detection for incompatible upgrades
38
39
40
41 1.3 net-analyzer/nagios/nagios-3.0.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild?rev=1.3&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild?rev=1.3&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild?r1=1.2&r2=1.3
46
47 Index: nagios-3.0.6.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild,v
50 retrieving revision 1.2
51 retrieving revision 1.3
52 diff -u -r1.2 -r1.3
53 --- nagios-3.0.6.ebuild 4 Jan 2009 18:30:06 -0000 1.2
54 +++ nagios-3.0.6.ebuild 25 Jan 2009 17:14:54 -0000 1.3
55 @@ -1,6 +1,6 @@
56 # Copyright 1999-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild,v 1.2 2009/01/04 18:30:06 dertobi123 Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild,v 1.3 2009/01/25 17:14:54 dertobi123 Exp $
60
61 DESCRIPTION="The Nagios metapackage - merge this to pull install all of the
62 nagios packages"
63 @@ -12,7 +12,7 @@
64 IUSE=""
65
66 RDEPEND="~net-analyzer/nagios-core-${PV}
67 - >=net-analyzer/nagios-plugins-1.4.12-r100
68 + >=net-analyzer/nagios-plugins-1.4.13-r1
69 >=net-analyzer/nagios-imagepack-1.0-r100"
70
71 pkg_setup() {
72
73
74
75 1.1 net-analyzer/nagios/nagios-3.1.0.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.1.0.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.1.0.ebuild?rev=1.1&content-type=text/plain
79
80 Index: nagios-3.1.0.ebuild
81 ===================================================================
82 # Copyright 1999-2009 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.1.0.ebuild,v 1.1 2009/01/25 17:14:54 dertobi123 Exp $
85
86 DESCRIPTION="The Nagios metapackage - merge this to pull install all of the
87 nagios packages"
88 HOMEPAGE="http://www.nagios.org"
89
90 LICENSE="GPL-2"
91 SLOT="0"
92 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
93 IUSE=""
94
95 RDEPEND="~net-analyzer/nagios-core-${PV}
96 >=net-analyzer/nagios-plugins-1.4.13-r1
97 >=net-analyzer/nagios-imagepack-1.0-r100"
98
99 pkg_setup() {
100 # Avoid upgrading from Nagios <3 as the directory structure has changed
101 if has_version '<net-analyzer/nagios-3.0' ; then
102 if [[ "${FORCE_UPGRADE}" ]] ; then
103 echo
104 ewarn "you are upgrading from an incompatible version and have"
105 ewarn "FORCE_UPGRADE set, will build this package while Nagios is running."
106 echo
107 else
108 echo
109 eerror "You are upgrading from an incompatible version."
110 eerror "Please be advised that installation paths have changed to a more FHS"
111 eerror "compliant structure and you won't be able to easily upgrade to"
112 eerror "Nagios 3 therefore. You will have to change your configuration"
113 eerror "to reflect this change, for example Nagios plugins are now installed"
114 eerror "into /usr/$(get_libdir)/nagios/plugins/ instead of /usr/nagios/libexec."
115 echo
116 eerror "If you want to upgrade now, emerge nagios with:"
117 eerror " FORCE_UPGRADE=1 emerge nagios"
118 die "Upgrading from an incompatible version!"
119 echo
120 fi
121 fi
122 }
123
124 pkg_postrm() {
125 elog "Note: this is a META ebuild for ${P}."
126 elog "to remove it completely or before re-emerging"
127 elog "either use 'depclean', or remove/re-emerge these packages:"
128 elog
129 for dep in ${RDEPEND}; do
130 elog " ${dep}"
131 done
132 echo
133 }