FreeBSD Bugzilla – Attachment 211438 Details for
Bug 243567
net-mgmt/netdata: Honour/respect Python version specified by framework/user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for netdata
D22909.diff (text/plain), 1.36 KB, created by
Daniel Engberg
on 2020-02-07 07:20:41 UTC
(
hide
)
Description:
Patch for netdata
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2020-02-07 07:20:41 UTC
Size:
1.36 KB
patch
obsolete
>Index: net-mgmt/netdata/Makefile >=================================================================== >--- net-mgmt/netdata/Makefile >+++ net-mgmt/netdata/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= netdata > PORTVERSION= 1.19.0 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= net-mgmt > >@@ -88,6 +89,8 @@ > ${PATCH_WRKSRC}/configure.ac > @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \ > ${PATCH_WRKSRC}/configure.ac >+ @${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|g' \ >+ ${PATCH_WRKSRC}/collectors/python.d.plugin/python.d.plugin.in > > post-install: > ${MKDIR} ${STAGEDIR}${ETCDIR} >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 >+++ net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in >@@ -1,10 +1,10 @@ >---- collectors/python.d.plugin/python.d.plugin.in.orig 2019-10-10 13:13:19 UTC >+--- collectors/python.d.plugin/python.d.plugin.in.orig 2020-01-30 23:22:27 UTC > +++ collectors/python.d.plugin/python.d.plugin.in > @@ -1,6 +1,6 @@ >- #!/usr/local/bin/bash >+ #!/usr/bin/env bash > '''':; > -pybinary=$(which python || which python3 || which python2) >-+pybinary=$(which python || which python3.6 || which python2.7) >++pybinary=%%PYTHON%% > filtered=() > for arg in "$@" > do
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
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 243567
: 211438