From b40631d891edeed138dfced99d99d961148b4736 Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Fri, 28 Jun 2024 15:29:15 +0200 Subject: [PATCH] ntpd-rs: update to 1.1.3 --- srcpkgs/ntpd-rs/patches/fix-tests.patch | 22 ++++++++++++++++++++++ srcpkgs/ntpd-rs/template | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/ntpd-rs/patches/fix-tests.patch diff --git a/srcpkgs/ntpd-rs/patches/fix-tests.patch b/srcpkgs/ntpd-rs/patches/fix-tests.patch new file mode 100644 index 00000000000000..289f3eef84dfab --- /dev/null +++ b/srcpkgs/ntpd-rs/patches/fix-tests.patch @@ -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 diff --git a/srcpkgs/ntpd-rs/template b/srcpkgs/ntpd-rs/template index 5da867a56af3b2..e8097bf40a46e0 100644 --- a/srcpkgs/ntpd-rs/template +++ b/srcpkgs/ntpd-rs/template @@ -1,6 +1,6 @@ # Template file for 'ntpd-rs' pkgname=ntpd-rs -version=1.1.2 +version=1.1.3 revision=1 build_style=cargo make_check_args="-- @@ -17,7 +17,7 @@ license="Apache-2.0, MIT" homepage="https://github.com/pendulum-project/ntpd-rs" 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" -checksum=83f5f19acf98ea3a16c9a1256d02edaf1b2f49383a4f550d6a325cab8e8b2d4b +checksum=8110538b5aca9588215590390dd04d9609d476bf7faafb92e37fba918bd3ef9c system_accounts="_ntpd_rs" conf_files="/etc/ntpd-rs/ntp.toml"