aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang/pkg-plist
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-10-27 16:49:27 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-10-27 16:49:27 +0000
commit6829d1a0ab537103f59dc3d26665de25583eebc5 (patch)
tree234c6534bb72dead6b76ed455b24eb947ddcb73f /mail/mimedefang/pkg-plist
parente2e8ee92bd4d26d22702bba1d104b6d5702707ee (diff)
downloadports-6829d1a0ab537103f59dc3d26665de25583eebc5.tar.gz
ports-6829d1a0ab537103f59dc3d26665de25583eebc5.zip
Notes
Diffstat (limited to 'mail/mimedefang/pkg-plist')
-rw-r--r--mail/mimedefang/pkg-plist27
1 files changed, 8 insertions, 19 deletions
diff --git a/mail/mimedefang/pkg-plist b/mail/mimedefang/pkg-plist
index eabcb775e0ef..3b1d45af2fdf 100644
--- a/mail/mimedefang/pkg-plist
+++ b/mail/mimedefang/pkg-plist
@@ -16,19 +16,9 @@ man/man8/mimedefang.8.gz
man/man8/mimedefang.pl.8.gz
man/man8/watch-mimedefang.8.gz
man/man8/watch-multiple-mimedefangs.8.gz
-@unexec if cmp -s %D/%%ETCDIR%%/mimedefang-ip-key %D/%%ETCDIR%%/mimedefang-ip-key.example; then rm -f %D/%%ETCDIR%%/mimedefang-ip-key; fi
-%%ETCDIR%%/mimedefang-ip-key.example
-@exec [ -f %B/mimedefang-ip-key ] || cp -p %D/%F %B/mimedefang-ip-key
-@unexec if cmp -s %D/%%ETCDIR%%/mimedefang-filter %D/%%ETCDIR%%/mimedefang-filter.example; then rm -f %D/%%ETCDIR%%/mimedefang-filter; fi
-%%ETCDIR%%/mimedefang-filter.example
-@exec [ -f %B/mimedefang-filter ] || cp -p %D/%F %B/mimedefang-filter
-@unexec if cmp -s %D/%%ETCDIR%%/sa-mimedefang.cf %D/%%ETCDIR%%/sa-mimedefang.cf.example; then rm -f %D/%%ETCDIR%%/sa-mimedefang.cf; fi
-%%ETCDIR%%/sa-mimedefang.cf.example
-@exec [ -f %B/sa-mimedefang.cf ] || cp -p %D/%F %B/sa-mimedefang.cf
-@exec [ -d %%MIMEDEFANG_RUNDIR%% ] || mkdir -p %%MIMEDEFANG_RUNDIR%%
-@exec chgrp %%MAIL_USER%% %%MIMEDEFANG_RUNDIR%%
-@exec [ -d %%MIMEDEFANG_QUARANTINEDIR%% ] || mkdir -p %%MIMEDEFANG_QUARANTINEDIR%%
-@exec chgrp %%MAIL_USER%% %%MIMEDEFANG_QUARANTINEDIR%%
+@sample %%ETCDIR%%/mimedefang-ip-key.sample
+@sample %%ETCDIR%%/mimedefang-filter.sample
+@sample %%ETCDIR%%/sa-mimedefang.cf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.SPAMASSASSIN
%%PORTDOCS%%%%DOCSDIR%%/README.SOPHIE
@@ -40,9 +30,8 @@ man/man8/watch-multiple-mimedefangs.8.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stream-by-domain-filter
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/suggested-minimum-filter-for-windows-clients
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry %%ETCDIR%%
-@cwd /var/spool
-@dirrm MIMEDefang
-@dirrm MD-Quarantine
+@dir %%PORTEXAMPLES%%%%EXAMPLESDIR%%
+@dir %%PORTDOCS%%%%DOCSDIR%%
+@dir %%ETCDIR%%
+@dir(%%USER%%,%%GROUP%%,710) %%MIMEDEFANG_RUNDIR%%
+@dir(%%USER%%,%%GROUP%%,700) %%MIMEDEFANG_QUARANTINEDIR%%