git: 77489323af09 - main - security/vaultwarden: Change file permissions of rc.conf.d/vaultwarden

From: Michael Reifenberger <mr_at_FreeBSD.org>
Date: Fri, 15 Jul 2022 11:35:45 UTC
The branch main has been updated by mr:

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

commit 77489323af09b8953e6822456779a1aa1afe54dc
Author:     Michael Reifenberger <mr@FreeBSD.org>
AuthorDate: 2022-07-15 11:32:22 +0000
Commit:     Michael Reifenberger <mr@FreeBSD.org>
CommitDate: 2022-07-15 11:32:22 +0000

    security/vaultwarden: Change file permissions of rc.conf.d/vaultwarden
    
    Change file permissions of rc.conf.d/vaultwarden to 0600
    While at it:
    Update web vault to v2022.6.0
    
    PR:             264847
    Reported by:    mp@
---
 security/vaultwarden/Makefile  |  6 ++--
 security/vaultwarden/distinfo  |  6 ++--
 security/vaultwarden/pkg-plist | 63 +++++++++++++++++++++++-------------------
 3 files changed, 40 insertions(+), 35 deletions(-)

diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile
index 75a42b7df72b..7650e64c2e47 100644
--- a/security/vaultwarden/Makefile
+++ b/security/vaultwarden/Makefile
@@ -2,8 +2,7 @@
 
 PORTNAME=	vaultwarden
 DISTVERSION=	1.25.0
-PORTREVISION=	2
-#PORTREVISION=	1
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/dani-garcia/bw_web_builds/releases/download/v${DISTVERSION_WV}/:web
 DISTFILES=	${WV_DISTFILE}:web
@@ -20,7 +19,7 @@ LIB_DEPENDS+=	libnettle.so:security/nettle
 
 USES=		cargo ssl pgsql mysql:client
 
-DISTVERSION_WV=	2.28.1
+DISTVERSION_WV=	2022.6.0
 WV_DISTFILE=	bw_web_v${DISTVERSION_WV}.tar.gz
 USE_RC_SUBR=	${PORTNAME}
 SUB_FILES=	pkg-message
@@ -442,6 +441,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}
 	${MKDIR} ${STAGEDIR}/${WWWDIR}/data
 	(cd ${WRKDIR} && ${COPYTREE_SHARE} web-vault ${STAGEDIR}/${WWWDIR})
diff --git a/security/vaultwarden/distinfo b/security/vaultwarden/distinfo
index 78a672990398..0529ce0ef217 100644
--- a/security/vaultwarden/distinfo
+++ b/security/vaultwarden/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1653335573
-SHA256 (bw_web_v2.28.1.tar.gz) = c477fe948a07469e70926c194ace0c7d1988288d18cb799febf3adf2abe92c24
-SIZE (bw_web_v2.28.1.tar.gz) = 8857182
+TIMESTAMP = 1657883752
+SHA256 (bw_web_v2022.6.0.tar.gz) = fd92f147cee22cbc395650bed11a9a0d470ee1a7814f80638b113722847007bb
+SIZE (bw_web_v2022.6.0.tar.gz) = 9293497
 SHA256 (rust/crates/addr2line-0.17.0.crate) = b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b
 SIZE (rust/crates/addr2line-0.17.0.crate) = 32260
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
diff --git a/security/vaultwarden/pkg-plist b/security/vaultwarden/pkg-plist
index 436c4b5e0a90..ce0782b52526 100644
--- a/security/vaultwarden/pkg-plist
+++ b/security/vaultwarden/pkg-plist
@@ -1,5 +1,5 @@
 bin/vaultwarden
-@sample etc/rc.conf.d/vaultwarden.sample
+etc/rc.conf.d/vaultwarden.sample
 etc/rc.d/vaultwarden
 %%WWWDIR%%/web-vault/.nojekyll
 %%WWWDIR%%/web-vault/404.html
@@ -7,39 +7,39 @@ etc/rc.d/vaultwarden
 %%WWWDIR%%/web-vault/404/styles.css
 %%WWWDIR%%/web-vault/70501c97b33df95adb32.json
 %%WWWDIR%%/web-vault/app-id.json
-%%WWWDIR%%/web-vault/app/main.f41b38d53bc6a993aee8.js
-%%WWWDIR%%/web-vault/app/main.f41b38d53bc6a993aee8.js.map
-%%WWWDIR%%/web-vault/app/main.ff15047d4cd7f141acd4.css
-%%WWWDIR%%/web-vault/app/main.ff15047d4cd7f141acd4.css.map
-%%WWWDIR%%/web-vault/app/polyfills.d92dcdb0a986e964fec8.js
-%%WWWDIR%%/web-vault/app/polyfills.d92dcdb0a986e964fec8.js.LICENSE.txt
-%%WWWDIR%%/web-vault/app/polyfills.d92dcdb0a986e964fec8.js.map
-%%WWWDIR%%/web-vault/app/vendor.77b46fff69ec9c91f4e5.js
-%%WWWDIR%%/web-vault/app/vendor.77b46fff69ec9c91f4e5.js.LICENSE.txt
-%%WWWDIR%%/web-vault/app/vendor.77b46fff69ec9c91f4e5.js.map
+%%WWWDIR%%/web-vault/app/main.bd475a6b5f200ae225e5.css
+%%WWWDIR%%/web-vault/app/main.bd475a6b5f200ae225e5.css.map
+%%WWWDIR%%/web-vault/app/main.e1d1e2280fea1a72e8c0.js
+%%WWWDIR%%/web-vault/app/main.e1d1e2280fea1a72e8c0.js.map
+%%WWWDIR%%/web-vault/app/polyfills.2f6b3e68c5cef70d796f.js
+%%WWWDIR%%/web-vault/app/polyfills.2f6b3e68c5cef70d796f.js.LICENSE.txt
+%%WWWDIR%%/web-vault/app/polyfills.2f6b3e68c5cef70d796f.js.map
+%%WWWDIR%%/web-vault/app/vendor.635edc6b2773ff01d68c.js
+%%WWWDIR%%/web-vault/app/vendor.635edc6b2773ff01d68c.js.LICENSE.txt
+%%WWWDIR%%/web-vault/app/vendor.635edc6b2773ff01d68c.js.map
 %%WWWDIR%%/web-vault/browserconfig.xml
 %%WWWDIR%%/web-vault/captcha-connector.html
 %%WWWDIR%%/web-vault/captcha-mobile-connector.html
-%%WWWDIR%%/web-vault/connectors/captcha.203f7bcb29bf1ebbdd69.js
-%%WWWDIR%%/web-vault/connectors/captcha.203f7bcb29bf1ebbdd69.js.map
-%%WWWDIR%%/web-vault/connectors/captcha.74adf06ff4c445a04590.css
-%%WWWDIR%%/web-vault/connectors/captcha.74adf06ff4c445a04590.css.map
+%%WWWDIR%%/web-vault/connectors/captcha.85e69d8be078efe490cf.css
+%%WWWDIR%%/web-vault/connectors/captcha.85e69d8be078efe490cf.css.map
+%%WWWDIR%%/web-vault/connectors/captcha.a111ae84c011ccd106f0.js
+%%WWWDIR%%/web-vault/connectors/captcha.a111ae84c011ccd106f0.js.map
 %%WWWDIR%%/web-vault/connectors/duo.03d3232066d89682b1ee.css
 %%WWWDIR%%/web-vault/connectors/duo.03d3232066d89682b1ee.css.map
-%%WWWDIR%%/web-vault/connectors/duo.a6f1c5c588d82573ece1.js
-%%WWWDIR%%/web-vault/connectors/duo.a6f1c5c588d82573ece1.js.map
-%%WWWDIR%%/web-vault/connectors/sso.0f8c449a83a2674028e8.css
-%%WWWDIR%%/web-vault/connectors/sso.0f8c449a83a2674028e8.css.map
-%%WWWDIR%%/web-vault/connectors/sso.b7061ac2d48d6f00d606.js
-%%WWWDIR%%/web-vault/connectors/sso.b7061ac2d48d6f00d606.js.map
-%%WWWDIR%%/web-vault/connectors/webauthn-fallback.24b800f9ca818ff119b1.js
-%%WWWDIR%%/web-vault/connectors/webauthn-fallback.24b800f9ca818ff119b1.js.map
-%%WWWDIR%%/web-vault/connectors/webauthn-fallback.4af40b184c14041b8704.css
-%%WWWDIR%%/web-vault/connectors/webauthn-fallback.4af40b184c14041b8704.css.map
-%%WWWDIR%%/web-vault/connectors/webauthn.23cf804cd44e7c534791.js
-%%WWWDIR%%/web-vault/connectors/webauthn.23cf804cd44e7c534791.js.map
-%%WWWDIR%%/web-vault/connectors/webauthn.4af40b184c14041b8704.css
-%%WWWDIR%%/web-vault/connectors/webauthn.4af40b184c14041b8704.css.map
+%%WWWDIR%%/web-vault/connectors/duo.6df903fad439e668a2d6.js
+%%WWWDIR%%/web-vault/connectors/duo.6df903fad439e668a2d6.js.map
+%%WWWDIR%%/web-vault/connectors/sso.3e58297e1e9fa274f91c.js
+%%WWWDIR%%/web-vault/connectors/sso.3e58297e1e9fa274f91c.js.map
+%%WWWDIR%%/web-vault/connectors/sso.f9bb62a792028198e6bb.css
+%%WWWDIR%%/web-vault/connectors/sso.f9bb62a792028198e6bb.css.map
+%%WWWDIR%%/web-vault/connectors/webauthn-fallback.7f59f3063fbff194f544.css
+%%WWWDIR%%/web-vault/connectors/webauthn-fallback.7f59f3063fbff194f544.css.map
+%%WWWDIR%%/web-vault/connectors/webauthn-fallback.fa51791826ba7563f5c7.js
+%%WWWDIR%%/web-vault/connectors/webauthn-fallback.fa51791826ba7563f5c7.js.map
+%%WWWDIR%%/web-vault/connectors/webauthn.7f59f3063fbff194f544.css
+%%WWWDIR%%/web-vault/connectors/webauthn.7f59f3063fbff194f544.css.map
+%%WWWDIR%%/web-vault/connectors/webauthn.b35ed6af52cfea7081b1.js
+%%WWWDIR%%/web-vault/connectors/webauthn.b35ed6af52cfea7081b1.js.map
 %%WWWDIR%%/web-vault/duo-connector.html
 %%WWWDIR%%/web-vault/favicon.ico
 %%WWWDIR%%/web-vault/fonts/Open_Sans-italic-300.woff
@@ -102,6 +102,8 @@ etc/rc.d/vaultwarden
 %%WWWDIR%%/web-vault/images/register-layout/logo-horizontal-white.svg
 %%WWWDIR%%/web-vault/images/register-layout/usnews-360-badge.svg
 %%WWWDIR%%/web-vault/images/register-layout/wired-logo.png
+%%WWWDIR%%/web-vault/images/ru_pay-dark.png
+%%WWWDIR%%/web-vault/images/ru_pay-light.png
 %%WWWDIR%%/web-vault/images/safari-pinned-tab.svg
 %%WWWDIR%%/web-vault/images/totp-countdown.png
 %%WWWDIR%%/web-vault/images/two-factor/0.png
@@ -130,6 +132,7 @@ etc/rc.d/vaultwarden
 %%WWWDIR%%/web-vault/images/yubikey.webp
 %%WWWDIR%%/web-vault/index.html
 %%WWWDIR%%/web-vault/locales/af/messages.json
+%%WWWDIR%%/web-vault/locales/ar/messages.json
 %%WWWDIR%%/web-vault/locales/az/messages.json
 %%WWWDIR%%/web-vault/locales/be/messages.json
 %%WWWDIR%%/web-vault/locales/bg/messages.json
@@ -174,6 +177,8 @@ etc/rc.d/vaultwarden
 %%WWWDIR%%/web-vault/locales/sk/messages.json
 %%WWWDIR%%/web-vault/locales/sl/messages.json
 %%WWWDIR%%/web-vault/locales/sr/messages.json
+%%WWWDIR%%/web-vault/locales/sr_CS/messages.json
+%%WWWDIR%%/web-vault/locales/sr_CY/messages.json
 %%WWWDIR%%/web-vault/locales/sv/messages.json
 %%WWWDIR%%/web-vault/locales/tr/messages.json
 %%WWWDIR%%/web-vault/locales/uk/messages.json