Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2021 15:06:07 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 927ce5e7150f - main - security/logcheck: Set group of directories under ETCDIR properly
Message-ID:  <202109191506.18JF67gT074378@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

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

commit 927ce5e7150f2e760a4701fa302b79e7736958c8
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-09-19 15:04:34 +0000
Commit:     Dan Langille <dvl@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@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%%
+@postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHGRP%% %%LOGCHECK_GROUP%% {} +
 @postexec %%FIND%% %%PREFIX%%/%%ETCDIR%%/* -type d -exec %%CHMOD%% 750 {} +



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109191506.18JF67gT074378>