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:
Dan Langille
2021-09-19 15:04:34 +00:00
parent c8a1369f88
commit 927ce5e715
2 changed files with 2 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
PORTNAME= logcheck
PORTVERSION= 1.3.23
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}

View File

@@ -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 {} +