summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch32
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch27
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_git.bb14
3 files changed, 53 insertions, 20 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch
index d5529a2a6..abea0d66b 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch
+++ b/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch
@@ -1,19 +1,21 @@
1diff --git a/plugins.d/charts.d.plugin b/plugins.d/charts.d.plugin 1Index: git/plugins.d/charts.d.plugin
2index 40c0356..bca57b3 100755 2===================================================================
3--- a/plugins.d/charts.d.plugin 3--- git.orig/plugins.d/charts.d.plugin
4+++ b/plugins.d/charts.d.plugin 4+++ git/plugins.d/charts.d.plugin
5@@ -184,10 +184,10 @@ fi 5@@ -246,16 +246,6 @@ else
6 # timeout command we use, providing a function that 6 info "configuration file '$myconfig' not found. Using defaults."
7 # can emulate the timeout command we need: 7 fi
8 # > timeout SECONDS command ... 8
9-# we check for the timeout command, after we load our
10-# configuration, so that the user may overwrite the
11-# timeout command we use, providing a function that
12-# can emulate the timeout command we need:
13-# > timeout SECONDS command ...
9-if [ $check_for_timeout -eq 1 ] 14-if [ $check_for_timeout -eq 1 ]
10- then 15- then
11- require_cmd timeout || exit 1 16- require_cmd timeout || exit 1
12-fi 17-fi
13+#if [ $check_for_timeout -eq 1 ] 18-
14+# then
15+# require_cmd timeout || exit 1
16+#fi
17
18 # ----------------------------------------------------------------------------- 19 # -----------------------------------------------------------------------------
19 # internal checks 20 # internal checks
21
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch
new file mode 100644
index 000000000..9a3a4a551
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch
@@ -0,0 +1,27 @@
1From 87f868918a9ae1dcf93e01f3e177d185c19a149a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 14:32:09 -0700
4Subject: [PATCH] makefile: Do not build contrib dir
5
6It contains debian build iteams anyway
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Makefile.am | 1 -
11 1 file changed, 1 deletion(-)
12
13diff --git a/Makefile.am b/Makefile.am
14index 3ccf82f8..a852e529 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -52,7 +52,6 @@ SUBDIRS = \
18 src \
19 system \
20 web \
21- contrib \
22 $(NULL)
23
24 dist_noinst_DATA= \
25--
262.13.2
27
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index de140641c..100366211 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -1,11 +1,15 @@
1HOMEPAGE = "https://github.com/firehol/netdata/" 1HOMEPAGE = "https://github.com/firehol/netdata/"
2SUMMARY = "Real-time performance monitoring" 2SUMMARY = "Real-time performance monitoring"
3LICENSE = "GPLv3" 3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=747afe070ea9d6c2be0a31353609a35b" 4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a4a3b650ea3f74269cdfd45a3550e219 \
5 file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
6 "
5 7
6SRC_URI = "git://github.com/firehol/netdata.git;protocol=https" 8SRC_URI = "git://github.com/firehol/netdata.git;protocol=https \
7SRCREV = "36c1304e37094174ea51001903058e65053107ca" 9 file://0001-makefile-Do-not-build-contrib-dir.patch \
8PV = "1.0.1+git${SRCPV}" 10"
11SRCREV = "f5fa346a188e906a8f2cce3c2cf32a88ce81c666"
12PV = "1.6.0+git${SRCPV}"
9 13
10# patch to disable timeout because timeout are not available with actual version 14# patch to disable timeout because timeout are not available with actual version
11# of core-utils 15# of core-utils
@@ -19,7 +23,7 @@ SRC_URI += "file://netdata.service"
19 23
20S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
21 25
22DEPENDS += "zlib" 26DEPENDS += "zlib util-linux"
23 27
24inherit pkgconfig autotools useradd systemd 28inherit pkgconfig autotools useradd systemd
25 29