From nobody Fri Oct 18 07:17:42 2024 X-Original-To: dev-commits-ports-main@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 4XVGHp6Hg6z5Yqb7; Fri, 18 Oct 2024 07:17:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVGHp5nTzz4dZ4; Fri, 18 Oct 2024 07:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235862; 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=XNKH/xCTMgbi0/V9Sz/yd2INsPXlE4OY2B/bjKVBTd4=; b=V21Sl0touQtKTz+Tf7UHQsZ82Vs/BQWDOmFxhHI2J66T9cRBrbonGCSkmRp0KZ1AfPfVi/ ZULr7dVIwrbNE8MwFb9aWHf8g0ee5ArtvAZ4K6wYdesac2kqK8HGnVqim3vgwY8ECEKBW8 WvEXseEj8YvAoVujVqLnJivqRhZwg6yZRl18KNNKtI9MEPcMl7fd4aClUGyZNR/bXMLQLR GHE7rCnLUIdjEd3OUUzmzoxx0Q5i0e4ImM/kDMY6CaZtGenMuBOwlfiRFtj5NDKeaZoT0r hvUXpmFX0FFgwfi7Yu2OoynQ5LsMGo3hAt59NyPN3m4uRziIdyeyJ7oLPdATOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235862; 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=XNKH/xCTMgbi0/V9Sz/yd2INsPXlE4OY2B/bjKVBTd4=; b=pjEWwapuITm+aqkWxGa84pLv0F9nDwBkbIubQJpRK385Oam4c0xJf8iHBEsc1A5HHmeWcb pBT/c6pfn7CU9bPCaieQqajg+0qdOMpzKxyO0C5h14/rPIFMOcsiNHvelXpGMRJehdFVGW B7vwZTFe741/krELcTPoMWBabQJsU1nQRcBC0Q7Qz4jQMARAYvFbkCx/S5nwPDvjja9MTp +QklmeuQ2A6yb+Be6GTPwcaeKAFfecmBPF4NJgVz/RmxUmDADvDEiz2FfxxrLg69Z2JyNG lY+ISy60M5MSTl/NclGrze7jR5WTlnsQTEBcnAjnTxGfLp3934LMhZwhrlpYPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729235862; a=rsa-sha256; cv=none; b=ZIzs/NaOHkdxnlRbBPTD74RVreYKPKxti3u39mJG87cj29fkJD15wRvJtelzQq0uze+q94 GvfFmXs4LRMouK26F2R5KtMpI5yMNj0dBEz444f+SsdZho6bDkpNaon6WFkOPfHTSO4rIM ZZcIBvonPxAqBi85Vb/5Z1f1iHmqvpjBiANscJCY81KqKqeb9ql0JqkCQs4/ynEIgmXJRp Ug/RJCKT/8kcXlOJ9bolfcusVUJ1KaGYDSXMWDikX3BIbZHhssQTMgEOTAh7QZpehiA1vZ zjIs5JfSdHew18xWxKIbnc1vHa303cjsI9A8MIV2dFJAwje/F6Y+E2CKeZkn9g== 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 4XVGHp5Nk5zPGk; Fri, 18 Oct 2024 07:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49I7Hgjo035033; Fri, 18 Oct 2024 07:17:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49I7HgZt035030; Fri, 18 Oct 2024 07:17:42 GMT (envelope-from git) Date: Fri, 18 Oct 2024 07:17:42 GMT Message-Id: <202410180717.49I7HgZt035030@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 8179e0a7720b - main - net-mgmt/smartctl_exporter: pick up more devices List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8179e0a7720bdcfbde72fae87c549c93e2025572 Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=8179e0a7720bdcfbde72fae87c549c93e2025572 commit 8179e0a7720bdcfbde72fae87c549c93e2025572 Author: Lexi Winter AuthorDate: 2024-10-18 07:07:30 +0000 Commit: Xin LI CommitDate: 2024-10-18 07:17:26 +0000 net-mgmt/smartctl_exporter: pick up more devices PR: ports/282015 --- net-mgmt/smartctl_exporter/Makefile | 2 +- net-mgmt/smartctl_exporter/files/smartctl_exporter.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/smartctl_exporter/Makefile b/net-mgmt/smartctl_exporter/Makefile index 272ae47f4a5a..b4142aa20421 100644 --- a/net-mgmt/smartctl_exporter/Makefile +++ b/net-mgmt/smartctl_exporter/Makefile @@ -1,7 +1,7 @@ PORTNAME= smartctl_exporter PORTVERSION= 0.12.0 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net-mgmt MAINTAINER= delphij@FreeBSD.org diff --git a/net-mgmt/smartctl_exporter/files/smartctl_exporter.in b/net-mgmt/smartctl_exporter/files/smartctl_exporter.in index 255d01c78134..5477b36f398d 100644 --- a/net-mgmt/smartctl_exporter/files/smartctl_exporter.in +++ b/net-mgmt/smartctl_exporter/files/smartctl_exporter.in @@ -28,7 +28,7 @@ load_rc_config $name : ${smartctl_exporter_enable:="NO"} : ${smartctl_exporter_user:="root"} : ${smartctl_exporter_listen_address:="localhost:9633"} -: ${smartctl_exporter_devices:="$(geom disk status -s | cut -f1 -d\ | sed -e s,^,/dev/,g)"} +: ${smartctl_exporter_devices:="$(geom disk status -s | grep -vE 'cd[0-9]' | awk '{print $1;}' | sed -e s,^,/dev/,g)"} : ${smartctl_exporter_log_level:=""} : ${smartctl_exporter_log_format:=""}