Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2011 21:42:52 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Ashish SHUKLA <ashish@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/net-im/ejabberd Makefile ports/net-im/ejabberd/files ejabberd.in
Message-ID:  <4E7EB14C.8040502@FreeBSD.org>
In-Reply-To: <201109241850.p8OIo5He000618@repoman.freebsd.org>
References:  <201109241850.p8OIo5He000618@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070407010508030705040508
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

You might want to consider the attached. Since this runs as an
unprivileged user REQUIRE: LOGIN is more or less mandatory.


Doug


On 09/24/2011 11:50, Ashish SHUKLA wrote:
> ashish      2011-09-24 18:50:05 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     net-im/ejabberd      Makefile 
>     net-im/ejabberd/files ejabberd.in 
>   Log:
>   - Pass ERL_EPMD_ADDRESS to other actions of rc.d script, missed from last time
>   - Bump PORTREVISION
>   
>   Reported by:    Vick Khera <vivek@khera.org> (via private email)
>   
>   Revision  Changes    Path
>   1.46      +1 -1      ports/net-im/ejabberd/Makefile
>   1.8       +4 -4      ports/net-im/ejabberd/files/ejabberd.in
> 
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net-im/ejabberd/Makefile.diff?&r1=1.45&r2=1.46&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net-im/ejabberd/files/ejabberd.in.diff?&r1=1.7&r2=1.8&f=h
> 



-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/


--------------070407010508030705040508
Content-Type: text/plain;
 name="ejabberd-rcd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ejabberd-rcd.diff"

Index: ejabberd.in
===================================================================
RCS file: /home/pcvs/ports/net-im/ejabberd/files/ejabberd.in,v
retrieving revision 1.8
diff -u -r1.8 ejabberd.in
--- ejabberd.in	24 Sep 2011 18:50:05 -0000	1.8
+++ ejabberd.in	25 Sep 2011 04:41:01 -0000
@@ -2,8 +2,7 @@
 # $FreeBSD: ports/net-im/ejabberd/files/ejabberd.in,v 1.8 2011/09/24 18:50:05 ashish Exp $
 
 # PROVIDE: ejabberd
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
+# REQUIRE: LOGIN
 # KEYWORD: shutdown
 
 # Define these ejabberd_* variables in one of these files:
@@ -13,15 +12,18 @@
 #
 # DO NOT CHANGE THESE DEFAULT VALUES HERE
 #
-ejabberd_enable=${ejabberd_enable-"NO"}
-ejabberd_node=${ejabberd_node-"ejabberd@localhost"}
-ejabberd_epmd_address=${ejabberd_epmd_address-"127.0.0.1"}
 
 . /etc/rc.subr
 
 name="ejabberd"
 rcvar=`set_rcvar`
 
+load_rc_config $name
+
+ejabberd_enable=${ejabberd_enable-"NO"}
+ejabberd_node=${ejabberd_node-"ejabberd@localhost"}
+ejabberd_epmd_address=${ejabberd_epmd_address-"127.0.0.1"}
+
 reload_cmd="ejabberd_reload"
 restart_cmd="ejabberd_reload"
 start_cmd="ejabberd_start"
@@ -75,5 +77,4 @@
     fi
 }
 
-load_rc_config $name
 run_rc_command "$1"

--------------070407010508030705040508--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E7EB14C.8040502>