aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2021-09-19 15:04:34 +0000
committerDan Langille <dvl@FreeBSD.org>2021-09-19 15:06:04 +0000
commit927ce5e7150f2e760a4701fa302b79e7736958c8 (patch)
tree93e0fdbeae4aa27afd0f3f82a7ee58b4f9b87d5d
parentc8a1369f883c6232b6a04bbfd738e2a3b2ab0ed4 (diff)
downloadports-927ce5e7150f2e760a4701fa302b79e7736958c8.tar.gz
ports-927ce5e7150f2e760a4701fa302b79e7736958c8.zip
security/logcheck: Set group of directories under ETCDIR properly
This fixes bug of previous commit f026865e514a. PR: 257980 Reported by: Yasuhiro Kimura <yasu@utahime.org> (maintainer)
-rw-r--r--security/logcheck/Makefile2
-rw-r--r--security/logcheck/pkg-plist1
2 files changed, 2 insertions, 1 deletions
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 {} +