Date: Mon, 17 Feb 2020 07:00:51 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r526347 - in branches/2020Q1/net-mgmt/netdata: . files Message-ID: <202002170700.01H70pje076320@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Mon Feb 17 07:00:50 2020 New Revision: 526347 URL: https://svnweb.freebsd.org/changeset/ports/526347 Log: MFH: r526346 net-mgmt/netdata: Honour/respect default Python version PR: 243567 Reviewed by: mat, koobs (python) Approved by: portmgr (blanket: run time bug fix, ports (Python) compliance) Differential Revision: D22909 Approved by: ports-secteam (blanket: run time bug fix, ports (Python) compliance) Modified: branches/2020Q1/net-mgmt/netdata/Makefile branches/2020Q1/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in Directory Properties: branches/2020Q1/ (props changed) Modified: branches/2020Q1/net-mgmt/netdata/Makefile ============================================================================== --- branches/2020Q1/net-mgmt/netdata/Makefile Mon Feb 17 06:58:48 2020 (r526346) +++ branches/2020Q1/net-mgmt/netdata/Makefile Mon Feb 17 07:00:50 2020 (r526347) @@ -4,6 +4,7 @@ PORTNAME= netdata PORTVERSION= 1.19.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= mmokhi@FreeBSD.org @@ -88,6 +89,8 @@ post-patch: ${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} Modified: branches/2020Q1/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in ============================================================================== --- branches/2020Q1/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in Mon Feb 17 06:58:48 2020 (r526346) +++ branches/2020Q1/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in Mon Feb 17 07:00:50 2020 (r526347) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002170700.01H70pje076320>