FreeBSD Bugzilla – Attachment 201682 Details for
Bug 235462
net-mgmt/netdata multiple improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
multiple improvements for netdata
netdata.diff (text/plain), 2.98 KB, created by
Dries Michiels
on 2019-02-03 14:29:27 UTC
(
hide
)
Description:
multiple improvements for netdata
Filename:
MIME Type:
Creator:
Dries Michiels
Created:
2019-02-03 14:29:27 UTC
Size:
2.98 KB
patch
obsolete
>Index: net-mgmt/netdata/Makefile >=================================================================== >--- net-mgmt/netdata/Makefile (revision 492049) >+++ net-mgmt/netdata/Makefile (working copy) >@@ -4,7 +4,7 @@ > PORTNAME= netdata > PORTVERSION= 1.11.1 > DISTVERSIONPREFIX=v >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= net-mgmt > > MAINTAINER= mmokhi@FreeBSD.org >@@ -22,6 +22,9 @@ > USE_GITHUB= yes > GH_ACCOUNT= firehol > >+# Almost every file carries a shebang to fix >+SHEBANG_GLOB= * >+ > NETDATA_CACHE= /var/cache/${PORTNAME} > NETDATA_LOG= /var/log/${PORTNAME} > NETDATA_PERST= /var/db/${PORTNAME} >Index: net-mgmt/netdata/files/netdata.in >=================================================================== >--- net-mgmt/netdata/files/netdata.in (revision 492049) >+++ net-mgmt/netdata/files/netdata.in (working copy) >@@ -24,11 +24,11 @@ > > : ${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" > >Index: net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in >=================================================================== >--- net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in (nonexistent) >+++ net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in (working copy) >@@ -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 -*- > >Property changes on: net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-mgmt/netdata/pkg-descr >=================================================================== >--- net-mgmt/netdata/pkg-descr (revision 492049) >+++ net-mgmt/netdata/pkg-descr (working copy) >@@ -5,6 +5,6 @@ > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235462
: 201682