[packages/netdata] - up to 1.6.0
baggins
baggins at pld-linux.org
Mon Apr 17 18:06:16 CEST 2017
commit 5fb515da2e570c2f63e55717cf222b1c8d0390ab
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 17 18:06:06 2017 +0200
- up to 1.6.0
netdata.spec | 14 +++++++++++---
nodejs.patch | 11 +++++------
2 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/netdata.spec b/netdata.spec
index 9017264..de01752 100644
--- a/netdata.spec
+++ b/netdata.spec
@@ -4,12 +4,12 @@
Summary: Linux real time performance monitoring
Name: netdata
-Version: 1.3.0
-Release: 0.1
+Version: 1.6.0
+Release: 1
License: GPL v3+
Group: Applications/System
Source0: https://github.com/firehol/netdata/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: f2854aa2e127a1c9f86366f17524c382
+# Source0-md5: 7a33f146702ebb29cc9518b33ec911a0
Source1: %{name}.conf
Source2: %{name}.init
Patch0: nodejs.patch
@@ -161,6 +161,10 @@ fi
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/apps_groups.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/netdata.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/fping.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health_alarm_notify.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health_email_recipients.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/stream.conf
%dir %{_sysconfdir}/%{name}/health.d
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health.d/*.conf
%attr(754,root,root) /etc/rc.d/init.d/netdata
@@ -185,6 +189,8 @@ fi
%files charts
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/charts.d.conf
+%dir %{_sysconfdir}/%{name}/charts.d
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/charts.d/*.conf
%attr(755,root,root) %{_libexecdir}/%{name}/plugins.d/charts.d*
%dir %{_libexecdir}/%{name}/charts.d
%{_libexecdir}/%{name}/charts.d/README.md
@@ -192,6 +198,8 @@ fi
%files nodejs
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/node.d.conf
+%dir %{_sysconfdir}/%{name}/node.d
%attr(755,root,root) %{_libexecdir}/%{name}/plugins.d/node.d.plugin
%dir %{_libexecdir}/%{name}/node.d
%{_libexecdir}/%{name}/node.d/README.md
diff --git a/nodejs.patch b/nodejs.patch
index 48d954e..a2f6ae1 100644
--- a/nodejs.patch
+++ b/nodejs.patch
@@ -1,6 +1,6 @@
---- netdata-1.3.0/plugins.d/node.d.plugin~ 2016-09-04 23:05:48.000000000 +0300
-+++ netdata-1.3.0/plugins.d/node.d.plugin 2016-09-04 23:05:55.090394196 +0300
-@@ -1,13 +1,5 @@
+--- netdata-1.6.0/plugins.d/node.d.plugin.orig 2017-04-17 17:56:37.618423579 +0200
++++ netdata-1.6.0/plugins.d/node.d.plugin 2017-04-17 17:57:47.213302270 +0200
+@@ -1,12 +1,5 @@
-#!/usr/bin/env bash
-':' //; exec "$(command -v nodejs || command -v node || command -v js || echo "ERROR node.js IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@"
-
@@ -10,9 +10,8 @@
-// Initially this is run as a shell script (#!/bin/sh).
-// Then, the second line, finds nodejs or node or js in the system path
-// and executes it with the shell parameters.
--
+#!/usr/bin/node
+// vim:ft=javascript
- // --------------------------------------------------------------------------------------------------------------------
- 'use strict';
+ // netdata
+ // real-time performance and health monitoring, done right!
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netdata.git/commitdiff/5fb515da2e570c2f63e55717cf222b1c8d0390ab
More information about the pld-cvs-commit
mailing list