diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/rrdtool |
Initial import
Diffstat (limited to 'package/rrdtool')
-rw-r--r-- | package/rrdtool/Config.in | 66 | ||||
-rw-r--r-- | package/rrdtool/Makefile | 46 | ||||
-rw-r--r-- | package/rrdtool/ipkg/librrd.control | 14 | ||||
-rw-r--r-- | package/rrdtool/ipkg/rrdcgi.control | 15 | ||||
-rw-r--r-- | package/rrdtool/ipkg/rrdtool.control | 14 | ||||
-rw-r--r-- | package/rrdtool/patches/patch-configure | 21 |
6 files changed, 176 insertions, 0 deletions
diff --git a/package/rrdtool/Config.in b/package/rrdtool/Config.in new file mode 100644 index 000000000..993044b3a --- /dev/null +++ b/package/rrdtool/Config.in @@ -0,0 +1,66 @@ +config ADK_COMPILE_RRDTOOL + bool + default n + +config ADK_PACKAGE_LIBRRD + prompt "librrd............................ Round Robin Database (RRD) management library (v1.2.x)" + tristate + default n + select ADK_COMPILE_RRDTOOL + select ADK_PACKAGE_LIBART + select ADK_PACKAGE_LIBFREETYPE + select ADK_PACKAGE_LIBPNG + select ADK_PACKAGE_LIBXML2 + select ADK_PACKAGE_ZLIB + help + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + + http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ + + This package contains command line tools used to manage RRDs. + +config ADK_PACKAGE_RRDCGI + prompt "rrdcgi............................ Round Robin Database (RRD) CGI graphing tool (v1.2.x)" + tristate + default n + select ADK_COMPILE_RRDTOOL + select ADK_PACKAGE_LIBRRD + select ADK_PACKAGE_CGILIB + help + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + + http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ + + This package contains the rrdcgi tool used to create web pages containing + RRD graphs based on templates. + +config ADK_PACKAGE_RRDTOOL + prompt "rrdtool........................... Round Robin Database (RRD) management tools (v1.2.x)" + tristate + default n + select ADK_COMPILE_RRDTOOL + select ADK_PACKAGE_LIBRRD + help + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + + http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ + + This package contains command line tools used to manage RRDs. diff --git a/package/rrdtool/Makefile b/package/rrdtool/Makefile new file mode 100644 index 000000000..ba9edbe72 --- /dev/null +++ b/package/rrdtool/Makefile @@ -0,0 +1,46 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= rrdtool +PKG_VERSION:= 1.2.30 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 19b24f7184a8dbf7b48c1bbb565ad9fb +MASTER_SITES:= http://oss.oetiker.ch/rrdtool/pub/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBRRD,librrd,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) +$(eval $(call PKG_template,RRDCGI,rrdcgi,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) +$(eval $(call PKG_template,RRDTOOL,rrdtool,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +CONFIGURE_ENV+= rd_cv_ieee_works=yes +CONFIGURE_ARGS+= --enable-rrdcgi \ + --disable-mmap \ + --disable-perl \ + --disable-ruby \ + --disable-tcl \ + --disable-python \ + --without-x \ + --with-rrd-default-font=/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf +TCPPFLAGS+= -I${STAGING_DIR}/usr/include/freetype2 +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} ${IDIR_RRDTOOL}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/rrdtool ${WRKINST}/usr/bin/rrdupdate \ + ${IDIR_RRDTOOL}/usr/bin/ + ${INSTALL_DIR} ${IDIR_RRDCGI}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/rrdcgi ${IDIR_RRDCGI}/usr/bin/ + ${INSTALL_DIR} ${IDIR_LIBRRD}/usr/lib + ${CP} ${WRKINST}/usr/lib/librrd.so.* ${IDIR_LIBRRD}/usr/lib/ + ${INSTALL_DIR} ${IDIR_LIBRRD}/usr/share/rrdtool/fonts + ${CP} ${WRKBUILD}/src/DejaVuSansMono-Roman.ttf \ + ${IDIR_LIBRRD}/usr/share/rrdtool/fonts/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/rrdtool/ipkg/librrd.control b/package/rrdtool/ipkg/librrd.control new file mode 100644 index 000000000..fe34716ba --- /dev/null +++ b/package/rrdtool/ipkg/librrd.control @@ -0,0 +1,14 @@ +Package: librrd +Priority: optional +Section: libs +Depends: libart, libfreetype, libpng, zlib +Description: Round Robin Database (RRD) management library. + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + . + This package contains the shared library used to manage RRDs. diff --git a/package/rrdtool/ipkg/rrdcgi.control b/package/rrdtool/ipkg/rrdcgi.control new file mode 100644 index 000000000..ca0f7cacd --- /dev/null +++ b/package/rrdtool/ipkg/rrdcgi.control @@ -0,0 +1,15 @@ +Package: rrdcgi +Priority: optional +Section: web +Depends: cgilib, librrd +Description: Round Robin Database (RRD) CGI graphing tool. + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + . + This package contains the rrdcgi tool used to create web pages containing + RRD graphs based on templates. diff --git a/package/rrdtool/ipkg/rrdtool.control b/package/rrdtool/ipkg/rrdtool.control new file mode 100644 index 000000000..6e273331b --- /dev/null +++ b/package/rrdtool/ipkg/rrdtool.control @@ -0,0 +1,14 @@ +Package: rrdtool +Priority: optional +Section: admin +Depends: librrd +Description: Round Robin Database (RRD) management tools. + RRD is the Acronym for Round Robin Database. RRD is a system to store and + display time-series data (i.e. network bandwidth, machine-room temperature, + server load average). It stores the data in a very compact way that will + not expand over time, and it presents useful graphs by processing the data + to enforce a certain data density. It can be used either via simple wrapper + scripts (from shell or Perl) or via frontends that poll network devices and + put friendly user interface on it. + . + This package contains command line tools used to manage RRDs. diff --git a/package/rrdtool/patches/patch-configure b/package/rrdtool/patches/patch-configure new file mode 100644 index 000000000..852d96098 --- /dev/null +++ b/package/rrdtool/patches/patch-configure @@ -0,0 +1,21 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- rrdtool-1.2.30.orig/configure 2009-01-19 15:29:29.000000000 +0100 ++++ rrdtool-1.2.30/configure 2009-05-09 04:31:25.000000000 +0200 +@@ -26320,7 +26320,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + ex_check_save_CPPFLAGS=${CPPFLAGS} + ex_check_save_LDFLAGS=${LDFLAGS} + if test "x/usr/include/libart-2.0" != "x"; then +- CPPFLAGS="$CPPFLAGS -I/usr/include/libart-2.0" ++ CPPFLAGS="$CPPFLAGS" + fi + { echo "$as_me:$LINENO: checking for art_vpath_add_point in -lart_lgpl_2" >&5 + echo $ECHO_N "checking for art_vpath_add_point in -lart_lgpl_2... $ECHO_C" >&6; } +@@ -27916,7 +27916,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + ex_check_save_CPPFLAGS=${CPPFLAGS} + ex_check_save_LDFLAGS=${LDFLAGS} + if test "x/usr/include/freetype2" != "x"; then +- CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" ++ CPPFLAGS="$CPPFLAGS" + fi + { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5 + echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; } |