aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2014-09-04 15:49:01 +0800
committermartymac <martymac@FreeBSD.org>2014-09-04 15:49:01 +0800
commit831dd42f6d0e2804f4c70368fcd98dc8dcd9c33c (patch)
treed466cb4ce21f78a19757870873cc77fda2b5a7f3 /security
parent3ec4446aabb9cea32287b8bc511ee090646806d7 (diff)
downloadfreebsd-ports-gnome-831dd42f6d0e2804f4c70368fcd98dc8dcd9c33c.tar.gz
freebsd-ports-gnome-831dd42f6d0e2804f4c70368fcd98dc8dcd9c33c.tar.zst
freebsd-ports-gnome-831dd42f6d0e2804f4c70368fcd98dc8dcd9c33c.zip
Fix permissions (@group/@mode) handling
PR: 193063 Submitted by: amdmi3
Diffstat (limited to 'security')
-rw-r--r--security/vlock/Makefile6
-rw-r--r--security/vlock/pkg-plist5
2 files changed, 4 insertions, 7 deletions
diff --git a/security/vlock/Makefile b/security/vlock/Makefile
index bc30bf349e68..074ce8aeac3d 100644
--- a/security/vlock/Makefile
+++ b/security/vlock/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vlock
PORTVERSION= 2.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/
@@ -40,9 +40,7 @@ VLOCKMODULES= all.so new.so
# Vlock special group
VLOCK_GRP= vlock
GROUPS= ${VLOCK_GRP}
-PLIST_SUB+= VLOCK_GRP=${VLOCK_GRP} \
- SHAREMODE=${SHAREMODE} \
- SHAREGRP=${SHAREGRP}
+PLIST_SUB+= VLOCK_GRP=${VLOCK_GRP}
PORTDOCS= ChangeLog PLUGINS README README.X11 SECURITY TODO
diff --git a/security/vlock/pkg-plist b/security/vlock/pkg-plist
index 339d6c26f68f..76fb5dfd94c5 100644
--- a/security/vlock/pkg-plist
+++ b/security/vlock/pkg-plist
@@ -10,10 +10,9 @@ lib/vlock/modules/all.so
%%CACASAVER%%lib/vlock/modules/caca.so
@mode 4711
sbin/vlock-main
-@mode 0750
+@mode
@group %%VLOCK_GRP%%
lib/vlock/modules/new.so
-@mode %%SHAREMODE%%
-@group %%SHAREGRP%%
+@group wheel
@dirrm lib/vlock/modules
@dirrm lib/vlock