Commit graph

104 commits

Author SHA1 Message Date
martti
31c04538e3 Updated databases/rrdtool to 1.3.4
* detect short/truncated files on open (rrdtool used to crash later
  on some platforms)

* stop rrd_resize from altering the original file (mmap side
  effect)

* fix VDEF and SHIFT use. Now it returns correct data and does
  not crash anymore.

* fix rrd_xport when used on datasources with different
  resolutions. This has been broken from day 1 of this tools
  exsitance.

* fixed default prefix for ruby install

* added rpath for perl bindings on bsd

* do not [fm]advise past the end of the file since this
  causes crashes on sparc.
2008-10-07 07:23:35 +00:00
joerg
7e733cde40 Needs msgfmt, intltool and drop forcing pkgsrc gettext. Bump revision. 2008-09-18 13:56:13 +00:00
martti
0f76c2163a Updated databases/rrdtool to 1.3.3
While 1.3.2 did fix the data corruption bug, and was much faster
with creating graphs, it did break badly when you tried to supply
your own font names and sizes. 1.3.3 fixes this regression.

* Do not crash when user tries to select a font in rrdgraph
* Another attempt at makeing it compile out-of-the box on solaris 8
2008-09-15 15:11:46 +00:00
martti
19a8eff734 Updated databases/rrdtool to 1.3.2
MAJOR BUG-FIX:

* When running rrdtool update with multiple updates in one go and
  MMAP enabled, there was a data corruption bug at wrap around.
  See http://oss.oetiker.ch/rrdtool-trac/ticket/178 for details
  Thanks to Kevin Brintnall

OTHER FIXES:

* Forward ported rra cur_row randomization patch from rrdtool
  1.2.28 (it got lost in development).

* Contrary to the documentation imginfo did return the full path
  of the image and not only the file name.

* Make --lazy mode work even when PRINT commands are present.
  http://oss.oetiker.ch/rrdtool-trac/ticket/163

* Fix Ruby Bindings memory leak.

* Fix compilation on solaris 2.8

* Fix a ton of memory leaks in rrd_create and some in rrd_tool as
  well. Based on valgrind analysis by Sven Engelhardt. Thanks!

* Fix handling of error conditions in rrd_tool.c (errno is not the
  ideal indicator)

ENHANCEMENTS:

* Text Strings entered in the current locale will automatically be
  transformed to utf8 for proper handling by Pango.

* Dramatically improved Pango Performance by introducing a static
  fontmap. On my test system the persistent fontmap causes the
  second graph with the same fonts in a single session to be
  created about 0.18s faster than the first one. For a total graph
  creation time of 0.21s this is a pretty substantial improvement.
  With this patch, performance for the second graph is back to
  1.2.x levels or even better.
2008-09-10 05:38:12 +00:00
martti
6d050e7d91 Updated databases/rrdtool to 1.3.1
* image size does get returned properly even with --lazy active
  this broke a number of frontends which should work now.
* fix rrd_restore to be able to read rrd 1.0.x generated dumps again.
* several documetation fixes
* make rrdtool.spec work without php
* complain when someone tries to create an rrd file with step size zero.
* added filename to illegal updated interval error message.
* fix number of rows returned by python modules fetch implementation.
2008-07-29 17:23:17 +00:00
martti
c52f82e75a Removed DEPENDS for pkg-config. Spotted by wiz@ 2008-06-30 07:31:09 +00:00
martti
c59f0e2de3 pkglint -Wall 2008-06-30 07:29:48 +00:00
he
8c33dbe248 Update rrdtool from 1.2.27nb1 to 1.3.0nb1.
Local change warranting nb1 is to prefix some error messages from
rrdupdate with the name of the file the error relates to, carried
over from nb1 of 1.2.27.

Update loosely OKed by martti@

The announcement of 1.3.0 outlines the changes since 1.2.27:


NEW Fast file access methods (Bernhard Fischer / Tobi Oetiker)
----------------------------
* introduced file-accessor functions rrd_read/rrd_seek/rrd_write

* implemented full mmap-based file access with madvise hints for
  improved scalability, much reduced memory-footprint and much less
  blocking while accessing the disk

* implemented optional full file-descriptor access instead of FILE*
  access

NEW Graphing (Tobi Oetiker)
------------
* libart has been replaced by cairo/pango

* pango markup is supported (--pango-markup)

* full grid fitting

* --graph-render-mode=mono for non anti aliased graphing

* --font-render-mode=mono for non anti aliased fonts

* fonts come through fontconfig, use the Pango font nameing scheme
  -> 'Times 20' ... it is not possible to use truetype fonts
  directly anymore.

* Tabs are position independent.

* TRENDNAN filter that ignores NAN values while calculating the
  TREND data. (Timo Stripf)

* --full-size-mode to specify the outer border of the image and not
  just of the graphing canvas (Matthew Chambers)

* TEXTALIGN command to alter default text alignment behavior

* C API in-memory graphing with rrd_graph_v (Evan Miller)

* draw dashed lines in graphs (Thomas Gutzler)

* new interface graphv which returns information using the rrd_info
  interface (Tobi Oetiker and Mark Plaksin)

* improved horizontal grid. Have a bit more grid lines and y-axis
  labels while keeping them far enough apart to not run into each
  other.

NEW Forecasting (Evan Miller)
---------------
* the new MHWPREDICT consolidation function uses a variation of the
  Holt-Winters method. It is a drop-in replacement for HWPREDICT,
  and is better suited for data whose seasonal variations grow or
  shrink in proportion to the average.

* If you create an RRD with the new MHWPREDICT function, the
  resulting rrd file will be version 0004 and can only be used in
  rrdtool 1.3.

Rewrites
--------
* rrd_restore now uses libxml for parsing which makes things much
  more tolerant towards xml variations. The old code could mostly
  just parse the XML as it was output by rrdtool dump. See also:
  the note at the bottom of this document. (by Florian octo
  Forster)

* rrd_update rewritten to make it more modular. Fixed two
  longstanding HW bugs in the process (Evan Miller)

Internationalization (Takao Fujiwara and Tobi Oetiker)
--------------------
* The help output by rrdtool has been internationalized. There are
  no real translations included with rrdtool yet, contributions are
  welcome.

* The internationalization will only be compiled if libintl and
  friends are available on your system. Use the configure option
  --disable-libintl if you want to disable this feature

Language Bindings
-----------------
* ruby rrd_fetch will return step as a last property -- Mike Perham

RRDtool dump / restore incompatibility
--------------------------------------
* rrdtool dump 1.3 does emit completely legal XML. Basically this
  means that it contains an XML header and a DOCTYPE definition.
  Unfortunately this causes older versions of rrdtool restore to be
  unhappy.

* To restore a new dump with an old rrdtool restore version, either
  remove the XML header and the doctype by hand (both on the first
  line of the dump) or use rrdtool dump --no-header.
2008-06-23 16:24:30 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
he
82e4463e13 Add name of rrd database to "illegal attempt to update using time..."
error message, since rrdupdate may update more than one rrd database.

Submitted as a feature enhancement request upstream (#162).

Bump package revision.
2008-06-19 15:56:04 +00:00
martti
a8ef60fba5 Fix pkg/38555. Patches provided by NAKAJI Hiroyuki and reviewed by the rrdtool
author Tobias Oetiker.
2008-05-05 05:25:20 +00:00
he
4779dcf9af Update rrdtool to version 1.2.27.
Changes:
        * doc/rrdcreate.pod, doc/rrdgraph.pod, doc/rrdgraph_graph.pod,
	  doc/rrdgraph_rpn.pod, doc/rrdtutorial.pod: fixes for better web
	  rendering
	* COPYRIGHT: added ZPL 2.1 to floss exception
	* src/rrd_graph.c, trunk/program/src/rrd_graph.c: fixed parsing of
	  fontnames with embeded spaces
	* bindings/tcl/tclrrd.c, configure.ac, src/rrd_cgi.c: * fix fadvice
	  and madvice inclusion ... again * fix rrdcgi warning * fix
	  warnings in tcl bindings -- Peter Breitenlohner peb mppmu.mpg.de
	* src/rrd_graph.c: weekday and time are too tight
	* configure.ac: fixing the solaris build
	* netware/Makefile, src/rrd_update.c, win32/Makefile: updates for
	  netware and mingw32 ... allows for crosscompilation
	* src/rrd_update.c: make update compile for mingw32 3.4.5
	* bindings/perl-shared/Makefile.PL, configure.ac, src/rrd_tool.h,
	  src/rrd_update.c: * improve portability of compile environment to
	  netbsd and solaris
2008-04-14 16:05:35 +00:00
martti
15baf22906 Replace my patch-aa with patch-aa and patch-ab received from the author. 2007-11-21 07:50:14 +00:00
martti
55b0d19ea0 rrdtool-1.2.26 2007-11-20 11:58:19 +00:00
martti
7c5784353c Updated databases/rrdtool to 1.2.26
* Bug fixes
2007-11-20 11:57:59 +00:00
cube
0fcb8b3a27 Revive patch-ap, sans -lcgi, so that RRDs.so build correctly again.
Ok martti@, PR#37374 by Petar Bogdanovic.
2007-11-13 01:58:42 +00:00
martti
9fc7653761 Based on some feedback, comment out the newly added LICENSE=xxx for now.
I'll re-activate this later when the global license stuff is activated.
2007-10-30 19:31:38 +00:00
martti
2e8958a121 Added LICENSE=gnu-gpl-v2 2007-10-30 13:44:22 +00:00
wiz
3528e06345 Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
2007-09-21 13:03:25 +00:00
martti
8e93d434ca NetBSD 1.x is no longer supported so remove NOT_FOR_PLATFORM. 2007-05-30 07:32:33 +00:00
martti
cb60aa5595 Regenerated. 2007-05-30 07:27:46 +00:00
martti
fb541f8ef5 cgilib is not needed to build this (Tobi Oetiker told this in a private mail). 2007-05-30 07:25:39 +00:00
taca
864c3a6973 Explicitly disable detecting Ruby like Python.
Fix build problem when Ruby is installed.
2007-05-17 14:41:09 +00:00
martti
8f26077d0c Updated databases/rrdtool to 1.2.23
* bug fixes
2007-05-16 09:01:10 +00:00
martti
82a6c58e99 Updated databases/rrdtool to 1.2.19
* bindings/python/Makefile.am: libtool builds shared libraries
  anyway, no need for extra LDFLAGS that bite non GNU ld versions

* src/rrd_tool.c: resolve snprintf overflow warning by using sizeof
2007-03-06 10:49:00 +00:00
adam
3c835bd816 Changes 1.2.18:
* Bug fixes
2007-01-30 13:26:55 +00:00
wiz
18e3283474 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 20:46:42 +00:00
adam
95006feb74 Changes 1.2.15:
The pwd command for server mode was added. Logarithmic graphs were revisited. GPRINT can now access the time component of VDEF values. DNAN and DINF are much faster through caching. Many bugs were killed.
2006-07-22 07:37:07 +00:00
wiz
895c51a27b regen, with correct library dependencies. Broke at least hobbitmon. 2006-07-21 16:17:55 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
7889529658 Changes 1.2.13:
Restoring from 1.0.x format XML dumps was enabled.
The stability of rrdtool fetch results was fixed.
A new rrdtool graph and rrdcgi functions were added.
The pipe mode interface was improved. Many bugfixes were made.
2006-05-05 17:42:06 +00:00
joerg
f6e122acc9 Include libart in b3.mk, it is needed for linking. Reset maintainer on
his request.
2006-05-02 09:08:32 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
rillig
adc077839f The script interpreter for examples/cgi-demo.cgi had to be corrected, as
the @exec_prefix@ is resolved to the literal ${prefix}, unexpanded.
Bumped PKGREVISION.
2006-03-02 12:23:56 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
adam
b124e484ac Changes 1.2.12:
* Bug fixes
2006-01-24 22:22:16 +00:00
wulf
2c945bec78 Disabled bindings for tcl and python. Without it the build
process may fail if these packages are installed and found by the
configure process.
2006-01-07 12:54:15 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
abs
8486765fcd rrdtool explicitly forbids any use of -ffast-math 2005-10-12 19:24:42 +00:00
wulf
a01f1e47d5 Changed MASTER_SITES and HOMEPAGE to current URL 2005-10-02 00:09:40 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
jlam
da6807f3c5 Fix the package configuration of the following packages so that they
will install Perl modules into the "vendor" directories:

	chat/vicq		math/udunits
	databases/rrdtool	mbone/beacon
	devel/p5-subversion

Bump their PKGREVISIONs.
2005-08-08 18:13:13 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
wulf
fe3f9b3ac8 Updated rrdtool to 1.2.11: Minor bug fix release
Added --enable-perl-site-install configuration argument relevant to PR30719
2005-07-30 06:53:15 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
kristerw
8e256af9af Include mk/pthread.buildlink3.mk. 2005-07-17 16:29:56 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
wulf
8126d91731 Updated rrdtool to 1.2.10: Bug fix release 2005-07-04 22:53:39 +00:00