diff options
Diffstat (limited to 'packaging/cmake/Modules/Packaging.cmake')
-rw-r--r-- | packaging/cmake/Modules/Packaging.cmake | 48 |
1 files changed, 12 insertions, 36 deletions
diff --git a/packaging/cmake/Modules/Packaging.cmake b/packaging/cmake/Modules/Packaging.cmake index 1dd2328cd..663dbe27c 100644 --- a/packaging/cmake/Modules/Packaging.cmake +++ b/packaging/cmake/Modules/Packaging.cmake @@ -56,43 +56,42 @@ set(CPACK_DEBIAN_NETDATA_PACKAGE_NAME "netdata") set(CPACK_DEBIAN_NETDATA_PACKAGE_SECTION "net") set(CPACK_DEBIAN_NETDATA_PACKAGE_PREDEPENDS "adduser, libcap2-bin") set(CPACK_DEBIAN_NETDATA_PACKAGE_SUGGESTS - "netdata-plugin-cups (= ${CPACK_PACKAGE_VERSION}), netdata-plugin-freeipmi (= ${CPACK_PACKAGE_VERSION})") + "netdata-plugin-cups, netdata-plugin-freeipmi") set(CPACK_DEBIAN_NETDATA_PACKAGE_RECOMMENDS - "netdata-plugin-systemd-journal (= ${CPACK_PACKAGE_VERSION}), \ -netdata-plugin-logs-management (= ${CPACK_PACKAGE_VERSION}), \ -netdata-plugin-network-viewer (= ${CPACK_PACKAGE_VERSION})") + "netdata-plugin-systemd-journal, \ +netdata-plugin-network-viewer") set(CPACK_DEBIAN_NETDATA_PACKAGE_CONFLICTS "netdata-core, netdata-plugins-bash, netdata-plugins-python, netdata-web") -list(APPEND _main_deps "netdata-plugin-chartsd (= ${CPACK_PACKAGE_VERSION})") -list(APPEND _main_deps "netdata-plugin-pythond (= ${CPACK_PACKAGE_VERSION})") +list(APPEND _main_deps "netdata-plugin-chartsd") +list(APPEND _main_deps "netdata-plugin-pythond") if(ENABLE_PLUGIN_APPS) - list(APPEND _main_deps "netdata-plugin-apps (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-apps") endif() if(ENABLE_PLUGIN_GO) - list(APPEND _main_deps "netdata-plugin-go (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-go") endif() if(ENABLE_PLUGIN_DEBUGFS) - list(APPEND _main_deps "netdata-plugin-debugfs (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-debugfs") endif() if(ENABLE_PLUGIN_NFACCT) - list(APPEND _main_deps "netdata-plugin-nfacct (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-nfacct") endif() if(ENABLE_PLUGIN_SLABINFO) - list(APPEND _main_deps "netdata-plugin-slabinfo (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-slabinfo") endif() if(ENABLE_PLUGIN_PERF) - list(APPEND _main_deps "netdata-plugin-perf (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-perf") endif() if(ENABLE_PLUGIN_EBPF) - list(APPEND _main_deps "netdata-plugin-ebpf (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-ebpf") endif() list(JOIN _main_deps ", " CPACK_DEBIAN_NETDATA_PACKAGE_DEPENDS) @@ -280,26 +279,6 @@ set(CPACK_DEBIAN_PLUGIN-GO_PACKAGE_CONTROL_EXTRA set(CPACK_DEBIAN_PLUGIN-GO_DEBUGINFO_PACKAGE Off) # -# logs-management.plugin -# - -set(CPACK_COMPONENT_PLUGIN-LOGS-MANAGEMENT_DEPENDS "netdata") -set(CPACK_COMPONENT_PLUGIN-LOGS-MANAGEMENT_DESCRIPTION - "The logs-management plugin for the Netdata Agent - This plugin allows the Netdata Agent to collect logs from the system - and parse them to extract metrics.") - -set(CPACK_DEBIAN_PLUGIN-LOGS-MANAGEMENT_PACKAGE_NAME "netdata-plugin-logs-management") -set(CPACK_DEBIAN_PLUGIN-LOGS-MANAGEMENT_PACKAGE_SECTION "net") -set(CPACK_DEBIAN_PLUGIN-LOGS-MANAGEMENT_PACKAGE_PREDEPENDS "libcap2-bin, adduser") - -set(CPACK_DEBIAN_PLUGIN-LOGS-MANAGEMENT_PACKAGE_CONTROL_EXTRA - "${PKG_FILES_PATH}/deb/plugin-logs-management/preinst;" - "${PKG_FILES_PATH}/deb/plugin-logs-management/postinst") - -set(CPACK_DEBIAN_PLUGIN-LOGS-MANAGEMENT_DEBUGINFO_PACKAGE On) - -# # network-viewer.plugin # @@ -477,9 +456,6 @@ endif() if(ENABLE_PLUGIN_GO) list(APPEND CPACK_COMPONENTS_ALL "plugin-go") endif() -if(ENABLE_PLUGIN_LOGS_MANAGEMENT) - list(APPEND CPACK_COMPONENTS_ALL "plugin-logs-management") -endif() if(ENABLE_PLUGIN_NETWORK_VIEWER) list(APPEND CPACK_COMPONENTS_ALL "plugin-network-viewer") endif() |