mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
arti: update to 1.2.3.
This commit is contained in:
parent
8746318019
commit
b680ac80ba
2 changed files with 22 additions and 12 deletions
19
srcpkgs/arti/patches/fix-32bit-tests.patch
Normal file
19
srcpkgs/arti/patches/fix-32bit-tests.patch
Normal file
|
@ -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'
|
# Template file for 'arti'
|
||||||
pkgname=arti
|
pkgname=arti
|
||||||
version=1.1.10
|
version=1.2.3
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* i686* aarch64* arm*" # ring
|
archs="x86_64* i686* aarch64* arm*" # ring
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
@ -13,18 +13,9 @@ license="Apache-2.0, MIT"
|
||||||
homepage="https://gitlab.torproject.org/tpo/core/arti"
|
homepage="https://gitlab.torproject.org/tpo/core/arti"
|
||||||
changelog="https://gitlab.torproject.org/tpo/core/arti/-/raw/main/CHANGELOG.md"
|
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"
|
distfiles="https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v${version}/arti-arti-v${version}.tar.gz"
|
||||||
checksum=bb7f18385022b616fb0fb04c61b890441524eaa884def1eef3c581b711814842
|
checksum=2cfbbc6aa203e0203f773158c4994ee0d55f7213c488281febeef9a15e25aec4
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
vdoc crates/arti/src/arti-example-config.toml
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue