mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
ntpd-rs: update to 1.1.3
This commit is contained in:
parent
2249d90ea7
commit
cce9f67b8f
2 changed files with 24 additions and 2 deletions
22
srcpkgs/ntpd-rs/patches/fix-tests.patch
Normal file
22
srcpkgs/ntpd-rs/patches/fix-tests.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
diff --git a/ntpd/src/daemon/keyexchange.rs b/ntpd/src/daemon/keyexchange.rs
|
||||||
|
index b1c00ea..884208e 100644
|
||||||
|
--- a/ntpd/src/daemon/keyexchange.rs
|
||||||
|
+++ b/ntpd/src/daemon/keyexchange.rs
|
||||||
|
@@ -736,7 +736,7 @@ mod tests {
|
||||||
|
key_exchange_client(
|
||||||
|
"localhost".to_string(),
|
||||||
|
5435,
|
||||||
|
- &certificates_from_bufread(BufReader::new(Cursor::new(ca))).unwrap(),
|
||||||
|
+ &certificates_from_bufread(BufReader::new(Cursor::new(ca))),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.await
|
||||||
|
@@ -750,7 +750,7 @@ mod tests {
|
||||||
|
key_exchange_client(
|
||||||
|
"localhost".to_string(),
|
||||||
|
5435,
|
||||||
|
- &certificates_from_bufread(BufReader::new(Cursor::new(ca))).unwrap(),
|
||||||
|
+ &certificates_from_bufread(BufReader::new(Cursor::new(ca))),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
.await
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'ntpd-rs'
|
# Template file for 'ntpd-rs'
|
||||||
pkgname=ntpd-rs
|
pkgname=ntpd-rs
|
||||||
version=1.1.2
|
version=1.1.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
make_check_args="--
|
make_check_args="--
|
||||||
|
@ -17,7 +17,7 @@ license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/pendulum-project/ntpd-rs"
|
homepage="https://github.com/pendulum-project/ntpd-rs"
|
||||||
changelog="https://raw.githubusercontent.com/pendulum-project/ntpd-rs/main/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/pendulum-project/ntpd-rs/main/CHANGELOG.md"
|
||||||
distfiles="https://github.com/pendulum-project/ntpd-rs/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/pendulum-project/ntpd-rs/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=83f5f19acf98ea3a16c9a1256d02edaf1b2f49383a4f550d6a325cab8e8b2d4b
|
checksum=8110538b5aca9588215590390dd04d9609d476bf7faafb92e37fba918bd3ef9c
|
||||||
|
|
||||||
system_accounts="_ntpd_rs"
|
system_accounts="_ntpd_rs"
|
||||||
conf_files="/etc/ntpd-rs/ntp.toml"
|
conf_files="/etc/ntpd-rs/ntp.toml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue