diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-02-14 12:37:58 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-02-14 12:39:41 +0000 |
commit | f8bbc28c4040edafe99a2672808247a72b473165 (patch) | |
tree | 583a11f40f5e64ea05f4f9d3133505799612e0e4 /security/vaultwarden | |
parent | d798052af48141b2b7ce9b2f3b67f02ec49ff30b (diff) | |
download | ports-f8bbc28c4040edafe99a2672808247a72b473165.tar.gz ports-f8bbc28c4040edafe99a2672808247a72b473165.zip |
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
Diffstat (limited to 'security/vaultwarden')
-rw-r--r-- | security/vaultwarden/Makefile | 1 | ||||
-rw-r--r-- | security/vaultwarden/pkg-plist | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile index b738dd7bb6ae..a9bf2e5b66d1 100644 --- a/security/vaultwarden/Makefile +++ b/security/vaultwarden/Makefile @@ -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} diff --git a/security/vaultwarden/pkg-plist b/security/vaultwarden/pkg-plist index 4646c5a8a573..7255bbe8daa1 100644 --- a/security/vaultwarden/pkg-plist +++ b/security/vaultwarden/pkg-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 |