1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

security/vaultwarden: Small quality of life improvements

Put some additional notes into pkg-message.in and vaultwarden_conf.in

PR:             255912
Reported by:    Adrien freebsd@asdrip.fr
This commit is contained in:
Michael Reifenberger 2021-05-18 18:43:44 +02:00
parent b51013bd73
commit c001d9d349
3 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= vaultwarden
DISTVERSION= 1.21.0
#PORTREVISION= 1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/dani-garcia/bw_web_builds/releases/download/v${DISTVERSION_WV}/:web
DISTFILES= ${WV_DISTFILE}:web

View File

@ -2,12 +2,25 @@
{ type: install
message: <<EOM
Note to former bitwarden_rs user to update from bitwarden_rs to vaulwarden :
Stop and disable bitwarden_rs service
Copy %%PREFIX%%/etc/rc.conf.d/bitwarden_rs to %%PREFIX%%/etc/rc.conf.d/vaultwarden
Copy %%PREFIX%%/www/bitwarden_rs/data to %%PREFIX%%/www/vaultwarden/data
Enable and start vaultwarden service
---------------------------------------------------------------------------------------
Setup vaultwarden environment:
Copy %%PREFIX%%/etc/rc.conf.d/vaultwarden.sample to %%PREFIX%%/etc/rc.conf.d/vaultwarden
Adapt %%PREFIX%%/etc/rc.conf.d/vaultwarden to your needs.
Enable and start vaultwarden service
EOM
}
]

View File

@ -1,3 +1,6 @@
#Warning : Some of these settings may be overridden when changing settings on the admin page or in the config.json file
#located by default at: /usr/local/www/vaulwarden/data/config.json
ROCKET_ADDRESS=127.0.0.1
export ROCKET_ADDRESS