git: b02e58aec16f - main - net-mgmt/netdata: Enable CLOUD option by default

From: Ben Woods <woodsb02_at_FreeBSD.org>
Date: Tue, 27 Dec 2022 01:03:33 UTC
The branch main has been updated by woodsb02:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b02e58aec16fdae73cb59554d37d592ec36100bb

commit b02e58aec16fdae73cb59554d37d592ec36100bb
Author:     Ben Woods <woodsb02@FreeBSD.org>
AuthorDate: 2022-12-27 01:01:38 +0000
Commit:     Ben Woods <woodsb02@FreeBSD.org>
CommitDate: 2022-12-27 01:01:38 +0000

    net-mgmt/netdata: Enable CLOUD option by default
    
    Even with the CLOUD option enabled, the Netdata agent does not connect
    to the Netdata Cloud by default. This has to be manually enabled after
    the agent is first run using the netdata-claim.sh script.
    
    Add to pkg-message instructions an optional step for cloud integration,
    with a link to the netdata-claim.sh online instructions.
    
    Approved by:    nc (maintainer timeout)
    Differential Revision:  https://reviews.freebsd.org/D37453
---
 net-mgmt/netdata/Makefile    | 4 ++--
 net-mgmt/netdata/pkg-message | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index 2aefef74cd65..d2e749eadf69 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	netdata
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.36.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \
 		https://github.com/forkbomb9/netdata/commit/:dashboard
@@ -51,7 +51,7 @@ PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
 		NETDATA_PERST=${NETDATA_PERST}
 
 OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO
-OPTIONS_DEFAULT=	DBENGINE LTO
+OPTIONS_DEFAULT=	CLOUD DBENGINE LTO
 OPTIONS_EXCLUDE_powerpc64=	LTO
 OPTIONS_EXCLUDE_riscv64=	LTO
 OPTIONS_SUB=		YES
diff --git a/net-mgmt/netdata/pkg-message b/net-mgmt/netdata/pkg-message
index a71e3d53688d..b52ed9960650 100644
--- a/net-mgmt/netdata/pkg-message
+++ b/net-mgmt/netdata/pkg-message
@@ -6,6 +6,8 @@ Quick start for local-only use:
 1. sysrc netdata_enable="YES"
 2. service netdata start
 3. Go to http://localhost:19999/
+4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script:
+   https://learn.netdata.cloud/docs/agent/claim#claiming-script
 EOM
 }
 ]