summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-06-02 16:31:07 +0000
committerPeter Volkov <pva@gentoo.org>2008-06-02 16:31:07 +0000
commit601fbae6b1ce6c44a188920e1f19713862590f2a (patch)
tree595f4b70336e276a1164943107c00b5a3d466475 /net-analyzer
parentUpdated to the recent version (diff)
downloadpva-601fbae6b1ce6c44a188920e1f19713862590f2a.tar.gz
pva-601fbae6b1ce6c44a188920e1f19713862590f2a.tar.bz2
pva-601fbae6b1ce6c44a188920e1f19713862590f2a.zip
Upcomming version.
svn path=/; revision=174
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/rrdtool/ChangeLog631
-rw-r--r--net-analyzer/rrdtool/Manifest10
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.15-mem-usage.patch133
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch142
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.15-no-man.patch26
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-compile.patch11
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-configure.patch11
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.23-tclbindings.patch12
-rw-r--r--net-analyzer/rrdtool/metadata.xml6
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.3_rc7.ebuild106
10 files changed, 1088 insertions, 0 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog
new file mode 100644
index 0000000..4aaa13a
--- /dev/null
+++ b/net-analyzer/rrdtool/ChangeLog
@@ -0,0 +1,631 @@
+# ChangeLog for net-analyzer/rrdtool
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.143 2008/05/12 15:57:22 corsair Exp $
+
+ 12 May 2008; Markus Rothe <corsair@gentoo.org> rrdtool-1.2.27-r1.ebuild:
+ Stable on ppc64
+
+ 26 Mar 2008; Jeroen Roovers <jer@gentoo.org> rrdtool-1.2.27.ebuild:
+ Stable for HPPA (bug #214051).
+
+ 23 Mar 2008; Brent Baude <ranger@gentoo.org> rrdtool-1.2.27.ebuild:
+ stable ppc, bug 214051
+
+ 23 Mar 2008; Markus Meier <maekke@gentoo.org> rrdtool-1.2.27-r1.ebuild:
+ amd64 stable, bug #214051
+
+*rrdtool-1.2.27-r1 (23 Mar 2008)
+
+ 23 Mar 2008; <pva@gentoo.org> rrdtool-1.2.15-r3.ebuild,
+ +rrdtool-1.2.27-r1.ebuild:
+ Fix multilib issue, ruby bindings now doing site installation, bug #214051,
+ thank Markus for report. Droped mips.
+
+ 22 Mar 2008; Raúl Porcel <armin76@gentoo.org> rrdtool-1.2.27.ebuild:
+ ia64/sparc stable wrt #214051
+
+ 21 Mar 2008; Markus Meier <maekke@gentoo.org> rrdtool-1.2.27.ebuild:
+ x86 stable, bug #214051
+
+ 21 Mar 2008; Tobias Klausmann <klausman@gentoo.org> rrdtool-1.2.27.ebuild:
+ Stable on alpha, bug #214051
+
+ 20 Mar 2008; Brent Baude <ranger@gentoo.org> rrdtool-1.2.27.ebuild:
+ stable ppc64, bug 214051
+
+*rrdtool-1.2.27 (20 Feb 2008)
+
+ 20 Feb 2008; <pva@gentoo.org> +rrdtool-1.2.27.ebuild:
+ Version bump. Droped tclbindings.patch as upstream did too.
+
+*rrdtool-1.2.26 (27 Jan 2008)
+
+ 27 Jan 2008; <pva@gentoo.org> rrdtool-1.0.49.ebuild,
+ +rrdtool-1.2.26.ebuild:
+ Version bump, thank Raúl Porcel <armin76 AT gentoo.org> for report, bug
+ 206795. Also in this version bug #191060 is fixed. Quotation fixes.
+
+ 14 Sep 2007; Markus Ullmann <jokey@gentoo.org> rrdtool-1.0.49.ebuild:
+ And re-add keywords
+
+ 14 Sep 2007; Markus Ullmann <jokey@gentoo.org> +rrdtool-1.0.49.ebuild:
+ Add 1.0 series for FlowScan
+
+ 06 Sep 2007; Markus Ullmann <jokey@gentoo.org>
+ -files/rrdtool-1.2.19-as-needed.patch,
+ -files/rrdtool-1.2.19-as-needed.patch-new,
+ -files/rrdtool-1.2.19-tclbindings.patch, -rrdtool-1.0.49.ebuild,
+ -rrdtool-1.2.19.ebuild, -rrdtool-1.2.23.ebuild:
+ Cleanup
+
+ 05 Sep 2007; <solar@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ - remove failing patch that is no longer need for uclibc. Bug 191345
+
+ 20 Aug 2007; Markus Ullmann <jokey@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ Stable on x86 wrt bug #186519
+
+ 16 Aug 2007; Christoph Mende <angelos@gentoo.org>
+ rrdtool-1.2.23-r1.ebuild:
+ Stable on amd64 wrt bug #186519
+
+ 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ rrdtool-1.2.23-r1.ebuild:
+ ppc. stable
+
+ 04 Aug 2007; Hans de Graaff <graaff@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ Add a blocker on dev-ruby/ruby-rrd because those bindings are now included in
+ rrdtool, bug #180144.
+
+ 30 Jul 2007; Markus Rothe <corsair@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ Stable on ppc64; bug #186519
+
+ 26 Jul 2007; Raúl Porcel <armin76@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ alpha/ia64 stable wrt #186519
+
+ 26 Jul 2007; Jeroen Roovers <jer@gentoo.org> rrdtool-1.2.23-r1.ebuild:
+ Stable for HPPA (bug #186519).
+
+ 25 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ rrdtool-1.2.23-r1.ebuild:
+ Stable on sparc wrt #186519
+
+*rrdtool-1.2.23-r1 (12 May 2007)
+
+ 12 May 2007; <pva@gentoo.org>
+ +files/rrdtool-1.2.23-ruby-binding-compile.patch,
+ +files/rrdtool-1.2.23-ruby-binding-configure.patch,
+ +rrdtool-1.2.23-r1.ebuild:
+ General ebuild cleanup. Fixed bug #177256.
+
+*rrdtool-1.2.23 (05 May 2007)
+
+ 05 May 2007; Cedric Krier <cedk@gentoo.org>
+ +files/rrdtool-1.2.23-tclbindings.patch, +rrdtool-1.2.23.ebuild:
+ Version bump for bug #176899
+
+ 01 Feb 2007; Markus Ullmann <jokey@gentoo.org>
+ +files/rrdtool-1.2.19-as-needed.patch,
+ +files/rrdtool-1.2.19-as-needed.patch-new,
+ +files/rrdtool-1.2.19-tclbindings.patch, -rrdtool-1.0.50.ebuild,
+ -rrdtool-1.2.15-r2.ebuild, -rrdtool-1.2.18.ebuild, +rrdtool-1.2.19.ebuild:
+ Version bump (again), thanks to Frederic Mangeant in bug #164798 for reporting
+
+*rrdtool-1.2.19 (01 Feb 2007)
+
+ 01 Feb 2007; Markus Ullmann <jokey@gentoo.org> +rrdtool-1.2.19.ebuild:
+ Version bump (again), thanks to Frederic Mangeant in bug #164798 for reporting
+
+ 31 Jan 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ rrdtool-1.2.15-r3.ebuild:
+ Stable on ppc wrt bug #160321.
+
+ 27 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org>
+ rrdtool-1.2.15-r3.ebuild:
+ Stable on Alpha; bug #160321
+
+ 27 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org>
+ rrdtool-1.2.15-r3.ebuild:
+ Stable on MIPS; bug #160321
+
+ 24 Jan 2007; Markus Ullmann <jokey@gentoo.org> rrdtool-1.2.18.ebuild:
+ Testing first
+
+*rrdtool-1.2.18 (24 Jan 2007)
+
+ 24 Jan 2007; Markus Ullmann <jokey@gentoo.org> -rrdtool-1.2.6-r1.ebuild,
+ -rrdtool-1.2.11-r2.ebuild, +rrdtool-1.2.18.ebuild:
+ Version bump try #3 ( see bug #163179 ), thanks to Frederic Mangeant for
+ reporting
+
+ 14 Jan 2007; Jeroen Roovers <jer@gentoo.org> rrdtool-1.2.15-r3.ebuild:
+ Stable for HPPA (bug #160321).
+
+ 11 Jan 2007; Markus Rothe <corsair@gentoo.org> rrdtool-1.2.15-r3.ebuild:
+ Stable on ppc64; bug #160321
+
+ 10 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ rrdtool-1.2.15-r3.ebuild:
+ Stable on amd64/x86 wrt bug #160321.
+
+ 10 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ rrdtool-1.2.15-r3.ebuild:
+ Stable on sparc wrt #160321
+
+*rrdtool-1.2.15-r3 (09 Jan 2007)
+
+ 09 Jan 2007; Cedric Krier <cedk@gentoo.org>
+ +files/rrdtool-1.2.15-mem-usage.patch, +rrdtool-1.2.15-r3.ebuild:
+ Add patch for memory usage see: http://oss.oetiker.ch/rrdtool-trac/ticket/54
+
+ 09 Jan 2007; Markus Rothe <corsair@gentoo.org> rrdtool-1.2.15-r2.ebuild:
+ Stable on ppc64; bug #160321
+
+ 09 Jan 2007; Andrej Kacian <ticho@gentoo.org> rrdtool-1.2.15-r2.ebuild:
+ Stable on x86, bug #160321.
+
+ 07 Jan 2007; Cedric Krier <cedk@gentoo.org> rrdtool-1.2.15-r2.ebuild:
+ Remove tcl fix
+
+ 07 Jan 2007; Olivier Crête <tester@gentoo.org> rrdtool-1.2.15-r2.ebuild:
+ Stable on amd64 wrt bug #160321
+
+ 07 Jan 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ rrdtool-1.2.15-r2.ebuild:
+ ppc stable, bug #160321
+
+ 06 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
+ rrdtool-1.2.15-r2.ebuild:
+ Stable on Alpha.
+
+ 06 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ rrdtool-1.2.15-r2.ebuild:
+ Stable on sparc wrt #160321
+
+ 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> rrdtool-1.0.49.ebuild,
+ rrdtool-1.0.50.ebuild, rrdtool-1.2.6-r1.ebuild, rrdtool-1.2.11-r2.ebuild:
+ Remove gnuconfig inherit.
+
+ 04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
+ rrdtool-1.2.15-r2.ebuild:
+ Add missing WANT_AUTO*
+
+ 16 Dec 2006; Cedric Krier <cedk@gentoo.org> rrdtool-1.2.11-r2.ebuild,
+ rrdtool-1.2.15-r2.ebuild:
+ Fix tcl config for bug #140909
+
+ 27 Nov 2006; Markus Ullmann <jokey@gentoo.org> rrdtool-1.0.49.ebuild,
+ rrdtool-1.0.50.ebuild, rrdtool-1.2.6-r1.ebuild, rrdtool-1.2.11-r2.ebuild,
+ -rrdtool-1.2.13.ebuild, -rrdtool-1.2.15.ebuild, -rrdtool-1.2.15-r1.ebuild,
+ rrdtool-1.2.15-r2.ebuild:
+ tcltk fix and cleanup
+
+ 21 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ rrdtool-1.2.11-r2.ebuild:
+ ppc stable
+
+*rrdtool-1.2.15-r2 (14 Aug 2006)
+
+ 14 Aug 2006; Christian Heim <phreak@gentoo.org>
+ +files/rrdtool-1.2.15-no-man.patch, +rrdtool-1.2.15-r2.ebuild:
+ Revision bump. Fixing an error occuring within an uclibc chroot, where no
+ man/groff is present.
+
+*rrdtool-1.2.15-r1 (21 Jul 2006)
+
+ 21 Jul 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/rrdtool-1.2.15-newstyle-resize.patch, +rrdtool-1.2.15-r1.ebuild:
+ Add a little bit of useful functionality to rrd_resize.
+
+*rrdtool-1.2.15 (18 Jul 2006)
+
+ 18 Jul 2006; Marcelo Goes <vanquirius@gentoo.org> -rrdtool-1.2.12.ebuild,
+ -rrdtool-1.2.12-r1.ebuild, +rrdtool-1.2.15.ebuild:
+ 1.2.15 version bump for bug 140769. Thanks to Frederic Mangeant
+ <frederic.mangeant at gmail dot com>.
+
+*rrdtool-1.2.13 (07 May 2006)
+
+ 07 May 2006; Markus Ullmann <jokey@gentoo.org> +rrdtool-1.2.13.ebuild:
+ Version bump
+
+ 10 Mar 2006; Aron Griffis <agriffis@gentoo.org> rrdtool-1.2.11-r2.ebuild:
+ Mark 1.2.11-r2 stable on ia64
+
+ 06 Feb 2006; Aron Griffis <agriffis@gentoo.org> rrdtool-1.2.11-r2.ebuild:
+ Mark 1.2.11-r2 stable on alpha
+
+*rrdtool-1.2.12-r1 (03 Feb 2006)
+
+ 03 Feb 2006; Marcelo Goes <vanquirius@gentoo.org>
+ +rrdtool-1.2.12-r1.ebuild:
+ Add rrdcgi USE flag and functionality for bug 118679. Thanks to Timothy
+ Bergeron <bugs-gentoo at timothybergeron dot com>.
+
+ 26 Dec 2005; Simon Stelling <blubb@gentoo.org> rrdtool-1.2.6-r1.ebuild:
+ fix multilib-strict wise
+
+ 21 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> rrdtool-1.2.6-r1.ebuild:
+ Stable on amd64.
+
+*rrdtool-1.2.12 (19 Dec 2005)
+
+ 19 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> -rrdtool-1.2.6.ebuild,
+ -rrdtool-1.2.9.ebuild, -rrdtool-1.2.10.ebuild, -rrdtool-1.2.11.ebuild,
+ -rrdtool-1.2.11-r1.ebuild, rrdtool-1.2.11-r2.ebuild,
+ +rrdtool-1.2.12.ebuild:
+ Remove some old ebuilds, minor QA changes to 1.2.11-r2 and 1.2.12 version
+ bump for bug 116011. Thanks to Frederic Mangeant <frederic dot mangeant at
+ gmail dot com>.
+
+ 04 Dec 2005; Tom Gall <tgall@gentoo.org> rrdtool-1.2.11-r2.ebuild:
+ stable on ppc64
+
+ 10 Nov 2005; Brent Baude <ranger@gentoo.org> rrdtool-1.2.11-r2.ebuild:
+ Marking rrdtool-1.2.11-r2 ~ppc64 for bug 111849
+
+*rrdtool-1.2.11-r2 (22 Sep 2005)
+
+ 22 Sep 2005; Lance Albertson <ramereth@gentoo.org>
+ +rrdtool-1.2.11-r2.ebuild:
+ * removed unneeded RDEPEND on media-libs/gd for 1.2.x (See bug #106682 for
+ details)
+
+*rrdtool-1.2.11-r1 (06 Sep 2005)
+
+ 06 Sep 2005; Benjamin Smee <strerror@gentoo.org>
+ +rrdtool-1.2.11-r1.ebuild:
+ Made changes as per bug 104956 for multilib
+
+ 24 Aug 2005; Aron Griffis <agriffis@gentoo.org> rrdtool-1.2.6-r1.ebuild:
+ stable on ia64 #93063
+
+ 23 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> rrdtool-1.2.6-r1.ebuild,
+ rrdtool-1.2.11.ebuild:
+ Added ~mips.
+
+ 13 Aug 2005; Michael Hanselmann <hansmi@gentoo.org>
+ rrdtool-1.2.6-r1.ebuild:
+ Stable on ppc.
+
+ 06 Aug 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.11.ebuild:
+ Fix RDEPEND for bug 101513. Thanks to Natanael Copa <mlists@tanael.org>.
+
+*rrdtool-1.2.11 (26 Jul 2005)
+
+ 26 Jul 2005; Benjamin Smee <strerror@gentoo.org> +rrdtool-1.2.11.ebuild:
+ Version bump.
+
+ 02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
+ rrdtool-1.2.6-r1.ebuild:
+ Stable on alpha.
+
+ 25 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.6.ebuild,
+ rrdtool-1.2.6-r1.ebuild:
+ Fix tcl issues. Thanks to Kugelfang on irc.
+
+ 25 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org>
+ rrdtool-1.2.6-r1.ebuild:
+ Stable on hppa.
+
+ 22 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ rrdtool-1.2.6-r1.ebuild:
+ Stable on sparc
+
+*rrdtool-1.2.10 (19 Jun 2005)
+
+ 19 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> +rrdtool-1.2.10.ebuild:
+ Version bump for bug 96369. Thanks to Frederic Mangeant
+ <frederic.mangeant@gmail.com>.
+
+ 18 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.6-r1.ebuild,
+ -rrdtool-1.2.8.ebuild:
+ Marking 1.2.6-r1 stable to push doc USE flag fix. Also, taking 1.2.8 out for
+ bug 94411.
+
+ 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> rrdtool-1.2.6.ebuild:
+ Stable on ppc.
+
+ 12 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> rrdtool-1.2.6.ebuild:
+ Stable on alpha.
+
+ 12 Jun 2005; Jason Wever <weeve@gentoo.org> rrdtool-1.2.6.ebuild:
+ Stable on SPARC.
+
+*rrdtool-1.2.6-r1 (10 Jun 2005)
+
+ 10 Jun 2005; Benjamin Smee <strerror@gentoo.org> +rrdtool-1.2.6-r1.ebuild:
+ Fixed inappropriate doc placemente as per bug 95665.
+
+ 05 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org> rrdtool-1.2.6.ebuild:
+ Stable on hppa.
+
+ 04 Jun 2005; Marcelo Goes <vanquirius@gentoo.org>
+ -rrdtool-1.0.45-r2.ebuild, -rrdtool-1.0.47.ebuild, rrdtool-1.2.6.ebuild:
+ Marked 1.2.6 x86 stable and removing old versions. Fixes bug 94962. Thanks
+ to Daniel Webert <rockoo@gmail.com>.
+
+*rrdtool-1.2.9 (30 May 2005)
+
+ 30 May 2005; Benjamin Smee <strerror@gentoo.org> +rrdtool-1.2.9.ebuild:
+ Version bump for bug 94465
+
+ 26 May 2005; Rene Nussbaumer <killerfox@gentoo.org> rrdtool-1.0.49.ebuild:
+ Stable on hppa
+
+ 18 May 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.6.ebuild,
+ rrdtool-1.2.8.ebuild:
+ Changing sed line to fix problem with tcl bindings. Fixes bug 93062. Thanks to
+ Brandon Hale <tseng@gentoo.org>.
+
+*rrdtool-1.2.8 (18 May 2005)
+
+ 18 May 2005; Aaron Walker <ka0ttic@gentoo.org> +rrdtool-1.2.8.ebuild:
+ Version bump for bug 92866; added python and doc USE flags.
+
+ 14 May 2005; Marcelo Goes <vanquirius@gentoo.org> -rrdtool-1.2.0.ebuild,
+ -rrdtool-1.2.1.ebuild, -rrdtool-1.2.2.ebuild:
+ Removing older 1.2.x releases. There were different issues with them, so it is
+ better to get them out of the way.
+
+*rrdtool-1.2.6 (10 May 2005)
+
+ 10 May 2005; Marcelo Goes <vanquirius@gentoo.org> +rrdtool-1.2.6.ebuild:
+ Version bump for bug 91978. Thanks to Frederic Mangeant
+ <frederic.mangeant@gmail.com>.
+
+*rrdtool-1.2.2 (09 May 2005)
+
+ 09 May 2005; Martin Holzer <mholzer@gentoo.org> +rrdtool-1.2.2.ebuild:
+ Version bumped.
+
+ 07 May 2005; Aaron Walker <ka0ttic@gentoo.org> rrdtool-1.2.0.ebuild,
+ rrdtool-1.2.1.ebuild:
+ Add --disable-perl if USE=-perl; closes bug 91638.
+
+*rrdtool-1.2.1 (03 May 2005)
+
+ 03 May 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.0.ebuild,
+ +rrdtool-1.2.1.ebuild:
+ Version bump, fix compilation problem with 1.2.0. Fixes bug 91287. Thanks to
+ Andy Blyler <ajb@blyler.cc>, Marco Morales <soulse@gmail.com> and Frederic
+ Mangeant <frederic.mangeant@gmail.com>.
+
+*rrdtool-1.2.0 (27 Apr 2005)
+*rrdtool-1.0.50 (27 Apr 2005)
+
+ 27 Apr 2005; Aaron Walker <ka0ttic@gentoo.org> +rrdtool-1.0.50.ebuild,
+ +rrdtool-1.2.0.ebuild:
+ Dual version bumps for bugs 90491 and 88698.
+
+ 01 Apr 2005; Aron Griffis <agriffis@gentoo.org> rrdtool-1.0.49.ebuild:
+ stable on ia64
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> rrdtool-1.0.49.ebuild:
+ Stable on amd64.
+
+ 01 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> rrdtool-1.0.49.ebuild:
+ Stable on alpha.
+
+ 27 Oct 2004; Jason Wever <weeve@gentoo.org> rrdtool-1.0.49.ebuild:
+ Stable on sparc.
+
+ 25 Oct 2004; Jason Wever <weeve@gentoo.org> :
+ Stable on sparc.
+
+ 24 Oct 2004; Eldad Zack <eldad@gentoo.org> -rrdtool-1.0.40-r1.ebuild,
+ rrdtool-1.0.47.ebuild, rrdtool-1.0.48.ebuild, rrdtool-1.0.49.ebuild:
+ Got rid of -fPIC patch in favor of sed (1.0.47-1.0.49). x86 marked stable
+ (1.0.48, 1.0.49)
+
+ 27 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> rrdtool-1.0.47.ebuild:
+ Marked stable on amd64.
+
+ 14 Sep 2004; Guy Martin <gmsoft@gentoo.org> rrdtool-1.0.47.ebuild:
+ Stable on hppa.
+
+ 22 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> rrdtool-1.0.47.ebuild:
+ Stable on alpha.
+
+ 20 Aug 2004; Jason Wever <weeve@gentoo.org> rrdtool-1.0.47.ebuild:
+ Stable on sparc.
+
+*rrdtool-1.0.49 (09 Aug 2004)
+
+ 09 Aug 2004; Jon Hood <squinky86@gentoo.org>
+ -files/rrdtool-1.0.46-fPIC.patch, -files/rrdtool-1.0.46-tcl.patch,
+ +files/rrdtool-1.0.49-fPIC.patch, -rrdtool-1.0.45.ebuild,
+ -rrdtool-1.0.46.ebuild, +rrdtool-1.0.49.ebuild:
+ Version bump, closes #59851, thanks Haroon Rafique
+ <corporate_gadfly@hotmail.com>; ebuild cleanups.
+
+*rrdtool-1.0.48 (05 Aug 2004)
+
+ 05 Aug 2004; Jon Hood <squinky86@gentoo.org>
+ +files/rrdtool-1.0.48-fPIC.patch, -rrdtool-1.0.42-r1.ebuild,
+ -rrdtool-1.0.45-r1.ebuild, +rrdtool-1.0.48.ebuild:
+ Version bump, closes #59543, ebuild cleanups, thanks solar@g.o!
+
+ 22 Jul 2004; Eldad Zack <eldad@gentoo.org> rrdtool-1.0.47.ebuild:
+ Tidy up. Fixed issue with 64-bit archs, when perl is in USE. Fixed duplicate
+ installation on /usr/lib/perl. Closes #57651.
+
+ 09 Jul 2004; Eldad Zack <eldad@gentoo.org> rrdtool-1.0.46.ebuild,
+ rrdtool-1.0.47.ebuild:
+ marked x86 stable
+
+ 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> rrdtool-1.0.40-r1.ebuild,
+ rrdtool-1.0.42-r1.ebuild, rrdtool-1.0.45-r1.ebuild,
+ rrdtool-1.0.45-r2.ebuild, rrdtool-1.0.45.ebuild, rrdtool-1.0.46.ebuild,
+ rrdtool-1.0.47.ebuild:
+ Fix use invocation
+
+ 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> :
+ Marked ~amd64.
+
+*rrdtool-1.0.47 (07 Apr 2004)
+
+ 07 Apr 2004; Martin Holzer <mholzer@gentoo.org> rrdtool-1.0.47.ebuild,
+ files/rrdtool-1.0.47-fPIC.patch:
+ Version bumped.
+
+ 18 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> rrdtool-1.0.46.ebuild,
+ files/rrdtool-1.0.46-fPIC.patch:
+ Must compile private lib with -fPIC on amd64.
+
+*rrdtool-1.0.46 (09 Mar 2004)
+
+ 09 Mar 2004; Michael Boman <mboman@gentoo.org> rrdtool-1.0.46.ebuild,
+ files/rrdtool-1.0.46-tcl.patch:
+ New upstream version. Closes bug 43997.
+
+ 17 Feb 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+ rrdtool-1.0.45-r2.ebuild:
+ stable on hppa
+
+ 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> rrdtool-1.0.45-r2.ebuild:
+ stable on alpha and ia64
+
+ 29 Jan 2004; <gustavoz@gentoo.org> rrdtool-1.0.45-r2.ebuild:
+ marked stable on sparc
+
+*rrdtool-1.0.45-r2 (31 Dec 2003)
+
+ 31 Dec 2003; Michael Cummings,,, <mcummings@gentoo.org>
+ rrdtool-1.0.45-r2.ebuild:
+ Corrections for the inclusion and operation of the perl portion. There were
+ sandbox violations for the perl man pages becasue of makemaker versions. The
+ new version will cleanly install all parts in all the right places. Bug was
+ reported on IRC by Geert Hauwaerts <geert@irssi.org>
+
+*rrdtool-1.0.45-r1 (22 Dec 2003)
+
+ 22 Dec 2003; <rac@gentoo.org> rrdtool-1.0.45-r1.ebuild:
+ Make perl stuff install into vendordir, address bug 30617
+
+ 24 Nov 2003; Aron Griffis <agriffis@gentoo.org> rrdtool-1.0.45.ebuild:
+ Add ~alpha
+
+ 20 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> rrdtool-1.0.45.ebuild :
+ Make it build on amd64.
+
+ 01 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> rrdtool-1.0.42-r2.ebuild, rrdtool-1.0.40-r1.ebuild,
+ rrdtool-1.0.45.ebuild :
+ If neither perl or tcltk are enabled pkg_setup will fail becuse the last use check returns 1.
+
+*rrdtool-1.0.45 (30 Jul 2003)
+
+ 30 Jul 2003; Martin Holzer <mholzer@gentoo.org> rrdtool-1.0.45.ebuild:
+ Version bumped.
+
+ 22 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> rrdtool-0.41.ebuild,
+ rrdtool-0.41-r1.ebuild, rrdtool-0.42.ebuild, rrdtool-0.42-r1.ebuild :
+ Changed flags alteration.
+
+*rrdtool-1.0.41-r1 (01 Jun 2003)
+
+ 01 Jun 2003; Michael Cummings <mcummings@gentoo.org>
+ rrdtool-1.0.40-r1.ebuild, rrdtool-1.0.41-r1.ebuild,
+ rrdtool-1.0.42-r1.ebuild:
+ Version bump because eclasses changed
+
+ 30 May 2003; Seemant Kulleen <seemant@gentoo.org> rrdtool-1.0.42.ebuild:
+ change perl-post to perl-module for inheritance
+
+*rrdtool-1.0.42-r1 (02 Jun 2003)
+
+ 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*rrdtool-1.0.42 (16 Apr 2003)
+
+ 24 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest,
+ rrdtool-1.0.40.ebuild, rrdtool-1.0.41.ebuild, rrdtool-1.0.42.ebuild:
+ Updated Homepage. Marked as stable
+
+ 16 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest,
+ rrdtool-1.0.42.ebuild:
+ Version bumped.
+
+*rrdtool-1.0.41 (13 Mar 2003)
+
+ 04 Apr 2003; Dylan Carlson <absinthe@gentoo.org> rrdtool-1.0.41.ebuild:
+ Added "-ffast-math" to filter-flags.
+
+ 03 Apr 2003; Dylan Carlson <absinthe@gentoo.org> rrdtool-1.0.35-r3.ebuild,
+ rrdtool-1.0.35-r3.ebuild, rrdtool-1.0.39.ebuild, rrdtool-1.0.39.ebuild,
+ rrdtool-1.0.41.ebuild:
+ Filtering out -mfpmath=sse to close bug # 18705 (thanks to Zoltan Patay). x86
+ moved to stable.
+
+ 13 Mar 2003; Dylan Carlson <absinthe@gentoo.org> rrdtool-1.0.41.ebuild
+ files/digest-rrdtool-1.0.41 ChangeLog :
+
+ Version bump.
+
+*rrdtool-1.0.40-r1 (02 Jun 2003)
+
+ 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*rrdtool-1.0.40 (18 Jan 2003)
+
+ 18 Jan 2003; Martin Holzer <mholzer@gentoo.org> rrdtool-1.0.40.ebuild
+ files/digest-rrdtool-1.0.40 ChangeLog :
+ Version bumped. Closes #10703.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*rrdtool-1.0.39 (05 Aug 2002)
+
+ 16 Sep 2002; <mcummings@gentoo.org> : add PREFIX=${D}/usr to perl line.
+
+ 05 Aug 2002; Seemant Kulleen <seemant@gentoo.org> rrdtool-1.0.39.ebuild
+ files/digest-rrdtool-1.0.39 :
+
+ Version bump. Thanks to: tlund@springboardhosting.com (Tyler Lund) in bug
+ #5795.
+
+*rrdtool-1.0.35-r3 (10 Jun 2002)
+
+ 16 Sep 2002; <mcummings@gentoo.org> : add PREFIX=${D}/usr to perl line.
+
+ 10 Jun 2002; Seemant Kulleen <seemant@gentoo.org> rrdtool-1.0.35-r3.ebuild
+ files/digest-rrdtool-1.0.35-r3 :
+
+ Made fixes so it installs the binaries into /usr/bin and there are also
+ some perl specific things that need to be done (perl was made an optional
+ dep) which are done through the perl-module eclass now.
+
+*rrdtool-1.0.35-r2 (2 Jun 2002)
+ 2 Jun 2002; Ben Lutgens <lamer@gentoo.org> rrdtool-1.0.35-r1 :
+
+ Changed the install location from /opt/rrdtool to /usr/share/rrdtool
+ and installed the manpages in /usr/share/man/man1
+
+*rrdtool-1.0.35-r1 (15 Apr 2002)
+
+ 15 Apr 2002; Seemant Kulleen <seemant@gentoo.org> rrdtool-1.0.35-r1.ebuild
+ files/digest-rrdtool-1.0.35-r1 :
+
+ Replaced the tcl USE flag with tcltk instead, since the latter encapsulates
+ the former, and this is the only ebuild that uses the former.
+
+*rrdtool-1.0.35 (21 Mar 2002)
+
+ 21 Feb 2002; Ferry Meyndert <m0rpheus@gentoo.org> rrdtool-1.0.35.ebuild :
+
+ Added new version of rddtool 1.0.35 and removed the old once that had
+ the zlib bug
+
+*rrdtool-1.0.33 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest
new file mode 100644
index 0000000..ce463a1
--- /dev/null
+++ b/net-analyzer/rrdtool/Manifest
@@ -0,0 +1,10 @@
+AUX rrdtool-1.2.15-mem-usage.patch 4039 RMD160 674ac6fd1ec441776d3b364c919411a991baf162 SHA1 8b8f330627021b6de61dd77ee62e4a9e291b2b19 SHA256 a3363e8ac158eaa4179489735f2cfb2b1a7d2f0614bbeefb21a89141ba1f775e
+AUX rrdtool-1.2.15-newstyle-resize.patch 5231 RMD160 acdd68b7a7f422c615cfac824516beaeb782eb5e SHA1 973b40a3954942dd3306d5781f31faf4f88c257d SHA256 e55f1e7f0c4d3649b6790cb56247eaf5518a359ef662a959848805e416239fd1
+AUX rrdtool-1.2.15-no-man.patch 951 RMD160 098eeee5b79e72b7a52f64791496cd6f33027344 SHA1 751d49206265cef58975c81950113755396b92fe SHA256 adf121e31a1cea86ee97af0de71c6d76a666784121185ccb28055f433acff67f
+AUX rrdtool-1.2.23-ruby-binding-compile.patch 434 RMD160 485ecf5deb3db466722d81550e645c31dc5e46ba SHA1 e8c8960195a7ffbb47355e161c1599eb45fb2efa SHA256 a275a87653cf16086eaff5f2377673fea9d5ac88c66e4ebaf3498931b4082bc4
+AUX rrdtool-1.2.23-ruby-binding-configure.patch 541 RMD160 fa2cde6227972b3c23b56dea146430a1d5332833 SHA1 cae50646441da93929b74a46ce663f51233b4be0 SHA256 000a3376a2c42bc5789b65bab852a818f5714cbe3fa86f3c049af6a77a9d0e3c
+AUX rrdtool-1.2.23-tclbindings.patch 564 RMD160 082f66d7832e3b996cc9515a8c585afa791c7316 SHA1 17593d590141434668297ecfab128a98983b6bcf SHA256 83647ef379faa22bd6119f6687d49c74b18ac58baa2ef704aefab8664013dbd5
+DIST rrdtool-1.3rc7.tar.gz 1090771 RMD160 405094977253016053846ff39e31601689326ab7 SHA1 6d68ac81ba98436f343c365450d6438b1f82fed5 SHA256 16f57d30d2ef240c8f589fe9f33f371aef74d6a51b8774678ae098f9e067ee63
+EBUILD rrdtool-1.3_rc7.ebuild 2760 RMD160 52717259510f6f09e7e314dd7b15c7c6963c6de0 SHA1 7d06e6c9668eb15e0d678b90634d612814beffd6 SHA256 1a84d54dcd01bb01e8fcd4fc2f4ff3699d5f60c12ab904eb72a62efb4d37630b
+MISC ChangeLog 21730 RMD160 657dc6e9048d7b16da8478742bf86505dffc1202 SHA1 8ceec514cf0da8498837fc6327bdf387f562678d SHA256 3c9235167f42bb9d29f8e136c99da526a726e687373d82d08dcd34fd4d870df8
+MISC metadata.xml 241 RMD160 b010229ed860b6dadc3faa19006512f195e3ee55 SHA1 01721f8bf6f699f3647589a173ef1941fbd6dd1c SHA256 de63c7fc765937d32e93bda47d365a2e044ad3c6a70caff4ff5916dde97e6a3c
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.15-mem-usage.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.15-mem-usage.patch
new file mode 100644
index 0000000..e6f2f7d
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.15-mem-usage.patch
@@ -0,0 +1,133 @@
+diff -ru rrdtool-1.2.15~/src/rrd_graph.c rrdtool-1.2.15/src/rrd_graph.c
+--- rrdtool-1.2.15~/src/rrd_graph.c 2007-01-09 23:40:14.000000000 +0100
++++ rrdtool-1.2.15/src/rrd_graph.c 2007-01-09 23:48:03.000000000 +0100
+@@ -1060,8 +1060,9 @@
+ ** relevant for min and max
+ */
+ if (finite(paintval) && im->gdes[ii].gf != GF_TICK ) {
+- if (isnan(minval) || paintval < minval)
+- minval = paintval;
++ if ((isnan(minval) || paintval < minval ) &&
++ ! (im->logarithmic && paintval <= 0.0))
++ minval = paintval;
+ if (isnan(maxval) || paintval > maxval)
+ maxval = paintval;
+ }
+@@ -1710,6 +1711,35 @@
+ return mnt;
+ }
+
++static int AlmostEqual2sComplement (float A, float B, int maxUlps)
++{
++
++ int aInt = *(int*)&A;
++ int bInt = *(int*)&B;
++ int intDiff;
++ /* Make sure maxUlps is non-negative and small enough that the
++ default NAN won't compare as equal to anything. */
++
++ /* assert(maxUlps > 0 && maxUlps < 4 * 1024 * 1024); */
++
++ /* Make aInt lexicographically ordered as a twos-complement int */
++
++ if (aInt < 0)
++ aInt = 0x80000000l - aInt;
++
++ /* Make bInt lexicographically ordered as a twos-complement int */
++
++ if (bInt < 0)
++ bInt = 0x80000000l - bInt;
++
++ intDiff = abs(aInt - bInt);
++
++ if (intDiff <= maxUlps)
++ return 1;
++
++ return 0;
++}
++
+ /* logaritmic horizontal grid */
+ int
+ horizontal_log_grid(image_desc_t *im)
+@@ -1719,7 +1749,9 @@
+ {1.0, 5.0, 10., 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
+ {1.0, 2.0, 5.0, 7.0, 10., 0.0, 0.0, 0.0, 0.0, 0.0},
+ {1.0, 2.0, 4.0, 6.0, 8.0, 10., 0.0, 0.0, 0.0, 0.0},
+- {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.}};
++ {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.},
++ {0,0,0,0,0, 0,0,0,0,0} /* last line */ };
++
+
+ int i, j, val_exp, min_exp;
+ double nex; /* number of decades in data */
+@@ -1728,7 +1760,7 @@
+ int mid = -1; /* row in yloglab for major grid */
+ double mspac; /* smallest major grid spacing (pixels) */
+ int flab; /* first value in yloglab to use */
+- double value, tmp;
++ double value, tmp, pre_value;
+ double X0,X1,Y0;
+ char graph_label[100];
+
+@@ -1747,11 +1779,11 @@
+ mid++;
+ for(i = 0; yloglab[mid][i + 1] < 10.0; i++);
+ mspac = logscale * log10(10.0 / yloglab[mid][i]);
+- } while(mspac > 2 * im->text_prop[TEXT_PROP_LEGEND].size && mid < 5);
++ } while(mspac > 2 * im->text_prop[TEXT_PROP_LEGEND].size && yloglab[mid][0] > 0);
+ if(mid) mid--;
+
+ /* find first value in yloglab */
+- for(flab = 0; frexp10(im->minval, &tmp) > yloglab[mid][flab]; flab++);
++ for(flab = 0; yloglab[mid][flab] < 10 && frexp10(im->minval, &tmp) > yloglab[mid][flab] ; flab++);
+ if(yloglab[mid][flab] == 10.0) {
+ tmp += 1.0;
+ flab = 0;
+@@ -1763,8 +1795,12 @@
+ X1=im->xorigin+im->xsize;
+
+ /* draw grid */
++ pre_value = DNAN;
+ while(1) {
+ value = yloglab[mid][flab] * pow(10.0, val_exp);
++ if ( AlmostEqual2sComplement(value,pre_value,4) ) break; /* it seems we are not converging */
++
++ pre_value = value;
+
+ Y0 = ytr(im, value);
+ if(Y0 <= im->yorigin - im->ysize) break;
+@@ -2484,34 +2520,6 @@
+ /* yes we are loosing precision by doing tos with floats instead of doubles
+ but it seems more stable this way. */
+
+-static int AlmostEqual2sComplement (float A, float B, int maxUlps)
+-{
+-
+- int aInt = *(int*)&A;
+- int bInt = *(int*)&B;
+- int intDiff;
+- /* Make sure maxUlps is non-negative and small enough that the
+- default NAN won't compare as equal to anything. */
+-
+- /* assert(maxUlps > 0 && maxUlps < 4 * 1024 * 1024); */
+-
+- /* Make aInt lexicographically ordered as a twos-complement int */
+-
+- if (aInt < 0)
+- aInt = 0x80000000l - aInt;
+-
+- /* Make bInt lexicographically ordered as a twos-complement int */
+-
+- if (bInt < 0)
+- bInt = 0x80000000l - bInt;
+-
+- intDiff = abs(aInt - bInt);
+-
+- if (intDiff <= maxUlps)
+- return 1;
+-
+- return 0;
+-}
+
+ /* draw that picture thing ... */
+ int
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch
new file mode 100644
index 0000000..52b8c00
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch
@@ -0,0 +1,142 @@
+Add support for a more useful resize method, that allows setting of the number
+of rows, instead of requiring manual calculation.
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff -Nuar --exclude '*~' --exclude '*.txt' --exclude '*.html' --exclude '*.1' --exclude autom4te.cache --exclude bindings /dev/shm/portage/rrdtool-1.2.15/work/rrdtool-1.2.15/doc/rrdresize.pod /dev/shm/portage/rrdtool-1.2.15-r1/work/rrdtool-1.2.15/doc/rrdresize.pod
+--- rrdtool-1.2.15.orig/doc/rrdresize.pod 2006-07-14 05:11:26.000000000 -0700
++++ rrdtool-1.2.15/doc/rrdresize.pod 2006-07-21 01:56:56.333392940 -0700
+@@ -6,6 +6,8 @@
+
+ B<rrdtool> B<resize> I<filename> I<rra-num> B<GROW>I<|>B<SHRINK> I<rows>
+
++B<rrdtool> B<resize> I<filename> I<rra-num> [B<+>B<->B<=>]I<rows>
++
+ =head1 DESCRIPTION
+
+ The B<resize> function is used to modify the number of rows in
+@@ -23,17 +25,20 @@
+
+ =item B<GROW>
+
+-used if you want to add extra rows to an RRA. The extra rows will be inserted
+-as the rows that are oldest.
++(old style) used if you want to add extra rows to an RRA. The extra rows will
++be inserted as the rows that are oldest.
+
+ =item B<SHRINK>
+
+-used if you want to remove rows from an RRA. The rows that will be removed
+-are the oldest rows.
++(old style) used if you want to remove rows from an RRA. The rows that will be
++removed are the oldest rows.
+
+-=item I<rows>
++=item [B<+>B<->B<=>]I<rows>
+
+-the number of rows you want to add or remove.
++the number of rows you want to add or remove. when prefixed with any of B<+>,
++B<-> or B<=>, the B<GROW>I<|>B<SHRINK> argument is not required, and instead
++the prefix specifies to add (B<+>) I<rows>, remove (B<->) I<rows>, or set to
++exactly (B<=>) I<rows>.
+
+ =back
+
+diff -Nuar --exclude '*~' --exclude '*.txt' --exclude '*.html' --exclude '*.1' --exclude autom4te.cache --exclude bindings /dev/shm/portage/rrdtool-1.2.15/work/rrdtool-1.2.15/src/rrd_resize.c /dev/shm/portage/rrdtool-1.2.15-r1/work/rrdtool-1.2.15/src/rrd_resize.c
+--- rrdtool-1.2.15.orig/src/rrd_resize.c 2006-07-14 05:11:26.000000000 -0700
++++ rrdtool-1.2.15/src/rrd_resize.c 2006-07-21 03:09:45.656705610 -0700
+@@ -19,7 +19,7 @@
+ unsigned long l,rra;
+ long modify;
+ unsigned long target_rra;
+- int grow=0,shrink=0;
++ int grow=0,shrink=0,setsize=0,newstyle=0;
+ char *endptr;
+
+ infilename=argv[1];
+@@ -27,7 +27,7 @@
+ rrd_set_error("resize.rrd is a reserved name");
+ return(-1);
+ }
+- if (argc!=5) {
++ if (argc!=5 && argc != 4) {
+ rrd_set_error("wrong number of parameters");
+ return(-1);
+ }
+@@ -36,20 +36,39 @@
+
+ if (!strcmp(argv[3],"GROW")) grow=1;
+ else if (!strcmp(argv[3],"SHRINK")) shrink=1;
++ else if (argv[3][0] == '=' || argv[3][0] == '-' || argv[3][0] == '+') newstyle=3;
+ else {
+ rrd_set_error("I can only GROW or SHRINK");
+ return(-1);
+ }
+
+- modify=strtol(argv[4],&endptr,0);
+-
+- if ((modify<1)) {
+- rrd_set_error("Please grow or shrink with at least 1 row");
+- return(-1);
+- }
+-
+- if (shrink) modify = -modify;
++ // if the size starts with a character (=-+) then it's the new style
++ // instead. This is an extra mode so we can allow
++ // rrdtool resize FOO.rrd 5 GROW =5
++ if(argc == 5 && (argv[4][0] == '=' || argv[4][0] == '-' || argv[4][0] == '+')) {
++ newstyle = 4;
++ }
++ if(newstyle > 0) {
++ setsize = argv[newstyle][0] == '=' ? 1 : 0;
++ /* If we see a + or a -, then the codepath is simple */
++ grow = argv[newstyle][0] == '+' ? 1 : 0;
++ shrink = argv[newstyle][0] == '-' ? 1 : 0;
++ modify=strtol(argv[newstyle]+1,&endptr,0);
++ if(modify == 0) {
++ rrd_set_error("Refusing to add/delete/set with 0 rows");
++ return(-1);
++ }
++ } else {
++ /* this is the old code branch */
++ modify=strtol(argv[4],&endptr,0);
++
++ if ((modify<1)) {
++ rrd_set_error("Please grow or shrink with at least 1 row");
++ return(-1);
++ }
+
++ if (shrink) modify = -modify;
++ }
+
+ if (rrd_open(infilename, &infile, &rrdold, RRD_READWRITE)==-1) {
+ rrd_set_error("could not open RRD");
+@@ -68,6 +87,17 @@
+ fclose(infile);
+ return(-1);
+ }
++ /* if we are in setsize mode, we need to work out what modify factor to use */
++ if(setsize > 0) {
++ long oldsize = rrdold.rra_def[target_rra].row_cnt;
++ long newsize = modify;
++ // old=5, new=5 => modify = 0
++ if(newsize == oldsize) {
++ rrd_set_error("RRA is already set to that size!");
++ return(-1);
++ }
++ modify = newsize-oldsize;
++ }
+
+ if (modify < 0)
+ if ((long)rrdold.rra_def[target_rra].row_cnt <= -modify) {
+diff -Nuar --exclude '*~' --exclude '*.txt' --exclude '*.html' --exclude '*.1' --exclude autom4te.cache --exclude bindings /dev/shm/portage/rrdtool-1.2.15/work/rrdtool-1.2.15/src/rrd_tool.c /dev/shm/portage/rrdtool-1.2.15-r1/work/rrdtool-1.2.15/src/rrd_tool.c
+--- rrdtool-1.2.15.orig/src/rrd_tool.c 2006-07-14 05:11:26.000000000 -0700
++++ rrdtool-1.2.15/src/rrd_tool.c 2006-07-21 03:07:41.862541464 -0700
+@@ -152,6 +152,7 @@
+
+ char help_resize[] =
+ " * resize - alter the length of one of the RRAs in an RRD\n\n"
++ "\trrdtool resize filename rranum <+|-|=>rows\n";
+ "\trrdtool resize filename rranum GROW|SHRINK rows\n\n";
+
+ char help_xport[] =
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.15-no-man.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.15-no-man.patch
new file mode 100644
index 0000000..73b0761
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.15-no-man.patch
@@ -0,0 +1,26 @@
+Index: rrdtool-1.2.15/Makefile.am
+===================================================================
+--- rrdtool-1.2.15.orig/Makefile.am
++++ rrdtool-1.2.15/Makefile.am
+@@ -2,7 +2,7 @@
+ RSYNC = rsync --rsh=ssh
+
+ # build the following subdirectories
+-SUBDIRS = src bindings doc examples
++SUBDIRS = src bindings examples
+
+ # the following files are not mentioned in any other Makefile
+ EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
+Index: rrdtool-1.2.15/Makefile.in
+===================================================================
+--- rrdtool-1.2.15.orig/Makefile.in
++++ rrdtool-1.2.15/Makefile.in
+@@ -227,7 +227,7 @@ target_vendor = @target_vendor@
+ RSYNC = rsync --rsh=ssh
+
+ # build the following subdirectories
+-SUBDIRS = src bindings doc examples
++SUBDIRS = src bindings examples
+ EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
+ rrdtool.spec confignt/config.h favicon.ico
+
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-compile.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-compile.patch
new file mode 100644
index 0000000..d9a7598
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-compile.patch
@@ -0,0 +1,11 @@
+--- ./bindings/Makefile.am.orig 2007-05-12 14:08:09.000000000 +0400
++++ ./bindings/Makefile.am 2007-05-12 14:08:34.000000000 +0400
+@@ -24,7 +24,7 @@
+
+ # rules for buildung the ruby module
+ ruby:
+- cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS)
++ cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) RUBYARCHDIR=
+
+ # rules for buildung the pyton module
+ python:
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-configure.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-configure.patch
new file mode 100644
index 0000000..ed1f51b
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.23-ruby-binding-configure.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2007-05-12 15:16:22.000000000 +0400
++++ ./configure.ac 2007-05-12 15:16:38.000000000 +0400
+@@ -518,7 +518,7 @@
+ together with rrdtool in $prefix/lib/ruby. You have to
+ add $prefix/lib/ruby/$ruby_version/$sitearch to you $: variable
+ for ruby to find the RRD.so file.],
+-[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir=$prefix/lib/ruby"])
++[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir="'$(DESTDIR)'"$prefix/lib/ruby"])
+
+
+ AC_ARG_WITH(ruby-options,
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.2.23-tclbindings.patch b/net-analyzer/rrdtool/files/rrdtool-1.2.23-tclbindings.patch
new file mode 100644
index 0000000..43f4125
--- /dev/null
+++ b/net-analyzer/rrdtool/files/rrdtool-1.2.23-tclbindings.patch
@@ -0,0 +1,12 @@
+diff -ru rrdtool-1.2.23~/configure.ac rrdtool-1.2.23/configure.ac
+--- rrdtool-1.2.23~/configure.ac 2007-05-05 17:17:33.000000000 +0200
++++ rrdtool-1.2.23/configure.ac 2007-05-05 17:18:08.000000000 +0200
+@@ -559,7 +559,7 @@
+ AC_MSG_WARN([tclConfig.sh not found - Tcl interface won't be built])
+ else
+ . $tcl_config
+- TCL_PACKAGE_DIR="$TCL_PACKAGE_PATH/tclrrd$VERSION"
++ TCL_PACKAGE_DIR="${TCL_PACKAGE_PATH% *}/tclrrd$VERSION"
+ fi
+ AC_ARG_ENABLE(tcl,[ --enable-tcl-site install the tcl extension in the tcl tree],
+ [],[enable_tcl_site=yes])
diff --git a/net-analyzer/rrdtool/metadata.xml b/net-analyzer/rrdtool/metadata.xml
new file mode 100644
index 0000000..2f8d885
--- /dev/null
+++ b/net-analyzer/rrdtool/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<longdescription>A system to store and display time-series data</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/rrdtool/rrdtool-1.3_rc7.ebuild b/net-analyzer/rrdtool/rrdtool-1.3_rc7.ebuild
new file mode 100644
index 0000000..f9960bb
--- /dev/null
+++ b/net-analyzer/rrdtool/rrdtool-1.3_rc7.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild,v 1.3 2008/05/12 15:57:22 corsair Exp $
+
+inherit autotools eutils flag-o-matic multilib perl-module
+
+DESCRIPTION="A system to store and display time-series data"
+HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
+if [[ ${PV} =~ rc ]] ; then
+MY_PV=${PV/_}
+SRC_URI="http://oss.oetiker.ch/rrdtool/pub/beta/${PN}-${MY_PV}.tar.gz"
+S=${WORKDIR}//${PN}-${MY_PV}
+else
+SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc perl python ruby rrdcgi tcl"
+
+# This versions are minimal versions upstream tested with.
+RDEPEND="
+ >=media-libs/libpng-1.2.10
+ >=dev-libs/libxml2-2.6.31
+ >=x11-libs/cairo-1.4.6
+ >=dev-libs/glib-2.12.12
+ >=x11-libs/pango-1.17
+ tcl? ( dev-lang/tcl )
+ perl? ( dev-lang/perl )
+ python? ( dev-lang/python )
+ ruby? ( dev-lang/ruby
+ !dev-ruby/ruby-rrd )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-2.3.1
+ sys-apps/gawk"
+
+pkg_setup() {
+ if ! built_with_use x11-libs/cairo svg; then
+ eerror "${PN} requires x11-libs/pango to be built with X USE flag."
+ die "Rebuild x11-libs/pango with X USE flag enabled."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ #epatch "${FILESDIR}"/${PN}-1.2.15-newstyle-resize.patch
+}
+
+pkg_setup() {
+ use perl && perl-module_pkg_setup
+}
+
+src_compile() {
+ filter-flags -ffast-math
+
+ export RRDDOCDIR=/usr/share/doc/${PF}
+
+ econf $(use_enable rrdcgi) \
+ $(use_enable ruby) \
+ $(use_enable ruby ruby-site-install) \
+ $(use_enable perl) \
+ $(use_enable perl perl-site-install) \
+ $(use_enable tcl) \
+ $(use_with tcl tcllib /usr/$(get_libdir)) \
+ $(use_enable python) || die "econf failed."
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ if ! use doc ; then
+ rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
+ fi
+
+ use perl && fixlocalpod
+
+ dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
+}
+
+pkg_preinst() {
+ use perl && perl-module_pkg_preinst
+}
+
+pkg_postinst() {
+ use perl && perl-module_pkg_postinst
+ ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
+ ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
+ ewarn "causes older versions of rrdtool restore to be unhappy."
+ ewarn
+ ewarn "To restore a new dump with ann old rrdtool restore version, either remove"
+ ewarn "the xml header and the doctype by hand (both on the first line of the dump)"
+ ewarn "or use rrdtool dump --no-header."
+}
+
+pkg_prerm() {
+ use perl && perl-module_pkg_prerm
+}
+
+pkg_postrm() {
+ use perl && perl-module_pkg_postrm
+}