aboutsummaryrefslogtreecommitdiff
path: root/system/netdata/netdata.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-17 03:02:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-17 03:24:54 +0700
commit6abf5ccaf2629d27aa05272bb943111e3b35442a (patch)
treeac2abd2b71ce2fd6639a2f9fb7c75b8f6f0cddc9 /system/netdata/netdata.SlackBuild
parent47a387304214abae5a5100f21dffad25b8d03738 (diff)
system/netdata: Updated for version 1.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/netdata/netdata.SlackBuild')
-rw-r--r--system/netdata/netdata.SlackBuild24
1 files changed, 17 insertions, 7 deletions
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