Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
databases/rrdtool/DESCR Normal file
View File

@@ -0,0 +1,11 @@
Round Robin Database Tools
==========================
It is pretty easy to gather status information from all sorts of things,
ranging from the temperature in your office to the number of octets which
have passed through the FDDI interface of your router. But it is not so
trivial to store this data in a efficient and systematic manner. This is
where RRDtool kicks in. It lets you log and analyze the data you gather from
all kinds of data-sources (DS). The data analysis part of RRDtool is based
on the ability to quickly generate graphical representations of the data
values collected over a definable time period.

View File

@@ -0,0 +1,50 @@
# $NetBSD: Makefile,v 1.107 2013/06/06 12:53:49 wiz Exp $
DISTNAME= rrdtool-1.4.7
PKGREVISION= 13
CATEGORIES= databases graphics net
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://oss.oetiker.ch/rrdtool/
COMMENT= Data analysis tool generating graphical representations
LICENSE= gnu-gpl-v2
DEPENDS+= dejavu-ttf>=2.26:../../fonts/dejavu-ttf
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config perl msgfmt intltool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q}
CONFIGURE_ARGS+= --disable-tcl
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-ruby
CONFIGURE_ARGS+= --disable-lua
PTHREAD_OPTS+= require
PERL5_CONFIGURE= no
PERL5_PACKLIST+= auto/RRDp/.packlist
PERL5_PACKLIST+= auto/RRDs/.packlist
# rrdtool explicitly forbids any use of -ffast-math
BUILDLINK_TRANSFORM+= rm:-ffast-math
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-build
SUBST_MESSAGE.prefix= Fixing $${prefix} in scripts.
SUBST_FILES.prefix= examples/cgi-demo.cgi
SUBST_SED.prefix= -e '1s,^\#! \$${prefix},\#! ${PREFIX},'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

139
databases/rrdtool/PLIST Normal file
View File

@@ -0,0 +1,139 @@
@comment $NetBSD: PLIST,v 1.13 2010/07/06 07:31:20 adam Exp $
bin/rrdcached
bin/rrdcgi
bin/rrdtool
bin/rrdupdate
include/rrd.h
include/rrd_client.h
include/rrd_format.h
lib/librrd.la
lib/librrd_th.la
lib/pkgconfig/librrd.pc
man/man1/bin_dec_hex.1
man/man1/cdeftutorial.1
man/man1/rpntutorial.1
man/man1/rrd-beginners.1
man/man1/rrdbuild.1
man/man1/rrdcached.1
man/man1/rrdcgi.1
man/man1/rrdcreate.1
man/man1/rrddump.1
man/man1/rrdfetch.1
man/man1/rrdfirst.1
man/man1/rrdflushcached.1
man/man1/rrdgraph.1
man/man1/rrdgraph_data.1
man/man1/rrdgraph_examples.1
man/man1/rrdgraph_graph.1
man/man1/rrdgraph_rpn.1
man/man1/rrdinfo.1
man/man1/rrdlast.1
man/man1/rrdlastupdate.1
man/man1/rrdresize.1
man/man1/rrdrestore.1
man/man1/rrdthreads.1
man/man1/rrdtool.1
man/man1/rrdtune.1
man/man1/rrdtutorial.1
man/man1/rrdupdate.1
man/man1/rrdxport.1
man/man3/librrd.3
share/doc/rrdtool-${PKGVERSION}/html/RRDp.html
share/doc/rrdtool-${PKGVERSION}/html/RRDs.html
share/doc/rrdtool-${PKGVERSION}/html/bin_dec_hex.html
share/doc/rrdtool-${PKGVERSION}/html/cdeftutorial.html
share/doc/rrdtool-${PKGVERSION}/html/index.html
share/doc/rrdtool-${PKGVERSION}/html/librrd.html
share/doc/rrdtool-${PKGVERSION}/html/rpntutorial.html
share/doc/rrdtool-${PKGVERSION}/html/rrd-beginners.html
share/doc/rrdtool-${PKGVERSION}/html/rrdbuild.html
share/doc/rrdtool-${PKGVERSION}/html/rrdcached.html
share/doc/rrdtool-${PKGVERSION}/html/rrdcgi.html
share/doc/rrdtool-${PKGVERSION}/html/rrdcreate.html
share/doc/rrdtool-${PKGVERSION}/html/rrddump.html
share/doc/rrdtool-${PKGVERSION}/html/rrdfetch.html
share/doc/rrdtool-${PKGVERSION}/html/rrdfirst.html
share/doc/rrdtool-${PKGVERSION}/html/rrdflushcached.html
share/doc/rrdtool-${PKGVERSION}/html/rrdgraph.html
share/doc/rrdtool-${PKGVERSION}/html/rrdgraph_data.html
share/doc/rrdtool-${PKGVERSION}/html/rrdgraph_examples.html
share/doc/rrdtool-${PKGVERSION}/html/rrdgraph_graph.html
share/doc/rrdtool-${PKGVERSION}/html/rrdgraph_rpn.html
share/doc/rrdtool-${PKGVERSION}/html/rrdinfo.html
share/doc/rrdtool-${PKGVERSION}/html/rrdlast.html
share/doc/rrdtool-${PKGVERSION}/html/rrdlastupdate.html
share/doc/rrdtool-${PKGVERSION}/html/rrdresize.html
share/doc/rrdtool-${PKGVERSION}/html/rrdrestore.html
share/doc/rrdtool-${PKGVERSION}/html/rrdthreads.html
share/doc/rrdtool-${PKGVERSION}/html/rrdtool.html
share/doc/rrdtool-${PKGVERSION}/html/rrdtune.html
share/doc/rrdtool-${PKGVERSION}/html/rrdtutorial.html
share/doc/rrdtool-${PKGVERSION}/html/rrdupdate.html
share/doc/rrdtool-${PKGVERSION}/html/rrdxport.html
share/doc/rrdtool-${PKGVERSION}/txt/bin_dec_hex.pod
share/doc/rrdtool-${PKGVERSION}/txt/bin_dec_hex.txt
share/doc/rrdtool-${PKGVERSION}/txt/cdeftutorial.pod
share/doc/rrdtool-${PKGVERSION}/txt/cdeftutorial.txt
share/doc/rrdtool-${PKGVERSION}/txt/librrd.txt
share/doc/rrdtool-${PKGVERSION}/txt/rpntutorial.pod
share/doc/rrdtool-${PKGVERSION}/txt/rpntutorial.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrd-beginners.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrd-beginners.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdbuild.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdbuild.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdcached.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdcached.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdcgi.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdcgi.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdcreate.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdcreate.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrddump.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrddump.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdfetch.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdfetch.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdfirst.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdfirst.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdflushcached.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdflushcached.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_data.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_data.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_examples.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_examples.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_graph.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_graph.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_rpn.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdgraph_rpn.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdinfo.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdinfo.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdlast.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdlast.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdlastupdate.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdlastupdate.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdresize.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdresize.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdrestore.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdrestore.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdthreads.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdthreads.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdtool.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdtool.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdtune.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdtune.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdtutorial.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdtutorial.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdupdate.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdupdate.txt
share/doc/rrdtool-${PKGVERSION}/txt/rrdxport.pod
share/doc/rrdtool-${PKGVERSION}/txt/rrdxport.txt
share/examples/rrdcached/RRDCached.pm
share/examples/rrdcached/rrdcached-size.pl
share/examples/rrdtool/4charts.pl
share/examples/rrdtool/bigtops.pl
share/examples/rrdtool/cgi-demo.cgi
share/examples/rrdtool/minmax.pl
share/examples/rrdtool/perftest.pl
share/examples/rrdtool/piped-demo.pl
share/examples/rrdtool/shared-demo.pl
share/examples/rrdtool/stripes.pl

View File

@@ -0,0 +1,23 @@
# $NetBSD: buildlink3.mk,v 1.40 2013/06/06 12:53:49 wiz Exp $
BUILDLINK_TREE+= rrdtool
.if !defined(RRDTOOL_BUILDLINK3_MK)
RRDTOOL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.rrdtool+= rrdtool>=1.3.9
BUILDLINK_ABI_DEPENDS.rrdtool+= rrdtool>=1.4.7nb13
BUILDLINK_PKGSRCDIR.rrdtool?= ../../databases/rrdtool
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.endif # RRDTOOL_BUILDLINK3_MK
BUILDLINK_TREE+= -rrdtool

View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.43 2012/02/03 15:43:44 drochner Exp $
SHA1 (rrdtool-1.4.7.tar.gz) = faab7df7696b69f85d6f89dd9708d7cf0c9a273b
RMD160 (rrdtool-1.4.7.tar.gz) = 3a8c1c0f3fe0d76fb7da8b712cdd19d59d5171ba
Size (rrdtool-1.4.7.tar.gz) = 1349040 bytes
SHA1 (patch-aa) = 317fc6e46e15333574d0e977d8ab34e916920f4a
SHA1 (patch-ab) = 81131a74c8e9b81edfaa4b6746d4ab8508e82ac2
SHA1 (patch-al) = abc25497a10d59b1ad2e3a263f818eef89985538
SHA1 (patch-am) = 6c0a0890b1e8e2c1a186e2015c0cf5acd719b686
SHA1 (patch-az) = 41e7f6aad5a54a0fa27744709af404b887b88602

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.15 2012/02/03 15:43:44 drochner Exp $
--- src/rrd_lastupdate.c.orig 2012-01-24 10:08:48.000000000 +0000
+++ src/rrd_lastupdate.c
@@ -75,7 +75,7 @@ int rrd_lastupdate (int argc, char **arg
printf(" %s", ds_names[i]);
printf ("\n\n");
- printf ("%10lu:", last_update);
+ printf ("%10llu:", (unsigned long long)last_update);
for (i = 0; i < ds_count; i++) {
printf(" %s", last_ds[i]);
free(last_ds[i]);

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-ab,v 1.11 2012/02/03 15:43:44 drochner Exp $
--- src/rrd_tool.c.orig 2012-01-24 10:08:48.000000000 +0000
+++ src/rrd_tool.c
@@ -670,11 +670,11 @@ int HandleInputLine(
else if (strcmp("resize", argv[1]) == 0)
rrd_resize(argc - 1, &argv[1]);
else if (strcmp("last", argv[1]) == 0)
- printf("%ld\n", rrd_last(argc - 1, &argv[1]));
+ printf("%lld\n", (long long)rrd_last(argc - 1, &argv[1]));
else if (strcmp("lastupdate", argv[1]) == 0) {
rrd_lastupdate(argc - 1, &argv[1]);
} else if (strcmp("first", argv[1]) == 0)
- printf("%ld\n", rrd_first(argc - 1, &argv[1]));
+ printf("%lld\n", (long long)rrd_first(argc - 1, &argv[1]));
else if (strcmp("update", argv[1]) == 0)
rrd_update(argc - 1, &argv[1]);
else if (strcmp("fetch", argv[1]) == 0) {
@@ -692,7 +692,7 @@ int HandleInputLine(
printf("%20s", ds_namv[i]);
printf("\n\n");
for (ti = start + step; ti <= end; ti += step) {
- printf("%10lu:", ti);
+ printf("%10llu:", (unsigned long long)ti);
for (ii = 0; ii < ds_cnt; ii++)
printf(" %0.10e", *(datai++));
printf("\n");

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-al,v 1.17 2010/07/06 07:31:20 adam Exp $
Correct examples directory.
--- examples/Makefile.in.orig 2010-07-05 19:31:54.000000000 +0000
+++ examples/Makefile.in
@@ -330,7 +330,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = rrdcached
EXTRA_DIST = cgi-demo.cgi.in
-examplesdir = $(pkgdatadir)/examples
+examplesdir = $(prefix)/share/examples/rrdtool
examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
stripes.pl bigtops.pl minmax.pl 4charts.pl perftest.pl

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-am,v 1.8 2010/07/06 07:31:37 adam Exp $
Correct examples directory.
--- examples/rrdcached/Makefile.in.orig 2010-07-06 07:23:46.000000000 +0000
+++ examples/rrdcached/Makefile.in
@@ -283,7 +283,7 @@ target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-examplesdir = $(pkgdatadir)/examples/rrdcached
+examplesdir = $(prefix)/share/examples/rrdcached
examples_SCRIPTS = RRDCached.pm rrdcached-size.pl
EXTRA_DIST = RRDCached.pm rrdcached-size.pl
all: all-am

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-az,v 1.3 2011/01/05 18:12:39 kefren Exp $
--- src/rrd_daemon.c.orig 2010-12-21 18:06:32.000000000 +0200
+++ src/rrd_daemon.c 2011-01-05 18:10:33.000000000 +0200
@@ -113,7 +113,7 @@
#include <tcpd.h>
#endif /* HAVE_LIBWRAP */
-#include <glib-2.0/glib.h>
+#include <glib.h>
/* }}} */
#define RRDD_LOG(severity, ...) \