From 6ec9abfc235b77f788d7d495088d5b588303efb5 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 30 Jul 2025 11:03:53 -0400 Subject: [PATCH] vaultwarden: update to 1.34.3. --- srcpkgs/vaultwarden/patches/config.patch | 32 +++++++++++------------- srcpkgs/vaultwarden/template | 6 ++--- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/srcpkgs/vaultwarden/patches/config.patch b/srcpkgs/vaultwarden/patches/config.patch index 36114bee247..6a183dbf469 100644 --- a/srcpkgs/vaultwarden/patches/config.patch +++ b/srcpkgs/vaultwarden/patches/config.patch @@ -1,20 +1,18 @@ -configure several paths to sane/expected locations - diff --git a/.env.template b/.env.template -index 66a0434..cebac33 100644 +index 6d27238..c0731ce 100644 --- a/.env.template +++ b/.env.template -@@ -10,7 +10,7 @@ - ## vaultwarden. - - ## Main data folder +@@ -23,7 +23,7 @@ + ## When using an external location, make sure to set TMP_FOLDER, + ## TEMPLATES_FOLDER, and DATABASE_URL to local paths and/or a remote database + ## location. -# DATA_FOLDER=data +DATA_FOLDER=/var/lib/vaultwarden - ## Database URL - ## When using SQLite, this is the path to the DB file, default to %DATA_FOLDER%/db.sqlite3 -@@ -61,8 +61,8 @@ - # ICON_CACHE_NEGTTL=259200 + ## Individual folders, these override %DATA_FOLDER% + # RSA_KEY_FILENAME=data/rsa_key +@@ -42,8 +42,8 @@ + # RELOAD_TEMPLATES=false ## Web vault settings -# WEB_VAULT_FOLDER=web-vault/ @@ -22,14 +20,14 @@ index 66a0434..cebac33 100644 +# WEB_VAULT_FOLDER=/usr/share/webapps/vaultwarden-web +WEB_VAULT_ENABLED=false - ## Enables websocket notifications - # WEBSOCKET_ENABLED=false -@@ -117,7 +117,7 @@ - # LOG_TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S.%3f" + ######################### + ### Database settings ### +@@ -386,7 +386,7 @@ + # USE_SYSLOG=false ## Logging to file -# LOG_FILE=/path/to/log +# LOG_FILE=/var/log/vaultwarden.log - ## Logging to Syslog - ## This requires extended logging + ## Log level + ## Change the verbosity of the log output diff --git a/srcpkgs/vaultwarden/template b/srcpkgs/vaultwarden/template index dacfdbf9bd5..f8015ba987f 100644 --- a/srcpkgs/vaultwarden/template +++ b/srcpkgs/vaultwarden/template @@ -1,19 +1,19 @@ # Template file for 'vaultwarden' pkgname=vaultwarden -version=1.34.1 +version=1.34.3 revision=1 build_style=cargo configure_args="--features sqlite,mysql,postgresql" hostmakedepends="pkg-config" makedepends="openssl-devel libmysqlclient-devel postgresql-libs-devel - sqlite-devel zlib-devel" + sqlite-devel zlib-devel libzstd-devel" short_desc="Unofficial Bitwarden compatible server written in Rust" maintainer="Joel Beckmeyer " license="AGPL-3.0-only" homepage="https://github.com/dani-garcia/vaultwarden" changelog="https://github.com/dani-garcia/vaultwarden/releases" distfiles="https://github.com/dani-garcia/vaultwarden/archive/${version}.tar.gz" -checksum=c416ab8e563357823b11192bda46d78aae5457bdec8a6051e765d5897c98321a +checksum=1895921d0412af803a76596bdfcafcb2cfdbac3129abb13857c4f0bd993ceef3 system_accounts="_vaultwarden" _vaultwarden_homedir="/var/lib/vaultwarden"