diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-06-28 06:49:56 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-06-28 06:49:56 +0000 |
commit | ff6e16c1833ceac1c89debc2f31ce6dda3f7f822 (patch) | |
tree | 8af1f0f64e0cbad0f9dc579600a77799fd77c188 /net-analyzer/nagios | |
parent | x86 stable, bug #229561 (diff) | |
download | gentoo-2-ff6e16c1833ceac1c89debc2f31ce6dda3f7f822.tar.gz gentoo-2-ff6e16c1833ceac1c89debc2f31ce6dda3f7f822.tar.bz2 gentoo-2-ff6e16c1833ceac1c89debc2f31ce6dda3f7f822.zip |
Clean old versions
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'net-analyzer/nagios')
-rw-r--r-- | net-analyzer/nagios/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nagios/nagios-2.11.ebuild | 29 | ||||
-rw-r--r-- | net-analyzer/nagios/nagios-3.0.2.ebuild | 54 |
3 files changed, 5 insertions, 84 deletions
diff --git a/net-analyzer/nagios/ChangeLog b/net-analyzer/nagios/ChangeLog index a00f8df2e22a..59d8aa389356 100644 --- a/net-analyzer/nagios/ChangeLog +++ b/net-analyzer/nagios/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nagios # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.71 2008/06/25 18:40:41 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/ChangeLog,v 1.72 2008/06/28 06:49:56 dertobi123 Exp $ + + 28 Jun 2008; Tobias Scherbaum <dertobi123@gentoo.org> -nagios-2.11.ebuild, + -nagios-3.0.2.ebuild: + Clean old versions *nagios-3.0.3 (25 Jun 2008) diff --git a/net-analyzer/nagios/nagios-2.11.ebuild b/net-analyzer/nagios/nagios-2.11.ebuild deleted file mode 100644 index 67a169f35342..000000000000 --- a/net-analyzer/nagios/nagios-2.11.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-2.11.ebuild,v 1.4 2008/03/23 11:47:13 dertobi123 Exp $ - -DESCRIPTION="The Nagios metapackage - merge this to pull install all of the -nagios packages" -HOMEPAGE="http://www.nagios.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="~net-analyzer/nagios-core-${PV} - >=net-analyzer/nagios-plugins-1.4 - >=net-analyzer/nagios-nrpe-1.8 - >=net-analyzer/nagios-nsca-2.3 - >=net-analyzer/nagios-imagepack-1.0" - -pkg_postrm() { - elog "Note: this is a META ebuild for ${P}." - elog "to remove it completely or before re-emerging" - elog "either use 'depclean', or remove/re-emerge these packages:" - elog - for dep in ${RDEPEND}; do - elog " ${dep}" - done - echo -} diff --git a/net-analyzer/nagios/nagios-3.0.2.ebuild b/net-analyzer/nagios/nagios-3.0.2.ebuild deleted file mode 100644 index 8bb730186953..000000000000 --- a/net-analyzer/nagios/nagios-3.0.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-3.0.2.ebuild,v 1.3 2008/06/08 16:31:25 dertobi123 Exp $ - -DESCRIPTION="The Nagios metapackage - merge this to pull install all of the -nagios packages" -HOMEPAGE="http://www.nagios.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="~net-analyzer/nagios-core-${PV} - >=net-analyzer/nagios-plugins-1.4.12-r100 - >=net-analyzer/nagios-imagepack-1.0-r100" - -pkg_setup() { - # Avoid upgrading from Nagios <3 as the directory structure has changed - if [[ -f /var/lib/init.d/started/nagios ]] ; then - if has_version '<net-analyzer/nagios-3.0' ; then - if [[ "${FORCE_UPGRADE}" ]] ; then - echo - ewarn "you are upgrading from an incompatible version and have" - ewarn "FORCE_UPGRADE set, will build this package while Nagios is running." - echo - else - echo - eerror "You are upgrading from an incompatible version." - eerror "Please be advised that installation paths have changed to a more FHS" - eerror "compliant structure and you won't be able to easily upgrade to" - eerror "Nagios 3 therefore. You will have to change your configuration" - eerror "to reflect this change, for example Nagios plugins are now installed" - eerror "into /usr/$(get_libdir)/nagios/plugins/ instead of /usr/nagios/libexec." - echo - eerror "If you want to upgrade now, emerge nagios with:" - eerror " FORCE_UPGRADE=1 emerge nagios" - die "Upgrading from an incompatible version!" - echo - fi - fi - fi -} - -pkg_postrm() { - elog "Note: this is a META ebuild for ${P}." - elog "to remove it completely or before re-emerging" - elog "either use 'depclean', or remove/re-emerge these packages:" - elog - for dep in ${RDEPEND}; do - elog " ${dep}" - done - echo -} |