From owner-freebsd-ports@freebsd.org Tue Mar 8 15:29:57 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 862E2AC3106 for ; Tue, 8 Mar 2016 15:29:57 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6931B634; Tue, 8 Mar 2016 15:29:57 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from chateau.d.if (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id B15C01F7B; Tue, 8 Mar 2016 15:29:55 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from chateau.d.if (localhost [IPv6:::1]) by chateau.d.if (OpenSMTPD) with ESMTP id 4c912dba; Tue, 8 Mar 2016 20:59:52 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Matthieu Volat Cc: ashish@FreeBSD.org (Ashish SHUKLA), ports-list freebsd Subject: [CFT] net-im/ejabberd to 16.02 (was: Re: [CFT] net-im/ejabberd to 16.01) Organization: The FreeBSD Project References: <86h9gs26l0.fsf@chateau.d.if> <20160228193353.0b62c06b@freedom.alkumuna.eu> <864mcs1g9p.fsf@chateau.d.if> <86d1rfehpi.fsf@chateau.d.if> <20160305180935.1eff68ff@freedom.alkumuna.eu> <86io0yzsfs.fsf@chateau.d.if> <20160307201946.0964505f@freedom.alkumuna.eu> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 8:51PM up 48 mins, 5 users, load averages: 0.18, 0.27, 0.24 X-Operating-System: FreeBSD/FreeBSD 10.2-RELEASE-p10/amd64 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project X-Hashcash: 1:20:160308:ashish@freebsd.org::NaAPEZQFq3/WZdx0:00000000000000000000000000000000000000000005e6x X-Hashcash: 1:20:160308:freebsd-ports@freebsd.org::lQEWaDulhLouUUBm:0000000000000000000000000000000000001XME X-Hashcash: 1:20:160308:mazhe@alkumuna.eu::cjLQ0YYtVPIdY2cX:00000000000000000000000000000000000000000000BZOz Date: Tue, 08 Mar 2016 20:59:47 +0530 In-Reply-To: <20160307201946.0964505f@freedom.alkumuna.eu> (Matthieu Volat's message of "Mon, 7 Mar 2016 20:19:46 +0100") Message-ID: <86twkhkmxg.fsf_-_@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (amd64-portbld-freebsd10.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 15:29:57 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, 7 Mar 2016 20:19:46 +0100, Matthieu Volat 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 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----- --=-=-=--