Bug 270182 - security/vaultwarden: Update to 1.28.0
Summary: security/vaultwarden: Update to 1.28.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Michael Reifenberger
URL:
Keywords:
: 269143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-13 18:22 UTC by Bernard Spil
Modified: 2023-04-10 09:02 UTC (History)
2 users (show)

See Also:


Attachments
git diff for security/vaultwarden (13.97 KB, text/plain)
2023-03-13 18:22 UTC, Bernard Spil
no flags Details
www/vaultwarden_web-vault: Makefile (1020 bytes, text/plain)
2023-03-13 18:24 UTC, Bernard Spil
no flags Details
git diff for security/vaultwarden (13.70 KB, patch)
2023-03-13 18:31 UTC, Bernard Spil
no flags Details | Diff
git diff for security/vaultwarden (12.90 KB, patch)
2023-03-23 13:48 UTC, Bernard Spil
no flags Details | Diff
www/vaultwarden_web-vault: Makefile (801 bytes, text/plain)
2023-03-23 13:49 UTC, Bernard Spil
no flags Details
git diff for security/vaultwarden (118.77 KB, patch)
2023-03-27 19:46 UTC, Bernard Spil
brnrd: maintainer-approval?
Details | Diff
unified diffs for www/vaultwarden-web_vault (1.50 KB, patch)
2023-03-27 19:47 UTC, Bernard Spil
brnrd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2023-03-13 18:22:42 UTC
Created attachment 240825 [details]
git diff for security/vaultwarden

```
security/vaultwarden: Split web-vault from port

PR:
```

The web-vault updates more often than the port, the security/vaultwarden port does not require rebuild when the web-vault static content updates.

The www/vaultwarden_web-vault port no longer needs a PLIST update when the version is bumped, simplifying maintenance.
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2023-03-13 18:24:24 UTC
Created attachment 240826 [details]
www/vaultwarden_web-vault: Makefile
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2023-03-13 18:31:47 UTC
Created attachment 240827 [details]
git diff for security/vaultwarden
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2023-03-23 13:48:02 UTC
Created attachment 241066 [details]
git diff for security/vaultwarden

%%WWWDIR%%/data belongs to the application, not webvault
Comment 4 Bernard Spil freebsd_committer freebsd_triage 2023-03-23 13:49:06 UTC
Created attachment 241067 [details]
www/vaultwarden_web-vault: Makefile

Update web-vault to 2023.3.0
Comment 5 Adrien 2023-03-27 17:58:42 UTC
Hi, 
1.28.0 has been released, and it comes with 2023.3.0b

Maybe it would be nice to add a comment about not updating web_vault independently of vaultwarden (see #268534 and https://github.com/dani-garcia/vaultwarden/discussions/2992) 

Also, while improving maintenance, couldn't we separate crates list to another file ? It would be easier to update them ;).

BR,
Adrien
Comment 6 Bernard Spil freebsd_committer freebsd_triage 2023-03-27 19:46:32 UTC
Created attachment 241146 [details]
git diff for security/vaultwarden

Update vaultwarden to 1.28.0
Comment 7 Bernard Spil freebsd_committer freebsd_triage 2023-03-27 19:47:41 UTC
Created attachment 241147 [details]
unified diffs for www/vaultwarden-web_vault

Update web_vault to 2023.3.0b
Comment 8 Bernard Spil freebsd_committer freebsd_triage 2023-03-27 19:48:39 UTC
(In reply to Adrien from comment #5)

I'll leave that up to mr@

Not a big deal to move the CARGO_CRATES block around after a `make cargo-crates >> Makefile`
Comment 9 Bernard Spil freebsd_committer freebsd_triage 2023-03-27 19:50:24 UTC
```
security/vaultwarden: Update to 1.28.0

 * Split web-vault from port
 * Add www/vaultwarden-web_vault port
 * Update web_vault to 2023.3.0

PR: 270182
```
Comment 10 Bernard Spil freebsd_committer freebsd_triage 2023-03-30 08:48:14 UTC
*** Bug 269143 has been marked as a duplicate of this bug. ***
Comment 11 commit-hook freebsd_committer freebsd_triage 2023-04-10 08:56:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bca4679da23222723044294d4e7707081c3ddb1f

commit bca4679da23222723044294d4e7707081c3ddb1f
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-04-10 08:55:30 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-04-10 08:55:30 +0000

    security/vaultwarden: Update to 1.28.0

     * Split web_vault into separate port

    PR:             270182
    Approved by:    Maintainer timeout

 security/vaultwarden/Makefile             | 745 +++++++++++++++---------------
 security/vaultwarden/distinfo             | 738 +++++++++++++++--------------
 security/vaultwarden/pkg-plist            | 217 ---------
 www/Makefile                              |   1 +
 www/vaultwarden-web_vault/Makefile (new)  |  29 ++
 www/vaultwarden-web_vault/distinfo (new)  |   3 +
 www/vaultwarden-web_vault/pkg-descr (new) |   2 +
 7 files changed, 801 insertions(+), 934 deletions(-)