# HG changeset patch # User Pascal Bellard # Date 1503589378 -7200 # Node ID 16a08ab1ff0395912103e705566989de09276c63 # Parent d1a71db9a07329aebb32c91b42501759d376bc16 Add netdata diff -r d1a71db9a073 -r 16a08ab1ff03 netdata/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netdata/description.txt Thu Aug 24 17:42:58 2017 +0200 @@ -0,0 +1,8 @@ +netdata is the fastest way to visualize metrics. It is a resource +efficient, highly optimized system for collecting and visualizing any +type of realtime timeseries data, from CPU usage, disk activity, SQL +queries, API calls, web site visitors, etc. + +netdata tries to visualize the truth of now, in its greatest detail, +so that you can get insights of what is happening now and what just +happened, on your systems and applications. diff -r d1a71db9a073 -r 16a08ab1ff03 netdata/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netdata/receipt Thu Aug 24 17:42:58 2017 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="netdata" +VERSION="1.7.0" +CATEGORY="system-tools" +SHORT_DESC="Real-time performance monitoring, done right" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="https://my-netdata.io/" +WGET_URL="https://github.com/firehol/netdata/releases/download/v$VERSION/$TARBALL" +TAGS="monitoring" +CONFIG_FILES="/etc/netdata" + +DEPENDS="python-pyyaml util-linux-uuid zlib" +BUILD_DEPENDS="pkg-config util-linux-uuid-dev" +SUGGESTED="psycopg2 python-mysql lm-sensors curl node iproute2 gnu-netcat" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-zlib \ + --with-math \ + --with-user=netdata \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d + cp $src/README* $install/usr/share/doc + cp -a $install/* $fs/ + cp $src/system/netdata.conf $fs/etc/netdata + cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata + ln -s daemon $fs/etc/init.d/netdata +}