From 000b876dcb86ed7c501fbf15e5127471516a2a91 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 11 Jun 2025 00:25:46 +0000 Subject: [PATCH] Updates for Arch package related. Signed-off-by: Jason Volk --- README.md | 5 +++-- arch/tuwunel.service | 2 +- src/main/Cargo.toml | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index abb31faf..fa577d78 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,10 @@ development. It is now maintained by full-time staff. - [Sourcecode](https://github.com/matrix-construct/tuwunel/) `git clone https://github.com/matrix-construct/tuwunel.git` - [DockerHub](https://hub.docker.com/r/jevolk/tuwunel) or `docker pull jevolk/tuwunel:latest` - [GHCR](https://github.com/matrix-construct/tuwunel/pkgs/container/tuwunel) or `docker pull ghcr.io/matrix-construct/tuwunel:latest` +- Static binaries available as [releases](https://github.com/matrix-construct/tuwunel/releases) or [build artifacts](https://github.com/matrix-construct/tuwunel/actions?query=branch%3Amain). - Deb and RPM packages available as [releases](https://github.com/matrix-construct/tuwunel/releases) or [build artifacts](https://github.com/matrix-construct/tuwunel/actions?query=branch%3Amain). -- Static binaries also available as [releases](https://github.com/matrix-construct/tuwunel/releases) or [build artifacts](https://github.com/matrix-construct/tuwunel/actions?query=branch%3Amain). -- Arch package is expected shortly. Nix package still needs some love. +- Arch package available as [tuwunel](https://aur.archlinux.org/packages/tuwunel) or [tuwunel-git](https://aur.archlinux.org/packages/tuwunel-git). +- Nix package still needs some love. **1.** [Configure](https://matrix-construct.github.io/tuwunel/configuration.html) by copying and editing the `tuwunel-example.toml`. The `server_name` and `database_path` must be diff --git a/arch/tuwunel.service b/arch/tuwunel.service index 4156fe15..c6e34578 100644 --- a/arch/tuwunel.service +++ b/arch/tuwunel.service @@ -59,7 +59,7 @@ StateDirectory=tuwunel RuntimeDirectory=tuwunel RuntimeDirectoryMode=0750 -Environment="CONDUWUIT_CONFIG=/etc/tuwunel/tuwunel.toml" +Environment="TUWUNEL_CONFIG=/etc/tuwunel/tuwunel.toml" BindPaths=/var/lib/private/tuwunel:/var/lib/conduwuit BindPaths=/var/lib/private/tuwunel:/var/lib/private/conduwuit BindPaths=/var/lib/private/tuwunel:/var/lib/matrix-conduit diff --git a/src/main/Cargo.toml b/src/main/Cargo.toml index 22b0b990..f8d10dc6 100644 --- a/src/main/Cargo.toml +++ b/src/main/Cargo.toml @@ -45,6 +45,10 @@ assets = [ { source = "tuwunel-example.toml", dest = "/etc/tuwunel/tuwunel.toml", mode = "640", config = "noreplace" }, ] +[package.metadata.arch] +name = "tuwunel" +pkgdesc = "High performance Matrix homeserver written in Rust" + [features] default = [ "brotli_compression",