From 6abf5ccaf2629d27aa05272bb943111e3b35442a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 17 Nov 2018 03:02:48 +0700 Subject: system/netdata: Updated for version 1.11.0. Signed-off-by: Willy Sudiarto Raharjo --- system/netdata/netdata.SlackBuild | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'system/netdata/netdata.SlackBuild') diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild index b020936291ac5..680340fb4654f 100644 --- a/system/netdata/netdata.SlackBuild +++ b/system/netdata/netdata.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=netdata -VERSION=${VERSION:-1.10.0} +VERSION=${VERSION:-1.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -88,7 +88,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./autogen.sh +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -110,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING ChangeLog *.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/var/lock/subsys/ @@ -128,22 +128,32 @@ install -m 0644 $CWD/rc.netdata $PKG/etc/rc.d/ # handle all conf files touch $PKG/etc/netdata/netdata.conf.new -for L in `ls $PKG/etc/netdata/*.conf` +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/*.conf` do mv $L $L.new done -for L in `ls $PKG/etc/netdata/python.d/*.conf` +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/python.d/*.conf` do mv $L $L.new done -for L in `ls $PKG/etc/netdata/charts.d/*.conf` +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/charts.d/*.conf` do mv $L $L.new done -for L in `ls $PKG/etc/netdata/health.d/*.conf` +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/health.d/*.conf` +do +mv $L $L.new +done + +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/node.d/*.conf` +do +mv $L $L.new +done + +for L in `ls $PKG/usr/lib${LIBDIRSUFFIX}/netdata/conf.d/statsd.d/*.conf` do mv $L $L.new done -- cgit v1.2.3