summaryrefslogtreecommitdiff
path: root/system/netdata/netdata.SlackBuild
diff options
context:
space:
mode:
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 b020936291..680340fb46 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