mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
security/vaultwarden: fix packaging
The ownership can and should only be done in the plist never directly in the make targets, make package should be executable as a regular user and this is the case in the cluster) PR: 276998 Reported by: freebsd@rail.eu.org
This commit is contained in:
parent
d798052af4
commit
f8bbc28c40
@ -68,7 +68,6 @@ CARGO_INSTALL_ARGS+= --config profile.release.strip=true
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}/${WWWDIR}/data
|
||||
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}/data
|
||||
# @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
||||
# @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
||||
# @${ECHO_CMD} "@mode 755" >> ${PLIST}
|
||||
|
@ -2,7 +2,4 @@ bin/vaultwarden
|
||||
etc/rc.conf.d/vaultwarden.sample
|
||||
etc/rc.d/vaultwarden
|
||||
@dir %%ETCDIR%%/rc.conf.d
|
||||
@owner www
|
||||
@group www
|
||||
@mode 755
|
||||
@dir %%WWWDIR%%/data
|
||||
@dir(www,www,755) %%WWWDIR%%/data
|
||||
|
Loading…
Reference in New Issue
Block a user