Summary: | security/vaultwarden: Database backend options | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tobias Bölz <freebsd-bugs> | ||||||
Component: | Individual Port(s) | Assignee: | Michael Reifenberger <mr> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | brnrd | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(mr) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 245784 [details]
git diff for security/vaultwarden
Update the patch somewhat
1. Database options have default _DESC in Mk/bsd.options.desc.mk
2. Missing _DESC for the OPTIONS_MULTI_DATABASE
3. VARS are converted to uppercase by default
4. No =yes on OPT_USE
pls test and let me know outcome. Works fine for me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=687ab26524e52c866295a9ff5c7956fd5f71397f commit 687ab26524e52c866295a9ff5c7956fd5f71397f Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2023-11-08 13:25:53 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2023-11-08 13:25:53 +0000 security/vaultwarden: Optionsize database backends PR: 274049 Approved by: maintainer timeout security/vaultwarden/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f5bbb33f2a2ae9d0a25bc4d0ca89e15a921d16c commit 4f5bbb33f2a2ae9d0a25bc4d0ca89e15a921d16c Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2023-11-12 10:57:13 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2023-11-12 10:57:13 +0000 security/vaultwarden: Optionsify database backends * redo 687ab26524e52c866295a9ff5c7956fd5f71397f [1] * was reverted with 04ea2d6456297a759d2c3a887aa2001049397d7b [2] PR: 274049 [1], 274962 [2] security/vaultwarden/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) |
Created attachment 245165 [details] Database backend options Unlike other ports, security/vaultwarden is always built with support for all supported databases (SQLite, MySQL, and PostgreSQL). The suggested change (see attached patch) would allow users to deselect unused database backends, thus avoiding unnecessary dependencies.