Gentoo Archives: gentoo-commits

From: "Chris Reffett (creffett)" <creffett@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios: nagios-3.5.1.ebuild ChangeLog
Date: Tue, 02 Sep 2014 14:38:27
Message-Id: 20140902143823.082E8487B@oystercatcher.gentoo.org
1 creffett 14/09/02 14:38:23
2
3 Modified: ChangeLog
4 Added: nagios-3.5.1.ebuild
5 Log:
6 Bump along with nagios-core
7
8 (Portage version: 2.2.12-r1/cvs/Linux x86_64, signed Manifest commit with key 28DB029C)
9
10 Revision Changes Path
11 1.114 net-analyzer/nagios/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.114&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?rev=1.114&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/ChangeLog?r1=1.113&r2=1.114
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v
20 retrieving revision 1.113
21 retrieving revision 1.114
22 diff -u -r1.113 -r1.114
23 --- ChangeLog 3 Aug 2014 16:45:03 -0000 1.113
24 +++ ChangeLog 2 Sep 2014 14:38:22 -0000 1.114
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/nagios
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.113 2014/08/03 16:45:03 tgall Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.114 2014/09/02 14:38:22 creffett Exp $
30 +
31 +*nagios-3.5.1 (02 Sep 2014)
32 +
33 + 02 Sep 2014; Chris Reffett <creffett@g.o> +nagios-3.5.1.ebuild:
34 + Bump along with nagios-core
35
36 03 Aug 2014; <tgall@g.o> nagios-3.3.1.ebuild:
37 arm64, initial support
38
39
40
41 1.1 net-analyzer/nagios/nagios-3.5.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.5.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios/nagios-3.5.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nagios-3.5.1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.5.1.ebuild,v 1.1 2014/09/02 14:38:22 creffett Exp $
51 EAPI=5
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 ~arm ~arm64 ~hppa ~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"
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 }