summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2022-04-24 19:27:56 +0200
committer Willy Sudiarto Raharjo2022-04-30 08:52:04 +0200
commit8eb86a908ca3078ca4a6521bbdc4179aac935f2d (patch)
tree68e1a95e300374969ec81f6ad2249a208259816a
parentc22f421dfc015795dec976344679df242676a502 (diff)
downloadslackbuilds-8eb86a908ca3078ca4a6521bbdc4179aac935f2d.tar.gz
system/netdata: Update source to fix build with protobuf3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/netdata/README3
-rw-r--r--system/netdata/netdata.SlackBuild9
-rw-r--r--system/netdata/netdata.info4
3 files changed, 5 insertions, 11 deletions
diff --git a/system/netdata/README b/system/netdata/README
index 429ba66b2e..6abf607387 100644
--- a/system/netdata/README
+++ b/system/netdata/README
@@ -26,6 +26,3 @@ http://IP-ADDRESS:19999/
To get the running config file at any time, visit
http://IP-ADDRESS:19999/netdata.conf
-
-NOTE: If you have protobuf3 installed, the script will fail to build.
-You need to remove the protobuf3 package prior building this script.
diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild
index 3d7b776859..ad41914bd4 100644
--- a/system/netdata/netdata.SlackBuild
+++ b/system/netdata/netdata.SlackBuild
@@ -57,9 +57,6 @@ elif ! grep -q "^$NETDATA_GROUP:" /etc/group; then
bailout
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -88,9 +85,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/netdata/netdata.info b/system/netdata/netdata.info
index 581624af33..65eb7fbfe1 100644
--- a/system/netdata/netdata.info
+++ b/system/netdata/netdata.info
@@ -1,8 +1,8 @@
PRGNAM="netdata"
VERSION="1.34.1"
HOMEPAGE="https://github.com/netdata/netdata"
-DOWNLOAD="https://github.com/netdata/netdata/archive/v1.34.1/netdata-1.34.1.tar.gz"
-MD5SUM="608563192c61014bfafff622d629188b"
+DOWNLOAD="https://github.com/netdata/netdata/releases/download/v1.34.1/netdata-v1.34.1.tar.gz"
+MD5SUM="5b772a3f67107a9fc4d1d488f041e996"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python2-PyYAML"