diff options
author | Peter Volkov <pva@gentoo.org> | 2008-02-13 13:24:43 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-02-13 13:24:43 +0000 |
commit | 91837d2447bdd80c709b0fcfaf161e23a991587c (patch) | |
tree | c9c3e1329bae6d4fc32b5c63d6311edb79a8ea3a /net-analyzer | |
parent | Adding psi while it's not in the tree, bug 131528 (diff) | |
download | pva-91837d2447bdd80c709b0fcfaf161e23a991587c.tar.gz pva-91837d2447bdd80c709b0fcfaf161e23a991587c.tar.bz2 pva-91837d2447bdd80c709b0fcfaf161e23a991587c.zip |
Includes fixed (possibly) upgrade path from 0.8.6k (in comments).
svn path=/; revision=112
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/ChangeLog | 533 | ||||
-rw-r--r-- | net-analyzer/cacti/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.7b-r1.ebuild | 96 | ||||
-rw-r--r-- | net-analyzer/cacti/files/cacti-0.8.6j-dos-large-values.patch | 30 | ||||
-rw-r--r-- | net-analyzer/cacti/files/postinstall-en.txt | 62 | ||||
-rw-r--r-- | net-analyzer/cacti/metadata.xml | 14 |
6 files changed, 741 insertions, 0 deletions
diff --git a/net-analyzer/cacti/ChangeLog b/net-analyzer/cacti/ChangeLog new file mode 100644 index 0000000..a5fb9b9 --- /dev/null +++ b/net-analyzer/cacti/ChangeLog @@ -0,0 +1,533 @@ +# ChangeLog for net-analyzer/cacti +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.122 2008/02/05 10:53:12 corsair Exp $ + + 05 Feb 2008; Markus Rothe <corsair@gentoo.org> cacti-0.8.7a.ebuild: + Stable on ppc64 + + 22 Jan 2008; Brent Baude <ranger@gentoo.org> cacti-0.8.6j-r7.ebuild: + Marking cacti-0.8.6j-r7 ppc to make a happy tree + +*cacti-0.8.7a-r1 (22 Jan 2008) + + 22 Jan 2008; <pva@gentoo.org> -cacti-0.8.6j-r6.ebuild, + -cacti-0.8.7-r1.ebuild, +cacti-0.8.7a-r1.ebuild: + Added upstream fixes. Removed unused ebuilds. + + 21 Jan 2008; Jeroen Roovers <jer@gentoo.org> cacti-0.8.7a.ebuild: + Stable for HPPA (bug #206921). + + 23 Nov 2007; Markus Rothe <corsair@gentoo.org> cacti-0.8.6j-r7.ebuild: + Stable on ppc64; bug #199509 + + 22 Nov 2007; Raúl Porcel <armin76@gentoo.org> cacti-0.8.6j-r7.ebuild: + alpha/sparc stable wrt security #199509 + + 22 Nov 2007; Christian Faulhammer <opfer@gentoo.org> + cacti-0.8.6j-r7.ebuild: + stable x86, security bug 199509 + + 21 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> + cacti-0.8.6j-r7.ebuild: + Stable on amd64 wrt bug #199509. + +*cacti-0.8.7a (18 Nov 2007) +*cacti-0.8.6j-r7 (18 Nov 2007) + + 18 Nov 2007; <pva@gentoo.org> +cacti-0.8.6j-r7.ebuild, + -cacti-0.8.7.ebuild, +cacti-0.8.7a.ebuild: + New release 0.8.7a and new patch 0.8.6j-r7. Fixes possible Possible SQL + injection issue was resolved, bug #199509. + +*cacti-0.8.7-r1 (03 Nov 2007) + + 03 Nov 2007; <pva@gentoo.org> cacti-0.8.6j-r6.ebuild, + +cacti-0.8.7-r1.ebuild: + Added patches from upstream, fix bug #194166, small changes in 0.8.6j-r6 to + shut up repoman. + +*cacti-0.8.7 (29 Oct 2007) + + 29 Oct 2007; Markus Ullmann <jokey@gentoo.org> metadata.xml, + +cacti-0.8.7.ebuild: + Version bump with a bunch of fixes, check upstream changelog for details + + 19 Jul 2007; Christoph Mende <angelos@gentoo.org> cacti-0.8.6j-r6.ebuild: + Stable on amd64 wrt bug #172378 + + 03 Jul 2007; <pva@gentoo.org> -cacti-0.8.6i-r1.ebuild, + -cacti-0.8.6j-r4.ebuild, -cacti-0.8.6j-r5.ebuild, cacti-0.8.6j-r6.ebuild: + Added pcre and session php checks. Fixed bug #184057. Removed vulnerable to + bug #181112 versions. + + 09 Jun 2007; Markus Rothe <corsair@gentoo.org> cacti-0.8.6j-r6.ebuild: + Stable on ppc64; bug #181112 + + 09 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> + cacti-0.8.6j-r6.ebuild: + ppc stable, bug #181112 + + 08 Jun 2007; Raúl Porcel <armin76@gentoo.org> cacti-0.8.6j-r6.ebuild: + alpha stable wrt security #181112 + + 08 Jun 2007; <pva@gentoo.org> cacti-0.8.6j-r6.ebuild: + Call require_php_with_use only once. Thank armin76 for the fix. + + 07 Jun 2007; Markus Rothe <corsair@gentoo.org> cacti-0.8.6j-r5.ebuild: + Stable on ppc64; bug #181112 + + 07 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> + cacti-0.8.6j-r6.ebuild: + Stable on sparc wrt #181112 + + 07 Jun 2007; Christian Faulhammer <opfer@gentoo.org> + cacti-0.8.6j-r6.ebuild: + stable x86, security bug 181112 + +*cacti-0.8.6j-r6 (07 Jun 2007) + + 07 Jun 2007; <pva@gentoo.org> +cacti-0.8.6j-r6.ebuild: + New patch from upstream: snmpwalk_fix. + + 06 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> + cacti-0.8.6j-r5.ebuild: + Stable on sparc wrt security #181112 + +*cacti-0.8.6j-r5 (06 Jun 2007) + + 06 Jun 2007; Raphael Marichez <falco@gentoo.org> + +files/cacti-0.8.6j-dos-large-values.patch, +cacti-0.8.6j-r5.ebuild: + Version bump, security bug 181112 + + 02 Jun 2007; Lars Weiler <pylon@gentoo.org> cacti-0.8.6j-r4.ebuild: + Stable on ppc; bug #174551. + + 13 May 2007; <pva@gentoo.org> cacti-0.8.6i-r1.ebuild, + cacti-0.8.6j-r4.ebuild: + lighttpd is stable on alpha and sparc so removing !archs from RDEPEND. + Actually remove snmp from php check, bug #178263. + + 12 May 2007; Luca Longinotti <chtekk@gentoo.org> cacti-0.8.6i-r1.ebuild, + cacti-0.8.6j-r4.ebuild: + Fix bug #178258 (remove apache1 support). + + 12 May 2007; <pva@gentoo.org> ChangeLog: + I was too fast in my previous bump. cacti works with snmp utilities fine + too. No need in snmp support in php. + + 12 May 2007; <pva@gentoo.org> cacti-0.8.6j-r4.ebuild: + php should be compiled with snmp for cacti. + + 19 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> + cacti-0.8.6j-r4.ebuild: + Stable on sparc wrt #174551 + + 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org> + cacti-0.8.6j-r4.ebuild: + stable x86, bug 174551 + + 15 Apr 2007; Markus Rothe <corsair@gentoo.org> cacti-0.8.6j-r4.ebuild: + Stable on ppc64; bug #174551 + +*cacti-0.8.6j-r4 (27 Mar 2007) + + 27 Mar 2007; <pva@gentoo.org> -cacti-0.8.6j-r2.ebuild, + -cacti-0.8.6j-r3.ebuild, +cacti-0.8.6j-r4.ebuild: + Patch from upstream (Graph Debug Apache Lockup Issue). + + 10 Mar 2007; Matti Bickel <mabi@gentoo.org> cacti-0.8.6i-r1.ebuild: + ppc stable (bug #155147) + +*cacti-0.8.6j-r3 (27 Feb 2007) + + 27 Feb 2007; <pva@gentoo.org> +cacti-0.8.6j-r3.ebuild: + Use external adodb instead of bundled with package if bundeled-adodb USE + flag is off. Thank Francisco Javier <ffelix AT sshinf.com> for report. + +*cacti-0.8.6j-r2 (26 Feb 2007) + + 26 Feb 2007; <pva@gentoo.org> -cacti-0.8.6j-r1.ebuild, + +cacti-0.8.6j-r2.ebuild: + Another patch from UPSTREAM. + +*cacti-0.8.6j-r1 (28 Jan 2007) + + 28 Jan 2007; <pva@gentoo.org> -cacti-0.8.6j.ebuild, + +cacti-0.8.6j-r1.ebuild: + Upstream released ping_php_version4_snmpgetnext and + tree_console_missing_hosts patches. Thank Hans Rakers <hans AT parse.nl> for + report about ping problem in bug #159278. + + 26 Jan 2007; <pva@gentoo.org> -cacti-0.8.6h_p20060108-r2.ebuild, + -cacti-0.8.6i.ebuild: + Cleaning out vulnerable (see bug #159278) versions. + +*cacti-0.8.6j (21 Jan 2007) + + 21 Jan 2007; <pva@gentoo.org> +cacti-0.8.6j.ebuild: + Version bump reported by Hans Rakers <hans AT parse.nl> in bug #159278. + + 16 Jan 2007; Jason Wever <weeve@gentoo.org> cacti-0.8.6i-r1.ebuild: + Stable on SPARC wrt security bug #159278. + + 14 Jan 2007; Jose Luis Rivero <yoswink@gentoo.org> cacti-0.8.6i-r1.ebuild: + Stable on alpha wrt security bug #159278 + + 14 Jan 2007; Andrej Kacian <ticho@gentoo.org> cacti-0.8.6i-r1.ebuild: + Stable on x86, security bug #159278. + + 13 Jan 2007; Markus Rothe <corsair@gentoo.org> cacti-0.8.6i-r1.ebuild: + Stable on ppc64; bug #159278 + +*cacti-0.8.6i-r1 (07 Jan 2007) + + 07 Jan 2007; Peter Volkov <pva@gentoo.org> +cacti-0.8.6i-r1.ebuild: + Include patches released by upstream. Should close vulnerabilities reported + in bug #159278. + + 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild, cacti-0.8.6i.ebuild: + dev-db/mysql => virtual/mysql + + 01 Nov 2006; Markus Ullmann <jokey@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Fixing DEPEND wrt bug #153243 + +*cacti-0.8.6i (14 Oct 2006) + + 14 Oct 2006; Lance Albertson <ramereth@gentoo.org> +cacti-0.8.6i.ebuild: + * Version bump + * Fix misc issues in bug #132038 + * Fixed patching code to be more scalable + + 01 Jun 2006; Markus Ullmann <jokey@gentoo.org> files/postinstall-en.txt: + Adjusting postinstall instructions wrt bug #135082 + + 29 May 2006; Daniel Black <dragonheart@gentoo.org> -cacti-0.8.6g.ebuild, + -cacti-0.8.6g_p20051023.ebuild, -cacti-0.8.6h.ebuild, + -cacti-0.8.6h_p20060108.ebuild, -cacti-0.8.6h_p20060108-r1.ebuild: + punt security vulnerable versions + + 23 May 2006; Markus Rothe <corsair@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Stable on ppc64 + + 12 May 2006; Michael Sterrett <mr_bones_@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + ppc64 needs www-servers/lighttpd first before being marked stable + + 07 May 2006; Markus Rothe <corsair@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Stable on ppc64 + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-cacti-0.8.6g, + files/digest-cacti-0.8.6g_p20051023, files/digest-cacti-0.8.6h, + files/digest-cacti-0.8.6h_p20060108, + files/digest-cacti-0.8.6h_p20060108-r1, + files/digest-cacti-0.8.6h_p20060108-r2, Manifest: + Fixing SHA256 digest, pass four + + 13 Apr 2006; Jason Wever <weeve@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Stable on SPARC wrt security bug #129284. + + 11 Apr 2006; Jose Luis Rivero <yoswink@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Stable on alpha wrt bug #129284 + + 11 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> + cacti-0.8.6h_p20060108-r2.ebuild: + Stable on x86 wrt bug #129284. + +*cacti-0.8.6h_p20060108-r2 (11 Apr 2006) + + 11 Apr 2006; Lance Albertson <ramereth@gentoo.org> + +cacti-0.8.6h_p20060108-r2.ebuild: + * Rev bump to fix security bug #129284 + +*cacti-0.8.6h_p20060108-r1 (03 Apr 2006) + + 03 Apr 2006; Lance Albertson <ramereth@gentoo.org> + +cacti-0.8.6h_p20060108-r1.ebuild: + * Fixed log/cacti.log to be server owned per bug #126142 + + 12 Mar 2006; Lance Albertson <ramereth@gentoo.org> + files/postinstall-en.txt, cacti-0.8.6h.ebuild, + cacti-0.8.6h_p20060108.ebuild: + * Stable on x86 + * Fixed the rra/ dir to be server owned + * Added additional step to postinst doc + +*cacti-0.8.6h_p20060108 (16 Jan 2006) + + 16 Jan 2006; Lance Albertson <ramereth@gentoo.org> + +cacti-0.8.6h_p20060108.ebuild: + * Version bump (new patched version) + + 16 Jan 2006; Lance Albertson <ramereth@gentoo.org> cacti-0.8.6h.ebuild: + * Corrected ebuild to use httpd-like virtual + +*cacti-0.8.6h (04 Jan 2006) + + 04 Jan 2006; Lance Albertson <ramereth@gentoo.org> + -cacti-0.8.6f-r1.ebuild, -cacti-0.8.6f-r2.ebuild, + cacti-0.8.6g_p20051023.ebuild, +cacti-0.8.6h.ebuild: + * Version bump + * Stable on x86 + * Clean out old ebuilds + + 19 Dec 2005; Bryan Østergaard <kloeri@gentoo.org cacti-0.8.6g.ebuild: + Stable on alpha. + + 17 Dec 2005; Markus Rothe <corsair@gentoo.org> + cacti-0.8.6g_p20051023.ebuild: + Added ~ppc64 + + 18 Nov 2005; Lance Albertson <ramereth@gentoo.org> -cacti-0.8.6f.ebuild, + cacti-0.8.6f-r1.ebuild, cacti-0.8.6g.ebuild, + cacti-0.8.6g_p20051023.ebuild: + * Removed old ebuild + * Added >=dev-db/mysql-5 blocker (bug #112010) + * Adjusted httpd dep (now have a choice between apache1, apache2, or + lighttpd (only on 0.8.6g_p20051023)) bug #107512 + + 24 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> cacti-0.8.6g.ebuild: + Stable on sparc + +*cacti-0.8.6g_p20051023 (23 Oct 2005) + + 23 Oct 2005; Lance Albertson <ramereth@gentoo.org> cacti-0.8.6g.ebuild, + +cacti-0.8.6g_p20051023.ebuild: + * Stable on x86 + * Added new patched version for fixes + + 15 Sep 2005; Aron Griffis <agriffis@gentoo.org> cacti-0.8.6f-r1.ebuild: + Mark 0.8.6f-r1 stable on alpha + +*cacti-0.8.6g (10 Sep 2005) + + 10 Sep 2005; Lance Albertson <ramereth@gentoo.org> -cacti-0.8.6e.ebuild, + +cacti-0.8.6g.ebuild: + * New version release bump + * Remove old version + +*cacti-0.8.6f-r2 (09 Sep 2005) + + 09 Sep 2005; Lance Albertson <ramereth@gentoo.org> + +cacti-0.8.6f-r2.ebuild: + * Fixed php DEPEND to use virtuals per bug #102827 + + 03 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> + cacti-0.8.6f-r1.ebuild: + Stable on sparc + +*cacti-0.8.6f-r1 (03 Aug 2005) + + 03 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> + +cacti-0.8.6f-r1.ebuild: + Revision bump with upstream patches. + + 03 Jul 2005; Lance Albertson <ramereth@gentoo.org> cacti-0.8.6f.ebuild: + * stable on x86 (bug #97475) + + 02 Jul 2005; Jason Wever <weeve@gentoo.org> cacti-0.8.6f.ebuild: + Stable on SPARC wrt bug #97475. + +*cacti-0.8.6f (02 Jul 2005) + + 02 Jul 2005; Lance Albertson <ramereth@gentoo.org> -cacti-0.8.6b.ebuild, + -cacti-0.8.6c.ebuild, -cacti-0.8.6d.ebuild, +cacti-0.8.6f.ebuild: + * Added 0.8.6f for a security bump (bug #97475) + * Cleaned out old ebuilds + + 30 Jun 2005; Lance Albertson <ramereth@gentoo.org> + files/digest-cacti-0.8.6e, Manifest: + fixed digest and uploaded correct tarball for 0.8.6e + + 21 Jun 2005; Lance Albertson <ramereth@gentoo.org> metadata.xml, + cacti-0.8.6e.ebuild: + Security Bump per bug #96243 + (SQL injection / global php var security issues) + * x86 & sparc marked stable + * alpha, amd64, ppc marked testing + * Updated metadata + + 17 Jun 2005; Lance Albertson <ramereth@gentoo.org> + files/digest-cacti-0.8.6e, Manifest: + Updated digest for new tarball from author + +*cacti-0.8.6e (15 Jun 2005) + + 15 Jun 2005; <solar@gentoo.org> +cacti-0.8.6e.ebuild: + - added cacti-0.8.6e masked by request. + + 02 May 2005; Eldad Zack <eldad@gentoo.org> files/postinstall-en.txt, + cacti-0.8.6b.ebuild, cacti-0.8.6c.ebuild, cacti-0.8.6d.ebuild: + Fixed to use the webapp_configfile function for include/config.php. Updated + postinstall accordingly. Closes bug #90908. Thanks to Andy Blyler + <ajb@blyler.cc>. + +*cacti-0.8.6d (29 Apr 2005) + + 29 Apr 2005; Martin Holzer <mholzer@gentoo.org> +cacti-0.8.6d.ebuild: + Version bumped. + + 15 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinstall-en.txt: + More updates to postinst-en.txt for bug 83673. Thanks to Jakub Moc for + helping me get the upgrade instructions up-to-date (and correct). + + 09 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinstall-en.txt, + cacti-0.8.6b.ebuild, cacti-0.8.6c.ebuild: + Update postinst-en.txt for bug 83673; updated both ebuilds to use + built_with_use instead of the homegrown check_with_use() function. Also + fixed the dodir ${D}... tidbit which caused obvious unwanted side effects. + + 04 Mar 2005; Jason Wever <weeve@gentoo.org> cacti-0.8.6c.ebuild: + Stable on sparc. + + 25 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> cacti-0.8.6c.ebuild: + Marked stable on x86. + +*cacti-0.8.6c (02 Jan 2005) + + 02 Jan 2005; Martin Holzer <mholzer@gentoo.org> files/postinstall-en.txt, + +cacti-0.8.6c.ebuild: + Version bumped. + + 07 Nov 2004; Jason Wever <weeve@gentoo.org> cacti-0.8.6b.ebuild: + Stable on sparc. + + 06 Nov 2004; Eldad Zack <eldad@gentoo.org> -cacti-0.8.5a-r1.ebuild, + cacti-0.8.6b.ebuild: + x86 stable + + 25 Oct 2004; Jason Wever <weeve@gentoo.org> cacti-0.8.5a-r2.ebuild: + Stable on sparc. + + 24 Oct 2004; Eldad Zack <eldad@gentoo.org> cacti-0.8.5a-r2.ebuild: + Marked x86 stable + + 14 Oct 2004; Eldad Zack <eldad@gentoo.org> +files/postinstall-en.txt, + cacti-0.8.6b.ebuild: + Better postinst instructions: using webapp.eclass postinst support + +*cacti-0.8.6b (14 Oct 2004) + + 14 Oct 2004; Eldad Zack <eldad@gentoo.org> +cacti-0.8.6b.ebuild: + Version bump. Updated deps (cron, php). Check useflags of php/mod_php. Got rid + of version detection, and corrrected a few postinst instructions. + +*cacti-0.8.5a-r2 (23 Aug 2004) + + 23 Aug 2004; Eldad Zack <eldad@gentoo.org> +cacti-0.8.5a-r2.ebuild: + Migrated ebuild from webapp-apache.eclass to use the webapp.eclass. + Closes bug #52596. + + 17 Aug 2004; Eldad Zack <eldad@gentoo.org> cacti-0.8.5a-r1.ebuild: + Moved include/config.php to include/config-sample.php, so we won't overwrite + old config. + +*cacti-0.8.5a-r1 (17 Aug 2004) + + 17 Aug 2004; Eldad Zack <eldad@gentoo.org> + +files/cacti-0.8.5a-sql-injection.patch, +cacti-0.8.5a-r1.ebuild: + Security patch (SQL Injection): bumping to -r1 with x86 stable. + + 08 Aug 2004; Tom Martin <slarti@gentoo.org> cacti-0.8.5a.ebuild: + Typo in DESCRIPTION: frondend -> frontend. Bug 59717. + + 07 Jul 2004; Jason Wever <weeve@gentoo.org> cacti-0.8.5a.ebuild: + Stable on sparc. + + 05 Jul 2004; Eldad Zack <eldad@gentoo.org> cacti-0.8.5a.ebuild: + Added additional install instructions (crontab). Closes #53709. Thanks to + Lorinc Czegledi <lorinc.czegledi@mail.cpst.hu>. Also fixed previous version + detection. + + 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> cacti-0.8.5a.ebuild: + Marked ~amd64. + + 19 Apr 2004; Martin Holzer <mholzer@gentoo.org> cacti-0.8.5a.ebuild: + x86 stable. + +*cacti-0.8.5a (10 Apr 2004) + + 10 Apr 2004; Martin Holzer <mholzer@gentoo.org> cacti-0.8.5a.ebuild: + Version bumped. + +*cacti-0.8.5 (29 Feb 2004) + + 29 Feb 2004; Martin Holzer <mholzer@gentoo.org> cacti-0.8.5.ebuild: + Version bumped. Closes 43137. + + 15 Dec 2003; Stuart Herbert <stuart@gentoo.org> cacti-0.8.3a.ebuild, + cacti-0.8.4.ebuild: + Fix for bug #32636 + + 05 Dec 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.4.ebuild: + x86 stable. + + 05 Dec 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.6.8a.ebuild, + cacti-0.8.3a.ebuild, cacti-0.8.4.ebuild: + changing chown. closes #35127. + +*cacti-0.8.4 (17 Nov 2003) + + 17 Nov 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.3a.ebuild, + cacti-0.8.4.ebuild: + Version bumped. + + 17 Nov 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.3a.ebuild: + adding webapps-apache.eclass + + 23 Sep 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.6.8a.ebuild, + cacti-0.8.3.ebuild, cacti-0.8.3a.ebuild: + Changed mysql depend to useflag. Closes #29429. + +*cacti-0.8.3a (01 Sep 2003) + + 01 Sep 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.3a.ebuild: + Version bumpe.d + +*cacti-0.8.3 (31 Aug 2003) + + 31 Aug 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.3.ebuild: + Version bumped. + +*cacti-0.8.2a (30 Jul 2003) + + 30 Jul 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.2a.ebuild: + Version bumped. + +*cacti-0.8.1-r1 (30 Jul 2003) + + 30 Jul 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.8.1-r1.ebuild: + Source is no more installed. Closes #23393. + +*cacti-0.8.1 (12 Jun 2003) + + 12 Jun 2003; Troy Dack <tad@gentoo.org> cacti-0.8.1.ebuild: + Version Bump. Now works with net-snmp (default for virtual/snmp) and ucd-snmp. + Updated postinst einfo message. + + 13 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Permissions fix, variable fix, dos format fix (#20686) + +*cacti-0.6.8a (23 Oct 2002) + + 13 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Permissions fix, variable fix, dos format fix (#20686) + + 13 May 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.6.8a.ebuild: + Added net-analyzer/rrdtool to RDEPEND. Closes #20953 + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 05 Apr 2003; Martin Holzer <mholzer@gentoo.org> cacti-0.6.8a.ebuild: + Digest fix, marked as stable + + 14 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Replaced hardcoding of /home/httpd/htdocs with a grep of /etc/apache/conf/apache.conf + + 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest new file mode 100644 index 0000000..eacacfa --- /dev/null +++ b/net-analyzer/cacti/Manifest @@ -0,0 +1,6 @@ +AUX cacti-0.8.6j-dos-large-values.patch 1127 RMD160 102be3fdad2334c50a5d8ce4a4655c0220842d82 SHA1 79fab202a7473c66b10909a982c2f9fcf70c9b50 SHA256 b677a380634a4db63b0b85aaf54103efefdbb0e0dcd7d15ce61b7e08949f8d55 +AUX postinstall-en.txt 2249 RMD160 2703588d7971022699b58b2e5a113ab970124f4d SHA1 8c34cadfe75d1bca0eaaae66a5981f0ab575ea3f SHA256 7879329884e33f84108d5fbed732941c9fd8a53b56db499bfc0bd282bd61b10d +DIST cacti-0.8.7b.tar.gz 2005650 RMD160 e47f15957554fe6ac00dc4becffc06a790eae6f8 SHA1 fb4dd0374577b100bbe92fba05e084da2e685fe2 SHA256 f248e858879868d7bba2d53c459a3d61f0a9c19ee4843e3983cfe7a9d7fcaef9 +EBUILD cacti-0.8.7b-r1.ebuild 2414 RMD160 80d10033d36349d8c6da1eaf32be9da45edabb9f SHA1 141b97a80c9464095e61d568371435208d8b04aa SHA256 0374db780f8e3f32c04192397f461340c0cc0c9aab3eb70383500cceb6c355f1 +MISC ChangeLog 17887 RMD160 da00240e197f9280a579fb634cef3ba97d84a1e3 SHA1 8d140b70fca4006e6bd3f2fd469e1e56544e419e SHA256 af963257ed83b6a60388dc7e4555c51b8e2fdc832400c2f6da93a602b52517f0 +MISC metadata.xml 646 RMD160 aba1a1b33b779ca833d51b3f4e26f64b531b4ab5 SHA1 2eaabae404ac516b6f6bc3cb1802d1d08d57e51a SHA256 0269abacb0ac96dc71aa2075c573736414bb3d67ec169a1d0bd2f52e3afc2056 diff --git a/net-analyzer/cacti/cacti-0.8.7b-r1.ebuild b/net-analyzer/cacti/cacti-0.8.7b-r1.ebuild new file mode 100644 index 0000000..4cfd09d --- /dev/null +++ b/net-analyzer/cacti/cacti-0.8.7b-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7a-r1.ebuild,v 1.1 2008/01/22 16:28:14 pva Exp $ + +inherit eutils webapp depend.apache depend.php + +# Support for _p* in version. +MY_P=${P/_p*/} +HAS_PATCHES=0 + +DESCRIPTION="Cacti is a complete frontend to rrdtool" +HOMEPAGE="http://www.cacti.net/" +SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" + +# patches +if [ "${HAS_PATCHES}" == "1" ] ; then + UPSTREAM_PATCHES="" + 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" +IUSE="snmp bundled-adodb" + +DEPEND="" + +want_apache +need_php_cli +need_php_httpd + +RDEPEND="!apache2? ( www-servers/lighttpd ) + snmp? ( net-analyzer/net-snmp ) + net-analyzer/rrdtool + !bundled-adodb? ( dev-php/adodb ) + virtual/mysql + virtual/cron" + +src_unpack() { + if [ "${HAS_PATCHES}" == "1" ] ; then + unpack ${MY_P}.tar.gz + [ ! ${MY_P} == ${P} ] && mv ${MY_P} ${P} + # 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 + + # Fix broken update from 0.8.6k to 0.8.7... (But let upstream handle this + # first) + #sed -i 's/^\(\$cacti_versions.*"0.8.6j",\)/\1 "0.8.6k",/' "${S}"/index.php + + use bundled-adodb || sed -i -e \ + 's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \ + "${S}"/include/global.php +} + +pkg_setup() { + webapp_pkg_setup + has_php + if [ $PHP_VERSION = 5 ] ; then + phpUseFlags="cli mysql xml session pcre" + elif [ $PHP_VERSION = 4 ] ; then + phpUseFlags="cli mysql xml session pcre expat" + fi + use bundled-adodb || phpUseFlags="${phpUseFlags} sockets" + require_php_with_use ${phpUseFlags} +} + +src_compile() { + einfo "Nothing to compile." +} + +src_install() { + webapp_src_preinst + + rm LICENSE README + dodoc docs/{CHANGELOG,CONTRIB,INSTALL,README,REQUIREMENTS,UPGRADE} + rm -rf docs + use bundled-adodb || rm -rf lib/adodb + + edos2unix `find -type f -name '*.php'` + + dodir ${MY_HTDOCSDIR} + cp -r . "${D}"${MY_HTDOCSDIR} + + webapp_serverowned ${MY_HTDOCSDIR}/rra + webapp_serverowned ${MY_HTDOCSDIR}/log/cacti.log + webapp_configfile ${MY_HTDOCSDIR}/include/config.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} diff --git a/net-analyzer/cacti/files/cacti-0.8.6j-dos-large-values.patch b/net-analyzer/cacti/files/cacti-0.8.6j-dos-large-values.patch new file mode 100644 index 0000000..7398e96 --- /dev/null +++ b/net-analyzer/cacti/files/cacti-0.8.6j-dos-large-values.patch @@ -0,0 +1,30 @@ +diff -uNr -r cacti-0.8.6j-orig/graph_image.php cacti-0.8.6j/graph_image.php +--- cacti-0.8.6j-orig/graph_image.php 2007-01-18 01:23:10.000000000 +0100 ++++ cacti-0.8.6j/graph_image.php 2007-06-06 21:00:17.278210000 +0200 +@@ -51,22 +51,22 @@ + $graph_data_array = array(); + + /* override: graph start time (unix time) */ +-if (!empty($_GET["graph_start"])) { ++if (!empty($_GET["graph_start"]) && $_GET["graph_start"] < 1600000000) { + $graph_data_array["graph_start"] = $_GET["graph_start"]; + } + + /* override: graph end time (unix time) */ +-if (!empty($_GET["graph_end"])) { ++if (!empty($_GET["graph_end"]) && $_GET["graph_end"] < 1600000000) { + $graph_data_array["graph_end"] = $_GET["graph_end"]; + } + + /* override: graph height (in pixels) */ +-if (!empty($_GET["graph_height"])) { ++if (!empty($_GET["graph_height"]) && $_GET["graph_height"] < 3000) { + $graph_data_array["graph_height"] = $_GET["graph_height"]; + } + + /* override: graph width (in pixels) */ +-if (!empty($_GET["graph_width"])) { ++if (!empty($_GET["graph_width"]) && $_GET["graph_width"] < 3000) { + $graph_data_array["graph_width"] = $_GET["graph_width"]; + } + diff --git a/net-analyzer/cacti/files/postinstall-en.txt b/net-analyzer/cacti/files/postinstall-en.txt new file mode 100644 index 0000000..732c718 --- /dev/null +++ b/net-analyzer/cacti/files/postinstall-en.txt @@ -0,0 +1,62 @@ + +New Install + +1. Create the new cacti database + shell> mysqladmin -p --user=root create cacti +2. Import the default cacti database: + shell> mysql -p --user=root cacti < ${MY_INSTALLDIR}/cacti.sql +3. Create a MySQL username and password for cacti. + shell> mysql -p --user=root mysql + mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword'; + mysql> flush privileges; +4. Edit ${MY_INSTALLDIR}/include/config.php and modify the MySQL user, + password and database for your cacti configuration. + + Example: + \$database_default = "cacti"; + \$database_hostname = "localhost"; + \$database_username = "cactiuser"; + \$database_password = "somepassword"; + +5. Point your web browser to: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/ + Make sure to fill in all of the path variables carefully and + correctly on the following screen. +6. After you've gone through the setup wizard, go back to the main cacti page + and login as: + Username: admin + Password: admin + +Upgrading + +1. Backup DB in the case that something goes wrong. + shell> mysqldump -l --add-drop-table cacti > mysql.cacti +2. Backup your rra/ directory and any custom scripts in your scripts/ + directory. +3. Edit ${MY_INSTALLDIR}/include/config.php, and confirm that the MySQL user, + password and database is correct for your cacti configuration. + + Example: + \$database_default = "cacti"; + \$database_hostname = "localhost"; + \$database_username = "cactiuser"; + \$database_password = "somepassword"; +4. Point your web browser to: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/ + Select "Upgrade". + Make sure to fill in all of the path variables carefully and + correctly on the following screen. + +Cronjob + +Either new or upgrading, make sure you have a cron job - Add this line to +your /etc/crontab file: + + */5 * * * * ${VHOST_SERVER_GID} /usr/bin/php ${MY_INSTALLDIR}/poller.php > /dev/null 2>&1 + +Note that you should use poller.php as the cronjob instead of cmd.php (as it was with +earlier versions) to enable you to switch between cmd.php and cactid. + +Also make sure that the user poller.php runs as ( ${VHOST_SERVER_GID} ) has +permission to create new files in Cacti's 'rra/' directory which is +${MY_INSTALLDIR}/rra + + diff --git a/net-analyzer/cacti/metadata.xml b/net-analyzer/cacti/metadata.xml new file mode 100644 index 0000000..c135795 --- /dev/null +++ b/net-analyzer/cacti/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <longdescription lang="en"> + Cacti is a complete network graphing solution designed to harness the + power of RRDTool's data storage and graphing functionality. Cacti + provides a fast poller, advanced graph templating, multiple data + acquisition methods, and user management features out of the box. All of + this is wrapped in an intuitive, easy to use interface that makes sense + for LAN-sized installations up to complex networks with hundreds of + devices. + </longdescription> +</pkgmetadata> |