CLOUD_LIB_DEPENDS should be libprotobuf and CUPS still depends on
libcups
Reported by: Namkhai B
Approved by: portmgr (blanket approval)
Fixes: a0f80c4 - net-mgmt/netdata: Style fix
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