arti: update to 1.2.3.
This commit is contained in:
parent
8746318019
commit
b680ac80ba
|
@ -0,0 +1,19 @@
|
|||
only run system_time_conversions() test on 64bit systems.
|
||||
it fails on 32bit systems with
|
||||
|
||||
---- time_store::test::system_time_conversions stdout ----
|
||||
thread 'time_store::test::system_time_conversions' panicked at crates/tor-hsservice/src/time_store.rs:524:38:
|
||||
2038-01-19T03:14:08Z: OutOfRange
|
||||
|
||||
diff --git a/crates/tor-hsservice/src/time_store.rs b/crates/tor-hsservice/src/time_store.rs
|
||||
index d63d6f015..fafe806d0 100644
|
||||
--- a/crates/tor-hsservice/src/time_store.rs
|
||||
+++ b/crates/tor-hsservice/src/time_store.rs
|
||||
@@ -515,6 +515,7 @@ mod test {
|
||||
assert_eq!(e, FutureTimestamp::from_str("T+23kg"));
|
||||
}
|
||||
|
||||
+ #[cfg(target_pointer_width = "64")]
|
||||
#[test]
|
||||
#[allow(clippy::unusual_byte_groupings)] // we want them to line up, dammit!
|
||||
fn system_time_conversions() {
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'arti'
|
||||
pkgname=arti
|
||||
version=1.1.10
|
||||
version=1.2.3
|
||||
revision=1
|
||||
archs="x86_64* i686* aarch64* arm*" # ring
|
||||
build_style=cargo
|
||||
|
@ -13,18 +13,9 @@ license="Apache-2.0, MIT"
|
|||
homepage="https://gitlab.torproject.org/tpo/core/arti"
|
||||
changelog="https://gitlab.torproject.org/tpo/core/arti/-/raw/main/CHANGELOG.md"
|
||||
distfiles="https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v${version}/arti-arti-v${version}.tar.gz"
|
||||
checksum=bb7f18385022b616fb0fb04c61b890441524eaa884def1eef3c581b711814842
|
||||
|
||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
# Disable LTO for i686 because otherwise tests fail with:
|
||||
# ---- src/address.rs - address::TorAddr (line 79) stdout ----
|
||||
# error: ran out of registers during register allocation
|
||||
# LLVM ERROR: Cannot emit physreg copy instruction
|
||||
i686*) export CARGO_PROFILE_RELEASE_LTO=false ;;
|
||||
esac
|
||||
fi
|
||||
checksum=2cfbbc6aa203e0203f773158c4994ee0d55f7213c488281febeef9a15e25aec4
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE-MIT
|
||||
vdoc crates/arti/src/arti-example-config.toml
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue