aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-23 17:56:54 +0800
committerbapt <bapt@FreeBSD.org>2014-09-23 17:56:54 +0800
commit891054b50b0c7cc127e967a024627b8bb7902f03 (patch)
tree89431b72c6989887dad39e6f17c6977be33f79c1
parent34f1a5156e3fa0a61dc284a9ba7e752accaf3ef3 (diff)
downloadfreebsd-ports-gnome-891054b50b0c7cc127e967a024627b8bb7902f03.tar.gz
freebsd-ports-gnome-891054b50b0c7cc127e967a024627b8bb7902f03.tar.zst
freebsd-ports-gnome-891054b50b0c7cc127e967a024627b8bb7902f03.zip
Simplify plist
-rw-r--r--mail/nullmailer/pkg-plist28
1 files changed, 5 insertions, 23 deletions
diff --git a/mail/nullmailer/pkg-plist b/mail/nullmailer/pkg-plist
index 51963d4106cf..1a4e00069053 100644
--- a/mail/nullmailer/pkg-plist
+++ b/mail/nullmailer/pkg-plist
@@ -1,14 +1,10 @@
libexec/nullmailer/smtp
libexec/nullmailer/qmqp
-libexec/nullmailer/mailq
-@exec chmod u+s %D/libexec/nullmailer/mailq
-@exec chown %%NULLMAIL_USER%% %D/libexec/nullmailer/mailq
+@(%%NULLMAIL_USER%%,,2555) libexec/nullmailer/mailq
libexec/nullmailer/sendmail
bin/nullmailer-inject
bin/nullmailer-smtpd
-sbin/nullmailer-queue
-@exec chmod u+s %D/sbin/nullmailer-queue
-@exec chown %%NULLMAIL_USER%% %D/sbin/nullmailer-queue
+@(%%NULLMAIL_USER%%,,2555) sbin/nullmailer-queue
sbin/nullmailer-send
man/man1/nullmailer-inject.1.gz
man/man1/sendmail.1.gz
@@ -17,20 +13,6 @@ man/man8/nullmailer-queue.8.gz
man/man8/nullmailer-send.8.gz
%%ETCDIR%%/me.sample
%%ETCDIR%%/remotes.sample
-@dirrm libexec/nullmailer
-@dirrmtry %%ETCDIR%%
-@cwd /
-@exec mkdir -p %%LOCALSTATEDIR%%/nullmailer/queue
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer
-@exec chmod 700 %%LOCALSTATEDIR%%/nullmailer/queue
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/queue
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer/queue
-@exec mkdir -p %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec chmod 700 %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/tmp
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec mkfifo %%LOCALSTATEDIR%%/nullmailer/trigger
-@exec chmod 600 %%LOCALSTATEDIR%%/nullmailer/trigger
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/trigger
-@unexec rm -f %%LOCALSTATEDIR%%/nullmailer/trigger
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer
+@dir(%%NULLMAIL_USER%%,%%NULLMAIL_USER%%,700) %%LOCALSTATEDIR%%/nullmailer/queue
+@dir(%%NULLMAIL_USER%%,%%NULLMAIL_USER%%,700) %%LOCALSTATEDIR%%/nullmailer/tmp
+@dir %%LOCALSTATEDIR%%/nullmailer