git: 322d74cac235 - main - net-mgmt/netdata: Remove claim script when CLOUD=off
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Feb 2022 00:07:19 UTC
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=322d74cac2358470a0ba1aa5e93f2e54971397c9 commit 322d74cac2358470a0ba1aa5e93f2e54971397c9 Author: Namkhai B <namkhai.n3@protonmail.com> AuthorDate: 2022-02-16 23:40:25 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-02-19 00:06:35 +0000 net-mgmt/netdata: Remove claim script when CLOUD=off PR: 261979 --- net-mgmt/netdata/Makefile | 4 ++++ net-mgmt/netdata/pkg-plist | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile index b1d824086ce9..32e46b08874e 100644 --- a/net-mgmt/netdata/Makefile +++ b/net-mgmt/netdata/Makefile @@ -3,6 +3,7 @@ PORTNAME= netdata DISTVERSIONPREFIX= v DISTVERSION= 1.33.1 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \ https://github.com/forkbomb9/netdata/commit/:dashboard @@ -114,4 +115,7 @@ post-install: ${MV} $$fi $$fi".sample"; \ done) +post-install-CLOUD-off: + rm ${STAGEDIR}${PREFIX}/sbin/netdata-claim.sh + .include <bsd.port.mk> diff --git a/net-mgmt/netdata/pkg-plist b/net-mgmt/netdata/pkg-plist index 10120abab10b..b2b223992183 100644 --- a/net-mgmt/netdata/pkg-plist +++ b/net-mgmt/netdata/pkg-plist @@ -325,7 +325,7 @@ libexec/netdata/python.d/w1sensor.chart.py libexec/netdata/python.d/web_log.chart.py libexec/netdata/python.d/zscores.chart.py sbin/netdata -sbin/netdata-claim.sh +%%CLOUD%%sbin/netdata-claim.sh sbin/netdatacli @mode 4640 @owner netdata