mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
New package: netdata-1.1.0 (#4077)
This commit is contained in:
parent
ca892ac605
commit
48f9ae48c9
4 changed files with 38 additions and 0 deletions
6
srcpkgs/netdata/INSTALL
Normal file
6
srcpkgs/netdata/INSTALL
Normal file
|
@ -0,0 +1,6 @@
|
|||
case ${ACTION} in
|
||||
post)
|
||||
chown root:netdata usr/libexec/netdata/plugins.d/apps.plugin
|
||||
chmod 4750 usr/libexec/netdata/plugins.d/apps.plugin
|
||||
;;
|
||||
esac
|
3
srcpkgs/netdata/files/netdata/run
Executable file
3
srcpkgs/netdata/files/netdata/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec netdata -nd
|
9
srcpkgs/netdata/patches/crosstime.patch
Normal file
9
srcpkgs/netdata/patches/crosstime.patch
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- 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
|
20
srcpkgs/netdata/template
Normal file
20
srcpkgs/netdata/template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'netdata'
|
||||
pkgname=netdata
|
||||
version=1.1.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel"
|
||||
system_accounts="netdata"
|
||||
conf_files="/etc/${pkgname}/*.conf"
|
||||
configure_args="--with-user=netdata --with-webroot=/usr/share/${pkgname}/webroot"
|
||||
short_desc="Real-time performance monitoring, done right"
|
||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://netdata.firehol.org/"
|
||||
distfiles="http://firehol.org/download/netdata/releases/v${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=b1967cf2a9f2ddc5798c0576eb6861d3e5bac0665b50077ce784b671c1e55180
|
||||
|
||||
post_install() {
|
||||
vsv netdata
|
||||
}
|
Loading…
Add table
Reference in a new issue