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.
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.
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.
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
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)
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)
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
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
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
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
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
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
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
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
Merge the "Fixing on 12-CURRENT" patch to upstream
Introduced new features such as:
- access lists
- snapshots
- TCP overflow detection
- libvirt VM detection