View | Details | Raw Unified | Return to bug 274049 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/vaultwarden/Makefile (-3 / +11 lines)
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=${OPTIONS_DEFINE} ${OPTIONS_MULTI_DATABASE}
30
OPTIONS_MULTI=	DATABASE
31
OPTIONS_MULTI_DATABASE=	MYSQL PGSQL SQLITE
30
32
33
DATABASE_DESC=	Database support
31
WEBVAULT_DESC=	Vaultwarden web (bw_web_builds)
34
WEBVAULT_DESC=	Vaultwarden web (bw_web_builds)
32
35
36
MYSQL_USES=	mysql:client
37
MYSQL_VARS=	cargo_features+=mysql
38
PGSQL_USES=	pgsql
39
PGSQL_VARS=	cargo_features+=postgresql
40
SQLITE_VARS=	cargo_features+=sqlite
33
WEBVAULT_RUN_DEPENDS=	${WWWDIR}/web-vault/index.html:www/vaultwarden-web_vault
41
WEBVAULT_RUN_DEPENDS=	${WWWDIR}/web-vault/index.html:www/vaultwarden-web_vault
34
42
35
# make cargo-crates > Makefile.crates
43
# make cargo-crates > Makefile.crates
36
44
37
CARGO_FEATURES=	mysql postgresql sqlite #vendored_openssl
45
CARGO_FEATURES=	--no-default-features
38
#CARGO_ENV+=	RUSTC_BOOTSTRAP=1
46
#CARGO_ENV+=	RUSTC_BOOTSTRAP=1
39
47
40
INSTALL_TARGET=	install-strip
48
INSTALL_TARGET=	install-strip

Return to bug 274049