git: f6d60c78bdef - main - net/ntpd-rs: Update to 1.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Sep 2024 09:08:20 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6d60c78bdefc9fdab067277b3fd7aab4eb4a3db commit f6d60c78bdefc9fdab067277b3fd7aab4eb4a3db Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2024-09-20 09:32:39 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-09-27 09:08:17 +0000 net/ntpd-rs: Update to 1.3.0 Improve the rc scrtip to make it possible to run ntp_daemon with the ntpd user [1] Suggested by: Herbert J. Skuhra [1] Tested by: Herbert J. Skuhra [1] --- net/ntpd-rs/Makefile | 5 +- net/ntpd-rs/Makefile.crates | 93 +++++++++---------- net/ntpd-rs/distinfo | 192 +++++++++++++++++++--------------------- net/ntpd-rs/files/ntp_daemon.in | 22 ++++- 4 files changed, 156 insertions(+), 156 deletions(-) diff --git a/net/ntpd-rs/Makefile b/net/ntpd-rs/Makefile index fd4310498ac5..4b5c9d9e4a15 100644 --- a/net/ntpd-rs/Makefile +++ b/net/ntpd-rs/Makefile @@ -1,7 +1,6 @@ PORTNAME= ntpd-rs DISTVERSIONPREFIX= v -DISTVERSION= 1.2.2 -PORTREVISION= 2 +DISTVERSION= 1.3.0 CATEGORIES= net MAINTAINER= mikael@FreeBSD.org @@ -22,8 +21,6 @@ USE_GITHUB= yes GH_ACCOUNT= pendulum-project USE_RC_SUBR= ntp_daemon -USERS= _ntp -GROUPS= _ntp BINFILES= ntp-ctl ntp-daemon ntp-metrics-exporter nts-pool-ke diff --git a/net/ntpd-rs/Makefile.crates b/net/ntpd-rs/Makefile.crates index 32cf6daa670e..ed333fd07117 100644 --- a/net/ntpd-rs/Makefile.crates +++ b/net/ntpd-rs/Makefile.crates @@ -1,23 +1,24 @@ -CARGO_CRATES= addr2line-0.22.0 \ - adler-1.0.2 \ +CARGO_CRATES= addr2line-0.24.1 \ + adler2-2.0.0 \ aead-0.5.2 \ aes-0.8.4 \ aes-siv-0.7.0 \ arbitrary-1.3.2 \ - async-trait-0.1.81 \ - backtrace-0.3.73 \ + async-trait-0.1.82 \ + backtrace-0.3.74 \ base64-0.22.1 \ bitflags-2.6.0 \ block-buffer-0.10.4 \ - bytes-1.6.0 \ - cc-1.1.0 \ + byteorder-1.5.0 \ + bytes-1.7.2 \ + cc-1.1.21 \ cfg-if-1.0.0 \ cipher-0.4.4 \ clock-steering-0.2.1 \ cmac-0.7.2 \ core-foundation-0.9.4 \ - core-foundation-sys-0.8.6 \ - cpufeatures-0.2.12 \ + core-foundation-sys-0.8.7 \ + cpufeatures-0.2.14 \ crypto-common-0.1.6 \ ctr-0.9.2 \ dbl-0.3.2 \ @@ -25,91 +26,85 @@ CARGO_CRATES= addr2line-0.22.0 \ equivalent-1.0.1 \ generic-array-0.14.7 \ getrandom-0.2.15 \ - gimli-0.29.0 \ + gimli-0.31.0 \ hashbrown-0.14.5 \ hermit-abi-0.3.9 \ - indexmap-2.2.6 \ + indexmap-2.5.0 \ inout-0.1.3 \ itoa-1.0.11 \ lazy_static-1.5.0 \ - libc-0.2.155 \ + libc-0.2.158 \ log-0.4.22 \ md-5-0.10.6 \ memchr-2.7.4 \ - miniz_oxide-0.7.4 \ - mio-0.8.11 \ + miniz_oxide-0.8.0 \ + mio-1.0.2 \ nu-ansi-term-0.46.0 \ - num_cpus-1.16.0 \ - object-0.36.1 \ + object-0.36.4 \ once_cell-1.19.0 \ openssl-probe-0.1.5 \ overload-0.1.1 \ pin-project-lite-0.2.14 \ - ppv-lite86-0.2.17 \ + ppv-lite86-0.2.20 \ proc-macro2-1.0.86 \ - quote-1.0.36 \ + quote-1.0.37 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.4 \ ring-0.17.8 \ rustc-demangle-0.1.24 \ - rustls-0.23.11 \ - rustls-native-certs-0.7.1 \ - rustls-pemfile-2.1.2 \ - rustls-pki-types-1.7.0 \ - rustls-webpki-0.102.5 \ + rustls-0.23.13 \ + rustls-native-certs-0.7.3 \ + rustls-pemfile-2.1.3 \ + rustls-pki-types-1.8.0 \ + rustls-webpki-0.102.8 \ ryu-1.0.18 \ - schannel-0.1.23 \ - security-framework-2.11.0 \ - security-framework-sys-2.11.0 \ - serde-1.0.204 \ - serde_derive-1.0.204 \ - serde_json-1.0.120 \ - serde_spanned-0.6.6 \ - serde_test-1.0.176 \ + schannel-0.1.24 \ + security-framework-2.11.1 \ + security-framework-sys-2.11.1 \ + serde-1.0.210 \ + serde_derive-1.0.210 \ + serde_json-1.0.128 \ + serde_spanned-0.6.7 \ + serde_test-1.0.177 \ sharded-slab-0.1.7 \ + shlex-1.3.0 \ socket2-0.5.7 \ spin-0.9.8 \ subtle-2.6.1 \ - syn-2.0.70 \ + syn-2.0.77 \ thread_local-1.1.8 \ - timestamped-socket-0.2.2 \ - tokio-1.38.1 \ - tokio-macros-2.3.0 \ + timestamped-socket-0.2.5 \ + tokio-1.40.0 \ + tokio-macros-2.4.0 \ tokio-rustls-0.26.0 \ - toml-0.8.15 \ - toml_datetime-0.6.6 \ - toml_edit-0.22.16 \ + toml-0.8.19 \ + toml_datetime-0.6.8 \ + toml_edit-0.22.21 \ tracing-0.1.40 \ tracing-attributes-0.1.27 \ tracing-core-0.1.32 \ tracing-subscriber-0.3.18 \ typenum-1.17.0 \ - unicode-ident-1.0.12 \ + unicode-ident-1.0.13 \ untrusted-0.9.0 \ - version_check-0.9.4 \ + version_check-0.9.5 \ wasi-0.11.0+wasi-snapshot-preview1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ - windows-sys-0.48.0 \ windows-sys-0.52.0 \ - windows-targets-0.48.5 \ + windows-sys-0.59.0 \ windows-targets-0.52.6 \ - windows_aarch64_gnullvm-0.48.5 \ windows_aarch64_gnullvm-0.52.6 \ - windows_aarch64_msvc-0.48.5 \ windows_aarch64_msvc-0.52.6 \ - windows_i686_gnu-0.48.5 \ windows_i686_gnu-0.52.6 \ windows_i686_gnullvm-0.52.6 \ - windows_i686_msvc-0.48.5 \ windows_i686_msvc-0.52.6 \ - windows_x86_64_gnu-0.48.5 \ windows_x86_64_gnu-0.52.6 \ - windows_x86_64_gnullvm-0.48.5 \ windows_x86_64_gnullvm-0.52.6 \ - windows_x86_64_msvc-0.48.5 \ windows_x86_64_msvc-0.52.6 \ - winnow-0.6.13 \ + winnow-0.6.18 \ + zerocopy-0.7.35 \ + zerocopy-derive-0.7.35 \ zeroize-1.8.1 diff --git a/net/ntpd-rs/distinfo b/net/ntpd-rs/distinfo index 4bdd6dad4ca3..3e06a0e7ae22 100644 --- a/net/ntpd-rs/distinfo +++ b/net/ntpd-rs/distinfo @@ -1,8 +1,8 @@ -TIMESTAMP = 1721394716 -SHA256 (rust/crates/addr2line-0.22.0.crate) = 6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678 -SIZE (rust/crates/addr2line-0.22.0.crate) = 39156 -SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe -SIZE (rust/crates/adler-1.0.2.crate) = 12778 +TIMESTAMP = 1726836036 +SHA256 (rust/crates/addr2line-0.24.1.crate) = f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375 +SIZE (rust/crates/addr2line-0.24.1.crate) = 41554 +SHA256 (rust/crates/adler2-2.0.0.crate) = 512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627 +SIZE (rust/crates/adler2-2.0.0.crate) = 13529 SHA256 (rust/crates/aead-0.5.2.crate) = d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0 SIZE (rust/crates/aead-0.5.2.crate) = 15509 SHA256 (rust/crates/aes-0.8.4.crate) = b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0 @@ -11,20 +11,22 @@ SHA256 (rust/crates/aes-siv-0.7.0.crate) = 7e08d0cdb774acd1e4dac11478b1a0c0d2031 SIZE (rust/crates/aes-siv-0.7.0.crate) = 25783 SHA256 (rust/crates/arbitrary-1.3.2.crate) = 7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110 SIZE (rust/crates/arbitrary-1.3.2.crate) = 32037 -SHA256 (rust/crates/async-trait-0.1.81.crate) = 6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107 -SIZE (rust/crates/async-trait-0.1.81.crate) = 28896 -SHA256 (rust/crates/backtrace-0.3.73.crate) = 5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a -SIZE (rust/crates/backtrace-0.3.73.crate) = 87617 +SHA256 (rust/crates/async-trait-0.1.82.crate) = a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1 +SIZE (rust/crates/async-trait-0.1.82.crate) = 28997 +SHA256 (rust/crates/backtrace-0.3.74.crate) = 8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a +SIZE (rust/crates/backtrace-0.3.74.crate) = 88516 SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 SIZE (rust/crates/base64-0.22.1.crate) = 81597 SHA256 (rust/crates/bitflags-2.6.0.crate) = b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de SIZE (rust/crates/bitflags-2.6.0.crate) = 45357 SHA256 (rust/crates/block-buffer-0.10.4.crate) = 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71 SIZE (rust/crates/block-buffer-0.10.4.crate) = 10538 -SHA256 (rust/crates/bytes-1.6.0.crate) = 514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9 -SIZE (rust/crates/bytes-1.6.0.crate) = 60605 -SHA256 (rust/crates/cc-1.1.0.crate) = eaff6f8ce506b9773fa786672d63fc7a191ffea1be33f72bbd4aeacefca9ffc8 -SIZE (rust/crates/cc-1.1.0.crate) = 80751 +SHA256 (rust/crates/byteorder-1.5.0.crate) = 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b +SIZE (rust/crates/byteorder-1.5.0.crate) = 23288 +SHA256 (rust/crates/bytes-1.7.2.crate) = 428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3 +SIZE (rust/crates/bytes-1.7.2.crate) = 64287 +SHA256 (rust/crates/cc-1.1.21.crate) = 07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0 +SIZE (rust/crates/cc-1.1.21.crate) = 83463 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 SHA256 (rust/crates/cipher-0.4.4.crate) = 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad @@ -35,10 +37,10 @@ SHA256 (rust/crates/cmac-0.7.2.crate) = 8543454e3c3f5126effff9cd44d562af4e31fb8c SIZE (rust/crates/cmac-0.7.2.crate) = 44847 SHA256 (rust/crates/core-foundation-0.9.4.crate) = 91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f SIZE (rust/crates/core-foundation-0.9.4.crate) = 27743 -SHA256 (rust/crates/core-foundation-sys-0.8.6.crate) = 06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f -SIZE (rust/crates/core-foundation-sys-0.8.6.crate) = 37629 -SHA256 (rust/crates/cpufeatures-0.2.12.crate) = 53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504 -SIZE (rust/crates/cpufeatures-0.2.12.crate) = 12837 +SHA256 (rust/crates/core-foundation-sys-0.8.7.crate) = 773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b +SIZE (rust/crates/core-foundation-sys-0.8.7.crate) = 37712 +SHA256 (rust/crates/cpufeatures-0.2.14.crate) = 608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0 +SIZE (rust/crates/cpufeatures-0.2.14.crate) = 13165 SHA256 (rust/crates/crypto-common-0.1.6.crate) = 1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3 SIZE (rust/crates/crypto-common-0.1.6.crate) = 8760 SHA256 (rust/crates/ctr-0.9.2.crate) = 0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835 @@ -53,38 +55,36 @@ SHA256 (rust/crates/generic-array-0.14.7.crate) = 85649ca51fd72272d7821adaf274ad SIZE (rust/crates/generic-array-0.14.7.crate) = 15950 SHA256 (rust/crates/getrandom-0.2.15.crate) = c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7 SIZE (rust/crates/getrandom-0.2.15.crate) = 37163 -SHA256 (rust/crates/gimli-0.29.0.crate) = 40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd -SIZE (rust/crates/gimli-0.29.0.crate) = 275756 +SHA256 (rust/crates/gimli-0.31.0.crate) = 32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64 +SIZE (rust/crates/gimli-0.31.0.crate) = 278951 SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1 SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498 SHA256 (rust/crates/hermit-abi-0.3.9.crate) = d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024 SIZE (rust/crates/hermit-abi-0.3.9.crate) = 16165 -SHA256 (rust/crates/indexmap-2.2.6.crate) = 168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26 -SIZE (rust/crates/indexmap-2.2.6.crate) = 82420 +SHA256 (rust/crates/indexmap-2.5.0.crate) = 68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5 +SIZE (rust/crates/indexmap-2.5.0.crate) = 85919 SHA256 (rust/crates/inout-0.1.3.crate) = a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5 SIZE (rust/crates/inout-0.1.3.crate) = 10743 SHA256 (rust/crates/itoa-1.0.11.crate) = 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b SIZE (rust/crates/itoa-1.0.11.crate) = 10563 SHA256 (rust/crates/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025 -SHA256 (rust/crates/libc-0.2.155.crate) = 97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c -SIZE (rust/crates/libc-0.2.155.crate) = 743539 +SHA256 (rust/crates/libc-0.2.158.crate) = d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439 +SIZE (rust/crates/libc-0.2.158.crate) = 751340 SHA256 (rust/crates/log-0.4.22.crate) = a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24 SIZE (rust/crates/log-0.4.22.crate) = 44027 SHA256 (rust/crates/md-5-0.10.6.crate) = d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf SIZE (rust/crates/md-5-0.10.6.crate) = 16161 SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 SIZE (rust/crates/memchr-2.7.4.crate) = 96670 -SHA256 (rust/crates/miniz_oxide-0.7.4.crate) = b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08 -SIZE (rust/crates/miniz_oxide-0.7.4.crate) = 56119 -SHA256 (rust/crates/mio-0.8.11.crate) = a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c -SIZE (rust/crates/mio-0.8.11.crate) = 102983 +SHA256 (rust/crates/miniz_oxide-0.8.0.crate) = e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1 +SIZE (rust/crates/miniz_oxide-0.8.0.crate) = 56343 +SHA256 (rust/crates/mio-1.0.2.crate) = 80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec +SIZE (rust/crates/mio-1.0.2.crate) = 102777 SHA256 (rust/crates/nu-ansi-term-0.46.0.crate) = 77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84 SIZE (rust/crates/nu-ansi-term-0.46.0.crate) = 24311 -SHA256 (rust/crates/num_cpus-1.16.0.crate) = 4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43 -SIZE (rust/crates/num_cpus-1.16.0.crate) = 15713 -SHA256 (rust/crates/object-0.36.1.crate) = 081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce -SIZE (rust/crates/object-0.36.1.crate) = 323865 +SHA256 (rust/crates/object-0.36.4.crate) = 084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a +SIZE (rust/crates/object-0.36.4.crate) = 325802 SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 SIZE (rust/crates/once_cell-1.19.0.crate) = 33046 SHA256 (rust/crates/openssl-probe-0.1.5.crate) = ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf @@ -93,12 +93,12 @@ SHA256 (rust/crates/overload-0.1.1.crate) = b15813163c1d831bf4a13c3610c05c0d03b3 SIZE (rust/crates/overload-0.1.1.crate) = 24439 SHA256 (rust/crates/pin-project-lite-0.2.14.crate) = bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02 SIZE (rust/crates/pin-project-lite-0.2.14.crate) = 28817 -SHA256 (rust/crates/ppv-lite86-0.2.17.crate) = 5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de -SIZE (rust/crates/ppv-lite86-0.2.17.crate) = 22242 +SHA256 (rust/crates/ppv-lite86-0.2.20.crate) = 77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04 +SIZE (rust/crates/ppv-lite86-0.2.20.crate) = 22478 SHA256 (rust/crates/proc-macro2-1.0.86.crate) = 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77 SIZE (rust/crates/proc-macro2-1.0.86.crate) = 48958 -SHA256 (rust/crates/quote-1.0.36.crate) = 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7 -SIZE (rust/crates/quote-1.0.36.crate) = 28507 +SHA256 (rust/crates/quote-1.0.37.crate) = b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af +SIZE (rust/crates/quote-1.0.37.crate) = 28558 SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404 SIZE (rust/crates/rand-0.8.5.crate) = 87113 SHA256 (rust/crates/rand_chacha-0.3.1.crate) = e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88 @@ -109,60 +109,62 @@ SHA256 (rust/crates/ring-0.17.8.crate) = c17fa4cb658e3583423e915b9f3acc01cceaee1 SIZE (rust/crates/ring-0.17.8.crate) = 4188554 SHA256 (rust/crates/rustc-demangle-0.1.24.crate) = 719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f SIZE (rust/crates/rustc-demangle-0.1.24.crate) = 29047 -SHA256 (rust/crates/rustls-0.23.11.crate) = 4828ea528154ae444e5a642dbb7d5623354030dc9822b83fd9bb79683c7399d0 -SIZE (rust/crates/rustls-0.23.11.crate) = 438425 -SHA256 (rust/crates/rustls-native-certs-0.7.1.crate) = a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba -SIZE (rust/crates/rustls-native-certs-0.7.1.crate) = 30964 -SHA256 (rust/crates/rustls-pemfile-2.1.2.crate) = 29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d -SIZE (rust/crates/rustls-pemfile-2.1.2.crate) = 25928 -SHA256 (rust/crates/rustls-pki-types-1.7.0.crate) = 976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d -SIZE (rust/crates/rustls-pki-types-1.7.0.crate) = 29555 -SHA256 (rust/crates/rustls-webpki-0.102.5.crate) = f9a6fccd794a42c2c105b513a2f62bc3fd8f3ba57a4593677ceb0bd035164d78 -SIZE (rust/crates/rustls-webpki-0.102.5.crate) = 200431 +SHA256 (rust/crates/rustls-0.23.13.crate) = f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8 +SIZE (rust/crates/rustls-0.23.13.crate) = 335735 +SHA256 (rust/crates/rustls-native-certs-0.7.3.crate) = e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5 +SIZE (rust/crates/rustls-native-certs-0.7.3.crate) = 31564 +SHA256 (rust/crates/rustls-pemfile-2.1.3.crate) = 196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425 +SIZE (rust/crates/rustls-pemfile-2.1.3.crate) = 26757 +SHA256 (rust/crates/rustls-pki-types-1.8.0.crate) = fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0 +SIZE (rust/crates/rustls-pki-types-1.8.0.crate) = 29562 +SHA256 (rust/crates/rustls-webpki-0.102.8.crate) = 64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9 +SIZE (rust/crates/rustls-webpki-0.102.8.crate) = 204327 SHA256 (rust/crates/ryu-1.0.18.crate) = f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f SIZE (rust/crates/ryu-1.0.18.crate) = 47713 -SHA256 (rust/crates/schannel-0.1.23.crate) = fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534 -SIZE (rust/crates/schannel-0.1.23.crate) = 41667 -SHA256 (rust/crates/security-framework-2.11.0.crate) = c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0 -SIZE (rust/crates/security-framework-2.11.0.crate) = 80191 -SHA256 (rust/crates/security-framework-sys-2.11.0.crate) = 317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7 -SIZE (rust/crates/security-framework-sys-2.11.0.crate) = 18718 -SHA256 (rust/crates/serde-1.0.204.crate) = bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12 -SIZE (rust/crates/serde-1.0.204.crate) = 78253 -SHA256 (rust/crates/serde_derive-1.0.204.crate) = e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222 -SIZE (rust/crates/serde_derive-1.0.204.crate) = 55871 -SHA256 (rust/crates/serde_json-1.0.120.crate) = 4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5 -SIZE (rust/crates/serde_json-1.0.120.crate) = 147062 -SHA256 (rust/crates/serde_spanned-0.6.6.crate) = 79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0 -SIZE (rust/crates/serde_spanned-0.6.6.crate) = 9120 -SHA256 (rust/crates/serde_test-1.0.176.crate) = 5a2f49ace1498612d14f7e0b8245519584db8299541dfe31a06374a828d620ab -SIZE (rust/crates/serde_test-1.0.176.crate) = 18390 +SHA256 (rust/crates/schannel-0.1.24.crate) = e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b +SIZE (rust/crates/schannel-0.1.24.crate) = 41728 +SHA256 (rust/crates/security-framework-2.11.1.crate) = 897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02 +SIZE (rust/crates/security-framework-2.11.1.crate) = 80188 +SHA256 (rust/crates/security-framework-sys-2.11.1.crate) = 75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf +SIZE (rust/crates/security-framework-sys-2.11.1.crate) = 18755 +SHA256 (rust/crates/serde-1.0.210.crate) = c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a +SIZE (rust/crates/serde-1.0.210.crate) = 78338 +SHA256 (rust/crates/serde_derive-1.0.210.crate) = 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f +SIZE (rust/crates/serde_derive-1.0.210.crate) = 56020 +SHA256 (rust/crates/serde_json-1.0.128.crate) = 6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8 +SIZE (rust/crates/serde_json-1.0.128.crate) = 149520 +SHA256 (rust/crates/serde_spanned-0.6.7.crate) = eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d +SIZE (rust/crates/serde_spanned-0.6.7.crate) = 9164 +SHA256 (rust/crates/serde_test-1.0.177.crate) = 7f901ee573cab6b3060453d2d5f0bae4e6d628c23c0a962ff9b5f1d7c8d4f1ed +SIZE (rust/crates/serde_test-1.0.177.crate) = 18671 SHA256 (rust/crates/sharded-slab-0.1.7.crate) = f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6 SIZE (rust/crates/sharded-slab-0.1.7.crate) = 58227 +SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 +SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/socket2-0.5.7.crate) = ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c SIZE (rust/crates/socket2-0.5.7.crate) = 55758 SHA256 (rust/crates/spin-0.9.8.crate) = 6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67 SIZE (rust/crates/spin-0.9.8.crate) = 38958 SHA256 (rust/crates/subtle-2.6.1.crate) = 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292 SIZE (rust/crates/subtle-2.6.1.crate) = 14562 -SHA256 (rust/crates/syn-2.0.70.crate) = 2f0209b68b3613b093e0ec905354eccaedcfe83b8cb37cbdeae64026c3064c16 -SIZE (rust/crates/syn-2.0.70.crate) = 266388 +SHA256 (rust/crates/syn-2.0.77.crate) = 9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed +SIZE (rust/crates/syn-2.0.77.crate) = 268784 SHA256 (rust/crates/thread_local-1.1.8.crate) = 8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c SIZE (rust/crates/thread_local-1.1.8.crate) = 13962 -SHA256 (rust/crates/timestamped-socket-0.2.2.crate) = 97fb9c05205fbac74629b661a8fb356882d7e540fbc66511b12d569701f241b1 -SIZE (rust/crates/timestamped-socket-0.2.2.crate) = 26426 -SHA256 (rust/crates/tokio-1.38.1.crate) = eb2caba9f80616f438e09748d5acda951967e1ea58508ef53d9c6402485a46df -SIZE (rust/crates/tokio-1.38.1.crate) = 774260 -SHA256 (rust/crates/tokio-macros-2.3.0.crate) = 5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a -SIZE (rust/crates/tokio-macros-2.3.0.crate) = 11753 +SHA256 (rust/crates/timestamped-socket-0.2.5.crate) = 3fc1030778bfbdb171889bc3e50573e00f4f0f1a65d3717eee9ce72db59a4f9f +SIZE (rust/crates/timestamped-socket-0.2.5.crate) = 27142 +SHA256 (rust/crates/tokio-1.40.0.crate) = e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998 +SIZE (rust/crates/tokio-1.40.0.crate) = 789848 +SHA256 (rust/crates/tokio-macros-2.4.0.crate) = 693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752 +SIZE (rust/crates/tokio-macros-2.4.0.crate) = 12501 SHA256 (rust/crates/tokio-rustls-0.26.0.crate) = 0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4 SIZE (rust/crates/tokio-rustls-0.26.0.crate) = 34253 -SHA256 (rust/crates/toml-0.8.15.crate) = ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28 -SIZE (rust/crates/toml-0.8.15.crate) = 50652 -SHA256 (rust/crates/toml_datetime-0.6.6.crate) = 4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf -SIZE (rust/crates/toml_datetime-0.6.6.crate) = 11698 -SHA256 (rust/crates/toml_edit-0.22.16.crate) = 278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788 -SIZE (rust/crates/toml_edit-0.22.16.crate) = 106618 +SHA256 (rust/crates/toml-0.8.19.crate) = a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e +SIZE (rust/crates/toml-0.8.19.crate) = 50974 +SHA256 (rust/crates/toml_datetime-0.6.8.crate) = 0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41 +SIZE (rust/crates/toml_datetime-0.6.8.crate) = 12028 +SHA256 (rust/crates/toml_edit-0.22.21.crate) = 3b072cee73c449a636ffd6f32bd8de3a9f7119139aff882f44943ce2986dc5cf +SIZE (rust/crates/toml_edit-0.22.21.crate) = 106010 SHA256 (rust/crates/tracing-0.1.40.crate) = c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef SIZE (rust/crates/tracing-0.1.40.crate) = 79459 SHA256 (rust/crates/tracing-attributes-0.1.27.crate) = 34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7 @@ -173,12 +175,12 @@ SHA256 (rust/crates/tracing-subscriber-0.3.18.crate) = ad0f048c97dbd9faa9b7df563 SIZE (rust/crates/tracing-subscriber-0.3.18.crate) = 196312 SHA256 (rust/crates/typenum-1.17.0.crate) = 42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825 SIZE (rust/crates/typenum-1.17.0.crate) = 42849 -SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b -SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168 +SHA256 (rust/crates/unicode-ident-1.0.13.crate) = e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe +SIZE (rust/crates/unicode-ident-1.0.13.crate) = 43279 SHA256 (rust/crates/untrusted-0.9.0.crate) = 8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1 SIZE (rust/crates/untrusted-0.9.0.crate) = 14447 -SHA256 (rust/crates/version_check-0.9.4.crate) = 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f -SIZE (rust/crates/version_check-0.9.4.crate) = 14895 +SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a +SIZE (rust/crates/version_check-0.9.5.crate) = 15554 SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131 SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 @@ -187,47 +189,35 @@ SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9 SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 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/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9 -SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884 SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877 -SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c -SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904 +SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b +SIZE (rust/crates/windows-sys-0.59.0.crate) = 2387323 SHA256 (rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973 SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403 -SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8 -SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492 SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3 SIZE (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718 -SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc -SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483 SHA256 (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469 SIZE (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 832615 -SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e -SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891 SHA256 (rust/crates/windows_i686_gnu-0.52.6.crate) = 8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b SIZE (rust/crates/windows_i686_gnu-0.52.6.crate) = 880402 SHA256 (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66 SIZE (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 475940 -SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406 -SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300 SHA256 (rust/crates/windows_i686_msvc-0.52.6.crate) = 240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66 SIZE (rust/crates/windows_i686_msvc-0.52.6.crate) = 901163 -SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e -SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619 SHA256 (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78 SIZE (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 836363 -SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc -SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486 SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d SIZE (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 435707 -SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538 -SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412 SHA256 (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec SIZE (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564 -SHA256 (rust/crates/winnow-0.6.13.crate) = 59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1 -SIZE (rust/crates/winnow-0.6.13.crate) = 162649 +SHA256 (rust/crates/winnow-0.6.18.crate) = 68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f +SIZE (rust/crates/winnow-0.6.18.crate) = 163357 +SHA256 (rust/crates/zerocopy-0.7.35.crate) = 1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0 +SIZE (rust/crates/zerocopy-0.7.35.crate) = 152645 +SHA256 (rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e +SIZE (rust/crates/zerocopy-derive-0.7.35.crate) = 37829 SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde SIZE (rust/crates/zeroize-1.8.1.crate) = 20029 -SHA256 (pendulum-project-ntpd-rs-v1.2.2_GH0.tar.gz) = 31805c787ff1945d52fafc3c9eb3309dd554d7b32e14da6cd84454ff2b444828 -SIZE (pendulum-project-ntpd-rs-v1.2.2_GH0.tar.gz) = 1411073 +SHA256 (pendulum-project-ntpd-rs-v1.3.0_GH0.tar.gz) = f3fd862f1066b5f89473dc1070102566a29bbcc1c4868d087a2cc0cac9849062 +SIZE (pendulum-project-ntpd-rs-v1.3.0_GH0.tar.gz) = 1413846 diff --git a/net/ntpd-rs/files/ntp_daemon.in b/net/ntpd-rs/files/ntp_daemon.in index c07a7d9d4b66..9441e8d35fc3 100644 --- a/net/ntpd-rs/files/ntp_daemon.in +++ b/net/ntpd-rs/files/ntp_daemon.in @@ -23,6 +23,17 @@ pidfile="/var/run/${name}.pid" start_cmd="ntp_daemon_start" stop_cmd="ntp_daemon_stop" +can_run_nonroot() +{ + # Try to set up the MAC ntpd policy so ntpd can run with reduced + # privileges. Detect whether MAC is compiled into the kernel, load + # the policy module if not already present, then check whether the + # policy has been disabled via tunable or sysctl. + [ -n "$(sysctl -qn security.mac.version)" ] || return 1 + sysctl -qn security.mac.ntpd >/dev/null || kldload -qn mac_ntpd || return 1 + [ "$(sysctl -qn security.mac.ntpd.enabled)" == "1" ] || return 1 +} + is_process_running() { [ -f ${pidfile} ] && procstat $(cat ${pidfile}) >/dev/null 2>&1 @@ -30,9 +41,16 @@ is_process_running() ntp_daemon_start() { + # If we can run as a non-root user, switch uid to ntpd. + if can_run_nonroot; then + _user="ntpd" + else + _user="root" + fi + [ -d "${ntp_daemon_socket}" ] || /bin/mkdir "${ntp_daemon_socket}" - /usr/sbin/chown _ntp:_ntp "${ntp_daemon_socket}" - /usr/sbin/daemon -P ${pidfile} -r -f -o /var/log/ntp_daemon.log -H %%PREFIX%%/bin/ntp-daemon --config "${ntp_daemon_config}" + /usr/sbin/chown ${_user}:${_user} "${ntp_daemon_socket}" + /usr/sbin/daemon -P ${pidfile} -r -f -o /var/log/ntp_daemon.log -u ${_user} -H %%PREFIX%%/bin/ntp-daemon --config "${ntp_daemon_config}" if is_process_running; then echo "Started ntp-daemon (pid=$(cat ${pidfile}))"