diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile index ead308e82788..87a05bcde814 100644 --- a/security/vaultwarden/Makefile +++ b/security/vaultwarden/Makefile @@ -1,55 +1,55 @@ PORTNAME= vaultwarden DISTVERSION= 1.28.1 -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= mr@FreeBSD.org COMMENT= Bitwarden compatible backend server WWW= https://github.com/dani-garcia/vaultwarden LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS+= libcapnp.so:devel/capnproto \ libgmp.so:math/gmp \ libnettle.so:security/nettle USES= cargo mysql:client pgsql ssl # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist USE_GITHUB= yes GH_ACCOUNT= dani-garcia USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= WEBVAULT OPTIONS_DEFAULT=WEBVAULT WEBVAULT_DESC= Vaultwarden web (bw_web_builds) -WEBVAULT_RUN_DEPENDS= ${WWWDIR}/web-vault:www/vaultwarden-web_vault +WEBVAULT_RUN_DEPENDS= ${WWWDIR}/web-vault/index.html:www/vaultwarden-web_vault # make cargo-crates > Makefile.crates CARGO_FEATURES= mysql postgresql sqlite #vendored_openssl #CARGO_ENV+= RUSTC_BOOTSTRAP=1 INSTALL_TARGET= install-strip SUB_FILES= pkg-message SUB_LIST= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} #post-patch: # ${REINPLACE_CMD} 's/^rust-version = "1.60"/rust-version = "1.59"/' \ # ${WRKSRC}/Cargo.toml post-install: ${MKDIR} ${STAGEDIR}/${ETCDIR}/rc.conf.d ${INSTALL} -m0600 ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample ${MKDIR} ${STAGEDIR}/${WWWDIR}/data ${ECHO_CMD} \ '@postexec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ >> ${TMPPLIST} .include