From 68c3b896867c9fc6b27b8681953d81b31807c23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Fri, 11 Oct 2024 13:48:50 +0200 Subject: [PATCH] arti: update to 1.2.8. Closes: #52607 [via git-merge-pr] --- .../fix-tests-on-machines-below-4GiB.patch | 20 +++++++++++++++++++ srcpkgs/arti/template | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/arti/patches/fix-tests-on-machines-below-4GiB.patch diff --git a/srcpkgs/arti/patches/fix-tests-on-machines-below-4GiB.patch b/srcpkgs/arti/patches/fix-tests-on-machines-below-4GiB.patch new file mode 100644 index 00000000000..bedc8c83b4d --- /dev/null +++ b/srcpkgs/arti/patches/fix-tests-on-machines-below-4GiB.patch @@ -0,0 +1,20 @@ +Lower system memory requirements for tests to support ci runners <4GiB + +diff --git a/crates/arti/src/arti-example-config.toml b/crates/arti/src/arti-example-config.toml +index 16e2d6ac2..33e9870c5 100644 +--- a/crates/arti/src/arti-example-config.toml ++++ b/crates/arti/src/arti-example-config.toml +@@ -451,11 +451,11 @@ + # The default is unlimited. + # + # Maximum memory use, after which reclamation starts: +-# memory.max = "8 GiB" ++# memory.max = "3 GiB" + # (If anything is specified in `[system.memory]`, this value is mandatory.) + # + # When reclaiming memory, we stop when we reach this amount: +-# memory.low_water = "6 GiB" ++# memory.low_water = "2 GiB" + # (The default is 3/4 of `system.memory.max`.) + + ##### ONION SERVICES diff --git a/srcpkgs/arti/template b/srcpkgs/arti/template index 78fb5b62110..cc9c67166ba 100644 --- a/srcpkgs/arti/template +++ b/srcpkgs/arti/template @@ -1,6 +1,6 @@ # Template file for 'arti' pkgname=arti -version=1.2.6 +version=1.2.8 revision=1 archs="x86_64* i686* aarch64* arm*" # ring build_style=cargo @@ -13,7 +13,7 @@ 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=0a318f94e81ccc37bf4bbedad9990e5d77872234a1640dc52dfcf097e4bb165d +checksum=85dd949c4ac29d9b13f599c65de17dcd2b60ba6963dab27be7b5530a0bfe7675 post_install() { vlicense LICENSE-MIT