summaryrefslogtreecommitdiffstats
path: root/debian/patches/0006-debian-remove-contrib-files.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-29 14:29:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-29 14:36:25 +0000
commit97ba90b0bbd7fcf6703c412fe8cdcc0f837b9328 (patch)
tree98090e858ba5101fb0d5652ee55d99cd2ebbf226 /debian/patches/0006-debian-remove-contrib-files.patch
parentAdding patch to hide social-media buttons in navbar to declutter the interface. (diff)
downloadnetdata-97ba90b0bbd7fcf6703c412fe8cdcc0f837b9328.tar.xz
netdata-97ba90b0bbd7fcf6703c412fe8cdcc0f837b9328.zip
Splitting some patches and grouping them thematically together.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0006-debian-remove-contrib-files.patch')
-rw-r--r--debian/patches/0006-debian-remove-contrib-files.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/patches/0006-debian-remove-contrib-files.patch b/debian/patches/0006-debian-remove-contrib-files.patch
new file mode 100644
index 000000000..eca2319a7
--- /dev/null
+++ b/debian/patches/0006-debian-remove-contrib-files.patch
@@ -0,0 +1,49 @@
+Author: Lennart Weller <lhw@ring0.de>
+Description: Remove unused contrib files.
+
+diff -Naurp netdata.orig/web/gui/Makefile.am netdata/web/gui/Makefile.am
+--- netdata.orig/web/gui/Makefile.am
++++ netdata/web/gui/Makefile.am
+@@ -46,10 +46,6 @@ dist_noinst_DATA = \
+ $(NULL)
+
+ dist_web_DATA = \
+- demo.html \
+- demo2.html \
+- demosites.html \
+- demosites2.html \
+ dashboard.html \
+ dashboard.js \
+ dashboard_info.js \
+@@ -107,15 +103,6 @@ dist_webcss_DATA = \
+ css/c3-0.4.18.min.css \
+ $(NULL)
+
+-webfontsdir=$(webdir)/fonts
+-dist_webfonts_DATA = \
+- fonts/glyphicons-halflings-regular.eot \
+- fonts/glyphicons-halflings-regular.svg \
+- fonts/glyphicons-halflings-regular.ttf \
+- fonts/glyphicons-halflings-regular.woff \
+- fonts/glyphicons-halflings-regular.woff2 \
+- $(NULL)
+-
+ webimagesdir=$(webdir)/images
+ dist_webimages_DATA = \
+ images/alert-128-orange.png \
+@@ -159,15 +146,6 @@ dashboard.js: $(DASHBOARD_JS_FILES)
+ if test -f $@; then rm -f $@; fi
+ cat $(DASHBOARD_JS_FILES) > $@.tmp && mv $@.tmp $@
+
+-webwellknowndir=$(webdir)/.well-known
+-dist_webwellknown_DATA = \
+- $(NULL)
+-
+-webdntdir=$(webdir)/.well-known/dnt
+-dist_webdnt_DATA = \
+- .well-known/dnt/cookies \
+- $(NULL)
+-
+ version.txt:
+ if test -d "$(top_srcdir)/.git"; then \
+ git --git-dir="$(top_srcdir)/.git" log -n 1 --format=%H; \