16 Commits

Author SHA1 Message Date
Til Kaiser
2c811dd762 rrdtool1: fix compilation with GCC 15
Currently, rrdtool1 produces the following build error
for various C files while building with GCC 15:

In file included from rrd_tool.h:93,
                 from rrd_cgi.c:11:
getopt.h:108:12: error: conflicting types for 'getopt'; have 'int(void)'
  108 | extern int getopt ();
      |            ^~~~~~
In file included from include/fortify/unistd.h:22,
                 from rrd_tool.h:56:
include/unistd.h:127:5: note: previous declaration of 'getopt' with type 'int(int,  char * const*, const char *)'
  127 | int getopt(int, char * const [], const char *);
      |     ^~~~~~

This adds -std=gnu17 to TARGET_CFLAGS to fix the compilation error.

Signed-off-by: Til Kaiser <mail@tk154.de>
2025-06-23 10:25:13 +02:00
Rosen Penev
710a6fb79b rrdtool1: fix compilation with GCC14
gnu standard is needed. Easier to remove the CFLAG.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-14 16:36:28 -07:00
Florian Eckert
d758eab46b rrdtool1: change download URL to https
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-21 10:04:34 +01:00
Florian Eckert
694dfdb5c2 rrdtool1: add license information
See the license information on the rrdtool homepage.
https://oss.oetiker.ch/rrdtool/license.en.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-21 09:59:48 +01:00
Ryan Shi
164e0257e7 rrdtool: update PKG_SOURCE_URL
Signed-off-by: Ryan Shi <qweaszxcdf@users.noreply.github.com>
2022-10-06 03:35:57 +08:00
Hannu Nyman
e341af53db rrdtool: Keep time as 'long' despite 64bit time_t in musl
Adjust to the 64 bit time_t in musl 1.2.2 by keeping time
internally in RRD still as 'long', so that old databases
created during musl 1.1.x still work in 32 bit targets.

That also helps with several interal functions that use 'long'
for calculations and printf formatting.

* Define internal type TIME_INT as 'long', and use that
  internally in calculations
* Use time_t vs. TIME_INT casting when necessary
* Provide time_t variable pointers for functions expecting
  a time_t pointer.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-10-10 20:58:47 +03:00
Rosen Penev
d67dde734c rrdtool1: don't build docs
Fixes compilation without host pod2man.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-22 16:31:04 -07:00
Ilya Lipnitskiy
5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Kevin Darbyshire-Bryant
edc41b26ab rrdtool1: modify logarithmic scale labelling
The y-axis graph labels in logarithmic mode display in 'scientific'
notation eg: '1e+00' for 0, '1e+01' for 10, '1e+02' for 100 and so on.
This IMO is a pain in the backside for non scientific humans to read.

Modified output to display numbers up to 99,999 in conventional decimal
format and to revert to scientific notation for larger, thus the same
display space is taken.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-05-05 11:58:49 +01:00
Eneas U de Queiroz
2593eabd6b treewide: Capitalize submenus
Fixed a typo in tcpreplay.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-25 09:35:40 +08:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Alberto Bursi
2f8fcc1696 rrdcgi1/rrdtool1: move to database submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 19:56:11 +02:00
Jo-Philipp Wich
9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Etienne CHAMPETIER
1f22b19d04 PKG_CHECK_FORMAT_SECURITY: disable it for the failing packages (for now)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-10-15 22:24:06 +02:00
Jo-Philipp Wich
858ed34e60 rrdtool1: add missing maintainer line
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-11 16:53:03 +02:00
Jo-Philipp Wich
f41826e344 rrdtool1: import from packages, add myself as maintainer
While we're at it, relocate from libs/ to utils/ as it provides executables
and change the directory name from rrdtool-1.0.x to rrdtool1 to make it match
the source package name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-11 16:50:39 +02:00