ntpd-rs: update to 1.7.1

This commit is contained in:
Mateusz Sylwestrzak
2026-03-05 19:30:06 +00:00
committed by Piraty
parent 0bb8e23bf8
commit 900646f056
+22 -2
View File
@@ -1,6 +1,6 @@
# Template file for 'ntpd-rs'
pkgname=ntpd-rs
version=1.7.0
version=1.7.1
revision=1
build_style=cargo
make_check_args="--
@@ -15,7 +15,7 @@ license="Apache-2.0 OR 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=f1585c2c0f052423cb5187ceed4f6a6d2b43a177b4de1d1f8bcc443d5386ca55
checksum=58840fa2dfe16f64be5e450a99b27238f031b9fcb08bd9c0f42ca15cc95f5487
system_accounts="_ntpd_rs"
conf_files="/etc/ntpd-rs/ntp.toml"
@@ -24,6 +24,26 @@ alternatives="
ntpd:ntpd:/usr/bin/ntp-daemon
ntpd:ntpd:/etc/sv/ntpd-rs"
case "$XBPS_TARGET_MACHINE" in
i686|x86_64*)
make_check_args+="
--skip nts::tests::test_key_exchange_roundtrip_no_cookies
--skip nts::tests::test_keyexchange_fixed_key_no_permission
--skip nts::tests::test_keyexchange_roundtrip_fixed_key
--skip nts::tests::test_keyexchange_roundtrip_fixed_key_keep_alive
--skip nts::tests::test_keyexchange_roundtrip_fixed_key_no_permit
--skip nts::tests::test_keyexchange_roundtrip_no_proto_overlap
--skip nts::tests::test_keyexchange_roundtrip_no_upgrade_possible
--skip nts::tests::test_keyexchange_roundtrip_supports
--skip nts::tests::test_keyexchange_roundtrip_upgrading
--skip nts::tests::test_keyexchange_roundtrip_v4
--skip nts::tests::test_keyexchange_roundtrip_v5
--skip nts::tests::test_keyexchange_supports_no_permission
--skip daemon::keyexchange::tests::key_exchange_roundtrip_with_port_server
"
;;
esac
post_patch() {
# apply patched Cargo.toml changes to lockfile
cargo metadata > /dev/null