forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "netdata: update to the latest version openwrt#22677"
This reverts commit 667622b.
- Loading branch information
1 parent
865bc48
commit 83cc996
Showing
4 changed files
with
1,472 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=netdata | ||
PKG_VERSION:=1.43.2 | ||
PKG_RELEASE:=1 | ||
PKG_VERSION:=1.33.1 | ||
PKG_RELEASE:=4 | ||
|
||
PKG_MAINTAINER:=Josef Schlehofer <[email protected]>, Daniel Engberg <[email protected]> | ||
PKG_LICENSE:=GPL-3.0-or-later | ||
|
@@ -18,7 +18,7 @@ PKG_CPE_ID:=cpe:/a:my-netdata:netdata | |
|
||
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/netdata/netdata/releases/download/v$(PKG_VERSION) | ||
PKG_HASH:=d4a7ea2717ac7c8f04865f18e13aeaa0a36784156059f1b5ced75a44f74afc4d | ||
PKG_HASH:=20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b | ||
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) | ||
|
||
PKG_INSTALL:=1 | ||
|
@@ -31,7 +31,7 @@ include $(INCLUDE_DIR)/package.mk | |
define Package/netdata | ||
SECTION:=admin | ||
CATEGORY:=Administration | ||
DEPENDS:=+zlib +libuuid +libuv +libmnl +libjson-c +libyaml +libstdcpp +libatomic | ||
DEPENDS:=+zlib +libuuid +libuv +libmnl +libjson-c | ||
TITLE:=Real-time performance monitoring tool | ||
URL:=https://www.netdata.cloud/ | ||
endef | ||
|
@@ -47,20 +47,23 @@ endef | |
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3 | ||
|
||
CONFIGURE_ARGS += \ | ||
--with-zlib \ | ||
--with-math \ | ||
--disable-x86-sse \ | ||
--enable-lto \ | ||
--disable-ebpf \ | ||
--without-libcap \ | ||
--disable-cloud \ | ||
--disable-https \ | ||
--disable-dbengine \ | ||
--disable-ebpf \ | ||
--disable-h2o \ | ||
--disable-ml \ | ||
--disable-openssl \ | ||
--disable-plugin-cups \ | ||
--disable-plugin-freeipmi \ | ||
--disable-compression \ | ||
--disable-plugin-nfacct \ | ||
--disable-plugin-freeipmi \ | ||
--disable-plugin-cups \ | ||
--disable-plugin-xenstat \ | ||
--disable-backend-prometheus-remote-write \ | ||
--disable-unit-tests \ | ||
--disable-x86-sse \ | ||
--disable-ml \ | ||
--disable-cloud | ||
|
||
define Build/Configure | ||
$(SED) 's/m4_esyscmd(\[git describe .*\])/$(PKG_VERSION)/' $(PKG_BUILD_DIR)/configure.ac | ||
|
@@ -72,20 +75,17 @@ define Package/netdata/conffiles | |
endef | ||
|
||
define Package/netdata/install | ||
$(INSTALL_DIR) $(1)/usr/sbin | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdata $(1)/usr/sbin | ||
|
||
$(INSTALL_DIR) $(1)/etc/netdata | ||
$(INSTALL_DIR) $(1)/etc/netdata/custom-plugins.d | ||
$(CP) $(PKG_INSTALL_DIR)/etc/netdata $(1)/etc | ||
$(INSTALL_DATA) ./files/netdata.conf $(1)/etc/netdata | ||
$(CP) ./files/netdata.conf $(1)/etc/netdata | ||
touch $(1)/etc/netdata/.opt-out-from-anonymous-statistics | ||
|
||
$(INSTALL_DIR) $(1)/etc/init.d | ||
$(INSTALL_BIN) ./files/netdata.init $(1)/etc/init.d/netdata | ||
|
||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/netdata $(1)/usr/lib | ||
|
||
$(CP) $(1)/usr/lib/netdata/conf.d/fping.conf $(1)/etc | ||
$(CP) $(1)/usr/lib/netdata/conf.d/health_alarm_notify.conf $(1)/etc | ||
$(CP) $(1)/usr/lib/netdata/plugins.d/tc-qos-helper.sh $(1)/etc | ||
$(INSTALL_DIR) $(1)/usr/sbin | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdata $(1)/usr/sbin | ||
$(INSTALL_DIR) $(1)/usr/share/netdata | ||
$(CP) $(PKG_INSTALL_DIR)/usr/share/netdata $(1)/usr/share | ||
rm $(1)/usr/share/netdata/web/demo*html | ||
|
@@ -96,6 +96,8 @@ define Package/netdata/install | |
rm $(1)/usr/share/netdata/web/images/*.gif | ||
rm $(1)/usr/share/netdata/web/images/*.ico | ||
rm -rf $(1)/usr/share/netdata/web/old | ||
$(INSTALL_DIR) $(1)/etc/init.d | ||
$(INSTALL_BIN) ./files/netdata.init $(1)/etc/init.d/netdata | ||
endef | ||
|
||
$(eval $(call BuildPackage,netdata)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
admin/netdata/patches/003-patch-collectors_python.d.plugin_Makefile.am.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.