diff --git a/chat/ejabberd/Makefile b/chat/ejabberd/Makefile index 21cddb64e01e..2aebae8315b5 100644 --- a/chat/ejabberd/Makefile +++ b/chat/ejabberd/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.42 2014/07/30 09:45:38 fhajny Exp $ +# $NetBSD: Makefile,v 1.43 2014/07/31 10:31:51 fhajny Exp $ DISTNAME= ejabberd-14.07 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= http://www.process-one.net/downloads/ejabberd/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tgz diff --git a/chat/ejabberd/files/ejabberd.sh b/chat/ejabberd/files/ejabberd.sh index 76f75d5f3343..a3403de9a31a 100644 --- a/chat/ejabberd/files/ejabberd.sh +++ b/chat/ejabberd/files/ejabberd.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: ejabberd.sh,v 1.3 2013/10/11 13:32:25 fhajny Exp $ +# $NetBSD: ejabberd.sh,v 1.4 2014/07/31 10:31:51 fhajny Exp $ # $FreeBSD: ejabberd.sh.in,v 1.1 2005/08/28 15:51:48 vsevolod Exp $ # # PROVIDE: ejabberd @@ -29,7 +29,7 @@ EJABBERDCTL=@PREFIX@/sbin/ejabberdctl ejabberd_status() { - su -m $ejabberd_user -c "$EJABBERDCTL status >/dev/null" + su $ejabberd_user -c "$EJABBERDCTL status >/dev/null" } ejabberd_start() @@ -39,7 +39,7 @@ ejabberd_start() echo " already running." exit 1 else - su -m $ejabberd_user -c "$EJABBERDCTL start" + su $ejabberd_user -c "$EJABBERDCTL start" fi echo "$name." } @@ -47,7 +47,7 @@ ejabberd_start() ejabberd_stop() { echo -n "Stopping $name: " - if su -m $ejabberd_user -c "$EJABBERDCTL stop"; then + if su $ejabberd_user -c "$EJABBERDCTL stop"; then cnt=0 while ejabberd_status; do cnt=`expr $cnt + 1` @@ -68,7 +68,7 @@ ejabberd_reload() { echo -n "Restarting $name: " if ejabberd_status; then - su -m $ejabberd_user -c "$EJABBERDCTL restart" + su $ejabberd_user -c "$EJABBERDCTL restart" else ejabberd_start fi diff --git a/chat/ejabberd/files/smf/manifest.xml b/chat/ejabberd/files/smf/manifest.xml index e14a37c4c17e..0f5408dd8400 100644 --- a/chat/ejabberd/files/smf/manifest.xml +++ b/chat/ejabberd/files/smf/manifest.xml @@ -23,6 +23,9 @@ + + +