git: 927ce5e7150f - main - security/logcheck: Set group of directories under ETCDIR properly

Dan Langille dvl at FreeBSD.org
Sun Sep 19 15:06:08 UTC 2021


The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=927ce5e7150f2e760a4701fa302b79e7736958c8

commit 927ce5e7150f2e760a4701fa302b79e7736958c8
Author:     Dan Langille <dvl at FreeBSD.org>
AuthorDate: 2021-09-19 15:04:34 +0000
Commit:     Dan Langille <dvl at FreeBSD.org>
CommitDate: 2021-09-19 15:06:04 +0000

    security/logcheck: Set group of directories under ETCDIR properly
    
    This fixes bug of previous commit f026865e514a.
    
    PR:             257980
    Reported by:    Yasuhiro Kimura <yasu at utahime.org> (maintainer)
---
 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%%
+ at postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHGRP%% %%LOGCHECK_GROUP%% {} +
 @postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHMOD%% 750 {} +


More information about the dev-commits-ports-main mailing list