aports/community/netdata/disable-non-free-dashboard-v2.patch
Kevin Daudt cdbe22669e community/netdata: disable non-free v2 dashboard
The v2 dashboard is licensed as [NCUL1][], which is a non-free license,
and only distributed as a minimized closed-source blob.

Disable the v2 dashboard and make sure the original v1 dashboard is
used.

Fixes #16367

[NCUL1]:https://github.com/netdata/netdata/blob/v1.46/src/web/gui/v2/LICENSE.md
2024-08-14 19:59:29 +00:00

24 lines
675 B
Diff

Source: https://build.opensuse.org/request/show/1193785
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8b7c4a..58f7728 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2960,7 +2960,6 @@ endif()
#
include(src/web/gui/v1/dashboard_v1.cmake)
-include(src/web/gui/v2/dashboard_v2.cmake)
include(src/web/gui/gui.cmake)
function(cat IN_FILE OUT_FILE)
@@ -2983,7 +2982,7 @@ install(FILES
install(FILES
src/web/gui/dashboard_info_custom_example.js
src/web/gui/dashboard_info.js
- src/web/gui/index.html
+ src/web/gui/v1/index.html
src/web/gui/main.css
src/web/gui/main.js
src/web/gui/registry-access.html