From cd2754db9ab31bcb39de6e03a7fac14ee6764751 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Sat, 21 Aug 2021 16:55:43 +0900 Subject: [PATCH] security/logcheck: Set group of directories under ETCDIR properly Set group of directories under ETCDIR properly. This fixes bug of previous commit f026865e514a. --- security/logcheck/Makefile | 2 +- security/logcheck/pkg-plist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 3708ef28983f..aa31dacd47ad 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -2,7 +2,7 @@ PORTNAME= logcheck PORTVERSION= 1.3.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/security/logcheck/pkg-plist b/security/logcheck/pkg-plist index cfc1e81ba9b1..f97d5789f52b 100644 --- a/security/logcheck/pkg-plist +++ b/security/logcheck/pkg-plist @@ -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 {} + -- 2.33.0