vaultwarden: update to 1.31.0.

This commit is contained in:
Joel Beckmeyer 2024-07-09 21:43:08 -04:00 committed by Andrew J. Hesford
parent 513b2cdc87
commit d0e40ae1dd
1 changed files with 9 additions and 3 deletions

View File

@ -1,25 +1,31 @@
# Template file for 'vaultwarden'
pkgname=vaultwarden
version=1.30.5
version=1.31.0
revision=1
build_style=cargo
configure_args="--features sqlite,mysql,postgresql"
hostmakedepends="pkg-config"
makedepends="openssl-devel libmysqlclient-devel postgresql-libs-devel
sqlite-devel"
sqlite-devel zlib-devel"
short_desc="Unofficial Bitwarden compatible server written in Rust"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
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=6a5b1792fc53e94445033390f594dd1075390bf1339daa54ae92569ca902391d
checksum=c5859e406596aa3a57666442867b9a3ec77106bf02af31b751599a5c5a1772a9
system_accounts="_vaultwarden"
_vaultwarden_homedir="/var/lib/vaultwarden"
make_dirs="/var/lib/vaultwarden 0750 _vaultwarden _vaultwarden"
# fails to build on i686 with default release profile, see
# https://github.com/dani-garcia/vaultwarden/issues/4320
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
export CARGO_PROFILE_RELEASE_LTO=thin
fi
post_install() {
vsconf .env.template vaultwarden.conf
vsv vaultwarden