FreeBSD Bugzilla – Attachment 168834 Details for
Bug 208258
net-im/ejabberd: 16.02 broke my ldap auth
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix for the issue
ejabberd.diff (text/plain), 2.19 KB, created by
Ashish SHUKLA
on 2016-03-31 15:16:17 UTC
(
hide
)
Description:
Proposed fix for the issue
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2016-03-31 15:16:17 UTC
Size:
2.19 KB
patch
obsolete
>diff -urN /usr/ports/net-im/ejabberd/Makefile ejabberd/Makefile >--- /usr/ports/net-im/ejabberd/Makefile 2016-03-14 11:07:05.000000000 +0530 >+++ ejabberd/Makefile 2016-03-31 20:26:43.630169956 +0530 >@@ -3,7 +3,7 @@ > > PORTNAME= ejabberd > PORTVERSION= 16.02 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net-im > MASTER_SITES= http://www.process-one.net/downloads/${PORTNAME}/${PORTVERSION}/:p1 \ > http://distfiles.pirateparty.in/ashish/:deps \ >diff -urN /usr/ports/net-im/ejabberd/files/patch-ejabberdctl.template ejabberd/files/patch-ejabberdctl.template >--- /usr/ports/net-im/ejabberd/files/patch-ejabberdctl.template 2016-03-11 23:30:06.000000000 +0530 >+++ ejabberd/files/patch-ejabberdctl.template 2016-03-31 20:34:47.218807338 +0530 >@@ -1,19 +1,21 @@ >---- ejabberdctl.template.orig 2016-03-09 03:31:00 UTC >+--- ejabberdctl.template.orig > +++ ejabberdctl.template >-@@ -16,6 +16,7 @@ IEX={{bindir}}/iex >+@@ -15,7 +15,8 @@ >+ IEX={{bindir}}/iex > EPMD={{bindir}}/epmd > INSTALLUSER={{installuser}} >- ERL_LIBS={{libdir}} >+-ERL_LIBS={{libdir}} >++ERL_LIBS={{libdir}}/ejabberd > +ERL_LIBS=$ERL_LIBS:{{libdir}}/ejabberd/lib > > # check the proper system user is used if defined > if [ "$INSTALLUSER" != "" ] ; then >-@@ -31,14 +32,14 @@ if [ "$INSTALLUSER" != "" ] ; then >+@@ -31,14 +32,14 @@ > fi > done > if [ `id -g` -eq `id -g $INSTALLUSER` ] ; then > - EXEC_CMD="bash -c" >-+ EXEC_CMD="/usr/local/bin/bash -c" >++ EXEC_CMD="%%LOCALBASE%%/bin/bash -c" > fi > if [ "$EXEC_CMD" = "false" ] ; then > echo "This command can only be run by root or the user $INSTALLUSER" >&2 >@@ -21,11 +23,11 @@ > fi > else > - EXEC_CMD="bash -c" >-+ EXEC_CMD="/usr/local/bin/bash -c" >++ EXEC_CMD="%%LOCALBASE%%/bin/bash -c" > fi > > # parse command line parameters >-@@ -73,10 +74,10 @@ if [ "$EJABBERD_CONFIG_PATH" = "" ] ; th >+@@ -73,10 +74,10 @@ > EJABBERD_CONFIG_PATH=$ETC_DIR/ejabberd.yml > fi > if [ "$LOGS_DIR" = "" ] ; then >@@ -38,7 +40,7 @@ > fi > if [ "$EJABBERD_DOC_PATH" = "" ] ; then > EJABBERD_DOC_PATH={{docdir}} >-@@ -354,7 +355,7 @@ ctl() >+@@ -354,7 +355,7 @@ > # using flock if available. Expects a linux-style > # flock that can lock a file descriptor. > MAXCONNID=100
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208258
:
168619
| 168834