Index | Thread | Search

From:
yaydn@protonmail.com
Subject:
Re: [NEW] net/arti
To:
"andrew@kloet.net" <andrew@kloet.net>, "ports@openbsd.org" <ports@openbsd.org>
Date:
Sun, 09 Aug 2026 19:10:55 +0000

Download raw body.

Thread
  • Andrew Kloet:

    [NEW] net/arti

    • yaydn@protonmail.com:

      [NEW] net/arti

      • yaydn@protonmail.com:

        [NEW] net/arti

På søndag 9. august 2026 kl. 20:30, skrev yaydn@protonmail.com
<yaydn@protonmail.com>:

> På lørdag 8. august 2026 kl. 16:33, skrev Andrew Kloet
> <andrew@kloet.net>:
> 
> >
> > Apologies, attatched is an updated tarball.
> > I had forgotten to test after making some final edits
> >
> > Andrew
> >
> 
> 
> So, I had to modify the patch:
> 
> --- /tmp/arti/patches/patch-crates_tor-memquota_src_config_rs	Fri Aug  7 03:54:35 2026
> +++ /usr/ports/net/arti/patches/patch-crates_tor-memquota_src_config_rs	Sat Aug  8 22:59:47 2026
> @@ -4,12 +4,7 @@ https://github.com/GuillaumeGomez/sysinfo/issues/1318
>  Index: crates/tor-memquota/src/config.rs
>  --- crates/tor-memquota/src/config.rs.orig
>  +++ crates/tor-memquota/src/config.rs
> -@@ -1,4 +1,3 @@
> --
> - //! Configuration (private module)
> -
> - use std::sync::LazyLock;
> -@@ -293,66 +292,29 @@ fn compute_max_from_total_system_mem(mem: Result<usize
> +@@ -292,66 +292,29 @@ fn compute_max_from_total_system_mem(mem: Result<usize
>       Qty(mem)
>   }
> 
> --
> 
> Basically, removing the first part to apply. I attached the fixed patch,
> but look over it just in case there is something missing or wrong?
> 
> It took a longer than I'd like to figure that out, and the compile took
> a while to build too.
> 
> 
> $ cd /usr/ports/net/arti/ && make build package test ; make port-lib-depends-check check-shlib-syms
> // Checks had no problems, test did(see below)
> 
> $ cd /usr/ports/net/arti/ && make tests 2>&1 | /usr/ports/infrastructure/bin/portslogger .
> // Attached the test log.
> --
> 
> # TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u arti
> arti-2.5.0->2.5.1: ok
> --
> 
> Is that what is expected?
> 
> With /usr/www/plus.html getting churned out already, this might not get in
> before the freeze, you never know. But at least with more testing this
> can at least get in after the the 8.0-stable release.
> 
> Hope this helps. May you have success and happy hacking.
> --
> yaydn

Also for testing, followed:

https://arti.torproject.org/integrating-arti/using-tor/

$ arti --version
Arti 2.5.1
using runtime: TokioNativeTlsRuntime { .. }
optional features: journald
--

$ arti proxy -l debug -p 9150 &

$ TOR_PROVIDER=none TOR_SOCKS_PORT=9150 tor-browser

Was able to use browse .onion sites and http(s) web just fine.

Not sure if this is superfluous, but thought I'd add this for
testing coverage. Night.
--
yaydn