Fix access rights handling for some items in ejabberd.
Pro-actively fixes the port before espie@ commits his picky pkg_add patch.
This commit is contained in:
parent
fdbec7a759
commit
93e8b4ad0a
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2013/05/05 16:17:19 gonzalo Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2014/01/24 19:05:29 zhuk Exp $
|
||||
|
||||
COMMENT= jabber server written in Erlang
|
||||
|
||||
V= 2.1.12
|
||||
DISTNAME= ejabberd-$V
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
@ -76,6 +77,7 @@ post-install:
|
||||
@chown ${SHAREOWN}:${BINGRP} ${PREFIX}/sbin/ejabberdctl
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/ejabberd
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/ejabberd
|
||||
@chmod ${SHAREMODE} ${PREFIX}/share/examples/ejabberd/*.cfg
|
||||
@find ${WRKINST} -type f -name '*.beforesubst' -exec rm {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2013/05/05 16:17:19 gonzalo Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2014/01/24 19:05:29 zhuk Exp $
|
||||
@newgroup _ejabberd:594
|
||||
@newuser _ejabberd:594:_ejabberd:daemon:ejabberd account:/var/db/ejabberd:/bin/sh
|
||||
%%SHARED%%
|
||||
@ -185,7 +185,9 @@ lib/ejabberd/include/web/ejabberd_web_admin.hrl
|
||||
lib/ejabberd/include/web/http_bind.hrl
|
||||
lib/ejabberd/priv/
|
||||
lib/ejabberd/priv/bin/
|
||||
@mode 0750
|
||||
lib/ejabberd/priv/bin/captcha.sh
|
||||
@mode
|
||||
lib/ejabberd/priv/lib/
|
||||
lib/ejabberd/priv/lib/sha_drv.so
|
||||
lib/ejabberd/priv/msgs/
|
||||
@ -235,9 +237,13 @@ share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/ejabberd/
|
||||
@sample ${SYSCONFDIR}/ejabberd/
|
||||
share/examples/ejabberd/ejabberd.cfg
|
||||
@mode 0640
|
||||
@sample ${SYSCONFDIR}/ejabberd/ejabberd.cfg
|
||||
@mode
|
||||
share/examples/ejabberd/ejabberdctl.cfg
|
||||
@mode 0640
|
||||
@sample ${SYSCONFDIR}/ejabberd/ejabberdctl.cfg
|
||||
@mode
|
||||
share/examples/ejabberd/extauth/
|
||||
share/examples/ejabberd/extauth/check_pass_null.pl
|
||||
share/examples/ejabberd/inetrc
|
||||
@ -265,7 +271,7 @@ share/examples/ejabberd/transport-configs/init-scripts/msn-transport
|
||||
share/examples/ejabberd/transport-configs/init-scripts/yahoo-transport-2
|
||||
@owner _ejabberd
|
||||
@group _ejabberd
|
||||
@sample /var/log/ejabberd/
|
||||
@mode 0750
|
||||
@sample /var/log/ejabberd/
|
||||
@sample /var/db/ejabberd/
|
||||
@sample /var/db/ejabberd/ejabberd/
|
||||
|
Loading…
Reference in New Issue
Block a user