Date: Sun, 15 May 2022 17:49:13 GMT From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1491693fd88f - main - updatesysutils/snmp_exporter: do not overwrite generator.yml Message-ID: <202205151749.24FHnDH9041895@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=1491693fd88faef9f95e9f20f80b4740e8365a57 commit 1491693fd88faef9f95e9f20f80b4740e8365a57 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2022-05-11 11:47:04 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-05-15 17:46:51 +0000 updatesysutils/snmp_exporter: do not overwrite generator.yml Mark it as sample file. generator.yml is used by snmp_exporter_generator to generate the final configuration (snmp.yml) which should not be edited by hand. PR: 263878 Reported by: topical@gmx.net Approved by: fabian.freyer@physik.tu-berlin.de (1 week) --- sysutils/snmp_exporter/Makefile | 2 +- sysutils/snmp_exporter/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysutils/snmp_exporter/Makefile b/sysutils/snmp_exporter/Makefile index e56200575c12..09394be5aa9a 100644 --- a/sysutils/snmp_exporter/Makefile +++ b/sysutils/snmp_exporter/Makefile @@ -50,6 +50,6 @@ post-patch: post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/snmp_exporter/ - ${INSTALL_DATA} ${FILESDIR}/generator.yml ${STAGEDIR}${PREFIX}/etc/snmp_exporter/generator.yml + ${INSTALL_DATA} ${FILESDIR}/generator.yml ${STAGEDIR}${PREFIX}/etc/snmp_exporter/generator.yml.sample .include <bsd.port.mk> diff --git a/sysutils/snmp_exporter/pkg-plist b/sysutils/snmp_exporter/pkg-plist index fece9de0d7cb..d2d24fcfb01e 100644 --- a/sysutils/snmp_exporter/pkg-plist +++ b/sysutils/snmp_exporter/pkg-plist @@ -1,3 +1,3 @@ bin/snmp_exporter bin/snmp_exporter_generator -%%ETCDIR%%/generator.yml +@sample %%ETCDIR%%/generator.yml.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205151749.24FHnDH9041895>