Lines 13-19
LIB_DEPENDS+= libcapnp.so:devel/capnproto \
Link Here
|
13 |
libgmp.so:math/gmp \ |
13 |
libgmp.so:math/gmp \ |
14 |
libnettle.so:security/nettle |
14 |
libnettle.so:security/nettle |
15 |
|
15 |
|
16 |
USES= cargo mysql:client pgsql ssl |
16 |
USES= cargo ssl |
17 |
|
17 |
|
18 |
# make makeplist > pkg-plist #One has to edit/review the generated plist |
18 |
# make makeplist > pkg-plist #One has to edit/review the generated plist |
19 |
# make generate-plist && make check-plist |
19 |
# make generate-plist && make check-plist |
Lines 26-40
GROUPS= ${WWWGRP}
Link Here
|
26 |
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
26 |
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
27 |
|
27 |
|
28 |
OPTIONS_DEFINE= WEBVAULT |
28 |
OPTIONS_DEFINE= WEBVAULT |
29 |
OPTIONS_DEFAULT=WEBVAULT |
29 |
OPTIONS_DEFAULT=WEBVAULT SQLITE MYSQL PGSQL |
|
|
30 |
|
31 |
OPTIONS_MULTI= BACKEND |
32 |
OPTIONS_MULTI_BACKEND= SQLITE MYSQL PGSQL |
30 |
|
33 |
|
31 |
WEBVAULT_DESC= Vaultwarden web (bw_web_builds) |
34 |
WEBVAULT_DESC= Vaultwarden web (bw_web_builds) |
|
|
35 |
SQLITE_DESC= Use SQLite as backend |
36 |
MYSQL_DESC= Use MySQL as backend |
37 |
PGSQL_DESC= Use PostgreSQL as backend |
38 |
|
39 |
SQLITE_VARS= CARGO_FEATURES+=sqlite |
40 |
MYSQL_VARS= CARGO_FEATURES+=mysql |
41 |
PGSQL_VARS= CARGO_FEATURES+=postgresql |
42 |
|
43 |
MYSQL_USE= mysql:client=yes |
44 |
PGSQL_USE= pgsql=yes |
32 |
|
45 |
|
33 |
WEBVAULT_RUN_DEPENDS= ${WWWDIR}/web-vault/index.html:www/vaultwarden-web_vault |
46 |
WEBVAULT_RUN_DEPENDS= ${WWWDIR}/web-vault/index.html:www/vaultwarden-web_vault |
34 |
|
47 |
|
35 |
# make cargo-crates > Makefile.crates |
48 |
# make cargo-crates > Makefile.crates |
36 |
|
49 |
|
37 |
CARGO_FEATURES= mysql postgresql sqlite #vendored_openssl |
50 |
CARGO_FEATURES= --no-default-features |
38 |
#CARGO_ENV+= RUSTC_BOOTSTRAP=1 |
51 |
#CARGO_ENV+= RUSTC_BOOTSTRAP=1 |
39 |
|
52 |
|
40 |
INSTALL_TARGET= install-strip |
53 |
INSTALL_TARGET= install-strip |