diff --git a/net-mgmt/nfs-exporter/Makefile b/net-mgmt/nfs-exporter/Makefile index de61753fe759..cda0474d4df6 100644 --- a/net-mgmt/nfs-exporter/Makefile +++ b/net-mgmt/nfs-exporter/Makefile @@ -1,106 +1,108 @@ PORTNAME= nfs-exporter -DISTVERSIONPREFIX= v -DISTVERSION= 0.3.1 -PORTREVISION= 13 +DISTVERSION= 0.3.2 CATEGORIES= net-mgmt +MASTER_SITES= CRATESIO +MASTER_SITE_SUBDIR= freebsd-${PORTNAME}/${DISTVERSION} +DISTNAME= freebsd-${PORTNAME}-${DISTVERSIONFULL} +DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT} MAINTAINER= asomers@FreeBSD.org COMMENT= Prometheus exporter for NFS statistics WWW= https://github.com/Axcient/freebsd-nfs-exporter LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} USES= cargo -USE_GITHUB= yes -GH_ACCOUNT= Axcient -GH_PROJECT= freebsd-nfs-exporter USE_RC_SUBR= nfs_exporter +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400073 +SUB_LIST= USER=nobody +.else +SUB_LIST= USER=root +.endif + CARGO_CRATES= aho-corasick-0.7.18 \ - ansi_term-0.11.0 \ ascii-1.0.0 \ atty-0.2.14 \ - autocfg-1.0.1 \ - bindgen-0.59.1 \ + autocfg-1.1.0 \ + bindgen-0.60.1 \ bitflags-1.3.2 \ - bitvec-0.19.5 \ - cexpr-0.5.0 \ + cexpr-0.6.0 \ cfg-if-1.0.0 \ - chrono-0.4.19 \ chunked_transfer-1.4.0 \ - clang-sys-1.2.0 \ - clap-2.33.3 \ - env_logger-0.7.1 \ - env_logger-0.8.4 \ + clang-sys-1.3.1 \ + clap-3.2.23 \ + clap_lex-0.2.4 \ + either-1.6.1 \ + env_logger-0.9.0 \ fnv-1.0.7 \ form_urlencoded-1.0.1 \ - funty-1.1.0 \ glob-0.3.0 \ + hashbrown-0.12.3 \ hermit-abi-0.1.19 \ - humantime-1.3.0 \ humantime-2.1.0 \ idna-0.2.3 \ - instant-0.1.10 \ + indexmap-1.9.1 \ + instant-0.1.12 \ + itoa-1.0.1 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ - libc-0.2.99 \ - libloading-0.7.0 \ - lock_api-0.4.4 \ + libc-0.2.120 \ + libloading-0.7.3 \ + lock_api-0.4.6 \ log-0.4.14 \ matches-0.1.9 \ - memchr-2.4.0 \ - nom-6.1.2 \ - num-integer-0.1.44 \ - num-traits-0.2.14 \ - parking_lot-0.11.1 \ - parking_lot_core-0.8.3 \ + memchr-2.4.1 \ + minimal-lexical-0.2.1 \ + nom-7.1.1 \ + num_threads-0.1.4 \ + os_str_bytes-6.3.1 \ + parking_lot-0.11.2 \ + parking_lot_core-0.8.5 \ peeking_take_while-0.1.2 \ percent-encoding-2.1.0 \ - proc-macro2-1.0.28 \ - prometheus-0.12.0 \ - prometheus_exporter-0.8.2 \ - quick-error-1.2.3 \ - quote-1.0.9 \ - radium-0.5.3 \ - redox_syscall-0.2.10 \ - regex-1.5.4 \ + proc-macro2-1.0.36 \ + prometheus-0.13.0 \ + prometheus_exporter-0.8.4 \ + quote-1.0.15 \ + redox_syscall-0.2.11 \ + regex-1.5.5 \ regex-syntax-0.6.25 \ rustc-hash-1.1.0 \ scopeguard-1.1.0 \ - shlex-1.0.0 \ - smallvec-1.6.1 \ - strsim-0.8.0 \ - syn-1.0.74 \ - tap-1.0.1 \ - termcolor-1.1.2 \ - textwrap-0.11.0 \ - thiserror-1.0.26 \ - thiserror-impl-1.0.26 \ - tiny_http-0.8.2 \ - tinyvec-1.3.1 \ + shlex-1.1.0 \ + smallvec-1.8.0 \ + strsim-0.10.0 \ + syn-1.0.89 \ + termcolor-1.1.3 \ + textwrap-0.16.0 \ + thiserror-1.0.30 \ + thiserror-impl-1.0.30 \ + time-0.3.7 \ + time-macros-0.2.3 \ + tiny_http-0.10.0 \ + tinyvec-1.5.1 \ tinyvec_macros-0.1.0 \ - unicode-bidi-0.3.6 \ + unicode-bidi-0.3.7 \ unicode-normalization-0.1.19 \ - unicode-width-0.1.8 \ unicode-xid-0.2.2 \ url-2.2.2 \ - vec_map-0.8.2 \ - version_check-0.9.3 \ - which-3.1.1 \ + which-4.2.4 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ - winapi-x86_64-pc-windows-gnu-0.4.0 \ - wyz-0.2.0 + winapi-x86_64-pc-windows-gnu-0.4.0 PLIST_FILES= bin/nfs-exporter post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nfs-exporter .include diff --git a/net-mgmt/nfs-exporter/distinfo b/net-mgmt/nfs-exporter/distinfo index b3cd806315c2..ee6e09ffff5a 100644 --- a/net-mgmt/nfs-exporter/distinfo +++ b/net-mgmt/nfs-exporter/distinfo @@ -1,155 +1,145 @@ -TIMESTAMP = 1629231307 +TIMESTAMP = 1670549841 +SHA256 (rust/crates/freebsd-nfs-exporter-0.3.2.crate) = 049f8be2ed3302acbe71fe512db24cbeff512a1c4867b312252fe0cf80f5fe85 +SIZE (rust/crates/freebsd-nfs-exporter-0.3.2.crate) = 16504 SHA256 (rust/crates/aho-corasick-0.7.18.crate) = 1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f SIZE (rust/crates/aho-corasick-0.7.18.crate) = 112923 -SHA256 (rust/crates/ansi_term-0.11.0.crate) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b -SIZE (rust/crates/ansi_term-0.11.0.crate) = 17087 SHA256 (rust/crates/ascii-1.0.0.crate) = bbf56136a5198c7b01a49e3afcbef6cf84597273d298f54432926024107b0109 SIZE (rust/crates/ascii-1.0.0.crate) = 31727 SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 SIZE (rust/crates/atty-0.2.14.crate) = 5470 -SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a -SIZE (rust/crates/autocfg-1.0.1.crate) = 12908 -SHA256 (rust/crates/bindgen-0.59.1.crate) = 453c49e5950bb0eb63bb3df640e31618846c89d5b7faa54040d76e98e0134375 -SIZE (rust/crates/bindgen-0.59.1.crate) = 205256 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bindgen-0.60.1.crate) = 062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6 +SIZE (rust/crates/bindgen-0.60.1.crate) = 207507 SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 -SHA256 (rust/crates/bitvec-0.19.5.crate) = 8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321 -SIZE (rust/crates/bitvec-0.19.5.crate) = 148200 -SHA256 (rust/crates/cexpr-0.5.0.crate) = db507a7679252d2276ed0dd8113c6875ec56d3089f9225b2b42c30cc1f8e5c89 -SIZE (rust/crates/cexpr-0.5.0.crate) = 17964 +SHA256 (rust/crates/cexpr-0.6.0.crate) = 6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766 +SIZE (rust/crates/cexpr-0.6.0.crate) = 17966 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 -SHA256 (rust/crates/chrono-0.4.19.crate) = 670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73 -SIZE (rust/crates/chrono-0.4.19.crate) = 155663 SHA256 (rust/crates/chunked_transfer-1.4.0.crate) = fff857943da45f546682664a79488be82e69e43c1a7a2307679ab9afb3a66d2e SIZE (rust/crates/chunked_transfer-1.4.0.crate) = 9238 -SHA256 (rust/crates/clang-sys-1.2.0.crate) = 853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c -SIZE (rust/crates/clang-sys-1.2.0.crate) = 36874 -SHA256 (rust/crates/clap-2.33.3.crate) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002 -SIZE (rust/crates/clap-2.33.3.crate) = 201925 -SHA256 (rust/crates/env_logger-0.7.1.crate) = 44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36 -SIZE (rust/crates/env_logger-0.7.1.crate) = 32281 -SHA256 (rust/crates/env_logger-0.8.4.crate) = a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3 -SIZE (rust/crates/env_logger-0.8.4.crate) = 33342 +SHA256 (rust/crates/clang-sys-1.3.1.crate) = 4cc00842eed744b858222c4c9faf7243aafc6d33f92f96935263ef4d8a41ce21 +SIZE (rust/crates/clang-sys-1.3.1.crate) = 37840 +SHA256 (rust/crates/clap-3.2.23.crate) = 71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5 +SIZE (rust/crates/clap-3.2.23.crate) = 219435 +SHA256 (rust/crates/clap_lex-0.2.4.crate) = 2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5 +SIZE (rust/crates/clap_lex-0.2.4.crate) = 9652 +SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457 +SIZE (rust/crates/either-1.6.1.crate) = 13641 +SHA256 (rust/crates/env_logger-0.9.0.crate) = 0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3 +SIZE (rust/crates/env_logger-0.9.0.crate) = 33573 SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1 SIZE (rust/crates/fnv-1.0.7.crate) = 11266 SHA256 (rust/crates/form_urlencoded-1.0.1.crate) = 5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191 SIZE (rust/crates/form_urlencoded-1.0.1.crate) = 8773 -SHA256 (rust/crates/funty-1.1.0.crate) = fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7 -SIZE (rust/crates/funty-1.1.0.crate) = 11631 SHA256 (rust/crates/glob-0.3.0.crate) = 9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574 SIZE (rust/crates/glob-0.3.0.crate) = 18724 +SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888 +SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968 SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979 -SHA256 (rust/crates/humantime-1.3.0.crate) = df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f -SIZE (rust/crates/humantime-1.3.0.crate) = 17020 SHA256 (rust/crates/humantime-2.1.0.crate) = 9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4 SIZE (rust/crates/humantime-2.1.0.crate) = 16749 SHA256 (rust/crates/idna-0.2.3.crate) = 418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8 SIZE (rust/crates/idna-0.2.3.crate) = 271023 -SHA256 (rust/crates/instant-0.1.10.crate) = bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d -SIZE (rust/crates/instant-0.1.10.crate) = 5218 +SHA256 (rust/crates/indexmap-1.9.1.crate) = 10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e +SIZE (rust/crates/indexmap-1.9.1.crate) = 54114 +SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c +SIZE (rust/crates/instant-0.1.12.crate) = 6128 +SHA256 (rust/crates/itoa-1.0.1.crate) = 1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35 +SIZE (rust/crates/itoa-1.0.1.crate) = 11059 SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 SHA256 (rust/crates/lazycell-1.3.0.crate) = 830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55 SIZE (rust/crates/lazycell-1.3.0.crate) = 12502 -SHA256 (rust/crates/libc-0.2.99.crate) = a7f823d141fe0a24df1e23b4af4e3c7ba9e5966ec514ea068c93024aa7deb765 -SIZE (rust/crates/libc-0.2.99.crate) = 524997 -SHA256 (rust/crates/libloading-0.7.0.crate) = 6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a -SIZE (rust/crates/libloading-0.7.0.crate) = 26216 -SHA256 (rust/crates/lock_api-0.4.4.crate) = 0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb -SIZE (rust/crates/lock_api-0.4.4.crate) = 20356 +SHA256 (rust/crates/libc-0.2.120.crate) = ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09 +SIZE (rust/crates/libc-0.2.120.crate) = 574677 +SHA256 (rust/crates/libloading-0.7.3.crate) = efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd +SIZE (rust/crates/libloading-0.7.3.crate) = 27378 +SHA256 (rust/crates/lock_api-0.4.6.crate) = 88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b +SIZE (rust/crates/lock_api-0.4.6.crate) = 25215 SHA256 (rust/crates/log-0.4.14.crate) = 51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710 SIZE (rust/crates/log-0.4.14.crate) = 34582 SHA256 (rust/crates/matches-0.1.9.crate) = a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f SIZE (rust/crates/matches-0.1.9.crate) = 2246 -SHA256 (rust/crates/memchr-2.4.0.crate) = b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc -SIZE (rust/crates/memchr-2.4.0.crate) = 63392 -SHA256 (rust/crates/nom-6.1.2.crate) = e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2 -SIZE (rust/crates/nom-6.1.2.crate) = 147539 -SHA256 (rust/crates/num-integer-0.1.44.crate) = d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db -SIZE (rust/crates/num-integer-0.1.44.crate) = 22216 -SHA256 (rust/crates/num-traits-0.2.14.crate) = 9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290 -SIZE (rust/crates/num-traits-0.2.14.crate) = 45476 -SHA256 (rust/crates/parking_lot-0.11.1.crate) = 6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb -SIZE (rust/crates/parking_lot-0.11.1.crate) = 39854 -SHA256 (rust/crates/parking_lot_core-0.8.3.crate) = fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018 -SIZE (rust/crates/parking_lot_core-0.8.3.crate) = 32147 +SHA256 (rust/crates/memchr-2.4.1.crate) = 308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a +SIZE (rust/crates/memchr-2.4.1.crate) = 64977 +SHA256 (rust/crates/minimal-lexical-0.2.1.crate) = 68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a +SIZE (rust/crates/minimal-lexical-0.2.1.crate) = 94841 +SHA256 (rust/crates/nom-7.1.1.crate) = a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36 +SIZE (rust/crates/nom-7.1.1.crate) = 115818 +SHA256 (rust/crates/num_threads-0.1.4.crate) = c539a50b93a303167eded6e8dff5220cd39447409fb659f4cd24b1f72fe4f133 +SIZE (rust/crates/num_threads-0.1.4.crate) = 7093 +SHA256 (rust/crates/os_str_bytes-6.3.1.crate) = 3baf96e39c5359d2eb0dd6ccb42c62b91d9678aa68160d261b9e0ccbf9e9dea9 +SIZE (rust/crates/os_str_bytes-6.3.1.crate) = 22934 +SHA256 (rust/crates/parking_lot-0.11.2.crate) = 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99 +SIZE (rust/crates/parking_lot-0.11.2.crate) = 39869 +SHA256 (rust/crates/parking_lot_core-0.8.5.crate) = d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216 +SIZE (rust/crates/parking_lot_core-0.8.5.crate) = 32466 SHA256 (rust/crates/peeking_take_while-0.1.2.crate) = 19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099 SIZE (rust/crates/peeking_take_while-0.1.2.crate) = 6697 SHA256 (rust/crates/percent-encoding-2.1.0.crate) = d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e SIZE (rust/crates/percent-encoding-2.1.0.crate) = 9748 -SHA256 (rust/crates/proc-macro2-1.0.28.crate) = 5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612 -SIZE (rust/crates/proc-macro2-1.0.28.crate) = 38732 -SHA256 (rust/crates/prometheus-0.12.0.crate) = 5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c -SIZE (rust/crates/prometheus-0.12.0.crate) = 79207 -SHA256 (rust/crates/prometheus_exporter-0.8.2.crate) = 3ea6d5eedcb1dcef5d7153c5d74a58ca2c743ba6b5d950ee3b2bf92d1a830f4c -SIZE (rust/crates/prometheus_exporter-0.8.2.crate) = 17545 -SHA256 (rust/crates/quick-error-1.2.3.crate) = a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0 -SIZE (rust/crates/quick-error-1.2.3.crate) = 15066 -SHA256 (rust/crates/quote-1.0.9.crate) = c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7 -SIZE (rust/crates/quote-1.0.9.crate) = 25042 -SHA256 (rust/crates/radium-0.5.3.crate) = 941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8 -SIZE (rust/crates/radium-0.5.3.crate) = 7588 -SHA256 (rust/crates/redox_syscall-0.2.10.crate) = 8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff -SIZE (rust/crates/redox_syscall-0.2.10.crate) = 23582 -SHA256 (rust/crates/regex-1.5.4.crate) = d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461 -SIZE (rust/crates/regex-1.5.4.crate) = 236581 +SHA256 (rust/crates/proc-macro2-1.0.36.crate) = c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029 +SIZE (rust/crates/proc-macro2-1.0.36.crate) = 41411 +SHA256 (rust/crates/prometheus-0.13.0.crate) = b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504 +SIZE (rust/crates/prometheus-0.13.0.crate) = 81774 +SHA256 (rust/crates/prometheus_exporter-0.8.4.crate) = 019a192344efa197e8edfb2b864a5369ba8a837578d1bee469f21d98a8ed1233 +SIZE (rust/crates/prometheus_exporter-0.8.4.crate) = 18055 +SHA256 (rust/crates/quote-1.0.15.crate) = 864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145 +SIZE (rust/crates/quote-1.0.15.crate) = 27281 +SHA256 (rust/crates/redox_syscall-0.2.11.crate) = 8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c +SIZE (rust/crates/redox_syscall-0.2.11.crate) = 24032 +SHA256 (rust/crates/regex-1.5.5.crate) = 1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286 +SIZE (rust/crates/regex-1.5.5.crate) = 238119 SHA256 (rust/crates/regex-syntax-0.6.25.crate) = f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b SIZE (rust/crates/regex-syntax-0.6.25.crate) = 293293 SHA256 (rust/crates/rustc-hash-1.1.0.crate) = 08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2 SIZE (rust/crates/rustc-hash-1.1.0.crate) = 9331 SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 -SHA256 (rust/crates/shlex-1.0.0.crate) = 42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d -SIZE (rust/crates/shlex-1.0.0.crate) = 4555 -SHA256 (rust/crates/smallvec-1.6.1.crate) = fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e -SIZE (rust/crates/smallvec-1.6.1.crate) = 26444 -SHA256 (rust/crates/strsim-0.8.0.crate) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a -SIZE (rust/crates/strsim-0.8.0.crate) = 9309 -SHA256 (rust/crates/syn-1.0.74.crate) = 1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c -SIZE (rust/crates/syn-1.0.74.crate) = 232974 -SHA256 (rust/crates/tap-1.0.1.crate) = 55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369 -SIZE (rust/crates/tap-1.0.1.crate) = 11316 -SHA256 (rust/crates/termcolor-1.1.2.crate) = 2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4 -SIZE (rust/crates/termcolor-1.1.2.crate) = 17287 -SHA256 (rust/crates/textwrap-0.11.0.crate) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 -SIZE (rust/crates/textwrap-0.11.0.crate) = 17322 -SHA256 (rust/crates/thiserror-1.0.26.crate) = 93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2 -SIZE (rust/crates/thiserror-1.0.26.crate) = 16711 -SHA256 (rust/crates/thiserror-impl-1.0.26.crate) = 060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745 -SIZE (rust/crates/thiserror-impl-1.0.26.crate) = 13431 -SHA256 (rust/crates/tiny_http-0.8.2.crate) = 9ce51b50006056f590c9b7c3808c3bd70f0d1101666629713866c227d6e58d39 -SIZE (rust/crates/tiny_http-0.8.2.crate) = 43921 -SHA256 (rust/crates/tinyvec-1.3.1.crate) = 848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338 -SIZE (rust/crates/tinyvec-1.3.1.crate) = 42386 +SHA256 (rust/crates/shlex-1.1.0.crate) = 43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3 +SIZE (rust/crates/shlex-1.1.0.crate) = 5199 +SHA256 (rust/crates/smallvec-1.8.0.crate) = f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83 +SIZE (rust/crates/smallvec-1.8.0.crate) = 27992 +SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 +SIZE (rust/crates/strsim-0.10.0.crate) = 11355 +SHA256 (rust/crates/syn-1.0.89.crate) = ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54 +SIZE (rust/crates/syn-1.0.89.crate) = 235966 +SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755 +SIZE (rust/crates/termcolor-1.1.3.crate) = 17242 +SHA256 (rust/crates/textwrap-0.16.0.crate) = 222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d +SIZE (rust/crates/textwrap-0.16.0.crate) = 53722 +SHA256 (rust/crates/thiserror-1.0.30.crate) = 854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417 +SIZE (rust/crates/thiserror-1.0.30.crate) = 17748 +SHA256 (rust/crates/thiserror-impl-1.0.30.crate) = aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b +SIZE (rust/crates/thiserror-impl-1.0.30.crate) = 15230 +SHA256 (rust/crates/time-0.3.7.crate) = 004cbc98f30fa233c61a38bc77e96a9106e65c88f2d3bef182ae952027e5753d +SIZE (rust/crates/time-0.3.7.crate) = 76358 +SHA256 (rust/crates/time-macros-0.2.3.crate) = 25eb0ca3468fc0acc11828786797f6ef9aa1555e4a211a60d64cc8e4d1be47d6 +SIZE (rust/crates/time-macros-0.2.3.crate) = 16838 +SHA256 (rust/crates/tiny_http-0.10.0.crate) = c5f8734c6d6943ad6df6b588d228a87b4af184998bcffa268ceddf05c2055a8c +SIZE (rust/crates/tiny_http-0.10.0.crate) = 45842 +SHA256 (rust/crates/tinyvec-1.5.1.crate) = 2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2 +SIZE (rust/crates/tinyvec-1.5.1.crate) = 44942 SHA256 (rust/crates/tinyvec_macros-0.1.0.crate) = cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c SIZE (rust/crates/tinyvec_macros-0.1.0.crate) = 1817 -SHA256 (rust/crates/unicode-bidi-0.3.6.crate) = 246f4c42e67e7a4e3c6106ff716a5d067d4132a642840b242e357e468a2a0085 -SIZE (rust/crates/unicode-bidi-0.3.6.crate) = 33737 +SHA256 (rust/crates/unicode-bidi-0.3.7.crate) = 1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f +SIZE (rust/crates/unicode-bidi-0.3.7.crate) = 33759 SHA256 (rust/crates/unicode-normalization-0.1.19.crate) = d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9 SIZE (rust/crates/unicode-normalization-0.1.19.crate) = 107353 -SHA256 (rust/crates/unicode-width-0.1.8.crate) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 -SIZE (rust/crates/unicode-width-0.1.8.crate) = 16732 SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3 SIZE (rust/crates/unicode-xid-0.2.2.crate) = 14955 SHA256 (rust/crates/url-2.2.2.crate) = a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c SIZE (rust/crates/url-2.2.2.crate) = 68555 -SHA256 (rust/crates/vec_map-0.8.2.crate) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 -SIZE (rust/crates/vec_map-0.8.2.crate) = 14466 -SHA256 (rust/crates/version_check-0.9.3.crate) = 5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe -SIZE (rust/crates/version_check-0.9.3.crate) = 12547 -SHA256 (rust/crates/which-3.1.1.crate) = d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724 -SIZE (rust/crates/which-3.1.1.crate) = 8071 +SHA256 (rust/crates/which-4.2.4.crate) = 2a5a7e487e921cf220206864a94a89b6c6905bfc19f1057fa26a4cb360e5c1d2 +SIZE (rust/crates/which-4.2.4.crate) = 9259 SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 SHA256 (rust/crates/winapi-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164 SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 -SHA256 (rust/crates/wyz-0.2.0.crate) = 85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214 -SIZE (rust/crates/wyz-0.2.0.crate) = 12926 -SHA256 (Axcient-freebsd-nfs-exporter-v0.3.1_GH0.tar.gz) = 641e2c47c1b8234a631edbeea82455f9dd472af60026405d4ef9e92afc8d34fe -SIZE (Axcient-freebsd-nfs-exporter-v0.3.1_GH0.tar.gz) = 15946 diff --git a/net-mgmt/nfs-exporter/files/nfs_exporter.in b/net-mgmt/nfs-exporter/files/nfs_exporter.in index 228531a1c11d..0682dea63f58 100644 --- a/net-mgmt/nfs-exporter/files/nfs_exporter.in +++ b/net-mgmt/nfs-exporter/files/nfs_exporter.in @@ -1,48 +1,48 @@ #!/bin/sh # 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". +# Default is "%%USER%%". # 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_user:=%%USER%%} : ${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"