From nobody Sun May 15 17:49:13 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 85BA61AE4B73; Sun, 15 May 2022 17:49:13 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1VHs2rgVz3rft; Sun, 15 May 2022 17:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652636953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xgio14soJhBftAKZkZMGf8hVzVkpvlMkw3E87z0NVdA=; b=M1bjYeldGDaUxQf7EOxtjkTW2r1BbhjDUDs6qHFe+IrfHCuwvJqnlR2Xj7Rtn2iFMjtJaU j+N8bSodsgqBYpVlyhRL1Ijj7sYVOwMnaT1FCHeuODHtfxRuUp0plPwMjPVcLLsOxh3TnM /hKtkCysENtz2AM8Oz8ZrIcFTtXow6L2ByxckUJJfSo/aJJiRZOy2yqUKmjsF3qyVAAWF0 wguTeBaVSwSIdghHT/AH1K79EC620sLBHFGAdbRGHKuABFSMLnMxkre29lQDbqtNeduaoX 4ejypZefRrWan5BCIf64C4RMzENRhdqd4Z+2R0pj0+PMFDfgUIwB6BeN0FOhgg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3D8F710596; Sun, 15 May 2022 17:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24FHnDPu041896; Sun, 15 May 2022 17:49:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24FHnDH9041895; Sun, 15 May 2022 17:49:13 GMT (envelope-from git) Date: Sun, 15 May 2022 17:49:13 GMT Message-Id: <202205151749.24FHnDH9041895@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= Subject: git: 1491693fd88f - main - updatesysutils/snmp_exporter: do not overwrite generator.yml List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1491693fd88faef9f95e9f20f80b4740e8365a57 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652636953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xgio14soJhBftAKZkZMGf8hVzVkpvlMkw3E87z0NVdA=; b=iY5Z6X5d2zueZCvSNP/dZCM8pg86BKeb+F54YCyQgACZzyEKOzueFeKoCx1aAF4cDOcuRt L/dctfJX5uzUQhToQW8GKDmGL4ywiC+5RztFvlOl6T8POkWAsh/aCXonkFcrIGMSCmJuR7 TmDLtuZoyU1fvoMWr+BnmVPERLVrGS+fC/svk+T+ETGVKMgKahEa/sEh7jnrwiO5O1PEzP iVWY5pIyclLGP2YiBs8T17Gu2dxyid8IEDse7xJQZM7XbDE8NApCo/fPlab4oZ6VmmQGdl 7+4aEJ9qRkFtloziOIfB2Z5l2RnhFPJLRWRYBkQS3vDydfnmhwWF0wEJqcsKVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652636953; a=rsa-sha256; cv=none; b=ANmUCmeI+gvuo98yB6UgKFtG85LPV/aqmsiUWUvcoD5n9MfeZman6wWe9vZGsF5MlPP0Zt jBcX1vdkdCqg/HRnLHmek7VlXSEoL5HVGwwZzCl5Kirk+VdvbmbibGJ2PNreIiJZHPBHHr ro2O6RDQyz6VDDjVpgL0avmB42CGbcyWJ+KFpBpWNbSLlMOkvcZvgBI0MnVVgQXWMhOIwS 7VhMv7X1Hs6JU5MAYsuqssFDDmYhLFhggA9qAb46OkF8rqAriwIDeIxb5PkLJKjVHQec34 8m6tV55Nu8KjShJ7fZ/aBzUkUwBeXK1gffCGvWcgW8Faw/KkJxb+DNkJsJSjFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=1491693fd88faef9f95e9f20f80b4740e8365a57 commit 1491693fd88faef9f95e9f20f80b4740e8365a57 Author: Fernando ApesteguĂ­a AuthorDate: 2022-05-11 11:47:04 +0000 Commit: Fernando ApesteguĂ­a 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 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