aboutsummaryrefslogtreecommitdiff
path: root/mail/rspamd
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2014-07-18 13:58:10 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2014-07-18 13:58:10 +0000
commit55e6467296bd5a4ecfa6bde491a95ce6801aab31 (patch)
treeb16e12572a96ebba471bebd4f594c74d57d4f763 /mail/rspamd
parent50e6275ec817705f786de625c1226d8400ea3833 (diff)
downloadports-55e6467296bd5a4ecfa6bde491a95ce6801aab31.tar.gz
ports-55e6467296bd5a4ecfa6bde491a95ce6801aab31.zip
Notes
Diffstat (limited to 'mail/rspamd')
-rw-r--r--mail/rspamd/Makefile8
-rw-r--r--mail/rspamd/pkg-plist8
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 02e09d759424..3a7f76412da1 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -2,7 +2,7 @@
PORTNAME= rspamd
PORTVERSION= 0.6.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://rspamd.com/downloads/
@@ -68,4 +68,10 @@ USE_OPENSSL= yes
PLIST_SUB+= REDIRECTOR="@comment "
.endif
+post-install:
+ ${INSTALL} -d \
+ ${STAGEDIR}/var/log/rspamd \
+ ${STAGEDIR}/var/db/rspamd \
+ ${STAGEDIR}/var/run/rspamd
+
.include <bsd.port.mk>
diff --git a/mail/rspamd/pkg-plist b/mail/rspamd/pkg-plist
index 1274733ceb4a..dac224387f78 100644
--- a/mail/rspamd/pkg-plist
+++ b/mail/rspamd/pkg-plist
@@ -69,3 +69,11 @@ man/man8/rspamd.8.gz
@dirrmtry etc/rspamd
@dirrmtry include/rspamd
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+
+@owner nobody
+@group nobody
+@dirrmtry /var/db/rspamd
+@dirrmtry /var/log/rspamd
+@dirrm /var/run/rspamd
+@owner
+@group