1 |
dertobi123 08/12/02 17:49:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nagios-3.0.6.ebuild |
5 |
Removed: nagios-3.0.5.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.75 net-analyzer/nagios/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.75&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.75&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.74&r2=1.75 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v |
20 |
retrieving revision 1.74 |
21 |
retrieving revision 1.75 |
22 |
diff -u -r1.74 -r1.75 |
23 |
--- ChangeLog 6 Nov 2008 17:55:18 -0000 1.74 |
24 |
+++ ChangeLog 2 Dec 2008 17:49:44 -0000 1.75 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/nagios |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.74 2008/11/06 17:55:18 dertobi123 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.75 2008/12/02 17:49:44 dertobi123 Exp $ |
30 |
+ |
31 |
+*nagios-3.0.6 (02 Dec 2008) |
32 |
+ |
33 |
+ 02 Dec 2008; Tobias Scherbaum <dertobi123@g.o> |
34 |
+ -nagios-3.0.5.ebuild, +nagios-3.0.6.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
*nagios-3.0.5 (06 Nov 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-analyzer/nagios/nagios-3.0.6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios/nagios-3.0.6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nagios-3.0.6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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.0.6.ebuild,v 1.1 2008/12/02 17:49:44 dertobi123 Exp $ |
52 |
|
53 |
DESCRIPTION="The Nagios metapackage - merge this to pull install all of the |
54 |
nagios packages" |
55 |
HOMEPAGE="http://www.nagios.org" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
IUSE="" |
61 |
|
62 |
RDEPEND="~net-analyzer/nagios-core-${PV} |
63 |
>=net-analyzer/nagios-plugins-1.4.12-r100 |
64 |
>=net-analyzer/nagios-imagepack-1.0-r100" |
65 |
|
66 |
pkg_setup() { |
67 |
# Avoid upgrading from Nagios <3 as the directory structure has changed |
68 |
if [[ -f /var/lib/init.d/started/nagios ]] ; then |
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 |
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 |
} |