Bug 257980 - security/logcheck: Set group of directories under ETCDIR properly
Summary: security/logcheck: Set group of directories under ETCDIR properly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks: 258365
  Show dependency treegraph
 
Reported: 2021-08-21 08:16 UTC by Yasuhiro Kimura
Modified: 2021-09-19 15:34 UTC (History)
1 user (show)

See Also:


Attachments
Patch file (1.33 KB, patch)
2021-08-21 08:16 UTC, Yasuhiro Kimura
yasu: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-08-21 08:16:02 UTC
Created attachment 227352 [details]
Patch file

Set group of directories under ETCDIR properly.
This fixes bug of previous commit f026865e514a.
Comment 1 Dan Langille freebsd_committer freebsd_triage 2021-09-19 15:04:11 UTC
From a poudriere testport ... -i

root@13amd64-dvl:/usr/local/etc/logcheck # ls -l
total 26
drwxr-x---  2 root  logcheck   384 Sep 19 13:30 cracking.d
drwxr-x---  2 root  logcheck   960 Sep 19 13:30 ignore.d.paranoid
drwxr-x---  2 root  logcheck  8064 Sep 19 13:30 ignore.d.server
drwxr-x---  2 root  logcheck  2304 Sep 19 13:30 ignore.d.workstation
-rw-r--r--  1 root  logcheck  3092 Sep 19 13:30 logcheck.conf
-rw-r--r--  1 root  logcheck  3092 Sep 19 13:30 logcheck.conf.sample
-rw-r--r--  1 root  logcheck   133 Sep 19 13:30 logcheck.logfiles
-rw-r--r--  1 root  logcheck   133 Sep 19 13:30 logcheck.logfiles.sample
drwxr-x---  2 root  logcheck   320 Sep 19 13:30 violations.d
drwxr-x---  2 root  logcheck   128 Sep 19 13:30 violations.ignore.d
root@13amd64-dvl:/usr/local/etc/logcheck # ls -ld .
drwxr-xr-x  8 root  wheel  640 Sep 19 13:30 .
root@13amd64-dvl:/usr/local/etc/logcheck # 

Looks good to me.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-09-19 15:06:16 UTC
A commit in branch main references this bug:

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(-)