Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 16:00:08 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530686 - head/net-mgmt/netdata
Message-ID:  <202004041600.034G08S8065109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sat Apr  4 16:00:08 2020
New Revision: 530686
URL: https://svnweb.freebsd.org/changeset/ports/530686

Log:
  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)

Modified:
  head/net-mgmt/netdata/Makefile

Modified: head/net-mgmt/netdata/Makefile
==============================================================================
--- head/net-mgmt/netdata/Makefile	Sat Apr  4 15:41:26 2020	(r530685)
+++ head/net-mgmt/netdata/Makefile	Sat Apr  4 16:00:08 2020	(r530686)
@@ -48,7 +48,7 @@ SUB_FILES=	${PORTNAME}.conf.sample
 USERS=		netdata
 GROUPS=		netdata
 
-OPTIONS_DEFINE=		CUPS DBENGINE FREEIPMI JSON LTO
+OPTIONS_DEFINE=		CUPS DBENGINE FREEIPMI GOPLUGIN JSON LTO
 OPTIONS_SUB=		YES
 OPTIONS_DEFAULT=	DBENGINE JSON
 OPTIONS_DEFAULT_FreeBSD_12=	LTO
@@ -68,6 +68,9 @@ DBENGINE_LIB_DEPENDS=		libJudy.so:devel/judy \
 FREEIPMI_DESC=			Enable support for freeipmi
 FREEIPMI_CONFIGURE_ENABLE=	plugin-freeipmi
 FREEIPMI_LIB_DEPENDS=		libfreeipmi.so:sysutils/freeipmi
+
+GOPLUGIN_DESC=		Enable the go collector plugin
+GOPLUGIN_RUN_DEPENDS=	${LOCALBASE}/libexec/netdata/plugins.d/god.plugin:net-mgmt/netdata-go
 
 JSON_DESC=		Enable support for json
 JSON_CONFIGURE_ENABLE=	jsonc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004041600.034G08S8065109>