diff options
-rw-r--r-- | comms/smstools3/Makefile | 2 | ||||
-rw-r--r-- | comms/smstools3/pkg-plist | 15 |
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%% |