From owner-svn-ports-head@freebsd.org Tue Jan 26 18:00:27 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A0ED4FAA30; Tue, 26 Jan 2021 18:00:27 +0000 (UTC) (envelope-from asomers@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 4DQDzb0Cbsz3jNj; Tue, 26 Jan 2021 18:00:27 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EEB236134; Tue, 26 Jan 2021 18:00:26 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10QI0Qkx056680; Tue, 26 Jan 2021 18:00:26 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10QI0Q13056675; Tue, 26 Jan 2021 18:00:26 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <202101261800.10QI0Q13056675@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Tue, 26 Jan 2021 18:00:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562971 - in head/net-mgmt: . nfs-exporter nfs-exporter/files X-SVN-Group: ports-head X-SVN-Commit-Author: asomers X-SVN-Commit-Paths: in head/net-mgmt: . nfs-exporter nfs-exporter/files X-SVN-Commit-Revision: 562971 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 18:00:27 -0000 Author: asomers (src committer) Date: Tue Jan 26 18:00:25 2021 New Revision: 562971 URL: https://svnweb.freebsd.org/changeset/ports/562971 Log: net-mgmt/nfs-exporter: new port nfs-exporter exports NFS server statistics to Prometheus. Reviewed by: otis, debdrup, osa Approved by: osa (ports) Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D28355 Added: head/net-mgmt/nfs-exporter/ head/net-mgmt/nfs-exporter/Makefile (contents, props changed) head/net-mgmt/nfs-exporter/distinfo (contents, props changed) head/net-mgmt/nfs-exporter/files/ head/net-mgmt/nfs-exporter/files/nfs_exporter.in (contents, props changed) head/net-mgmt/nfs-exporter/pkg-descr (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Tue Jan 26 18:00:24 2021 (r562970) +++ head/net-mgmt/Makefile Tue Jan 26 18:00:25 2021 (r562971) @@ -189,6 +189,7 @@ SUBDIR += networkmgr SUBDIR += netxms SUBDIR += nfdump + SUBDIR += nfs-exporter SUBDIR += nfsen SUBDIR += ng_ipacct SUBDIR += nitpicker Added: head/net-mgmt/nfs-exporter/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nfs-exporter/Makefile Tue Jan 26 18:00:25 2021 (r562971) @@ -0,0 +1,124 @@ +# $FreeBSD$ + +PORTNAME= nfs-exporter +DISTVERSION= 0.3.0 +CATEGORIES= net-mgmt +DISTNAME= freebsd-nfs-exporter-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= asomers@FreeBSD.org +COMMENT= Prometheus exporter for NFS statistics + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= Axcient +GH_PROJECT= freebsd-nfs-exporter +GH_TAGNAME= v${PORTVERSION} +USE_RC_SUBR= nfs_exporter + +CARGO_CRATES= aho-corasick-0.7.13 \ + ansi_term-0.11.0 \ + atty-0.2.14 \ + autocfg-1.0.1 \ + bitflags-1.2.1 \ + byteorder-1.3.4 \ + bytes-0.4.12 \ + cfg-if-0.1.10 \ + clap-2.33.3 \ + cloudabi-0.0.3 \ + crossbeam-channel-0.3.9 \ + crossbeam-deque-0.7.3 \ + crossbeam-epoch-0.8.2 \ + crossbeam-queue-0.2.3 \ + crossbeam-utils-0.6.6 \ + crossbeam-utils-0.7.2 \ + either-1.6.0 \ + env_logger-0.7.1 \ + fnv-1.0.7 \ + fuchsia-zircon-0.3.3 \ + fuchsia-zircon-sys-0.3.3 \ + futures-0.1.29 \ + futures-cpupool-0.1.8 \ + h2-0.1.26 \ + hashbrown-0.8.2 \ + hermit-abi-0.1.15 \ + http-0.1.21 \ + http-body-0.1.0 \ + httparse-1.3.4 \ + humantime-1.3.0 \ + hyper-0.12.35 \ + indexmap-1.5.2 \ + iovec-0.1.4 \ + itoa-0.4.6 \ + kernel32-sys-0.2.2 \ + lazy_static-1.4.0 \ + libc-0.2.76 \ + lock_api-0.3.4 \ + log-0.4.11 \ + maybe-uninit-2.0.0 \ + memchr-2.3.3 \ + memoffset-0.5.5 \ + mio-0.6.22 \ + miow-0.2.1 \ + net2-0.2.34 \ + num_cpus-1.13.0 \ + parking_lot-0.9.0 \ + parking_lot_core-0.6.2 \ + proc-macro2-1.0.19 \ + prometheus-0.9.0 \ + prometheus_exporter-0.6.1 \ + quick-error-1.2.3 \ + quote-1.0.7 \ + redox_syscall-0.1.57 \ + regex-1.3.9 \ + regex-syntax-0.6.18 \ + rustc_version-0.2.3 \ + scopeguard-1.1.0 \ + semver-0.9.0 \ + semver-parser-0.7.0 \ + slab-0.4.2 \ + smallvec-0.6.13 \ + spin-0.5.2 \ + string-0.2.1 \ + strsim-0.8.0 \ + syn-1.0.39 \ + termcolor-1.1.0 \ + textwrap-0.11.0 \ + thiserror-1.0.20 \ + thiserror-impl-1.0.20 \ + thread_local-1.0.1 \ + time-0.1.44 \ + tokio-0.1.22 \ + tokio-buf-0.1.1 \ + tokio-current-thread-0.1.7 \ + tokio-executor-0.1.10 \ + tokio-io-0.1.13 \ + tokio-reactor-0.1.12 \ + tokio-sync-0.1.8 \ + tokio-tcp-0.1.4 \ + tokio-threadpool-0.1.18 \ + tokio-timer-0.2.13 \ + try-lock-0.2.3 \ + unicode-width-0.1.8 \ + unicode-xid-0.2.1 \ + vec_map-0.8.2 \ + want-0.2.0 \ + wasi-0.10.0+wasi-snapshot-preview1 \ + winapi-0.2.8 \ + winapi-0.3.9 \ + winapi-build-0.1.1 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-util-0.1.5 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + ws2_32-sys-0.2.1 + +PLIST_FILES= bin/nfs-exporter + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nfs-exporter + +.include Added: head/net-mgmt/nfs-exporter/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nfs-exporter/distinfo Tue Jan 26 18:00:25 2021 (r562971) @@ -0,0 +1,193 @@ +TIMESTAMP = 1605640594 +SHA256 (rust/crates/aho-corasick-0.7.13.tar.gz) = 043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86 +SIZE (rust/crates/aho-corasick-0.7.13.tar.gz) = 111381 +SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087 +SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470 +SHA256 (rust/crates/autocfg-1.0.1.tar.gz) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a +SIZE (rust/crates/autocfg-1.0.1.tar.gz) = 12908 +SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 +SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745 +SHA256 (rust/crates/byteorder-1.3.4.tar.gz) = 08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de +SIZE (rust/crates/byteorder-1.3.4.tar.gz) = 21943 +SHA256 (rust/crates/bytes-0.4.12.tar.gz) = 206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c +SIZE (rust/crates/bytes-0.4.12.tar.gz) = 46361 +SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 +SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933 +SHA256 (rust/crates/clap-2.33.3.tar.gz) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002 +SIZE (rust/crates/clap-2.33.3.tar.gz) = 201925 +SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f +SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156 +SHA256 (rust/crates/crossbeam-channel-0.3.9.tar.gz) = c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa +SIZE (rust/crates/crossbeam-channel-0.3.9.tar.gz) = 86771 +SHA256 (rust/crates/crossbeam-deque-0.7.3.tar.gz) = 9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285 +SIZE (rust/crates/crossbeam-deque-0.7.3.tar.gz) = 19888 +SHA256 (rust/crates/crossbeam-epoch-0.8.2.tar.gz) = 058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace +SIZE (rust/crates/crossbeam-epoch-0.8.2.tar.gz) = 39283 +SHA256 (rust/crates/crossbeam-queue-0.2.3.tar.gz) = 774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570 +SIZE (rust/crates/crossbeam-queue-0.2.3.tar.gz) = 14753 +SHA256 (rust/crates/crossbeam-utils-0.6.6.tar.gz) = 04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6 +SIZE (rust/crates/crossbeam-utils-0.6.6.tar.gz) = 32836 +SHA256 (rust/crates/crossbeam-utils-0.7.2.tar.gz) = c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8 +SIZE (rust/crates/crossbeam-utils-0.7.2.tar.gz) = 34338 +SHA256 (rust/crates/either-1.6.0.tar.gz) = cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f +SIZE (rust/crates/either-1.6.0.tar.gz) = 13334 +SHA256 (rust/crates/env_logger-0.7.1.tar.gz) = 44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36 +SIZE (rust/crates/env_logger-0.7.1.tar.gz) = 32281 +SHA256 (rust/crates/fnv-1.0.7.tar.gz) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1 +SIZE (rust/crates/fnv-1.0.7.tar.gz) = 11266 +SHA256 (rust/crates/fuchsia-zircon-0.3.3.tar.gz) = 2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82 +SIZE (rust/crates/fuchsia-zircon-0.3.3.tar.gz) = 22565 +SHA256 (rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz) = 3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7 +SIZE (rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz) = 7191 +SHA256 (rust/crates/futures-0.1.29.tar.gz) = 1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef +SIZE (rust/crates/futures-0.1.29.tar.gz) = 158346 +SHA256 (rust/crates/futures-cpupool-0.1.8.tar.gz) = ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4 +SIZE (rust/crates/futures-cpupool-0.1.8.tar.gz) = 10583 +SHA256 (rust/crates/h2-0.1.26.tar.gz) = a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462 +SIZE (rust/crates/h2-0.1.26.tar.gz) = 153921 +SHA256 (rust/crates/hashbrown-0.8.2.tar.gz) = e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25 +SIZE (rust/crates/hashbrown-0.8.2.tar.gz) = 75830 +SHA256 (rust/crates/hermit-abi-0.1.15.tar.gz) = 3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9 +SIZE (rust/crates/hermit-abi-0.1.15.tar.gz) = 9597 +SHA256 (rust/crates/http-0.1.21.tar.gz) = d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0 +SIZE (rust/crates/http-0.1.21.tar.gz) = 103053 +SHA256 (rust/crates/http-body-0.1.0.tar.gz) = 6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d +SIZE (rust/crates/http-body-0.1.0.tar.gz) = 4618 +SHA256 (rust/crates/httparse-1.3.4.tar.gz) = cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9 +SIZE (rust/crates/httparse-1.3.4.tar.gz) = 23739 +SHA256 (rust/crates/humantime-1.3.0.tar.gz) = df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f +SIZE (rust/crates/humantime-1.3.0.tar.gz) = 17020 +SHA256 (rust/crates/hyper-0.12.35.tar.gz) = 9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6 +SIZE (rust/crates/hyper-0.12.35.tar.gz) = 127971 +SHA256 (rust/crates/indexmap-1.5.2.tar.gz) = 4e47a3566dd4fd4eec714ae6ceabdee0caec795be835c223d92c2d40f1e8cf1c +SIZE (rust/crates/indexmap-1.5.2.tar.gz) = 47558 +SHA256 (rust/crates/iovec-0.1.4.tar.gz) = b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e +SIZE (rust/crates/iovec-0.1.4.tar.gz) = 8720 +SHA256 (rust/crates/itoa-0.4.6.tar.gz) = dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6 +SIZE (rust/crates/itoa-0.4.6.tar.gz) = 12167 +SHA256 (rust/crates/kernel32-sys-0.2.2.tar.gz) = 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d +SIZE (rust/crates/kernel32-sys-0.2.2.tar.gz) = 24537 +SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443 +SHA256 (rust/crates/libc-0.2.76.tar.gz) = 755456fae044e6fa1ebbbd1b3e902ae19e73097ed4ed87bb79934a867c007bc3 +SIZE (rust/crates/libc-0.2.76.tar.gz) = 506496 +SHA256 (rust/crates/lock_api-0.3.4.tar.gz) = c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75 +SIZE (rust/crates/lock_api-0.3.4.tar.gz) = 18750 +SHA256 (rust/crates/log-0.4.11.tar.gz) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b +SIZE (rust/crates/log-0.4.11.tar.gz) = 36276 +SHA256 (rust/crates/maybe-uninit-2.0.0.tar.gz) = 60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00 +SIZE (rust/crates/maybe-uninit-2.0.0.tar.gz) = 11809 +SHA256 (rust/crates/memchr-2.3.3.tar.gz) = 3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400 +SIZE (rust/crates/memchr-2.3.3.tar.gz) = 22566 +SHA256 (rust/crates/memoffset-0.5.5.tar.gz) = c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f +SIZE (rust/crates/memoffset-0.5.5.tar.gz) = 7318 +SHA256 (rust/crates/mio-0.6.22.tar.gz) = fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430 +SIZE (rust/crates/mio-0.6.22.tar.gz) = 102782 +SHA256 (rust/crates/miow-0.2.1.tar.gz) = 8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919 +SIZE (rust/crates/miow-0.2.1.tar.gz) = 21133 +SHA256 (rust/crates/net2-0.2.34.tar.gz) = 2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7 +SIZE (rust/crates/net2-0.2.34.tar.gz) = 20620 +SHA256 (rust/crates/num_cpus-1.13.0.tar.gz) = 05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3 +SIZE (rust/crates/num_cpus-1.13.0.tar.gz) = 14704 +SHA256 (rust/crates/parking_lot-0.9.0.tar.gz) = f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252 +SIZE (rust/crates/parking_lot-0.9.0.tar.gz) = 35170 +SHA256 (rust/crates/parking_lot_core-0.6.2.tar.gz) = b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b +SIZE (rust/crates/parking_lot_core-0.6.2.tar.gz) = 30598 +SHA256 (rust/crates/proc-macro2-1.0.19.tar.gz) = 04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12 +SIZE (rust/crates/proc-macro2-1.0.19.tar.gz) = 36390 +SHA256 (rust/crates/prometheus-0.9.0.tar.gz) = dd0ced56dee39a6e960c15c74dc48849d614586db2eaada6497477af7c7811cd +SIZE (rust/crates/prometheus-0.9.0.tar.gz) = 71261 +SHA256 (rust/crates/prometheus_exporter-0.6.1.tar.gz) = 4f36be1ddcfe923ea4c2e37e32bcab7dce61437e512925a0b5f5e7b739e9cd51 +SIZE (rust/crates/prometheus_exporter-0.6.1.tar.gz) = 4884 +SHA256 (rust/crates/quick-error-1.2.3.tar.gz) = a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0 +SIZE (rust/crates/quick-error-1.2.3.tar.gz) = 15066 +SHA256 (rust/crates/quote-1.0.7.tar.gz) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37 +SIZE (rust/crates/quote-1.0.7.tar.gz) = 25170 +SHA256 (rust/crates/redox_syscall-0.1.57.tar.gz) = 41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce +SIZE (rust/crates/redox_syscall-0.1.57.tar.gz) = 17087 +SHA256 (rust/crates/regex-1.3.9.tar.gz) = 9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6 +SIZE (rust/crates/regex-1.3.9.tar.gz) = 236683 +SHA256 (rust/crates/regex-syntax-0.6.18.tar.gz) = 26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8 +SIZE (rust/crates/regex-syntax-0.6.18.tar.gz) = 294440 +SHA256 (rust/crates/rustc_version-0.2.3.tar.gz) = 138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a +SIZE (rust/crates/rustc_version-0.2.3.tar.gz) = 10210 +SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470 +SHA256 (rust/crates/semver-0.9.0.tar.gz) = 1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403 +SIZE (rust/crates/semver-0.9.0.tar.gz) = 17344 +SHA256 (rust/crates/semver-parser-0.7.0.tar.gz) = 388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3 +SIZE (rust/crates/semver-parser-0.7.0.tar.gz) = 10268 +SHA256 (rust/crates/slab-0.4.2.tar.gz) = c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8 +SIZE (rust/crates/slab-0.4.2.tar.gz) = 10136 +SHA256 (rust/crates/smallvec-0.6.13.tar.gz) = f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6 +SIZE (rust/crates/smallvec-0.6.13.tar.gz) = 22760 +SHA256 (rust/crates/spin-0.5.2.tar.gz) = 6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d +SIZE (rust/crates/spin-0.5.2.tar.gz) = 12004 +SHA256 (rust/crates/string-0.2.1.tar.gz) = d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d +SIZE (rust/crates/string-0.2.1.tar.gz) = 5081 +SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a +SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309 +SHA256 (rust/crates/syn-1.0.39.tar.gz) = 891d8d6567fe7c7f8835a3a98af4208f3846fba258c1bc3c31d6e506239f11f9 +SIZE (rust/crates/syn-1.0.39.tar.gz) = 224707 +SHA256 (rust/crates/termcolor-1.1.0.tar.gz) = bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f +SIZE (rust/crates/termcolor-1.1.0.tar.gz) = 17193 +SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 +SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322 +SHA256 (rust/crates/thiserror-1.0.20.tar.gz) = 7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08 +SIZE (rust/crates/thiserror-1.0.20.tar.gz) = 15950 +SHA256 (rust/crates/thiserror-impl-1.0.20.tar.gz) = bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793 +SIZE (rust/crates/thiserror-impl-1.0.20.tar.gz) = 13197 +SHA256 (rust/crates/thread_local-1.0.1.tar.gz) = d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14 +SIZE (rust/crates/thread_local-1.0.1.tar.gz) = 12609 +SHA256 (rust/crates/time-0.1.44.tar.gz) = 6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255 +SIZE (rust/crates/time-0.1.44.tar.gz) = 28885 +SHA256 (rust/crates/tokio-0.1.22.tar.gz) = 5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6 +SIZE (rust/crates/tokio-0.1.22.tar.gz) = 70031 +SHA256 (rust/crates/tokio-buf-0.1.1.tar.gz) = 8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46 +SIZE (rust/crates/tokio-buf-0.1.1.tar.gz) = 10815 +SHA256 (rust/crates/tokio-current-thread-0.1.7.tar.gz) = b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e +SIZE (rust/crates/tokio-current-thread-0.1.7.tar.gz) = 19690 +SHA256 (rust/crates/tokio-executor-0.1.10.tar.gz) = fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671 +SIZE (rust/crates/tokio-executor-0.1.10.tar.gz) = 12191 +SHA256 (rust/crates/tokio-io-0.1.13.tar.gz) = 57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674 +SIZE (rust/crates/tokio-io-0.1.13.tar.gz) = 33665 +SHA256 (rust/crates/tokio-reactor-0.1.12.tar.gz) = 09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351 +SIZE (rust/crates/tokio-reactor-0.1.12.tar.gz) = 21058 +SHA256 (rust/crates/tokio-sync-0.1.8.tar.gz) = edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee +SIZE (rust/crates/tokio-sync-0.1.8.tar.gz) = 41830 +SHA256 (rust/crates/tokio-tcp-0.1.4.tar.gz) = 98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72 +SIZE (rust/crates/tokio-tcp-0.1.4.tar.gz) = 12745 +SHA256 (rust/crates/tokio-threadpool-0.1.18.tar.gz) = df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89 +SIZE (rust/crates/tokio-threadpool-0.1.18.tar.gz) = 54825 +SHA256 (rust/crates/tokio-timer-0.2.13.tar.gz) = 93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296 +SIZE (rust/crates/tokio-timer-0.2.13.tar.gz) = 37873 +SHA256 (rust/crates/try-lock-0.2.3.tar.gz) = 59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642 +SIZE (rust/crates/try-lock-0.2.3.tar.gz) = 4158 +SHA256 (rust/crates/unicode-width-0.1.8.tar.gz) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 +SIZE (rust/crates/unicode-width-0.1.8.tar.gz) = 16732 +SHA256 (rust/crates/unicode-xid-0.2.1.tar.gz) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564 +SIZE (rust/crates/unicode-xid-0.2.1.tar.gz) = 14392 +SHA256 (rust/crates/vec_map-0.8.2.tar.gz) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 +SIZE (rust/crates/vec_map-0.8.2.tar.gz) = 14466 +SHA256 (rust/crates/want-0.2.0.tar.gz) = b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230 +SIZE (rust/crates/want-0.2.0.tar.gz) = 6265 +SHA256 (rust/crates/wasi-0.10.0+wasi-snapshot-preview1.tar.gz) = 1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f +SIZE (rust/crates/wasi-0.10.0+wasi-snapshot-preview1.tar.gz) = 26964 +SHA256 (rust/crates/winapi-0.2.8.tar.gz) = 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a +SIZE (rust/crates/winapi-0.2.8.tar.gz) = 455145 +SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382 +SHA256 (rust/crates/winapi-build-0.1.1.tar.gz) = 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc +SIZE (rust/crates/winapi-build-0.1.1.tar.gz) = 669 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-util-0.1.5.tar.gz) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 +SIZE (rust/crates/winapi-util-0.1.5.tar.gz) = 10164 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (rust/crates/ws2_32-sys-0.2.1.tar.gz) = d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e +SIZE (rust/crates/ws2_32-sys-0.2.1.tar.gz) = 4697 +SHA256 (Axcient-freebsd-nfs-exporter-0.3.0-v0.3.0_GH0.tar.gz) = 3c605fb3f50b0b66a6f5c19395180c6259bfdc65d3b7dec37dcae07e49de0696 +SIZE (Axcient-freebsd-nfs-exporter-0.3.0-v0.3.0_GH0.tar.gz) = 21327 Added: head/net-mgmt/nfs-exporter/files/nfs_exporter.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nfs-exporter/files/nfs_exporter.in Tue Jan 26 18:00:25 2021 (r562971) @@ -0,0 +1,49 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: nfs_exporter +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# nfs_exporter_enable (bool): Set to NO by default. +# Set it to YES to enable nfs-exporter. +# nfs_exporter_args (string): Set extra arguments to pass to nfs-exporter +# Default is "". +# nfs_exporter_user (string): Set user that nfs_exporter will run under +# Default is "root". +# nfs_exporter_group (string): Set group that nfs_exporter will run under +# Default is "wheel". + +. /etc/rc.subr + +name=nfs_exporter +desc="NFS prometheus exporter" +rcvar=nfs_exporter_enable + +load_rc_config $name + +: ${nfs_exporter_enable:=NO} +: ${nfs_exporter_args:=""} +: ${nfs_exporter_user:=root} +: ${nfs_exporter_group:=wheel} + +pidfile=/var/run/nfs_exporter.pid +command=/usr/sbin/daemon +procname=%%PREFIX%%/bin/nfs-exporter +command_args="-f -p ${pidfile} /usr/bin/env ${procname} ${nfs_exporter_args}" + +start_precmd=nfs_exporter_startprecmd + +nfs_exporter_startprecmd() +{ + if [ -e ${pidfile} ]; then + chown ${nfs_exporter_user}:${nfs_exporter_group} ${pidfile}; + else + install -o ${nfs_exporter_user} -g ${nfs_exporter_group} /dev/null ${pidfile}; + fi +} + +run_rc_command "$1" Added: head/net-mgmt/nfs-exporter/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nfs-exporter/pkg-descr Tue Jan 26 18:00:25 2021 (r562971) @@ -0,0 +1,6 @@ +FreeBSD NFS statistics exporter for Prometheus + +The is a Prometheus exporter for FreeBSD's NFS statistics. Currently only the +server statistics are supported; client stats will come later. + +WWW: https://github.com/Axcient/freebsd-nfs-exporter