aboutsummaryrefslogtreecommitdiff
path: root/security/logcheck/pkg-plist
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@utahime.org>2021-08-09 17:26:58 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-08-10 03:47:19 +0000
commitf026865e514ab4a99cafa63c99439b40f68d0f58 (patch)
tree4adfc67ad4a764d55746a759b2c0cac8c17ba798 /security/logcheck/pkg-plist
parenta5bd3edbfb4991f75ec5f2a5580e164f5e977fb4 (diff)
downloadports-f026865e514ab4a99cafa63c99439b40f68d0f58.tar.gz
ports-f026865e514ab4a99cafa63c99439b40f68d0f58.zip
security/logcheck: Miscellaneous changes and cleanups
* Replace deprecated @exec keyword with @postexec in plist. * Make owner/group/permission of files/directories under ${DATADIR} and ${ETCDIR} same as upstream as much as possible. * Pet portclippy. * Reformat Makefile with portfmt. PR: 257718 MFH: 2021Q3
Diffstat (limited to 'security/logcheck/pkg-plist')
-rw-r--r--security/logcheck/pkg-plist5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/logcheck/pkg-plist b/security/logcheck/pkg-plist
index bb689ebe7180..cfc1e81ba9b1 100644
--- a/security/logcheck/pkg-plist
+++ b/security/logcheck/pkg-plist
@@ -1,7 +1,7 @@
-@mode 640
%%DATADIR%%/detectrotate/10-savelog.dtr
%%DATADIR%%/detectrotate/20-logrotate.dtr
%%DATADIR%%/detectrotate/30-logrotate-dateext.dtr
+@group %%LOGCHECK_GROUP%%
%%ETCDIR%%/cracking.d/kernel
%%ETCDIR%%/cracking.d/rlogind
%%ETCDIR%%/cracking.d/rsh
@@ -194,7 +194,7 @@
%%ETCDIR%%/violations.ignore.d/logcheck-sudo
@sample %%ETCDIR%%/logcheck.conf.sample
@sample %%ETCDIR%%/logcheck.logfiles.sample
-@mode
+@group
bin/logcheck-test
man/man1/logcheck-test.1.gz
man/man8/logcheck.8.gz
@@ -206,3 +206,4 @@ 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 %%CHMOD%% 750 {} +