mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/netdata: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bf81d2944a
commit
010cd8c538
3 changed files with 15 additions and 5 deletions
|
@ -26,3 +26,6 @@ http://IP-ADDRESS:19999/
|
|||
|
||||
To get the running config file at any time, visit
|
||||
http://IP-ADDRESS:19999/netdata.conf
|
||||
|
||||
NOTE: this script will download some modules from Internet
|
||||
to build abseil-cpp and protobuf
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=netdata
|
||||
VERSION=${VERSION:-1.47.5}
|
||||
VERSION=${VERSION:-2.0.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -95,18 +95,25 @@ 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 {} \;
|
||||
|
||||
# wsr - 20241113
|
||||
# Somehow abseil-cpp that we have in SBo or current is too new
|
||||
# So we will use the bundled protobuf in order to build for now
|
||||
# Let's keep the deps in place just in case they fixed it in the future
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/ \
|
||||
-DENABLE_ACLK=FALSE \
|
||||
-DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=FALSE \
|
||||
-DENABLE_PLUGIN_XENSTAT=FALSE \
|
||||
-DENABLE_PLUGIN_EBPF=FALSE \
|
||||
-DENABLE_PLUGIN_FREEIPMI=TRUE \
|
||||
-DENABLE_PLUGIN_SYSTEMD_JOURNAL=FALSE \
|
||||
-DENABLE_LOGS_MANAGEMENT_TESTS=FALSE \
|
||||
-DENABLE_PLUGIN_GO=FALSE \
|
||||
-DENABLE_ACLK=FALSE \
|
||||
-DENABLE_BUNDLED_PROTOBUF=TRUE \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install/strip DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="netdata"
|
||||
VERSION="1.47.5"
|
||||
VERSION="2.0.0"
|
||||
HOMEPAGE="https://github.com/netdata/netdata"
|
||||
DOWNLOAD="https://github.com/netdata/netdata/releases/download/v1.47.5/netdata-v1.47.5.tar.gz"
|
||||
MD5SUM="6a1563e65a04edc956c96a5de8bfe91f"
|
||||
DOWNLOAD="https://github.com/netdata/netdata/releases/download/v2.0.0/netdata-v2.0.0.tar.gz"
|
||||
MD5SUM="c7c7fb8bc6907d632b0a6065a3bb2def"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python2-PyYAML google-go-lang freeipmi"
|
||||
|
|
Loading…
Reference in a new issue