diff options
author | Peter Volkov <pva@gentoo.org> | 2010-11-15 15:38:09 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-11-15 15:38:09 +0000 |
commit | 2da78708e8b2ef5150f5478faab34af3a4df5fc1 (patch) | |
tree | 0934e6e1bc3567ff742cd894ba2b363868cce770 /net-analyzer | |
parent | Fix dependencies. (diff) | |
download | gentoo-2-2da78708e8b2ef5150f5478faab34af3a4df5fc1.tar.gz gentoo-2-2da78708e8b2ef5150f5478faab34af3a4df5fc1.tar.bz2 gentoo-2-2da78708e8b2ef5150f5478faab34af3a4df5fc1.zip |
Version bump, bug #324457, thank Luca Lesinigo for report and Jens Ott for initial work. Fixes multiple vulnerabilities, security bug #324031, thank Matthias Geerdsen for report. Fixes installation with new php version, bug #343205, thank Bradley Leininger for report.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.7g.ebuild (renamed from net-analyzer/cacti/cacti-0.8.7e-r1.ebuild) | 41 |
2 files changed, 31 insertions, 21 deletions
diff --git a/net-analyzer/cacti/ChangeLog b/net-analyzer/cacti/ChangeLog index 76981aabc336..4e79262962c0 100644 --- a/net-analyzer/cacti/ChangeLog +++ b/net-analyzer/cacti/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-analyzer/cacti # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.172 2010/07/03 13:25:29 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.173 2010/11/15 15:38:09 pva Exp $ + +*cacti-0.8.7g (15 Nov 2010) + + 15 Nov 2010; Peter Volkov <pva@gentoo.org> -cacti-0.8.7e-r1.ebuild, + +cacti-0.8.7g.ebuild: + Version bump, bug #324457, thank Luca Lesinigo for report and Jens Ott for + initial work. Fixes multiple vulnerabilities, security bug #324031, thank + Matthias Geerdsen for report. Fixes installation with new php version, bug + #343205, thank Bradley Leininger for report. *cacti-0.8.7e-r3 (03 Jul 2010) diff --git a/net-analyzer/cacti/cacti-0.8.7e-r1.ebuild b/net-analyzer/cacti/cacti-0.8.7g.ebuild index 3af569c9679e..4f2575679bae 100644 --- a/net-analyzer/cacti/cacti-0.8.7e-r1.ebuild +++ b/net-analyzer/cacti/cacti-0.8.7g.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7e-r1.ebuild,v 1.10 2010/04/14 20:41:50 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7g.ebuild,v 1.1 2010/11/15 15:38:09 pva Exp $ + +EAPI="2" inherit eutils webapp depend.php @@ -14,42 +16,47 @@ SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" # patches if [ "${HAS_PATCHES}" == "1" ] ; then - UPSTREAM_PATCHES="cli_add_graph - snmp_invalid_response - template_duplication - fix_icmp_on_windows_iis_servers - cross_site_fix" + UPSTREAM_PATCHES="data_source_deactivate + graph_list_view + html_output + ldap_group_authenication + script_server_command_line_parse + ping + poller_interval" for i in ${UPSTREAM_PATCHES} ; do SRC_URI="${SRC_URI} http://www.cacti.net/downloads/patches/${PV/_p*}/${i}.patch" done fi LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="snmp doc" DEPEND="" -need_php_cli need_httpd_cgi -need_php_httpd RDEPEND="snmp? ( >=net-analyzer/net-snmp-5.1.2 ) - <net-analyzer/rrdtool-1.4 + net-analyzer/rrdtool dev-php/adodb virtual/mysql - virtual/cron" + virtual/cron + dev-lang/php[cli,mysql,xml,session,sockets] + || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )" src_unpack() { + unpack ${MY_P}.tar.gz if [ "${HAS_PATCHES}" == "1" ] ; then - unpack ${MY_P}.tar.gz [ ! ${MY_P} == ${P} ] && mv ${MY_P} ${P} + fi +} + +src_prepare() { + if [ "${HAS_PATCHES}" == "1" ] ; then # patches for i in ${UPSTREAM_PATCHES} ; do EPATCH_OPTS="-p1 -d ${S} -N" epatch "${DISTDIR}"/${i}.patch done ; - else - unpack ${MY_P}.tar.gz fi sed -i -e \ @@ -59,12 +66,6 @@ src_unpack() { rm -rf lib/adodb # don't use bundled adodb } -pkg_setup() { - webapp_pkg_setup - has_php - require_php_with_use cli mysql xml session pcre sockets -} - src_compile() { :; } src_install() { |