2020-11-05 10:06:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.143 2020/11/05 09:06:45 ryoon Exp $
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2020-11-05 10:06:42 +01:00
|
|
|
PKGREVISION= 7
|
2017-07-27 20:31:20 +02:00
|
|
|
.include "Makefile.common"
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2011-07-27 15:05:32 +02:00
|
|
|
DEPENDS+= dejavu-ttf>=2.26:../../fonts/dejavu-ttf
|
|
|
|
|
2004-02-08 04:47:08 +01:00
|
|
|
USE_LIBTOOL= yes
|
2015-03-14 21:00:18 +01:00
|
|
|
USE_TOOLS+= gmake pkg-config perl msgfmt intltool groff nroff
|
2004-02-08 04:47:08 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2017-07-27 20:31:20 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-libdbi
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
CONFIGURE_ARGS+= --disable-ruby
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
2005-08-08 20:13:13 +02:00
|
|
|
CONFIGURE_ARGS+= --with-perl-options=${MAKE_PARAMS:Q}
|
1999-11-17 18:34:38 +01:00
|
|
|
|
2007-01-30 14:26:55 +01:00
|
|
|
PTHREAD_OPTS+= require
|
2006-01-24 23:22:16 +01:00
|
|
|
PERL5_CONFIGURE= no
|
|
|
|
PERL5_PACKLIST+= auto/RRDp/.packlist
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST+= auto/RRDs/.packlist
|
2000-08-27 09:10:59 +02:00
|
|
|
|
2005-10-12 21:24:42 +02:00
|
|
|
# rrdtool explicitly forbids any use of -ffast-math
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-ffast-math
|
|
|
|
|
2017-07-27 20:31:20 +02:00
|
|
|
TEST_TARGET= check
|
2016-02-01 10:41:59 +01:00
|
|
|
|
2016-02-07 18:32:56 +01:00
|
|
|
RCD_SCRIPTS= rrdcached
|
|
|
|
|
2016-02-01 10:41:59 +01:00
|
|
|
# rrd_config.h is needed for databases/ruby-rrdtool
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/rrd_config.h ${DESTDIR}${PREFIX}/include/
|
(pkgsrc)
- Fix PR pkg/49557 (by updating 1.4.9 to 1.5.4)
- Add including lang/python/application.mk (for REPLACE_PYTHON)
- Assign empty value to TEST_TARGET, to avoid
*** No rule to make target 'test' (when PKGSRC_RUN_TEST=yes is set)
(upstream)
- Update 1.4.9 to 1.5.4
-------------------------
RRDtool 1.5.4 - 2015-08-09
==========================
Bug Fixes
---------
* parse floating point numbers according to C locale in rrdtool create
arguments, regardless of the systems locale setting.
* include missing rrd_rados.h into distribution archive
* make rrdtool work on ARM again
* make rrdtool test suit pass on 32bit OSs
* fix --grid-dash option regression in graph
* fix systemd support
* fix link dependency for libpng since we are using functions directly
* fix python module name
* fix rrdtool tune to accept U in minimum and maximum options
* fi
* rrd_parsetime now uses a mutex lock to become thread safe
* rrd_xport is now thread safe
* stop using MAX_PATH and make everything dynamic and make rrdtool work on
Gnu HURD ... thanks nirgal!
Features
--------
* new RPN operators: STEPWIDTH, NEWDAY, NEWWEEK, NEWMONTH and NEWWEEK
together they allow to draw graphs where a rate is converted back to
absolute numbers and accumulated over a period..
RRDtool 1.5.3 - 2015-04-30
==========================
Bug Fixes
---------
* Brought commmand-line options and documentation back into sync.
* Make LINE dashes option work again
RRDtool 1.5.2 - 2015-04-23
==========================
Bug Fixes
---------
* paramters in VDEF are vnames and not data source names, hence
they can be 255 chars long and not only 20
RRDtool 1.5.1 - 2015-04-22
==========================
Bug Fixes
---------
* parse numbers up to 40 characters long ..
* fix install rules for Python and Lua
* include missing VERSION and LICENSE file
* unlink before rename in rrd_create when running on WIN32
RRDtool 1.5.0 - 2015-04-16
==========================
New Features
------------
* automatic x-axis labels that work from 1s to 30y on a single chart
* librados integration
* new datasource types: DCOUNTER and DDERIVE (they work the same as the
original DS, except that they can deal with floatingpoint numbers).
* compile without graphics libraries: ./configure --disable-rrd_graph
* updated windows port (see WIN32-BUILD-TIPS.txt)
* single step RRAs for MIN,MAX,LAST are generated virtually from
an AVERAGE RRA
* ignore updates in the past with rrdtool update --skip-past-updates
* ignore a LINE when scaling a chart using the skipscale option
* detect 32bit timeoverflows
* massive performance boost for charts with more than 100 DEF line by
switching form a linear search to a HASH when searching for data
* improved cross compilation support
* .Net bindings
* allow rrdtool graph to silently skip non-existing source files using the
--use-nan-for-all-missing-data option
* restore from a pipe (rrdtool restore - y.rrd)
* in rrdtool create, row count and step can be defined in absolute time
* all new "create on steroids" can pull both data and configuration from
existing rrd files
* use rrdtool graph to chart arbitrary data via a callback function for data fetching
support is integrated in the perl bindings.
* re-written parser for rrdtool graph commands. It now follows a simple key
value pattern, compatible with the previous syntax.
* MEDIAN op for CDEF expressions
* DEPTH,INDEX,COPY,ROL ops for CDEF (as seen in PostScript)
* gradient AREA backgrounds
* no more locale magic while reading numeric data.
Bugfixes
--------
all the bugs fixed in 1.4.x during 1.5 development
2015-08-18 14:29:44 +02:00
|
|
|
|
2016-02-07 18:32:56 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2016-08-27 08:42:43 +02:00
|
|
|
.include "options.mk"
|
2016-02-07 18:32:56 +01:00
|
|
|
|
|
|
|
RRDCACHED_USER?= rrdcached
|
|
|
|
RRDCACHED_GROUP?= ${RRDCACHED_USER}
|
|
|
|
|
2019-11-02 16:37:59 +01:00
|
|
|
PKG_USERS_VARS= RRDCACHED_USER
|
|
|
|
PKG_GROUPS_VARS= RRDCACHED_GROUP
|
|
|
|
PKG_GROUPS= ${RRDCACHED_GROUP}
|
|
|
|
PKG_USERS= ${RRDCACHED_USER}:${RRDCACHED_GROUP}
|
2016-02-07 18:32:56 +01:00
|
|
|
PKG_GECOS.${RRDCACHED_USER}= RRDCacheD daemon user
|
|
|
|
|
2017-07-27 20:31:20 +02:00
|
|
|
OPSYSVARS+= SOEXT
|
|
|
|
SOEXT.Darwin= dylib
|
|
|
|
SOEXT.*= so
|
|
|
|
PLIST_SUBST+= SOEXT=${SOEXT}
|
|
|
|
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2010-07-06 09:31:20 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2010-07-06 09:31:20 +02:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
2010-07-06 09:31:20 +02:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2005-07-03 17:23:33 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2017-07-27 20:31:20 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2008-06-23 18:24:30 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../x11/pixman/buildlink3.mk"
|
2005-07-17 18:29:56 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
1999-11-17 18:34:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|