aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabberd
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-11-23 09:40:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-11-23 09:40:52 +0000
commit59400fdd78739456ad559ef7b9c7baa97edcd6ce (patch)
tree985a476204d7da1f9b356c182bc18665c8b62c54 /net-im/jabberd
parent4c9b5e214805fa036798f62e4d7c503f6fa2d91d (diff)
downloadports-59400fdd78739456ad559ef7b9c7baa97edcd6ce.tar.gz
ports-59400fdd78739456ad559ef7b9c7baa97edcd6ce.zip
- Unbreak
- Allow staging as a regular user - Cleanup plist
Notes
Notes: svn path=/head/; revision=373137
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/Makefile1
-rw-r--r--net-im/jabberd/pkg-plist14
2 files changed, 4 insertions, 11 deletions
diff --git a/net-im/jabberd/Makefile b/net-im/jabberd/Makefile
index 162b6b4a96e9..bbbac2f35e27 100644
--- a/net-im/jabberd/Makefile
+++ b/net-im/jabberd/Makefile
@@ -157,7 +157,6 @@ post-install:
.for DIR in db logs pid
@${MKDIR} ${STAGEDIR}${JABBER_RUNDIR}/${DIR}
.endfor
- @${CHOWN} -R ${JABBER_USER}:${JABBER_GROUP} ${STAGEDIR}${JABBER_RUNDIR}
@${CHMOD} -R go= ${STAGEDIR}${JABBER_RUNDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/net-im/jabberd/pkg-plist b/net-im/jabberd/pkg-plist
index f28a8606ebfe..d519a130e53b 100644
--- a/net-im/jabberd/pkg-plist
+++ b/net-im/jabberd/pkg-plist
@@ -107,13 +107,7 @@ man/man8/jabberd.8.gz
man/man8/router.8.gz
man/man8/s2s.8.gz
man/man8/sm.8.gz
-@dirrm lib/jabberd
-@dirrmtry etc/jabberd/templates
-@dirrmtry etc/jabberd
-@cwd /
-@exec chown -R %%JABBER_USER%%:%%JABBER_GROUP%% %%JABBER_RUNDIR%%
-@exec chmod -R go= %%JABBER_RUNDIR%%
-@dirrmtry %%JABBER_RUNDIR%%/pid
-@dirrmtry %%JABBER_RUNDIR%%/logs
-@dirrmtry %%JABBER_RUNDIR%%/db
-@dirrmtry %%JABBER_RUNDIR%%
+@dir(%%JABBER_USER%%,%%JABBER_GROUP%%,0700) %%JABBER_RUNDIR%%/db
+@dir(%%JABBER_USER%%,%%JABBER_GROUP%%,0700) %%JABBER_RUNDIR%%/logs
+@dir(%%JABBER_USER%%,%%JABBER_GROUP%%,0700) %%JABBER_RUNDIR%%/pid
+@dir(%%JABBER_USER%%,%%JABBER_GROUP%%,0700) %%JABBER_RUNDIR%%