From owner-svn-ports-all@freebsd.org Thu Mar 21 15:05:29 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69B8D15449FD; Thu, 21 Mar 2019 15:05:29 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0EC218FA22; Thu, 21 Mar 2019 15:05:29 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DD0EDA7E6; Thu, 21 Mar 2019 15:05:28 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2LF5SgE013384; Thu, 21 Mar 2019 15:05:28 GMT (envelope-from mmokhi@FreeBSD.org) Received: (from mmokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2LF5R7S013378; Thu, 21 Mar 2019 15:05:27 GMT (envelope-from mmokhi@FreeBSD.org) Message-Id: <201903211505.x2LF5R7S013378@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmokhi set sender to mmokhi@FreeBSD.org using -f From: Mahdi Mokhtari Date: Thu, 21 Mar 2019 15:05:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496470 - in head/net-mgmt/netdata: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mmokhi X-SVN-Commit-Paths: in head/net-mgmt/netdata: . files X-SVN-Commit-Revision: 496470 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0EC218FA22 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2019 15:05:29 -0000 Author: mmokhi Date: Thu Mar 21 15:05:27 2019 New Revision: 496470 URL: https://svnweb.freebsd.org/changeset/ports/496470 Log: net-mgmt/netdata: Update to the latest release (v1.13.0) This netdata release fixes upstream Bugs: - Bug #5670: "postgres: socket: update() unhandled exception" It also includes features: * Kubernetes: Helm chart * Reduce memory usage While here: Add a CUPS option to enable/disable the plugin Do cleanup on plist (new options added, fix permissions [FreeIPMI, etc]) Unbreak python plugins (shebangfix) Make PID file configurable through rc script For more info: https://github.com/netdata/netdata/releases/tag/v1.13.0 PR: 236258 235462 Reported by: Dries Michiels , geraud@gcu.info Sponsored by: The FreeBSD Foundation Added: head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in (contents, props changed) Modified: head/net-mgmt/netdata/Makefile head/net-mgmt/netdata/distinfo head/net-mgmt/netdata/files/netdata.in head/net-mgmt/netdata/pkg-descr head/net-mgmt/netdata/pkg-plist Modified: head/net-mgmt/netdata/Makefile ============================================================================== --- head/net-mgmt/netdata/Makefile Thu Mar 21 15:05:14 2019 (r496469) +++ head/net-mgmt/netdata/Makefile Thu Mar 21 15:05:27 2019 (r496470) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= netdata -PORTVERSION= 1.11.1 +PORTVERSION= 1.13.0 DISTVERSIONPREFIX=v -PORTREVISION= 2 CATEGORIES= net-mgmt MAINTAINER= mmokhi@FreeBSD.org @@ -22,6 +21,8 @@ USES= autoreconf pathfix pkgconfig:both python sheban USE_GITHUB= yes GH_ACCOUNT= firehol +SHEBANG_GLOB= * + NETDATA_CACHE= /var/cache/${PORTNAME} NETDATA_LOG= /var/log/${PORTNAME} NETDATA_PERST= /var/db/${PORTNAME} @@ -46,10 +47,15 @@ SUB_FILES= ${PORTNAME}.conf.sample USERS= netdata GROUPS= netdata -OPTIONS_DEFINE= FREEIPMI +OPTIONS_DEFINE= CUPS FREEIPMI OPTIONS_SUB= YES -FREEIPMI_DESC= Enable support for freeipmi +CUPS_DESC= Enable support for cups +CUPS_CONFIGURE_ENABLE= plugin-cups +CUPS_LIB_DEPENDS= libcups.so:print/cups + +FREEIPMI_DESC= Enable support for freeipmi +FREEIPMI_CONFIGURE_ENABLE= plugin-freeipmi FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi post-patch: Modified: head/net-mgmt/netdata/distinfo ============================================================================== --- head/net-mgmt/netdata/distinfo Thu Mar 21 15:05:14 2019 (r496469) +++ head/net-mgmt/netdata/distinfo Thu Mar 21 15:05:27 2019 (r496470) @@ -1,3 +1,3 @@ -TIMESTAMP = 1545574796 -SHA256 (firehol-netdata-v1.11.1_GH0.tar.gz) = 909388511729d1e3b064d33fcf7ba65e27439787b449303ba8458c300ec46500 -SIZE (firehol-netdata-v1.11.1_GH0.tar.gz) = 3050309 +TIMESTAMP = 1553178227 +SHA256 (firehol-netdata-v1.13.0_GH0.tar.gz) = 45d972c11954af08aaf4c888ffb32453dd2e1fda0c7dbb355afdb9d4b1ab930e +SIZE (firehol-netdata-v1.13.0_GH0.tar.gz) = 3095581 Modified: head/net-mgmt/netdata/files/netdata.in ============================================================================== --- head/net-mgmt/netdata/files/netdata.in Thu Mar 21 15:05:14 2019 (r496469) +++ head/net-mgmt/netdata/files/netdata.in Thu Mar 21 15:05:27 2019 (r496470) @@ -24,11 +24,11 @@ load_rc_config $name : ${netdata_enable="NO"} : ${netdata_user="netdata"} +: ${netdata_pid="%%NETDATA_PERST%%/${name}.pid"} -pidfile="%%NETDATA_PERST%%/${name}.pid" procname="%%PREFIX%%/sbin/${name}" command="/usr/sbin/daemon" -command_args="-c -f ${procname} -u ${netdata_user} -P ${pidfile} ${netdata_args}" +command_args="-c -f ${procname} -u ${netdata_user} -P ${netdata_pid} ${netdata_args}" required_files="%%ETCDIR%%/${name}.conf" Added: head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in Thu Mar 21 15:05:27 2019 (r496470) @@ -0,0 +1,9 @@ +--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-02-03 14:09:41 UTC ++++ collectors/python.d.plugin/python.d.plugin.in +@@ -1,5 +1,5 @@ + #!/usr/bin/env 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 -*- Modified: head/net-mgmt/netdata/pkg-descr ============================================================================== --- head/net-mgmt/netdata/pkg-descr Thu Mar 21 15:05:14 2019 (r496469) +++ head/net-mgmt/netdata/pkg-descr Thu Mar 21 15:05:27 2019 (r496470) @@ -5,6 +5,6 @@ Out of the box, it comes with plugins that collect hun system metrics and metrics of popular applications. Netdata is very resource efficient and you can control its resource consumption. It will use some spare CPU cycles, usually just 1-3% of a single core, -the RAM you want it have, and no disk I/O at all, apart its logging. +the RAM you want it have, and no disk I/O at all, apart its logging. WWW: https://github.com/firehol/netdata Modified: head/net-mgmt/netdata/pkg-plist ============================================================================== --- head/net-mgmt/netdata/pkg-plist Thu Mar 21 15:05:14 2019 (r496469) +++ head/net-mgmt/netdata/pkg-plist Thu Mar 21 15:05:27 2019 (r496470) @@ -6,7 +6,6 @@ %%ETCDIR%%/statsd.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/apps_groups.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d.conf.sample -lib/netdata/conf.d/charts.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/ap.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/apache.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/apcupsd.conf.sample @@ -28,7 +27,6 @@ lib/netdata/conf.d/charts.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/squid.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/tomcat.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/fping.conf.sample -lib/netdata/conf.d/health.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/adaptec_raid.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/apache.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/apcupsd.conf.sample @@ -39,6 +37,7 @@ lib/netdata/conf.d/health.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/boinc.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/btrfs.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/ceph.conf.sample +@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/disks.conf.sample @@ -75,6 +74,7 @@ lib/netdata/conf.d/health.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/retroshare.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/sslcheck.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/stiebeleltron.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/swap.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/tcp_conn.conf.sample @@ -89,9 +89,7 @@ lib/netdata/conf.d/health.d/.keep @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/node.d.conf.sample -lib/netdata/conf.d/node.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d.conf.sample -lib/netdata/conf.d/python.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/adaptec_raid.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/apache.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/beanstalk.conf.sample @@ -133,6 +131,7 @@ lib/netdata/conf.d/python.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/ntpd.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/nvidia_smi.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/openldap.conf.sample +@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/oracledb.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/ovpn_status_log.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/phpfpm.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/portcheck.conf.sample @@ -159,7 +158,6 @@ lib/netdata/conf.d/python.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/varnish.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/w1sensor.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/web_log.conf.sample -lib/netdata/conf.d/statsd.d/.keep @sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/example.conf.sample @sample(netdata,netdata,0640) lib/netdata/conf.d/stream.conf.sample libexec/netdata/charts.d/ap.chart.sh @@ -200,13 +198,16 @@ libexec/netdata/node.d/stiebeleltron.node.js 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/anonymous-statistics.sh libexec/netdata/plugins.d/apps.plugin libexec/netdata/plugins.d/cgroup-name.sh libexec/netdata/plugins.d/cgroup-network-helper.sh libexec/netdata/plugins.d/charts.d.dryrun-helper.sh libexec/netdata/plugins.d/charts.d.plugin +%%CUPS%%libexec/netdata/plugins.d/cups.plugin libexec/netdata/plugins.d/fping.plugin %%FREEIPMI%%libexec/netdata/plugins.d/freeipmi.plugin +libexec/netdata/plugins.d/health-cmdapi-test.sh libexec/netdata/plugins.d/loopsleepms.sh.inc libexec/netdata/plugins.d/node.d.plugin libexec/netdata/plugins.d/python.d.plugin @@ -252,6 +253,7 @@ libexec/netdata/python.d/nsd.chart.py libexec/netdata/python.d/ntpd.chart.py libexec/netdata/python.d/nvidia_smi.chart.py libexec/netdata/python.d/openldap.chart.py +libexec/netdata/python.d/oracledb.chart.py libexec/netdata/python.d/ovpn_status_log.chart.py libexec/netdata/python.d/phpfpm.chart.py libexec/netdata/python.d/portcheck.chart.py @@ -429,6 +431,7 @@ sbin/netdata %%DATADIR%%/web/images/ms-icon-150x150.png %%DATADIR%%/web/images/ms-icon-310x310.png %%DATADIR%%/web/images/ms-icon-70x70.png +%%DATADIR%%/web/images/netdata-logomark.svg %%DATADIR%%/web/images/netdata.svg %%DATADIR%%/web/images/post.png %%DATADIR%%/web/index.html @@ -438,7 +441,6 @@ sbin/netdata %%DATADIR%%/web/lib/bootstrap-table-1.11.0.min.js %%DATADIR%%/web/lib/bootstrap-table-export-1.11.0.min.js %%DATADIR%%/web/lib/bootstrap-toggle-2.2.2.min.js -%%DATADIR%%/web/lib/c3-0.4.18.min.js %%DATADIR%%/web/lib/clipboard-polyfill-be05dad.js %%DATADIR%%/web/lib/d3-4.12.2.min.js %%DATADIR%%/web/lib/d3pie-0.2.1-netdata-3.js @@ -451,10 +453,8 @@ sbin/netdata %%DATADIR%%/web/lib/jquery.peity-3.2.0.min.js %%DATADIR%%/web/lib/jquery.sparkline-2.1.2.min.js %%DATADIR%%/web/lib/lz-string-1.4.4.min.js -%%DATADIR%%/web/lib/morris-0.5.1.min.js %%DATADIR%%/web/lib/pako-1.0.6.min.js %%DATADIR%%/web/lib/perfect-scrollbar-0.6.15.min.js -%%DATADIR%%/web/lib/raphael-2.2.4-min.js %%DATADIR%%/web/lib/tableExport-1.6.0.min.js %%DATADIR%%/web/main.css %%DATADIR%%/web/main.js