diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-02 22:22:03 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-02 22:22:03 +0800 |
commit | a901bea8fabae2e838f6d4412fb0853141f85112 (patch) | |
tree | 19cd658d4a1745bf98b378cd952dfb0f1dde53bf | |
parent | 1b78f572e728271da556e2ce20cacfb521a8825b (diff) | |
download | freebsd-ports-gnome-a901bea8fabae2e838f6d4412fb0853141f85112.tar.gz freebsd-ports-gnome-a901bea8fabae2e838f6d4412fb0853141f85112.tar.zst freebsd-ports-gnome-a901bea8fabae2e838f6d4412fb0853141f85112.zip |
Fix packaging as a user
-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%% |