Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_87 / rrdtool
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               rrdtool
4 VERSION=                1.8.0
5 REVISION=               1
6 KEYWORDS=               databases graphics
7 VARIANTS=               standard
8 SDESC[standard]=        Round Robin Database tools
9 HOMEPAGE=               https://oss.oetiker.ch/rrdtool/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GITHUB/oetiker:rrdtool-1.x:v1.8.0
14 DISTFILE[1]=            generated:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         examples
19                         docs
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 BUILD_DEPENDS=          groff:primary:standard
25                         harfbuzz:dev:standard
26 BUILDRUN_DEPENDS=       freetype:primary:standard
27 RUN_DEPENDS=            fonts-dejavu:single:standard
28
29 USES=                   gmake libtool pkgconfig shebangfix png perl python
30                         cpe zlib
31 GNOME_COMPONENTS=       libxml2 glib cairo pango
32
33 LICENSE=                GPLv2+:primary
34 LICENSE_TERMS=          primary:{{WRKSRC}}/COPYRIGHT
35 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/LICENSE
36 LICENSE_SCHEME=         solo
37
38 CPE_TARGET_SW=          python
39 CPE_VENDOR=             rrdtool_project
40 FPC_EQUIVALENT=         databases/rrdtool
41 SHEBANG_FILES=          examples/stripes.py
42                         examples/rrdcached/rrdcached-size.pl
43
44 MUST_CONFIGURE=         gnu
45 CONFIGURE_ARGS=         --disable-tcl
46                         --enable-perl
47                         --enable-perl-site-install
48                         --enable-python
49                         --enable-mmap
50                         --disable-nls
51                         --disable-ruby
52
53 MAKE_ARGS=              PERL_MAKE_OPTIONS='PREFIX="{{PREFIX}}"
54                         INSTALLPRIVLIB="{{PREFIX}}/lib"
55                         INSTALLARCHLIB="{{PREFIX}}/lib"'
56
57 INSTALL_TARGET=         install-strip
58 INSTALL_REQ_TOOLCHAIN=  yes
59 SOVERSION=              8.2.1
60 RC_SUBR=                rrdcached:primary
61
62 CPPFLAGS=               -I{{LOCALBASE}}/include/freetype2
63
64 post-install:
65         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/RRDs/RRDs.so
66
67 post-extract:
68         ${REINPLACE_CMD} -E 's|(^rrdcached_LDADD = librrd_th.la)|\1 $$\(ALL_LIBS\)|' \
69                 ${WRKSRC}/src/Makefile.in
70         ${REINPLACE_CMD} -E 's|(^rrdtool_LDADD = librrd.la)|\1 $$\(ALL_LIBS\)|' \
71                 ${WRKSRC}/src/Makefile.in
72
73 [FILE:559:descriptions/desc.primary]
74 It is pretty easy to gather status information from all sorts of things,
75 ranging from the temperature in your office to the number of octets which
76 have passed through the FDDI interface of your router. But it is not so
77 trivial to store this data in a efficient and systematic manner. This is
78 where RRDtool kicks in. It lets you log and analyze the data you gather
79 from all kinds of data-sources. The data analysis part of RRDtool is based
80 on the ability to quickly generate graphical representations of the data
81 values collected over a definable time period.
82
83
84 [FILE:111:distinfo]
85 88a59a645161d0cfd1af898459fc033af975816278cf132cc66bf0dd8d0559cc      1202869 oetiker-rrdtool-1.x-1.8.0.tar.gz
86
87
88 [FILE:916:manifests/plist.primary]
89 %%PERL5_MAN3%%/
90  RRDp.3.gz
91  RRDs.3.gz
92 %%SITE_ARCH%%/RRDs.pm
93 %%SITE_ARCH%%/auto/RRDp/.packlist
94 %%SITE_ARCH%%/auto/RRDs/
95  .packlist
96  RRDs.so
97 %%SITE_PERL%%/RRDp.pm
98 bin/
99  rrdcached
100  rrdcgi
101  rrdcreate
102  rrdinfo
103  rrdtool
104  rrdupdate
105 include/
106  rrd.h
107  rrd_client.h
108  rrd_format.h
109 lib/
110  librrd.a
111  librrd.so
112  librrd.so.%%SOMAJOR%%
113  librrd.so.%%SOVERSION%%
114 lib/pkgconfig/librrd.pc
115 share/man/man1/
116  bin_dec_hex.1.gz
117  cdeftutorial.1.gz
118  rpntutorial.1.gz
119  rrd-beginners.1.gz
120  rrd_pdpcalc.1.gz
121  rrdbuild.1.gz
122  rrdcached.1.gz
123  rrdcgi.1.gz
124  rrdcreate.1.gz
125  rrddump.1.gz
126  rrdfetch.1.gz
127  rrdfirst.1.gz
128  rrdflushcached.1.gz
129  rrdgraph.1.gz
130  rrdgraph_data.1.gz
131  rrdgraph_examples.1.gz
132  rrdgraph_graph.1.gz
133  rrdgraph_rpn.1.gz
134  rrdinfo.1.gz
135  rrdlast.1.gz
136  rrdlastupdate.1.gz
137  rrdlist.1.gz
138  rrdresize.1.gz
139  rrdrestore.1.gz
140  rrdthreads.1.gz
141  rrdtool.1.gz
142  rrdtune.1.gz
143  rrdtutorial.1.gz
144  rrdupdate.1.gz
145  rrdxport.1.gz
146 share/man/man3/librrd.3.gz
147
148
149 [FILE:208:manifests/plist.examples]
150 share/examples/rrdtool/
151  4charts.pl
152  bigtops.pl
153  cgi-demo.cgi
154  minmax.pl
155  perftest.pl
156  piped-demo.pl
157  shared-demo.pl
158  stripes.pl
159  stripes.py
160 share/examples/rrdtool/rrdcached/
161  RRDCached.pm
162  rrdcached-size.pl
163
164
165 [FILE:1564:manifests/plist.docs]
166 share/doc/rrdtool/html/
167  RRDp.html
168  RRDs.html
169  bin_dec_hex.html
170  cdeftutorial.html
171  index.html
172  librrd.html
173  rpntutorial.html
174  rrd-beginners.html
175  rrd_pdpcalc.html
176  rrdbuild.html
177  rrdcached.html
178  rrdcgi.html
179  rrdcreate.html
180  rrddump.html
181  rrdfetch.html
182  rrdfirst.html
183  rrdflushcached.html
184  rrdgraph.html
185  rrdgraph_data.html
186  rrdgraph_examples.html
187  rrdgraph_graph.html
188  rrdgraph_rpn.html
189  rrdinfo.html
190  rrdlast.html
191  rrdlastupdate.html
192  rrdlist.html
193  rrdresize.html
194  rrdrestore.html
195  rrdthreads.html
196  rrdtool.html
197  rrdtune.html
198  rrdtutorial.html
199  rrdupdate.html
200  rrdxport.html
201 share/doc/rrdtool/txt/
202  bin_dec_hex.pod
203  bin_dec_hex.txt
204  cdeftutorial.pod
205  cdeftutorial.txt
206  librrd.txt
207  rpntutorial.pod
208  rpntutorial.txt
209  rrd-beginners.pod
210  rrd-beginners.txt
211  rrd_pdpcalc.pod
212  rrd_pdpcalc.txt
213  rrdbuild.pod
214  rrdbuild.txt
215  rrdcached.pod
216  rrdcached.txt
217  rrdcgi.pod
218  rrdcgi.txt
219  rrdcreate.pod
220  rrdcreate.txt
221  rrddump.pod
222  rrddump.txt
223  rrdfetch.pod
224  rrdfetch.txt
225  rrdfirst.pod
226  rrdfirst.txt
227  rrdflushcached.pod
228  rrdflushcached.txt
229  rrdgraph.pod
230  rrdgraph.txt
231  rrdgraph_data.pod
232  rrdgraph_data.txt
233  rrdgraph_examples.pod
234  rrdgraph_examples.txt
235  rrdgraph_graph.pod
236  rrdgraph_graph.txt
237  rrdgraph_rpn.pod
238  rrdgraph_rpn.txt
239  rrdinfo.pod
240  rrdinfo.txt
241  rrdlast.pod
242  rrdlast.txt
243  rrdlastupdate.pod
244  rrdlastupdate.txt
245  rrdlist.pod
246  rrdlist.txt
247  rrdresize.pod
248  rrdresize.txt
249  rrdrestore.pod
250  rrdrestore.txt
251  rrdthreads.pod
252  rrdthreads.txt
253  rrdtool.pod
254  rrdtool.txt
255  rrdtune.pod
256  rrdtune.txt
257  rrdtutorial.pod
258  rrdtutorial.txt
259  rrdupdate.pod
260  rrdupdate.txt
261  rrdxport.pod
262  rrdxport.txt
263
264
265 [FILE:918:patches/patch-bindings-Makefile.in]
266 --- bindings/Makefile.in.orig   2019-05-27 18:46:41 UTC
267 +++ bindings/Makefile.in
268 @@ -724,15 +724,15 @@ all-local:  @COMP_PERL@ @COMP_RUBY@ @COM
269  install-data-local:
270         $(AM_V_GEN)test -f ${builddir}/perl-piped/Makefile \
271             && ( cd ${builddir}/perl-piped \
272 -               && $(MAKE) install ) \
273 +               && $(MAKE) pure_install ) \
274            || true
275         $(AM_V_GEN)test -f ${builddir}/perl-shared/Makefile \
276             && ( cd ${builddir}/perl-shared \
277 -                && $(MAKE) install ) \
278 +                && $(MAKE) pure_install ) \
279             || true
280         $(AM_V_GEN)test -f ${builddir}/ruby/Makefile \
281             && ( cd ${builddir}/ruby \
282 -                && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) install ) \
283 +                && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) install ) \
284             || true
285         $(AM_V_GEN)test -d ${builddir}/python/build \
286             && ( cd ${builddir}/python \
287
288
289 [FILE:412:patches/patch-bindings_python_setup.py]
290 --- bindings/python/setup.py.orig       2019-02-04 13:54:27 UTC
291 +++ bindings/python/setup.py
292 @@ -2,10 +2,7 @@
293  import os
294  import sys
295  
296 -try:
297 -    from setuptools import setup, Extension
298 -except ImportError:
299 -    sys.exit('The setup requires setuptools.')
300 +from distutils.core import setup, Extension
301  
302  TOP_SRCDIR = os.environ.get('ABS_TOP_SRCDIR', '../..')
303  TOP_BUILDDIR = os.environ.get('ABS_TOP_BUILDDIR', '../..')
304
305
306 [FILE:2034:patches/patch-configure]
307 --- configure.orig      2019-05-27 18:46:40 UTC
308 +++ configure
309 @@ -13698,7 +13698,7 @@ fi
310  
311  
312  if test "x$GCC" = "xyes"; then
313 -  for flag in -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W; do
314 +  for flag in -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition; do
315      oCFLAGS="$CFLAGS"
316      CFLAGS="$CFLAGS $flag"
317      cachename=rd_cv_gcc_flag_`echo $flag|sed 's/[^A-Za-z]/_/g'`
318 @@ -23309,9 +23309,9 @@ $as_echo "$am_cv_python_pyexecdir" >&6;
319  $as_echo_n "checking for headers required to compile python extensions... " >&6; }
320  py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
321  py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
322 -PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
323 +PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION} -I${py_prefix}/include/python${PYTHON_VERSION}m"
324  if test "$py_prefix" != "$py_exec_prefix"; then
325 -  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
326 +  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION} -I${py_exec_prefix}/include/python${PYTHON_VERSION}m"
327  fi
328  
329  save_CPPFLAGS="$CPPFLAGS"
330 @@ -28701,18 +28701,6 @@ $as_echo_n "checking in... " >&6; }
331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: and out again" >&5
332  $as_echo "and out again" >&6; }
333  
334 -echo $ECHO_N "ordering CD from https://tobi.oetiker.ch/wish $ECHO_C" 1>&6
335 -sleep 1
336 -echo $ECHO_N ".$ECHO_C" 1>&6
337 -sleep 1
338 -echo $ECHO_N ".$ECHO_C" 1>&6
339 -sleep 1
340 -echo $ECHO_N ".$ECHO_C" 1>&6
341 -sleep 1
342 -echo $ECHO_N ".$ECHO_C" 1>&6
343 -sleep 1
344 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  just kidding ;-)" >&5
345 -$as_echo " just kidding ;-)" >&6; }
346  echo
347  echo "----------------------------------------------------------------"
348  echo "Config is DONE!"
349
350
351 [FILE:521:patches/patch-doc-Makefile.in]
352 --- doc/Makefile.in.orig        2019-05-27 18:46:41 UTC
353 +++ doc/Makefile.in
354 @@ -390,9 +390,9 @@ CLEANFILES = $(GENERATED_EXTRADIST) pod2
355  
356  # what should go into the distribution
357  EXTRA_DIST = $(GENERATED_EXTRADIST) $(POD) $(POD3) rrdtool-dump.dtd rrdtool-xport.dtd rrdgraph_libdbi.pod rrdlua.pod
358 -idocdir = $(RRDDOCDIR)/txt
359 +idocdir = $(datadir)/doc/rrdtool/txt
360  idoc_DATA = $(POD) $(TXT)
361 -ihtmldir = $(RRDDOCDIR)/html
362 +ihtmldir = $(datadir)/doc/rrdtool/html
363  ihtml_DATA = $(HTML)
364  imandir = $(mandir)/man1
365  iman_DATA = $(MAN)
366
367
368 [FILE:442:patches/patch-examples-Makefile.in]
369 --- examples/Makefile.in.orig   2019-05-27 18:46:41 UTC
370 +++ examples/Makefile.in
371 @@ -431,7 +431,7 @@ top_builddir = @top_builddir@
372  top_srcdir = @top_srcdir@
373  SUBDIRS = rrdcached
374  EXTRA_DIST = cgi-demo.cgi.in stripes.py
375 -examplesdir = $(pkgdatadir)/examples
376 +examplesdir = $(datadir)/examples/rrdtool
377  examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
378         stripes.pl bigtops.pl minmax.pl 4charts.pl perftest.pl \
379          stripes.py
380
381
382 [FILE:468:patches/patch-examples_rrdcached_Makefile.in]
383 --- examples/rrdcached/Makefile.in.orig 2019-05-27 18:46:41 UTC
384 +++ examples/rrdcached/Makefile.in
385 @@ -368,7 +368,7 @@ target_vendor = @target_vendor@
386  top_build_prefix = @top_build_prefix@
387  top_builddir = @top_builddir@
388  top_srcdir = @top_srcdir@
389 -examplesdir = $(pkgdatadir)/examples/rrdcached
390 +examplesdir = $(datadir)/examples/rrdtool/rrdcached
391  examples_SCRIPTS = rrdcached-size.pl
392  examples_DATA = RRDCached.pm
393  EXTRA_DIST = $(examples_DATA) $(examples_SCRIPTS)
394
395
396 [FILE:568:files/rrdcached.in]
397 #!/bin/sh
398 #
399 # PROVIDE: rrdcached
400 # REQUIRE: DAEMON
401 # KEYWORD: shutdown
402 #
403 # Add the following line to /etc/rc.conf to enable rrdcached:
404 #
405 # rrdcached_enable (bool):      Set to "NO" by default.
406 #                               Set to "YES" to enable rrdcached
407 #
408 # rrdcached_flags (str):        Set to "" by default.
409 #
410
411 . /etc/rc.subr
412
413 name=rrdcached
414 rcvar=rrdcached_enable
415
416 load_rc_config $name
417
418 # Set defaults
419 : ${rrdcached_enable="NO"}
420 : ${rrdcached_flags="-s www -l /var/run/rrdcached.sock -p /var/run/rrdcached.pid"}
421
422 pidfile=/var/run/${name}.pid   
423 command=%%PREFIX%%/bin/${name}
424
425 run_rc_command "$1"   
426