Github messages for voidlinux
 help / color / mirror / Atom feed
From: daniel-eys <daniel-eys@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: arti-0.6.0
Date: Mon, 05 Sep 2022 22:19:45 +0200	[thread overview]
Message-ID: <20220905201945.9-EdSS__fbRLEowkCoeRzhvNBA8w4tg_Ppinswx1-nQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37715@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]

There is an updated pull request by daniel-eys against master on the void-packages repository

https://github.com/daniel-eys/void-packages arti
https://github.com/void-linux/void-packages/pull/37715

New package: arti-0.6.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

The Tor Project is re-implementing Tor in Rust.

https://gitlab.torproject.org/tpo/core/arti
https://blog.torproject.org/arti_050_released/

Not yet production ready, nor feature-parity with C Tor but basic SOCKS proxy support via
```
$ arti proxy -p 9150
```
is usable.

When arti is production ready, I'm planning to add a proper runit service.

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/37715.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-arti-37715.patch --]
[-- Type: text/x-diff, Size: 1973 bytes --]

From 2e68ef1a015cfa295dfb52a587f961abb4c28d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= <daniel.eysser@gmail.com>
Date: Tue, 15 Mar 2022 20:03:17 +0100
Subject: [PATCH] New package: arti-1.0.0

---
 srcpkgs/arti/template | 31 +++++++++++++++++++++++++++++++
 srcpkgs/arti/update   |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/arti/template
 create mode 100644 srcpkgs/arti/update

diff --git a/srcpkgs/arti/template b/srcpkgs/arti/template
new file mode 100644
index 000000000000..be5d565ec77f
--- /dev/null
+++ b/srcpkgs/arti/template
@@ -0,0 +1,31 @@
+# Template file for 'arti'
+pkgname=arti
+version=1.0.0
+revision=1
+wrksrc="arti-arti-v${version}"
+build_style=cargo
+make_check_args="-- --skip internal::test::internal_macro_test" # fails with --release builds
+make_install_args="--path crates/arti"
+hostmakedepends="pkg-config"
+makedepends="openssl-devel sqlite-devel"
+short_desc="Tor implementation in Rust"
+maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
+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=4aa5f2f8ce98b913a843542f26895b2f4819829fa3dec9082fa1e8da5e274267
+
+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() {
+	vlicense LICENSE-MIT
+}
diff --git a/srcpkgs/arti/update b/srcpkgs/arti/update
new file mode 100644
index 000000000000..4d7a8d07c702
--- /dev/null
+++ b/srcpkgs/arti/update
@@ -0,0 +1 @@
+pkgname=arti-arti

  parent reply	other threads:[~2022-09-05 20:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27 21:29 [PR PATCH] New package: arti-0.5.0 daniel-eys
2022-07-01 10:08 ` [PR PATCH] [Updated] " daniel-eys
2022-07-01 11:36 ` daniel-eys
2022-08-11 20:36 ` [PR PATCH] [Updated] " daniel-eys
2022-09-04 14:22 ` New package: arti-0.6.0 jcgruenhage
2022-09-05 20:19 ` daniel-eys [this message]
2022-09-05 20:31 ` New package: arti-1.0.0 daniel-eys
2022-10-03 14:20 ` daniel-eys
2022-10-03 15:24 ` [PR PATCH] [Merged]: " Piraty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220905201945.9-EdSS__fbRLEowkCoeRzhvNBA8w4tg_Ppinswx1-nQ@z \
    --to=daniel-eys@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).