Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= vaultwarden |
3 |
PORTNAME= vaultwarden |
4 |
DISTVERSION= 1.21.0 |
4 |
DISTVERSION= 1.21.0 |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= security |
6 |
CATEGORIES= security |
7 |
MASTER_SITES= https://github.com/dani-garcia/bw_web_builds/releases/download/v${DISTVERSION_WV}/:web |
7 |
MASTER_SITES= https://github.com/dani-garcia/bw_web_builds/releases/download/v${DISTVERSION_WV}/:web |
8 |
DISTFILES= ${WV_DISTFILE}:web |
8 |
DISTFILES= ${WV_DISTFILE}:web |
Lines 23-28
DISTVERSION_WV= 2.20.1
Link Here
|
23 |
WV_DISTFILE= bw_web_v${DISTVERSION_WV}.tar.gz |
23 |
WV_DISTFILE= bw_web_v${DISTVERSION_WV}.tar.gz |
24 |
USE_RC_SUBR= ${PORTNAME} |
24 |
USE_RC_SUBR= ${PORTNAME} |
25 |
SUB_FILES= pkg-message |
25 |
SUB_FILES= pkg-message |
|
|
26 |
SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
26 |
|
27 |
|
27 |
# make makeplist > pkg-plist #One has to edit/review the generated plist |
28 |
# make makeplist > pkg-plist #One has to edit/review the generated plist |
28 |
# make generate-plist && make check-plist |
29 |
# make generate-plist && make check-plist |
Lines 202-208
CARGO_CRATES= addr2line-0.14.1 \
Link Here
|
202 |
opaque-debug-0.3.0 \ |
203 |
opaque-debug-0.3.0 \ |
203 |
openssl-0.10.34 \ |
204 |
openssl-0.10.34 \ |
204 |
openssl-probe-0.1.2 \ |
205 |
openssl-probe-0.1.2 \ |
205 |
openssl-src-111.15.0+1.1.1k \ |
|
|
206 |
openssl-sys-0.9.62 \ |
206 |
openssl-sys-0.9.62 \ |
207 |
owning_ref-0.3.3 \ |
207 |
owning_ref-0.3.3 \ |
208 |
parity-ws-0.10.0 \ |
208 |
parity-ws-0.10.0 \ |
Lines 379-392
CARGO_CRATES= addr2line-0.14.1 \
Link Here
|
379 |
yubico-0.10.0 |
379 |
yubico-0.10.0 |
380 |
CARGO_USE_GITHUB= yes |
380 |
CARGO_USE_GITHUB= yes |
381 |
|
381 |
|
|
|
382 |
post-patch: |
383 |
${REINPLACE_CMD} 's/^vendored_openssl/#&/' ${WRKSRC}/Cargo.toml |
384 |
|
382 |
post-install: |
385 |
post-install: |
383 |
${MKDIR} ${STAGEDIR}/${ETCDIR}/rc.conf.d |
386 |
${MKDIR} ${STAGEDIR}/${ETCDIR}/rc.conf.d |
384 |
${CP} ${FILESDIR}/vaultwarden_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample |
387 |
${CP} ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample |
385 |
${MKDIR} ${STAGEDIR}/${WWWDIR} |
388 |
${MKDIR} ${STAGEDIR}/${WWWDIR} |
386 |
${MKDIR} ${STAGEDIR}/${WWWDIR}/data |
389 |
${MKDIR} ${STAGEDIR}/${WWWDIR}/data |
387 |
# ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}/data |
|
|
388 |
(cd ${WRKDIR} && ${COPYTREE_SHARE} web-vault ${STAGEDIR}/${WWWDIR}) |
390 |
(cd ${WRKDIR} && ${COPYTREE_SHARE} web-vault ${STAGEDIR}/${WWWDIR}) |
389 |
# @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/data' >> ${TMPPLIST} |
|
|
390 |
${ECHO_CMD} \ |
391 |
${ECHO_CMD} \ |
391 |
'@postexec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ |
392 |
'@postexec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ |
392 |
>> ${TMPPLIST} |
393 |
>> ${TMPPLIST} |