Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Mar 2016 20:59:47 +0530
From:      ashish@FreeBSD.org (Ashish SHUKLA)
To:        Matthieu Volat <mazhe@alkumuna.eu>
Cc:        ashish@FreeBSD.org (Ashish SHUKLA), ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   [CFT] net-im/ejabberd to 16.02 (was: Re: [CFT] net-im/ejabberd to 16.01)
Message-ID:  <86twkhkmxg.fsf_-_@chateau.d.if>
In-Reply-To: <20160307201946.0964505f@freedom.alkumuna.eu> (Matthieu Volat's message of "Mon, 7 Mar 2016 20:19:46 %2B0100")
References:  <86h9gs26l0.fsf@chateau.d.if> <20160228193353.0b62c06b@freedom.alkumuna.eu> <864mcs1g9p.fsf@chateau.d.if> <CEC1F737-32E1-478D-A3AB-3473BF14B28F@alkumuna.eu> <86d1rfehpi.fsf@chateau.d.if> <20160305180935.1eff68ff@freedom.alkumuna.eu> <86io0yzsfs.fsf@chateau.d.if> <20160307201946.0964505f@freedom.alkumuna.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On Mon, 7 Mar 2016 20:19:46 +0100, Matthieu Volat <mazhe@alkumuna.eu> said:
| On Mon, 07 Mar 2016 12:27:11 +0530
| ashish@FreeBSD.org (Ashish SHUKLA) wrote:

|| On Sat, 5 Mar 2016 18:09:35 +0100, Matthieu Volat <mazhe@alkumuna.eu> sa=
id:
||=20
|| [...]
||=20
|| Hi,
||=20
|| | Ok, back on business!
||=20
|| | My issue with the non-applied patchs is that those were not creates in=
 the files subdir in ejabberd, but in a ejabberd/files subdir.
||=20
|| That is likely due to the missing/incorrect, use of 'patch -pN'. I remem=
ber
|| testing successful diff application before posting on the list, except f=
or a
|| 404-ing URL in one of my diffs.

| Yeah, it was a simple patch -p0 call... But anyway, that won't matter for=
 final distribution...

||=20
|| | Regarding the pam module installation, it seems to be installed in :
|| | /usr/local/lib/erlang/lib/ejabberd-16.01/lib/p1_pam-1.0.0/priv/bin/epam
||=20
|| | But ejabberd at start will fail with :
|| | 2016-03-05 17:52:49.297 [error] <0.394.0> Can't open file
|| | "/usr/local/lib/erlang/lib/ejabberd-16.01/lib/erlang/lib/ejabberd-16.0=
1/priv/bin/epam": enoent
||=20
|| | So I guess it's not installed in the right place?
||=20
|| I guess, although I don't see in the sources, where exactly it refer to =
this
|| path, or even install the module. I'll check and get back to you.

| I forgot to tell that I did not see it either, but I tried to put it manu=
ally and pam support was working.

It seems this is mentioned here p1_pam/src/epam.erl at:

142 get_bin_path() ->
143     case os:getenv("EJABBERD_BIN_PATH") of
144         false ->
145             case code:priv_dir(p1_pam) of
146                 {error, _} ->
147                     filename:join(["priv", "bin"]);
148                 Path ->
149                     filename:join([Path, "bin"])
150             end;
151         Path ->
152             Path
153     end.

I have updated my diff to install the file at the expected location. Other
changes in this update is cleanup, and updation of dependencies tarball.

Could you (and anyone else) please try the diff and see if it works for you,
and let me know before this March 04, 2016, hopefully no more releases this
time :) ?

https://people.freebsd.org/~ashish/diffs/ejabberd-16.02-0.diff
sha256: 4992e303b2dc7e3ee814d032991cdea7cec8e373f23d94d2e4c9e633b6a245a1

Thanks for your efforts, and time testing this, and providing the
feedback. It's really appreciated.

=2D-=20
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0

=E2=80=9CYeah, sure. Babies learn their mother tongue by reading the great
philosophers=E2=80=A6=E2=80=9C (Pascal Bourguignon, comp.lang.lisp)

Sent from my Emacs

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJW3u/sAAoJEMdGz6nnT6Sw0L8QALGF0mNJf9PvOKlXAdQR/U0T
6zmr2J+rYRYd1Y/bKazc/e93tATZzJY14cv9fW0qIF32vGi4Dbd/lYP2D8pXiPDN
WZ4Fvl6YV+977KILL2DmlaRLxs3ZCv0MpdEF0okd9X2JMXDV0SVXRawwg6YTDJU0
9p8jUUnZ8D1Io9PTf+mzvs1ok7vwIs2ekGcm71leBcWNDH7g58H6rBbTpWicMn4b
BVp1bsApT5m7E6QwgAugPX5a5/zX3EranWBsn04ynv3mbpsR+h/Qj1wsqpTZuE8P
DkBJDTgHO5PFxlnZz148OmuSWj/I8DjHB1/tq7JuKOQHWA4LFVGeecQv4CZGvAeM
+2PwKV+bn4oivmrrUFYR10wXjFfiPxNHGI8cOQg2i78jHii/zFFfuTNtnJtN81FU
ZExE4CGtbC6BvLbKgAUvmHpIl2mYkiLf/mMiyeRYV0bJ3qFLSbHN4Y44cVs9A9LO
VhFdwb0UEWhXlRUnEmMjJBGJgOJX+sqCW3ZoXGMsKDgOb1nV2wuk1+ckdgOEgLxJ
dDTz2IIT5tAak6w2rf3seHAm/QEWZfmBV5FMCIyEmCSOi3Cl3hQChbiRpYoKJccZ
EgOE2WJ0czvx4to44SgnROere/P4oFy976NzYvmLsyP/iw3wVPF1p14F++8hdhXK
rHK4PlitcSqdP1OcC7mk
=VPWx
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86twkhkmxg.fsf_-_>