Skip to content

Commit be615f5

Browse files
authored
Merge pull request #1507 from citrus-it/vaultwarden
vaultwarden - update from 1.30.5 to 1.32.0
2 parents a1308c3 + 78ae4b2 commit be615f5

File tree

5 files changed

+21
-122
lines changed

5 files changed

+21
-122
lines changed

build/vaultwarden/build.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
. ../../lib/build.sh
1818

1919
PROG=vaultwarden
20-
VER=1.30.5
20+
VER=1.32.0
2121
PKG=ooce/application/vaultwarden
2222
SUMMARY="Bitwarden compatible server"
2323
DESC="Unofficial Bitwarden compatible server written in Rust, formerly known "
2424
DESC+="as bitwarden_rs"
2525

2626
DANIGARCIA=$GITHUB/dani-garcia
27-
WEBVAULTVER=2024.5.0
28-
WEBVAULTSHA256=35001cea3c4ec52a66a2331ecc11efd20b2ad77c34e47dc6061a315f3b5706e4
27+
WEBVAULTVER=2024.6.2
28+
WEBVAULTSHA256=c6f71f1f98290b91670c8f717b59aa27baaaa49bdfe4a3f2be38da426021d843
2929

3030
set_arch 64
3131

@@ -57,6 +57,12 @@ XFORM_ARGS="
5757

5858
SKIP_LICENCES=bitwarden
5959

60+
# configure runs mysql_config/pg_config to determine the proper paths
61+
# for the database libraries. To avoid having to rely on a particular
62+
# mediator value for the installed packages, set the explicitly versioned
63+
# bin directories first in the PATH.
64+
PATH=$PREFIX/mariadb-$MARIASQLVER/bin:$PREFIX/pgsql-$PGSQLVER/bin:$PATH
65+
6066
copy_sample_config() {
6167
local relative_conffile=${CONFFILE#/}
6268
local dest_confdir=$DESTDIR/${relative_conffile%/*}
@@ -97,6 +103,8 @@ init
97103
clone_github_source $PROG "$DANIGARCIA/$PROG" $VER
98104
BUILDDIR+=/$PROG
99105
patch_source
106+
# mio needs bumping to work around https://github.com/tokio-rs/mio/pull/1824
107+
run_inbuild cargo update -p mio
100108
prep_build
101109
build_rust $CARGO_ARGS
102110
install_rust
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
diff -wpruN --no-dereference '--exclude=*.orig' a~/vaultwarden/Cargo.toml a/vaultwarden/Cargo.toml
22
--- a~/vaultwarden/Cargo.toml 1970-01-01 00:00:00
33
+++ a/vaultwarden/Cargo.toml 1970-01-01 00:00:00
4-
@@ -168,7 +168,6 @@ rpassword = "7.3.1"
4+
@@ -167,7 +167,6 @@ rpassword = "7.3.1"
55
# The symbols are the provide better panic traces
66
# Also enable fat LTO and use 1 codegen unit for optimizations
77
[profile.release]
88
-strip = "debuginfo"
99
lto = "fat"
1010
codegen-units = 1
1111

12+
@@ -244,3 +243,7 @@ unnecessary_self_imports = "deny"
13+
unused_async = "deny"
14+
verbose_file_reads = "deny"
15+
zero_sized_map_values = "deny"
16+
+
17+
+[patch.crates-io]
18+
+mysqlclient-sys = { git = "https://github.com/citrus-it/mysqlclient-sys", branch = "illumos" }
19+
+

build/vaultwarden/patches/rust-1.79.patch

Lines changed: 0 additions & 116 deletions
This file was deleted.

build/vaultwarden/patches/series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
Cargo.toml.patch
2-
rust-1.79.patch

doc/packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
| ooce/application/tidy | 5.8.0 | https://github.com/htacg/tidy-html5/releases | [omniosorg](https://github.com/omniosorg)
2828
| ooce/application/tig | 2.5.10 | https://github.com/jonas/tig/releases | [omniosorg](https://github.com/omniosorg)
2929
| ooce/application/vagrant | 2.2.19 | https://github.com/hashicorp/vagrant/tags | [omniosorg](https://github.com/omniosorg)
30-
| ooce/application/vaultwarden | 1.30.5 | https://github.com/dani-garcia/vaultwarden/releases/ | [omniosorg](https://github.com/omniosorg)
30+
| ooce/application/vaultwarden | 1.32.0 | https://github.com/dani-garcia/vaultwarden/releases/ | [omniosorg](https://github.com/omniosorg)
3131
| ooce/application/zabbix | 6.2.3 | https://www.zabbix.com/download_sources | [omniosorg](https://github.com/omniosorg)
3232
| ooce/audio/flac | 1.4.3 | https://ftp.osuosl.org/pub/xiph/releases/flac/ https://xiph.org/flac/changelog.html | [omniosorg](https://github.com/omniosorg)
3333
| ooce/compress/pbzip2 | 1.1.13 | https://launchpad.net/pbzip2/+download | [omniosorg](https://github.com/omniosorg)

0 commit comments

Comments
 (0)