netdata: update to 1.24.0.

This commit is contained in:
Leah Neukirchen 2020-08-25 16:53:34 +02:00
parent 96eb2f2932
commit 60714b5f27
2 changed files with 16 additions and 15 deletions

View File

@ -1,9 +1,5 @@
case ${ACTION} in
post)
chown _netdata:_netdata var/lib/netdata/
chown _netdata:root var/lib/netdata/registry/
chown root usr/libexec/netdata/plugins.d/apps.plugin
chmod 0755 usr/libexec/netdata/plugins.d/apps.plugin
setcap cap_dac_read_search,cap_sys_ptrace+ep usr/libexec/netdata/plugins.d/apps.plugin
;;
esac

View File

@ -1,18 +1,27 @@
# Template file for 'netdata'
pkgname=netdata
version=1.22.1
version=1.24.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=gnu-configure
configure_args="--with-user=_netdata"
configure_args="--with-user=_netdata ac_cv_file_externaldeps_libbpf_libbpf_a=no"
hostmakedepends="pkg-config autoconf automake"
makedepends="libuuid-devel zlib-devel libuv-devel"
makedepends="json-c-devel judy-devel libcap-devel liblz4-devel libmnl-devel
libnetfilter_acct-devel libressl-devel libuuid-devel libuv-devel zlib-devel"
depends="libcap-progs"
short_desc="Real-time performance monitoring, done right"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://my-netdata.io"
distfiles="https://github.com/netdata/netdata/archive/v${version}.tar.gz"
checksum=6efd785eab82f98892b4b4017cadfa4ce1688985915499bc75f2f888765a3446
python_version=2
distfiles="https://github.com/netdata/netdata/releases/download/v${version}/netdata-v${version}.tar.gz"
checksum=e7d6691fdce893b5a341fc2ee11b3b4f951e7b426031fae4178e669066c264c0
python_version=3
make_dirs="
/var/lib/netdata 0755 _netdata _netdata
/var/lib/netdata/registry 0755 _netdata root
/var/cache/netdata 0755 _netdata _netdata
/var/log/netdata 0755 _netdata _netdata
"
system_accounts="_netdata"
conf_files="/etc/${pkgname}/*.conf"
@ -28,10 +37,6 @@ if [ -z "$_without_node" ]; then
subpackages+=" netdata-plugins-nodejs"
fi
make_dirs="
/var/cache/netdata 0755 _netdata _netdata
/var/log/netdata 0755 _netdata _netdata"
pre_configure() {
autoreconf -ivf
}
@ -57,7 +62,7 @@ netdata-plugins-nodejs_package() {
netdata-plugins-python_package() {
short_desc+=" - Python Plugins"
depends="${sourcepkg}>=${version}_${revision} python"
depends="${sourcepkg}>=${version}_${revision} python3"
archs=noarch
pkg_install() {
vmove usr/libexec/netdata/plugins.d/python.d.plugin