diff options
author | Mahdi Mokhtari <mmokhi@FreeBSD.org> | 2019-09-20 13:45:33 +0000 |
---|---|---|
committer | Mahdi Mokhtari <mmokhi@FreeBSD.org> | 2019-09-20 13:45:33 +0000 |
commit | 8adbaabd56b43fb7ae5dbe0e01b5c7aeef59587c (patch) | |
tree | 59df51345dbfcf7360db9ee7c13e254484ccc2ad /net-mgmt | |
parent | f14a2ba27c4be6425bf045f4d5d36b886ab33460 (diff) | |
download | ports-8adbaabd56b43fb7ae5dbe0e01b5c7aeef59587c.tar.gz ports-8adbaabd56b43fb7ae5dbe0e01b5c7aeef59587c.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/netdata/Makefile | 21 | ||||
-rw-r--r-- | net-mgmt/netdata/distinfo | 6 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in | 8 | ||||
-rw-r--r-- | net-mgmt/netdata/pkg-plist | 16 |
4 files changed, 36 insertions, 15 deletions
diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile index 08de03ef59e1..2f5e858e0d22 100644 --- a/net-mgmt/netdata/Makefile +++ b/net-mgmt/netdata/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= netdata -PORTVERSION= 1.15.0 +PORTVERSION= 1.17.1 DISTVERSIONPREFIX=v CATEGORIES= net-mgmt @@ -11,14 +11,12 @@ COMMENT= Scalable distributed realtime performance and health monitoring LICENSE= GPLv3 -LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ - libuv.so:devel/libuv \ - liblz4.so:archivers/liblz4 +LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= bash:shells/bash \ curl:ftp/curl -USES= autoreconf pathfix pkgconfig:both python shebangfix ssl +USES= autoreconf cpe pathfix pkgconfig:both python shebangfix ssl USE_GITHUB= yes GH_ACCOUNT= firehol @@ -49,17 +47,28 @@ SUB_FILES= ${PORTNAME}.conf.sample USERS= netdata GROUPS= netdata -OPTIONS_DEFINE= CUPS FREEIPMI +OPTIONS_DEFINE= CUPS DBENGINE FREEIPMI JSON OPTIONS_SUB= YES +OPTIONS_DEFAULT= DBENGINE JSON CUPS_DESC= Enable support for cups CUPS_CONFIGURE_ENABLE= plugin-cups CUPS_LIB_DEPENDS= libcups.so:print/cups +DBENGINE_DESC= Enable support for database engine +DBENGINE_CONFIGURE_ENABLE= dbengine +DBENGINE_LIB_DEPENDS= libuv.so:devel/libuv \ + liblz4.so:archivers/liblz4 \ + libJudy.so:devel/judy + FREEIPMI_DESC= Enable support for freeipmi FREEIPMI_CONFIGURE_ENABLE= plugin-freeipmi FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi +JSON_DESC= Enable support for json +JSON_CONFIGURE_ENABLE= jsonc +JSON_LIB_DEPENDS= libjson-c.so:devel/json-c + post-patch: @${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \ ${PATCH_WRKSRC}/configure.ac diff --git a/net-mgmt/netdata/distinfo b/net-mgmt/netdata/distinfo index eb00f8082e44..edb63f4d95d3 100644 --- a/net-mgmt/netdata/distinfo +++ b/net-mgmt/netdata/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1558992903 -SHA256 (firehol-netdata-v1.15.0_GH0.tar.gz) = 60cf4a15c25c828e25ae1218a485c21ef23423f7b6a9a1148ce9eea9c9726a39 -SIZE (firehol-netdata-v1.15.0_GH0.tar.gz) = 3178633 +TIMESTAMP = 1568896571 +SHA256 (firehol-netdata-v1.17.1_GH0.tar.gz) = 032f9001e2b7f774989a200519feeafa3a4d9b7c9e8fb0cfa43e68a8da6ad1bf +SIZE (firehol-netdata-v1.17.1_GH0.tar.gz) = 3332115 diff --git a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in index b1777cdac8a0..45164d19f085 100644 --- a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in +++ b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in @@ -1,11 +1,9 @@ --- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC +++ collectors/python.d.plugin/python.d.plugin.in -@@ -3,7 +3,7 @@ - if [[ "$OSTYPE" == "darwin"* ]]; then - export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES - fi +@@ -1,5 +1,5 @@ + #!/usr/local/bin/bash + '''':; -exec "$(command -v python || command -v python3 || command -v python2 || +exec "$(command -v python || command -v python3.6 || command -v python2.7 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' - # -*- coding: utf-8 -*- diff --git a/net-mgmt/netdata/pkg-plist b/net-mgmt/netdata/pkg-plist index fdbdf49ddeed..55eee687ad9f 100644 --- a/net-mgmt/netdata/pkg-plist +++ b/net-mgmt/netdata/pkg-plist @@ -41,7 +41,9 @@ @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/cgroups.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/couchdb.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/cpu.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/dbengine.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/disks.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/dnsmasq_dhcp.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/dockerd.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/elasticsearch.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/entropy.conf.sample @@ -70,12 +72,15 @@ @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/nginx.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/nginx_plus.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/phpfpm.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/pihole.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/portcheck.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/postgres.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/processes.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/qos.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/ram.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/redis.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/retroshare.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/riakkv.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/softnet.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/squid.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/stiebeleltron.conf.sample @@ -87,12 +92,15 @@ @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/tcp_resets.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/udp_errors.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/varnish.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/vsphere.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/web_log.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/wmi.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/x509check.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/zfs.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health_alarm_notify.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health_email_recipients.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/ioping.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/mongodb.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/node.d.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/adaptec_raid.conf.sample @@ -146,6 +154,7 @@ @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/redis.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/rethinkdbs.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/retroshare.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/riakkv.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/samba.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/sensors.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/smartd_log.conf.sample @@ -197,9 +206,11 @@ libexec/netdata/node.d/node_modules/pixl-xml.js libexec/netdata/node.d/sma_webbox.node.js libexec/netdata/node.d/snmp.node.js libexec/netdata/node.d/stiebeleltron.node.js +libexec/netdata/plugins.d/acl.sh libexec/netdata/plugins.d/alarm-email.sh libexec/netdata/plugins.d/alarm-notify.sh libexec/netdata/plugins.d/alarm-test.sh +libexec/netdata/plugins.d/alarm.sh libexec/netdata/plugins.d/anonymous-statistics.sh libexec/netdata/plugins.d/apps.plugin libexec/netdata/plugins.d/cgroup-name.sh @@ -214,6 +225,7 @@ libexec/netdata/plugins.d/ioping.plugin libexec/netdata/plugins.d/loopsleepms.sh.inc libexec/netdata/plugins.d/node.d.plugin libexec/netdata/plugins.d/python.d.plugin +libexec/netdata/plugins.d/request.sh libexec/netdata/plugins.d/system-info.sh libexec/netdata/plugins.d/tc-qos-helper.sh libexec/netdata/python.d/adaptec_raid.chart.py @@ -356,6 +368,7 @@ libexec/netdata/python.d/rabbitmq.chart.py libexec/netdata/python.d/redis.chart.py libexec/netdata/python.d/rethinkdbs.chart.py libexec/netdata/python.d/retroshare.chart.py +libexec/netdata/python.d/riakkv.chart.py libexec/netdata/python.d/samba.chart.py libexec/netdata/python.d/sensors.chart.py libexec/netdata/python.d/smartd_log.chart.py @@ -375,7 +388,7 @@ sbin/netdata @owner netdata @group netdata %%DATADIR%%/web/.well-known/dnt/cookies -%%DATADIR%%/web/console/index.html +%%DATADIR%%/web/console.html %%DATADIR%%/web/css/bootstrap-3.3.7.css %%DATADIR%%/web/css/bootstrap-slate-flat-3.3.7.css %%DATADIR%%/web/css/bootstrap-slider-10.0.0.min.css @@ -383,6 +396,7 @@ sbin/netdata %%DATADIR%%/web/css/bootstrap-toggle-2.2.2.min.css %%DATADIR%%/web/css/c3-0.4.18.min.css %%DATADIR%%/web/css/morris-0.5.1.css +%%DATADIR%%/web/dash-example.html %%DATADIR%%/web/dashboard.css %%DATADIR%%/web/dashboard.html %%DATADIR%%/web/dashboard.js |