Bug 265288 - security/vaultwarden: update to 1.25.1 & web vault to v2022.6.2
Summary: security/vaultwarden: update to 1.25.1 & web vault to v2022.6.2
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: https://github.com/dani-garcia/vaultw...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-18 08:11 UTC by Ralf van der Enden
Modified: 2022-10-18 12:16 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mr)


Attachments
Update vaultwarden to 1.25.1 & web vault to v2022.6.2 (93.50 KB, patch)
2022-07-18 08:11 UTC, Ralf van der Enden
tremere: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2022-07-18 08:11:37 UTC
Created attachment 235325 [details]
Update vaultwarden to 1.25.1 & web vault to v2022.6.2

Q&A:
poudriere: testport ok (13.1-RELEASE;amd64)
Makefile portclippy/portmft processed
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2022-07-20 07:11:15 UTC
More simplification:

@@ -440,9 +386,7 @@ CARGO_CRATES=       addr2line-0.17.0 \

 post-install:
        ${MKDIR} ${STAGEDIR}/${ETCDIR}/rc.conf.d
-       ${CP} ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample
-       ${CHMOD} 0600 ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample
-       ${MKDIR} ${STAGEDIR}/${WWWDIR}
+       ${INSTALL} -m0600 ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample
        ${MKDIR} ${STAGEDIR}/${WWWDIR}/data
        (cd ${WRKDIR} && ${COPYTREE_SHARE} web-vault ${STAGEDIR}/${WWWDIR})
        ${ECHO_CMD} \


cp / chmod can be replaced by install
mkdir implies -p
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-07-21 20:21:41 UTC
A commit in branch main references this bug:

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

commit ceb328b320fa8c86d7e695892ddf6be9058f01fb
Author:     Michael Reifenberger <mr@FreeBSD.org>
AuthorDate: 2022-07-21 20:18:01 +0000
Commit:     Michael Reifenberger <mr@FreeBSD.org>
CommitDate: 2022-07-21 20:20:53 +0000

    security/vaultwarden: Update

    Update to 1.25.1 & web vault to v2022.6.2
    Add simplification from brnrd@

    PR:             265288
    Reported by:     Ralf van der Enden

 security/vaultwarden/Makefile  | 772 +++++++++++++++++++----------------------
 security/vaultwarden/distinfo  | 500 +++++++++++---------------
 security/vaultwarden/pkg-plist |   8 +-
 3 files changed, 555 insertions(+), 725 deletions(-)