aboutsummaryrefslogtreecommitdiff
path: root/comms/smstools3
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 14:22:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 14:22:03 +0000
commitc57439824f593cf14ffa1021cdaa015ed20446e3 (patch)
tree19cd658d4a1745bf98b378cd952dfb0f1dde53bf /comms/smstools3
parentbe3b7db171a561bdb69a4ff8dcb22a32430fd49a (diff)
downloadports-c57439824f593cf14ffa1021cdaa015ed20446e3.tar.gz
ports-c57439824f593cf14ffa1021cdaa015ed20446e3.zip
Notes
Diffstat (limited to 'comms/smstools3')
-rw-r--r--comms/smstools3/Makefile2
-rw-r--r--comms/smstools3/pkg-plist15
2 files changed, 6 insertions, 11 deletions
diff --git a/comms/smstools3/Makefile b/comms/smstools3/Makefile
index 23c0f65b794a..ddd7c15c5cef 100644
--- a/comms/smstools3/Makefile
+++ b/comms/smstools3/Makefile
@@ -85,7 +85,5 @@ post-install:
@${MKDIR} ${STAGEDIR}${SPOOLDIR}/incoming ${STAGEDIR}${SPOOLDIR}/outgoing \
${STAGEDIR}${SPOOLDIR}/checked ${STAGEDIR}${LOGDIR} \
${STAGEDIR}${PIDDIR}
- @${CHOWN} -R ${SMSD_USER}:${SMSD_GROUP} ${STAGEDIR}${SPOOLDIR} \
- ${STAGEDIR}${LOGDIR} ${STAGEDIR}${PIDDIR}
.include <bsd.port.mk>
diff --git a/comms/smstools3/pkg-plist b/comms/smstools3/pkg-plist
index 76d8771dc003..cece952aa2c8 100644
--- a/comms/smstools3/pkg-plist
+++ b/comms/smstools3/pkg-plist
@@ -27,12 +27,9 @@ bin/unicode2sms
%%DATADIR%%/unicode2sms
@sample etc/smsd.conf.sample
@dirrm %%DATADIR%%
-@cwd /
-@owner %%SMSD_USER%%
-@group %%SMSD_GROUP%%
-@dirrmtry %%SPOOLDIR%%/incoming
-@dirrmtry %%SPOOLDIR%%/outgoing
-@dirrmtry %%SPOOLDIR%%/checked
-@dirrmtry %%LOGDIR%%
-@dirrmtry %%PIDDIR%%
-@dirrmtry %%SPOOLDIR%%
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%SPOOLDIR%%/incoming
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%SPOOLDIR%%/outgoing
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%SPOOLDIR%%/checked
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%LOGDIR%%
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%PIDDIR%%
+@dirrmtry(%%SMSD_USER%%,%%SMSD_GROUP%%,) %%SPOOLDIR%%