Commit graph

58 commits

Author SHA1 Message Date
Namkhai B
2350939701 net-mgmt/netdata: Update to 1.32.0
- Updated Netdata's dashboard to customized version.

PR:		260153
2021-12-01 19:42:57 -05:00
Po-Chuan Hsieh
c0585bc681
net-mgmt/netdata: Fix distinfo 2021-10-14 03:17:51 +08:00
Po-Chuan Hsieh
e819fc7822
net-mgmt/netdata: Clean up after ff1e979c0f
OPTIONS_DEFAULT_FreeBSD_{12,13,14} has been merged into OPTIONS_DEFAULT.
2021-10-13 13:40:41 +08:00
Jan Beich
ff1e979c0f net-mgmt/netdata: simplify LTO default after 620968a43a 2021-10-03 05:38:16 +00:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Graham Perrin
1e5698e773 ports/net-mgmt: Add install message
PR:		255138
Approved by:	arrowd
Differential Revision:	https://reviews.freebsd.org/D31978
2021-09-20 08:30:27 +02:00
Piotr Kubaj
6bfcb732df net-mgmt/netdata: replace wrong PORTVERSION with PORTREVISION
Reported by:	daniel.engberg.lists@pyret.net
2021-06-21 00:06:53 +00:00
Piotr Kubaj
12eb42822f net-mgmt/netdata: disable LTO on powerpc64 and riscv64
Using LTO on powerpc64 with Clang generates broken binaries.
On riscv64, LTO with Clang doesn't work at all:
checking if -flto builds executables... no
configure: error: LTO is required but is not available.
2021-06-20 23:05:11 +00:00
Namkhai B
40501c149e net-mgmt/netdata: update to 1.31.0 with...
customized dashboard.

Some cleanups by Daniel Engberg <daniel.engberg.lists@pyret.net>.

Changelog:	https://github.com/netdata/netdata/releases

PR:		255980
2021-06-14 22:58:25 +02:00
Piotr Kubaj
8f313982c4 net-mgmt/netdata: don't force gcc on powerpc, powerpcspe and powerpc64le
LTO is broken only on powerpc64.
2021-06-10 08:57:33 +00:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Rainer Hurling
29797d0752 net-mgmt/netdata: Update to 1.29.2
Improve the stability of the Netdata Agent.

Changelog: https://github.com/netdata/netdata/releases/tag/v1.29.2

PR:	253639
Submitted by:	daniel.engberg.lists@pyret.net
2021-02-20 08:12:10 +00:00
Rainer Hurling
581337f9a0 net-mgmt/netdata: Update to 1.29.1
Hotfix release to address a crash in the Netdata Agent

Changelog: https://github.com/netdata/netdata/releases

PR:		253216
Submitted by:	daniel.engberg.lists@pyret.net
2021-02-15 20:50:37 +00:00
Piotr Kubaj
c32a4b37ed Add LTO_DESC to Mk/bsd.options.desc.mk.
There are more and more ports using LTO.
2021-02-10 19:17:45 +00:00
Jan Beich
a658c6394c Chase -CURRENT upgrade in OPTIONS_DEFAULT 2021-01-30 17:10:30 +00:00
Kurt Jaeger
9e0b3d088c net-mgmt/netdata: update 1.26.0 -> 1.28.0
PR:		251989
Submitted by:	daniel.engberg.lists@pyret.net
Relnotes:	https://github.com/netdata/netdata/releases
2021-01-01 16:30:38 +00:00
Jochen Neumeister
8028959714 Update to 1.26.0
Changelog: https://github.com/netdata/netdata/releases/tag/v1.26.0

PR:	250352
Submitted by:	maintainer
MFH:		2020Q4
Sponsored by:	Netzkommune GmbH
2020-10-15 11:28:43 +00:00
Mark Linimon
cd38afd9fe Canonicalize use of GCC on all powerpc variants.
While here, pet portlint (remove whitespace).
2020-09-23 20:55:40 +00:00
Matthias Andree
1997461778 net-mgmt/netdata: fix pkg-plist @sample for ebpf_kernel_reject_list.txt.
A @sample line with one file name argument that does not end in .sample
would compare the file against itself and remove the configuration
file even if modified in the pre-deinstall phase. Fix that.

Bump PORTREVISION.
2020-09-18 12:38:19 +00:00
Li-Wen Hsu
9f27206920 net-mgmt/netdata: Update to 1.24.0
PR:		248634
Submitted by:	daniel.engberg.lists@pyret.net
2020-08-13 04:14:09 +00:00
Piotr Kubaj
513e121afd net-mgmt/netdata: fix build on powerpc64 elfv2 with LTO
Configure crashes when building with LTO and Clang, use GCC:
checking if -flto builds executables... Segmentation fault (core dumped)
no
configure: error: LTO is required but is not available.
2020-08-07 19:56:46 +00:00
Li-Wen Hsu
5794bcdc95 Update to 1.23.1
PR:		247706
Submitted by:	daniel.engberg.lists@pyret.net
2020-07-02 08:21:43 +00:00
Li-Wen Hsu
ab89133de5 Remove BROKEN_SSL as now it builds fine with libressl
PR:		247643
Submitted by:	lysfjord.daniel@smokepit.net
2020-07-01 13:34:19 +00:00
Li-Wen Hsu
59e7a156ef Update to 1.23.0
PR:		247629
Submitted by:	daniel.engberg.lists@pyret.net
2020-06-29 15:17:50 +00:00
Sunpoet Po-Chuan Hsieh
aabbea4dfa Bump PORTREVISION for devel/json-c json-c 2020-05-22 19:20:42 +00:00
Matthias Andree
f396a31c17 net-mgmt/netdata: Update to 1.22.1
ChangeLogs:
https://github.com/netdata/netdata/releases/tag/v1.22.0
https://github.com/netdata/netdata/releases/tag/v1.22.1

PR:		246450
Submitted by:	daniel.engberg.lists@pyret.net
2020-05-13 21:38:11 +00:00
Matthias Andree
3743167968 net-mgmt/netdata: broken with libressl{,-devel}
netdata is trying to move forward with crypto versions, and use TLS v1.3
functions.  libressl is outdated and does not offer these, so the proper
recourse is marking netdata BROKEN with libressl, rather than weakening its
crypto features by enabling a library.

FreeBSD 12.1 has two suitable openssl implementations currently, one in the
base system (which is also the default), one in ports.

PR:		246027
Submitted by:	lysfjord.daniel@smokepit.net
2020-04-29 22:50:08 +00:00
Matthias Andree
7a3f09ca8b net-mgmt/netdata: Update to 1.21.1
Update netdata to 1.21.1

Move cloud related changes to extra-patch
Additional patch for cloud added
Remove "Nodes" button when cloud support is disabled

Source:
https://git.progress-linux.org/distributions/engywuck-backports/packages/netdata/tree/debian/patches/debian/0011-remove-login.patch to extra-patch

Tested on FreeBSD 13.0-CURRENT #0 r358620 (AMD64)
Poudriere OK 12.1-RELEASE
----------------
Reset maintainer to ports@ after repeated maintainer timeout from mmokhi@.

Over Daniel's submission, make libuv an unconditional requisite,
and also json-c because netdata's configure.ac cannot disable it and
might pick it up, leading to unregistered dependencies if json-c is
available at compile time (in, for instance, portmaster or live systems).

Remove the JSON option.

PR:		245603
Submitted by:	Daniel Engberg <daniel.engberg.lists@pyret.net>
Approved by:	maintainer timeout (mmokhi@, 15 days, resetting)
2020-04-27 23:07:02 +00:00
Matthias Andree
f3dfe91dbb net-mgmt/netdata: rc script fixes for borderline cases, and use err[1]/warn.
PR:		235006
Reported by:	Mateusz Piotrowski (0mp@) [1]
2020-04-04 17:26:35 +00:00
Matthias Andree
c8a036a512 net-mgmt/netdata: add GOPLUGIN option (default off)...
...to create a run-time dependency on net-mgmt/netdata-go.

PR:		244304
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Reviewed by:	daniel.engberg.lists@pyret.net
Approved by:	maintainer timeout (mmohki@, 42 days)
2020-04-04 16:00:08 +00:00
Matthias Andree
de951c087f net-mgmt/netdata rc script overhaul, fix termination, user config
This script overhaul does the following:
- Read "run as user" from the netdata configuration file,
  and use that to override the default user "netdata", in case
  it is not set in /etc/rc.conf* and friends.
- Kill all children of the PID in the netdata_pid file, too,
  because 1.20.0 would leave some plugin processing lingering.
- Timeout the termination after (configurable) 30 seconds and
  issue SIGKILL
- Cleanup the netdata_pid file after stop, so that a subsequent
  start with a less privileged user (say, start as root, stop,
  start as netdata) will work properly.
- Document all variables, including the all-new netdata_stop_maxwait,
  in the header of the script.
- Quote parameter expansions where appropriate.

PR:		235006
Reported by:	Dries Michiels <driesm.michiels@gmail.com>
Reviewed by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	maintainer timeout (mmohki@, ~ 1 year)
2020-04-04 15:41:26 +00:00
Matthias Andree
eb5fdc83bb net-mgmt/netdata: Unbreak webui permissions when running netdata as root
Bump PORTREVISION (installed @sample file changes).

PR:		244544
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	maintainer timeout (mmokhi@, 31 d)
2020-04-01 12:16:03 +00:00
Matthias Andree
bcfbc9f97b net/mgmt/netdata: Update to 1.20.0
PR:		244323
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	maintainer timeout (mmohki@, 38 d)
2020-04-01 08:59:14 +00:00
Kubilay Kocak
4fecb1d4cd net-mgmt/netdata: Honour/respect default Python version
PR:		243567
Reviewed by:	mat, koobs (python)
Approved by:	portmgr (blanket: run time bug fix, ports (Python) compliance)
MFH:		2020Q1
Differential Revision:	D22909
2020-02-17 06:58:48 +00:00
Piotr Kubaj
b3b61b99fc net-mgmt/netdata: fix build on GCC architectures
Base GCC doesn't support LTO.
2019-12-06 14:01:30 +00:00
Marcelo Araujo
62e2b2b815 - Update to 1.19.0.
- Add option for LTO (enabled by default in older versions).
- Update configuration sample and remove irrelevant settings for initial setup.

Submitted by:	Daniel Engberg <daniel.engberg.lists_pyret.net>
Approved by:	maintainer timeout (> 2 weeks)
Differential Revision:	https://reviews.freebsd.org/D22615
			https://reviews.freebsd.org/D21969
			https://reviews.freebsd.org/D22045
2019-12-02 09:52:41 +00:00
Mahdi Mokhtari
8adbaabd56 net-mgmt/netdata: Update to the latest upstream release 1.17.1
Update the patches to latest upstream changes
Add dbengine and json support options
Add cpe awareness

Reported by:	Daniel Engberg <daniel.engberg.lists@pyret.net>
Event: EuroBSDCon 2019 Hackathon
Sponsored by:	EuroBSDCon 2019
Differential Revision:	https://reviews.freebsd.org/D21395
2019-09-20 13:45:33 +00:00
Jimmy Olgeni
7e08aedb59 Update net-mgmt/netdata to version 1.15.0.
Other changes:

- Add LIB_DEPENDS on devel/libuv and archivers/liblz4 as suggested by portlint
- Add USES=ssl (portlint)
- Remove BUILD_DEPENDS (LIB_DEPENDS is sufficient)

Approved by:              mmokhi
Differential Revision:    https://reviews.freebsd.org/D20452
2019-05-29 20:31:21 +00:00
Mahdi Mokhtari
44c345f784 net-mgmt/netdata: Update to the latest release (v1.13.0)
This netdata release fixes upstream Bugs:
 - Bug #5670: "postgres: socket: update() unhandled exception"

It also includes features:
 * Kubernetes: Helm chart
 * Reduce memory usage

While here:
Add a CUPS option to enable/disable the plugin
Do cleanup on plist (new options added, fix permissions [FreeIPMI, etc])
Unbreak python plugins (shebangfix)
Make PID file configurable through rc script

For more info: https://github.com/netdata/netdata/releases/tag/v1.13.0

PR:		236258 235462
Reported by:	Dries Michiels <driesm.michiels@gmail.com>, geraud@gcu.info
Sponsored by:	The FreeBSD Foundation
2019-03-21 15:05:27 +00:00
Mahdi Mokhtari
20e2dd6da8 net-mgmt/netdata: Fix build on i386
Add more exact test-cases to configure.ac to prevent it assuming support of
__atomic_add/fetch/... symbols on i386 (Clang > 4).

Sponsored by:	The FreeBSD Foundation
2019-01-02 13:06:25 +00:00
Mahdi Mokhtari
3c4ac773a6 net-mgmt/netdata: let netdata_user be more configurable
With this change people will be able to run the service according their configurations
With users like 'root', as well as default one (netdata)

Reported by:	netchild
Sponsored by:	The FreeBSD Foundation
2018-12-25 17:16:06 +00:00
Mahdi Mokhtari
9551044db2 net-mgmt/netdata: Upgrade port to 1.11.1
Major changes:
    Added plugins:
        openldap: to collect performance statistics from OpenLDAP servers
        tor: to collect traffic statistics from Tor
        nvidia_smi: to monitor NVIDIA GPUs
    Bug fix:
        fix the incorrect parser error for network-interface names with ":" in them

ChangeLog: https://github.com/netdata/netdata/releases/tag/v1.11.1

Sponsored by:	The FreeBSD Foundation
2018-12-23 20:12:13 +00:00
Mahdi Mokhtari
43d7f7eb1d net-mgmt/netdata: Update to newest upstream release (v1.11.0)
This release has fundamental changes on config-file management.
    The stock config files (templates) are now co-existing in
        ${LOCALBASE}/lib/netdata/*
    For customizing and using them they must be compied into
        ${LOCALBASE}/etc/netdata/*

More of changes/bugfixes:
https://github.com/netdata/netdata/blob/v1.11.0/CHANGELOG.md

Sponsored by:	The FreeBSD Foundation
2018-11-04 15:05:47 +00:00
Rene Ladan
b7499ae64d Followup on r483807.
jbeich commented on some ports in D17724 but I forgot to add them to the list.

Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
2018-11-02 13:40:24 +00:00
Mahdi Mokhtari
225d8e46b5 net-mgmt/netdata: Update port to 1.10.0
The local patch for PR#3276 at GH also is merged upstream.

Sponsored by:	Netzkommune GmbH
2018-03-28 12:00:31 +00:00
Mahdi Mokhtari
043e4b4b03 net-mgmt/netdata: Fix wrong PID assumption on FreeBSD.
The issue merged on upstream but not in release-tree yet
Also add two other dependencies for run-time.

PR:		224135
Reported by:	nhoyle@hoyletech.com
Sponsored by:	Netzkommune GmbH
2018-01-18 12:25:10 +00:00
Mahdi Mokhtari
1790e5e22d net-mgmt/netdata: Update port to 1.9.0
Merge the "Fixing on 12-CURRENT" patch to upstream
Introduced new features such as:
- access lists
- snapshots
- TCP overflow detection
- libvirt VM detection
2017-12-19 17:18:51 +00:00
Antoine Brodin
aed3eed595 Fix packaging with python3 2017-12-12 12:37:57 +00:00
Mahdi Mokhtari
290d3115f9 net-mgmt/netdata: Add option for freeipmi support
PR:		223460
Reported by:	Bryce Edwards <bryce@bryce.net>
Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D12975
2017-11-08 12:18:34 +00:00