ntpd-rs: update to 1.2.0

This commit is contained in:
tranzystorekk 2024-07-11 11:23:21 +02:00
parent 83f73e1748
commit bad14dcc43
2 changed files with 4 additions and 29 deletions

View File

@ -1,22 +0,0 @@
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

View File

@ -1,14 +1,11 @@
# Template file for 'ntpd-rs' # Template file for 'ntpd-rs'
pkgname=ntpd-rs pkgname=ntpd-rs
version=1.1.3 version=1.2.0
revision=1 revision=1
build_style=cargo build_style=cargo
make_check_args="-- make_check_args="--
--skip algorithm::kalman::peer::tests::test_offset_steering_and_measurements --skip daemon::keyexchange::tests::client_connection_refused
--skip keyexchange::tests::client_connection_refused --skip daemon::keyexchange::tests::key_exchange_connection_limiter"
--skip interface::tests::find_interface_ipv6
--skip socket::tests::test_client_basic_ipv6
--skip socket::tests::test_server_basic_ipv6"
make_install_args="--path ntpd" make_install_args="--path ntpd"
depends="libcap-progs" depends="libcap-progs"
short_desc="Full-featured implementation of the Network Time Protocol" short_desc="Full-featured implementation of the Network Time Protocol"
@ -17,7 +14,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=8110538b5aca9588215590390dd04d9609d476bf7faafb92e37fba918bd3ef9c checksum=eaec7df094e473399a16ffa3c4c1dfcf4022ad69490fc6c584de3bf7befb8841
system_accounts="_ntpd_rs" system_accounts="_ntpd_rs"
conf_files="/etc/ntpd-rs/ntp.toml" conf_files="/etc/ntpd-rs/ntp.toml"