security/logcheck: Set group of directories under ETCDIR properly
This fixes bug of previous commit f026865e51.
PR: 257980
Reported by: Yasuhiro Kimura <yasu@utahime.org> (maintainer)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= logcheck
|
||||
PORTVERSION= 1.3.23
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= DEBIAN_POOL
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
@@ -206,4 +206,5 @@ sbin/logtail2
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.in
|
||||
@dir(%%LOGCHECK_USER%%,%%LOGCHECK_GROUP%%,) %%DBDIR%%
|
||||
@dir(%%LOGCHECK_USER%%,%%LOGCHECK_GROUP%%,) %%RUNDIR%%
|
||||
@postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHGRP%% %%LOGCHECK_GROUP%% {} +
|
||||
@postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHMOD%% 750 {} +
|
||||
|
||||
Reference in New Issue
Block a user