1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Unbreak

- Allow staging as a regular user
- Cleanup plist
This commit is contained in:
Antoine Brodin 2014-11-23 09:40:52 +00:00
parent 4c9b5e2148
commit 59400fdd78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373137
2 changed files with 4 additions and 11 deletions

View File

@ -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}

View File

@ -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%%