Commit Graph

46 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Josef Schlehofer ceca87b25b
netdata: disable LZ4 compression support
To avoid unnecessary dependency, let's disable it for now.
LZ4 can be also used for DB engine and HTTPS

Fixes:
Package netdata is missing dependencies for the following libraries:
liblz4.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-15 10:52:56 +01:00
Michal Vasilek 1278eec776
netdata: update to version 1.33.1
- Switch to upstream's release tarball
  Requires to add PKG_BUILD_DIR since netdata is extracted to the folder
  netdata-v1.33.1 instead of the previous solution where there was
missing v

- Disable anomaly detection by default
This avoids adding a new dependencies to netdata

Fixes:
Package netdata is missing dependencies for the following libraries:
libatomic.so.1
libstdc++.so.6

- Add FreeBSD patch to have smaller package and to avoid clutter in
  WebUI

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
[add commit message, add FreeBSD patch]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-10 00:13:02 +01:00
James White cf9d5a8870 netdata: Update init script to use -D rather than -nd
The current init script is using the deprecated -nd flag. This updates netdata to be started with -D.

Signed-off-by: James White <james@jmwhite.co.uk>
2022-01-13 10:39:08 +01:00
Josef Schlehofer 1d532fa545
netdata: update to version 1.30.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-04-15 00:39:13 +02:00
Tiago Gaspar 5f65d87bb7 netdata: disable shared memory totals by default
Fix log spam:
daemon.err netdata[2090]: PROCFILE: Cannot open file '/proc/sysvipc/shm'
This is caused by a non existant /proc/sysvipc/shm because of the
CONFIG_PROC_STRIPPED option that is enabled by default in the kernel
generic target config

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2021-04-11 09:57:51 +02:00
Josef Schlehofer 5074fbbfdc
netdata: update to version 1.29.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-22 01:02:46 +01:00
Josef Schlehofer e8021bf14d
netdata: update to version 1.29.2
Release notes:
https://github.com/netdata/netdata/releases/tag/v1.29.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-22 19:05:44 +01:00
Josef Schlehofer d0736d5e73
netdata: update to version 1.29.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-10 14:18:11 +01:00
Josef Schlehofer 6c5e3e5cca
netdata: update to version 1.28.0
Refreshed patches and removed one backported patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-12-26 01:53:11 +01:00
Josef Schlehofer 0d52fb1beb
netdata: add runtime test
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 17:20:32 +02:00
Josef Schlehofer 5ba339b49a
netdata: update to version 1.26.0
Disable ebpf plugin as in OpenWrt there is no package libbpf.
- With that, I need to introduce patch, which is not merged into netdata,
yet. Without it, I still got during cross-compilation this error:
checking for externaldeps/libbpf/libbpf.a... configure: error: cannot check for file existence when cross compiling

- And yes, the flag was there.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-16 17:14:06 +02:00
Josef Schlehofer 2de28dd95b
netdata: update to version 1.23.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-24 15:40:17 +02:00
Daniel Engberg 626c304d67 admin/netdata: Update to 1.22.1
Update netdata to 1.22.1
Disable cloud functionality
Shoehorn patches from FreeBSD's ports repo
Remove cloud notifications and netdata's self-update feature
json-c is no longer optional

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2020-05-14 11:02:49 +02:00
Josef Schlehofer 8aa816c816
netdata: update to version 1.20.0
- Add libuv dependency which is now required. Otherwise during
compiling, I have received this error:

configure: error: libuv required but not found. Try installing 'libuv1-dev' or 'libuv-devel'.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-02-23 10:27:38 +01:00
Josef Schlehofer dbf7b965b7
netdata: Update to version 1.19.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-18 22:05:33 +01:00
Josef Schlehofer 603ead3ad8
netdata: Update to version 1.18.1
Enable PKG_BUILD_PARALLEL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-19 19:09:48 +02:00
Josef Schlehofer bd5207a05c
netdata: Update to version 1.18.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-14 08:49:41 +02:00
Josef Schlehofer 5e898166e7
netdata: Update to version 1.17.1
Patch 002 - Force Python3 is no longer applying, let's try to throw it
away to see if it is still necessary

Patch 003 - Was backported from the master branch and it was included in
Netdata version 1.17.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-26 18:41:58 +02:00
Daniel Engberg 35a7f8721a netdata: Add patch to disable optional libraries
Netdata adds optional libraries if found, add patch (PR#6658) to avoid pulling in unnecessary libraries.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-08-23 00:57:48 +00:00
Daniel Engberg b95f19207e netdata: Update to 1.16.1, disable https and dbengine
Disable https and dbengine to get rid of openssl and liblz4
Add (lib)json-c as dependency
Disable anonymous statistics sent to Google Analytics

Source: https://github.com/netdata/netdata/blob/master/docs/anonymous-statistics.md

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-08-12 15:52:56 +00:00
Josef Schlehofer b64558b1ba
netdata: update to version 1.16.0
- Add dependencies: libopenssl, liblz4
- Correct SPDX License Identifier
- Change URL of the website

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-21 17:37:56 +02:00
Yousong Zhou 9ff174097b netdata: netdata.init: fix indentation 2019-06-21 01:58:36 +00:00
Josef Schlehofer cbfc396ca6
netdata: update to version 1.14.0
- Add @BKPepe and @diizzyy as maintainers
- Add PKG_CPE_ID
- Modify 2nd patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-27 09:46:40 +02:00
Daniel Engberg 0320a8c318
netdata: Update to 1.13.0
Update netdata to 1.13.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-03-21 23:39:55 +01:00
Josef Schlehofer 2a6feb84fa
netdata: update to version v1.12.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-02 11:13:20 +01:00
Josef Schlehofer f5c3947316
netdata: update to version 1.12.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-02-25 23:15:08 +01:00
Josef Schlehofer 552a5774e9
netdata: update to version 1.11.1
Changes:
- corrected License
- removed one row, which was removed in version 1.11.0
- replace netdata.conf with the better one (more details in
https://github.com/openwrt/packages/pull/7540)
- refreshed patches

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2018-12-04 15:30:01 +01:00
Daniel Engberg 8e1d493093 netdata: Update to 1.11.0
Update netdata to 1.11.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-11-08 19:44:09 +01:00
Josef Schlehofer f47ff3ac24
netdata: create missing folder /etc/netdata/customs-plugins.d
Changes:
- added folder /etc/netdata/customs-plugins.d
which is set in netdata.conf as 2nd plugin directory

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2018-08-06 00:07:49 +02:00
Daniel Engberg ee64c4f405 admin/netdata: Update to 1.10.0
Update netdata to 1.10.0
Refresh config

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-01 21:35:50 +02:00
Daniel Engberg fdb5f9a081 admin/netdata: Update to 1.9.0
Update netdata to 1.9.0
O3 optimization which is set as default by upstream
Remove myself as maintainer

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-01-10 01:43:39 +01:00
Daniel Engberg 080664867a admin/netdata: Update to 1.8.0
Update netdata to 1.8.0
Add back python modules, these are tweaked (modified) for netdata
Add additional flags to slim down the binary size
 
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-09-19 00:12:15 +02:00
Daniel Engberg 4cf17672d4 admin/netdata: Update to 1.7.0
Update netdata to 1.7.0
Update URL
Clean up some more stray image files (smaller package)

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-19 10:35:40 +02:00
Daniel Engberg 6c6e6428f6 admin/netdata: Update to 1.6.0
Update netdata to 1.6.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-03-21 13:41:39 +01:00
Daniel Engberg 86f4540478 admin/netdata: Update to 1.5.0
* Update to 1.5.0
* Refresh patches
* Make config file more usable out of the box
* Adjust a few default settings

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-02-04 09:27:52 +01:00
Daniel Engberg 2deac43fdf netdata: Make netdata less noisy during startup
Disables proc entries that aren't available/enabled by default in LEDE/OpenWRT

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-11-10 04:53:36 -06:00
Daniel Engberg 8b12ee4152 netdata: Streamline package
* Change maintainer to myself, asked by current maintainer
* Remove atomic workaround, it's been fixed upstream in 1.4.0
* Install all plugins, disable those that depends on external applications
* Remove bundled pyYAML library, use package if you want to use python plugins
* Remove "unused" files in webdata directory, saves about 900k
  Downside is that some _very_ old browsers might break however since netdata
  is very heavy on javscript you still need a somewhat recent one anyway to get
  a decent experience.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-20 02:59:48 -05:00
nitroshift 77e9cba6f1 Netdata: update to v. 1.4.0
Maintainer: Sebastian Careba nitroshift@yahoo.com
Compile tested: mvebu, WRT1900AC v1 (Mamba), OpenWRT r49953
Run tested: mvebu, WRT1900AC v1 (Mamba), OpenWRT r49953

Description:

Updated package to latest release.

Signed-off-by: Sebastian Careba nitroshift@yahoo.com
2016-10-10 12:46:03 +03:00
diizzyy 4b122db843 netdata: disable atomic instructions
The auto detection is a bit dodgy and sometimes fails to identify support, disable atomic instruction for now.

Fixes #3251 and bumps PKG_RELEASE

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-09-29 08:43:46 +02:00
diizzyy 28e38075b0 netdata: update to 1.3.0 and use procd init
Update to 1.3.0
Change init.d script to use procd
Use release binary instead of git

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-09-28 00:41:26 +02:00
nitroshift 0c5ec0ac92 Netdata: update to 1.2.0
Also added required dependency: libuuid

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
2016-08-11 15:05:35 +03:00
Stephen Walker a53bf7192b packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-09 14:50:58 -04:00
Sebastian Careba dad2cd4f4b netdata: add new package
Netdata (https://github.com/firehol/netdata) is a real-time performance monitoring tool.
This submission uses the current Git prerelease, as the latest stable (1.1.0)doesn't build cleanly.

The default configuration makes a few changes for OpenWrt:
 - access log is disabled by default; too verbose for the circular
     syslog buffer, and logging to /tmp is risky memory-wise.
     Some sort of external device would be ideal for this.

 - error and debug logs are sent to OpenWrt's syslog

 - history and frequency times are halved to reduce memory usage,
     as recommended in the netdata wiki

 - external plugins are disabled to eliminate the dependency on bash
     and node.js. Those could be installed from OpenWrt packages if
     you wish to enable that functionality.

     All of those files are still present in the package. The installed
     size could be reduced by eliminating those files first.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
[squash commits, change PKG_VERSION]
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2016-07-02 10:01:15 +00:00