netdata: update to 1.3.0
This commit is contained in:
parent
55da4db7a3
commit
b642d4f5da
6 changed files with 34 additions and 19 deletions
1
srcpkgs/netdata-plugins-nodejs
Symbolic link
1
srcpkgs/netdata-plugins-nodejs
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
netdata
|
1
srcpkgs/netdata-plugins-python
Symbolic link
1
srcpkgs/netdata-plugins-python
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
netdata
|
|
@ -1,7 +1,9 @@
|
||||||
case ${ACTION} in
|
case ${ACTION} in
|
||||||
post)
|
post)
|
||||||
chown -R _netdata:_netdata usr/share/netdata/webroot
|
chown _netdata:root var/lib/netdata/registry/
|
||||||
chown root:_netdata usr/libexec/netdata/plugins.d/apps.plugin
|
chown -R _netdata:_netdata usr/share/netdata/web
|
||||||
chmod 4750 usr/libexec/netdata/plugins.d/apps.plugin
|
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
|
esac
|
||||||
|
|
|
@ -5,4 +5,4 @@ for f in cache log; do
|
||||||
chown -R _netdata:_netdata /var/${f}/netdata
|
chown -R _netdata:_netdata /var/${f}/netdata
|
||||||
done
|
done
|
||||||
|
|
||||||
exec netdata -u _netdata -nd
|
exec netdata -u _netdata -D
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
--- src/log.h.orig 2016-04-24 21:25:30.134626548 -0500
|
|
||||||
+++ src/log.h 2016-04-24 21:26:22.579967475 -0500
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#include <time.h>
|
|
||||||
|
|
||||||
#ifndef NETDATA_LOG_H
|
|
||||||
#define NETDATA_LOG_H 1
|
|
|
@ -1,20 +1,40 @@
|
||||||
# Template file for 'netdata'
|
# Template file for 'netdata'
|
||||||
pkgname=netdata
|
pkgname=netdata
|
||||||
version=1.1.0
|
version=1.3.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
system_accounts="_netdata"
|
system_accounts="_netdata"
|
||||||
conf_files="/etc/${pkgname}/*.conf"
|
conf_files="/etc/${pkgname}/*.conf"
|
||||||
configure_args="--with-user=_netdata --with-webdir=/usr/share/${pkgname}/webroot"
|
configure_args="--with-user=_netdata"
|
||||||
|
makedepends="libuuid-devel zlib-devel"
|
||||||
short_desc="Real-time performance monitoring, done right"
|
short_desc="Real-time performance monitoring, done right"
|
||||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://netdata.firehol.org/"
|
homepage="http://netdata.firehol.org/"
|
||||||
distfiles="http://firehol.org/download/netdata/releases/v${version}/${pkgname}-${version}.tar.gz"
|
distfiles="http://firehol.org/download/netdata/releases/v${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=b1967cf2a9f2ddc5798c0576eb6861d3e5bac0665b50077ce784b671c1e55180
|
checksum=696772c5761354d3ff395c1fcf5eb17eab83937a959e3ebf945288ca8b6d0ed5
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv netdata
|
vsv netdata
|
||||||
}
|
}
|
||||||
|
|
||||||
|
netdata-plugins-nodejs_package() {
|
||||||
|
short_desc+=" - NodeJS Plugins"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision} nodejs"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/libexec/netdata/plugins.d/node.d.plugin
|
||||||
|
vmove usr/libexec/netdata/node.d
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
netdata-plugins-python_package() {
|
||||||
|
short_desc+=" - Python Plugins"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision} python"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/libexec/netdata/plugins.d/python.d.plugin
|
||||||
|
vmove usr/libexec/netdata/python.d
|
||||||
|
vmove etc/netdata/python.d
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue