svn commit: r530686 - head/net-mgmt/netdata

Matthias Andree mandree at FreeBSD.org
Sat Apr 4 16:05:44 UTC 2020


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 at gmail.com>
  Reviewed by:	daniel.engberg.lists at 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


More information about the svn-ports-all mailing list