aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-23 17:39:20 +0800
committerbapt <bapt@FreeBSD.org>2014-09-23 17:39:20 +0800
commitca17d454be72dc6fa9c21f02d8fe8de0eba6eeb2 (patch)
tree18153ea0b17bf676856456e664240ecdc3f56162
parentd894c921c9c46335cb9e5b94b9c3dcc00b253378 (diff)
downloadfreebsd-ports-gnome-ca17d454be72dc6fa9c21f02d8fe8de0eba6eeb2.tar.gz
freebsd-ports-gnome-ca17d454be72dc6fa9c21f02d8fe8de0eba6eeb2.tar.zst
freebsd-ports-gnome-ca17d454be72dc6fa9c21f02d8fe8de0eba6eeb2.zip
Simplify plist
-rw-r--r--security/logcheck/pkg-plist20
1 files changed, 2 insertions, 18 deletions
diff --git a/security/logcheck/pkg-plist b/security/logcheck/pkg-plist
index a3ea77dba2d3..6baa5fc6f1b1 100644
--- a/security/logcheck/pkg-plist
+++ b/security/logcheck/pkg-plist
@@ -200,21 +200,5 @@ sbin/logcheck
sbin/logtail
sbin/logtail2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.in
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-@dirrm %%ETCDIR%%/violations.ignore.d
-@dirrm %%ETCDIR%%/violations.d
-@dirrm %%ETCDIR%%/ignore.d.workstation
-@dirrm %%ETCDIR%%/ignore.d.server
-@dirrm %%ETCDIR%%/ignore.d.paranoid
-@dirrm %%ETCDIR%%/cracking.d
-@dirrm %%ETCDIR%%
-@dirrm %%DATADIR%%/detectrotate
-@dirrm %%DATADIR%%
-@cwd /
-@exec mkdir -p %%DBDIR%%
-@exec chown %%LOGCHECK_USER%%:%%LOGCHECK_GROUP%% %%DBDIR%%
-@dirrmtry %%DBDIR%%
-@exec mkdir -p %%RUNDIR%%
-@exec chown %%LOGCHECK_USER%%:%%LOGCHECK_GROUP%% %%RUNDIR%%
-@dirrmtry %%RUNDIR%%
-@cwd
+@dir(%%LOGCHECK_USER%%,%%LOGCHECK_GROUP%%,) %%DBDIR%%
+@dir(%%LOGCHECK_USER%%,%%LOGCHECK_GROUP%%,) %%RUNDIR%%