From owner-dev-commits-ports-main@freebsd.org Sun Sep 19 15:06:08 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2E1466C778; Sun, 19 Sep 2021 15:06:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HC9xW6KFCz4ZZc; Sun, 19 Sep 2021 15:06:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B4C001F2E3; Sun, 19 Sep 2021 15:06:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18JF673m074379; Sun, 19 Sep 2021 15:06:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18JF67gT074378; Sun, 19 Sep 2021 15:06:07 GMT (envelope-from git) Date: Sun, 19 Sep 2021 15:06:07 GMT Message-Id: <202109191506.18JF67gT074378@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 927ce5e7150f - main - security/logcheck: Set group of directories under ETCDIR properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 927ce5e7150f2e760a4701fa302b79e7736958c8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2021 15:06:08 -0000 The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=927ce5e7150f2e760a4701fa302b79e7736958c8 commit 927ce5e7150f2e760a4701fa302b79e7736958c8 Author: Dan Langille AuthorDate: 2021-09-19 15:04:34 +0000 Commit: Dan Langille 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 (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 {} +