summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-01 06:55:15 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-01 06:55:15 +0000
commit1b7f3e0bae87061a65bb80a02d3e4945ecd8e76f (patch)
tree717897d60f39d88eb70492dca75918d8e8310acf /net-analyzer/rrdtool
parent[bump] dev-perl/Net-Twitter-3.180.10 (diff)
downloadgentoo-2-1b7f3e0bae87061a65bb80a02d3e4945ecd8e76f.tar.gz
gentoo-2-1b7f3e0bae87061a65bb80a02d3e4945ecd8e76f.tar.bz2
gentoo-2-1b7f3e0bae87061a65bb80a02d3e4945ecd8e76f.zip
Remove old.
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r--net-analyzer/rrdtool/ChangeLog9
-rw-r--r--net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch142
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.0.50.ebuild119
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.29.ebuild88
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.30.ebuild88
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.3.7.ebuild90
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.3.8-r1.ebuild101
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.3.9.ebuild100
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.4.2.ebuild89
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.4.3.ebuild96
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.4.4.ebuild97
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.4.5.ebuild97
12 files changed, 8 insertions, 1108 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog
index 4194cbc77d35..5f2d0cf1c03a 100644
--- a/net-analyzer/rrdtool/ChangeLog
+++ b/net-analyzer/rrdtool/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/rrdtool
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.210 2011/08/07 08:13:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.211 2011/10/01 06:55:15 radhermit Exp $
+
+ 01 Oct 2011; Tim Harder <radhermit@gentoo.org> -rrdtool-1.0.50.ebuild,
+ -files/rrdtool-1.2.15-newstyle-resize.patch, -rrdtool-1.2.29.ebuild,
+ -rrdtool-1.2.30.ebuild, -rrdtool-1.3.7.ebuild, -rrdtool-1.3.8-r1.ebuild,
+ -rrdtool-1.3.9.ebuild, -rrdtool-1.4.2.ebuild, -rrdtool-1.4.3.ebuild,
+ -rrdtool-1.4.4.ebuild, -rrdtool-1.4.5.ebuild:
+ Remove old.
*rrdtool-1.4.5-r1 (07 Aug 2011)
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
deleted file mode 100644
index 52b8c005a07e..000000000000
--- a/net-analyzer/rrdtool/files/rrdtool-1.2.15-newstyle-resize.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-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/rrdtool-1.0.50.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.50.ebuild
deleted file mode 100644
index 70a7e2390aa7..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.0.50.ebuild
+++ /dev/null
@@ -1,119 +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/rrdtool/rrdtool-1.0.50.ebuild,v 1.5 2008/09/18 11:10:44 pva Exp $
-
-inherit perl-module flag-o-matic eutils
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="ftp://ftp.bit.nl/mirror/rrdtool/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-IUSE="perl tcl"
-
-DEPEND="perl? ( dev-lang/perl )
- sys-apps/gawk
- >=media-libs/gd-1.8.3"
-RDEPEND="tcl? ( dev-lang/tcl )"
-
-TCL_VER=""
-
-pkg_setup() {
- use perl && perl-module_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -e 's/^LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC)/& -prefer-pic/' -i src/Makefile.in
-
- if [[ ! $(grep '^LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) -prefer-pic' src/Makefile.in) ]]; then
- die "Makefile.in sed failed"
- fi
-}
-
-src_compile() {
- filter-mfpmath sse
- filter-flags -ffast-math
-
- local myconf
- myconf="${myconf} --datadir=/usr/share --enable-shared"
-
- if use tcl ; then
- myconf="${myconf} --with-tcllib=/usr/lib"
- else
- myconf="${myconf} --without-tcllib"
- fi
-
- if use perl; then
- econf ${myconf} --with-perl-options='PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}' || die "econf failed"
-
- # libraries without -fPIC? feh!
- for libdir in cgilib* gd* libpng* zlib*; do
- sed -i -e 's/^CFLAGS.*/& -fPIC/' ${libdir}/Makefile
- done
- else
- econf ${myconf} || die "econf failed"
- fi
-
- make || die "make failed"
-}
-
-src_install() {
- einstall || die
-
- # this package completely ignores mandir settings
-
- doman doc/*.1
- dohtml doc/*.html
- dodoc doc/*.pod
- dodoc doc/*.txt
-
- rm -rf "${D}"/usr/doc
- rm -rf "${D}"/usr/html
- rm -rf "${D}"/usr/man
- rm -rf "${D}"/usr/contrib
- rm -rf "${D}"/usr/examples
-
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
- insinto /usr/share/doc/${PF}/contrib
- doins contrib/*
-
- if use perl ; then
- perlinfo
- mytargets="site-perl-install"
- perl-module_src_install || die
-
- # remove duplicate installation into /usr/lib/perl
- rm -Rf "${D}"/usr/lib/perl
- fi
-
- if use tcl ; then
-# mv ${S}/tcl/tclrrd.so ${S}/tcl/tclrrd${PV}.so
-# insinto /usr/lib/tcl${TCL_VER}/tclrrd${PV}
-# doins ${S}/tcl/tclrrd${PV}.so
- echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \
- >> "${D}"/usr/lib/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl
- fi
-
- dodoc COPY* CONTR* README TODO
-}
-
-pkg_preinst() {
- use perl && perl-module_pkg_preinst
-}
-
-pkg_postinst() {
- use perl && perl-module_pkg_postinst
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.29.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.29.ebuild
deleted file mode 100644
index 1dc015c4e63b..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.2.29.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.29.ebuild,v 1.8 2009/02/14 18:22:15 ranger Exp $
-
-inherit eutils flag-o-matic multilib perl-module
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-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"
-
-RDEPEND="tcl? ( dev-lang/tcl )
- >=sys-libs/zlib-1.2.1
- >=media-libs/freetype-2.1.5
- >=media-libs/libart_lgpl-2.3.16
- >=media-libs/libpng-1.2.5
- rrdcgi? ( >=dev-libs/cgilib-0.5 )
- ruby? ( !dev-ruby/ruby-rrd )"
-
-DEPEND="${RDEPEND}
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( dev-lang/ruby )
- sys-apps/gawk"
-
-TCLVER=""
-
-HTMLDOC_DIR="${PF}/html"
-
-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-mfpmath sse
- 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
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild
deleted file mode 100644
index 257c46797e14..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild,v 1.8 2009/12/08 19:45:37 ranger Exp $
-
-inherit eutils flag-o-matic multilib perl-module
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-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"
-
-RDEPEND="tcl? ( dev-lang/tcl )
- >=sys-libs/zlib-1.2.1
- >=media-libs/freetype-2.1.5
- >=media-libs/libart_lgpl-2.3.16
- >=media-libs/libpng-1.2.5
- rrdcgi? ( >=dev-libs/cgilib-0.5 )
- ruby? ( !dev-ruby/ruby-rrd )"
-
-DEPEND="${RDEPEND}
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( dev-lang/ruby )
- sys-apps/gawk"
-
-TCLVER=""
-
-HTMLDOC_DIR="${PF}/html"
-
-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-mfpmath sse
- 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
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild b/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild
deleted file mode 100644
index 6a5b318cecec..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild,v 1.4 2009/11/24 17:26:22 jer Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib perl-module
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-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[svg]
- >=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-1.8.6_p287-r13
- !dev-ruby/ruby-rrd )"
-
-DEPEND="${RDEPEND}
- sys-apps/gawk"
-
-pkg_setup() {
- use perl && perl-module_pkg_setup
-}
-
-src_configure() {
- 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)
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.3.8-r1.ebuild b/net-analyzer/rrdtool/rrdtool-1.3.8-r1.ebuild
deleted file mode 100644
index b047b116e190..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.3.8-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.8-r1.ebuild,v 1.4 2009/11/24 17:26:22 jer Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="doc nls 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[svg]
- >=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-1.8.6_p287-r13
- !dev-ruby/ruby-rrd )"
-
-DEPEND="${RDEPEND}
- nls? ( >=dev-util/intltool-0.35
- sys-devel/gettext )
- sys-apps/gawk"
-
-pkg_setup() {
- use perl && perl-module_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- mkdir m4
- eautoreconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=/usr/share/doc/${PF}
-
- econf $(use_enable rrdcgi) \
- $(use_enable nls) \
- $(use_enable nls libintl) \
- $(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)
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild b/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild
deleted file mode 100644
index 25d5bc1c054c..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild,v 1.2 2009/11/24 17:26:22 jer Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="doc nls 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[svg]
- >=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-1.8.6_p287-r13
- !dev-ruby/ruby-rrd )"
-
-DEPEND="${RDEPEND}
- nls? ( >=dev-util/intltool-0.35
- sys-devel/gettext )
- sys-apps/gawk"
-
-pkg_setup() {
- use perl && perl-module_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- eautoconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=/usr/share/doc/${PF}
-
- econf $(use_enable rrdcgi) \
- $(use_enable nls) \
- $(use_enable nls libintl) \
- $(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)
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
-
-pkg_prerm() {
- use perl && perl-module_pkg_prerm
-}
-
-pkg_postrm() {
- use perl && perl-module_pkg_postrm
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.4.2.ebuild b/net-analyzer/rrdtool/rrdtool-1.4.2.ebuild
deleted file mode 100644
index d42fdbf1a354..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.4.2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.2.ebuild,v 1.6 2010/05/26 20:28:02 tove Exp $
-
-EAPI="3"
-
-GENTOO_DEPEND_ON_PERL="no"
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
-IUSE="doc lua 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[svg]
- >=dev-libs/glib-2.12.12
- >=x11-libs/pango-1.17
- lua? ( dev-lang/lua )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd )
- tcl? ( dev-lang/tcl )"
-
-DEPEND="${RDEPEND}
- sys-apps/gawk"
-
-src_prepare() {
- epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- eautoconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
-
- # to solve bug #260380
- [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
-
- econf $(use_enable rrdcgi) \
- $(use_enable lua) \
- $(use_enable lua lua-site-install) \
- $(use_enable ruby) \
- $(use_enable ruby ruby-site-install) \
- $(use_enable perl) \
- $(use_enable perl perl-site-install) \
- --with-perl-options=INSTALLDIRS=vendor \
- $(use_enable tcl) \
- $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
- $(use_enable python)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- if ! use doc ; then
- rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
- fi
-
- if use perl ; then
- perl_delete_localpod
- perl_delete_packlist
- fi
-
- dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild b/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild
deleted file mode 100644
index c70983abcbce..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild,v 1.3 2010/06/08 11:55:01 grobian Exp $
-
-EAPI="3"
-
-GENTOO_DEPEND_ON_PERL="no"
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
-IUSE="doc lua 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[svg]
- >=dev-libs/glib-2.12.12
- >=x11-libs/pango-1.17
- lua? ( dev-lang/lua )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd )
- tcl? ( dev-lang/tcl )"
-
-DEPEND="${RDEPEND}
- sys-apps/gawk"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.3.8-configure.ac.patch"
- epatch "${FILESDIR}/${P}-ruby-ldflags.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- eautoconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
-
- # to solve bug #260380
- [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
-
- econf $(use_enable rrdcgi) \
- $(use_enable lua) \
- $(use_enable lua lua-site-install) \
- $(use_enable ruby) \
- $(use_enable ruby ruby-site-install) \
- $(use_enable perl) \
- $(use_enable perl perl-site-install) \
- --with-perl-options=INSTALLDIRS=vendor \
- $(use_enable tcl) \
- $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
- $(use_enable python)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- if ! use doc ; then
- rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
- fi
-
- if use !rrdcgi ; then
- # uses rrdcgi, causes invalid shebang error in Prefix, useless
- # without rrdcgi installed
- rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi
- fi
-
- if use perl ; then
- perl_delete_localpod
- perl_delete_packlist
- fi
-
- dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.4.4.ebuild b/net-analyzer/rrdtool/rrdtool-1.4.4.ebuild
deleted file mode 100644
index e29b77c697b7..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.4.4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.4.ebuild,v 1.2 2011/01/10 18:15:48 graaff Exp $
-
-EAPI="3"
-
-GENTOO_DEPEND_ON_PERL="no"
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
-IUSE="doc lua 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[svg]
- >=dev-libs/glib-2.12.12
- >=x11-libs/pango-1.17
- lua? ( dev-lang/lua )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd )
- tcl? ( dev-lang/tcl )"
-
-DEPEND="${RDEPEND}
- sys-apps/gawk"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.3.8-configure.ac.patch"
- epatch "${FILESDIR}/${PN}-1.4.3-ruby-ldflags.patch"
- epatch "${FILESDIR}/${P}-dont-link-system-lib.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- eautoreconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
-
- # to solve bug #260380
- [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
-
- econf $(use_enable rrdcgi) \
- $(use_enable lua) \
- $(use_enable lua lua-site-install) \
- $(use_enable ruby) \
- $(use_enable ruby ruby-site-install) \
- $(use_enable perl) \
- $(use_enable perl perl-site-install) \
- --with-perl-options=INSTALLDIRS=vendor \
- $(use_enable tcl) \
- $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
- $(use_enable python)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- if ! use doc ; then
- rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
- fi
-
- if use !rrdcgi ; then
- # uses rrdcgi, causes invalid shebang error in Prefix, useless
- # without rrdcgi installed
- rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi
- fi
-
- if use perl ; then
- perl_delete_localpod
- perl_delete_packlist
- fi
-
- dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}
diff --git a/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild b/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild
deleted file mode 100644
index 0ea6be6ccf4b..000000000000
--- a/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild,v 1.1 2011/06/01 02:28:58 jer Exp $
-
-EAPI="3"
-
-GENTOO_DEPEND_ON_PERL="no"
-inherit eutils flag-o-matic multilib perl-module autotools
-
-DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
-IUSE="doc lua 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[svg]
- >=dev-libs/glib-2.12.12
- >=x11-libs/pango-1.17
- lua? ( dev-lang/lua )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd )
- tcl? ( dev-lang/tcl )"
-
-DEPEND="${RDEPEND}
- sys-apps/gawk"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.3.8-configure.ac.patch"
-# epatch "${FILESDIR}/${PN}-1.4.3-ruby-ldflags.patch"
- epatch "${FILESDIR}/${PN}-1.4.4-dont-link-system-lib.patch"
- sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
- eautoreconf
-}
-
-src_configure() {
- filter-flags -ffast-math
-
- export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
-
- # to solve bug #260380
- [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
-
- econf $(use_enable rrdcgi) \
- $(use_enable lua) \
- $(use_enable lua lua-site-install) \
- $(use_enable ruby) \
- $(use_enable ruby ruby-site-install) \
- $(use_enable perl) \
- $(use_enable perl perl-site-install) \
- --with-perl-options=INSTALLDIRS=vendor \
- $(use_enable tcl) \
- $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
- $(use_enable python)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- if ! use doc ; then
- rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
- fi
-
- if use !rrdcgi ; then
- # uses rrdcgi, causes invalid shebang error in Prefix, useless
- # without rrdcgi installed
- rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi
- fi
-
- if use perl ; then
- perl_delete_localpod
- perl_delete_packlist
- fi
-
- dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
-}
-
-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 an 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."
- ewarn
- ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
- ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
- ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
-}