As in topic, this makes it work with google servers. Patch taken from
https://support.process-one.net/browse/EJAB-877 as linked from
https://support.process-one.net/browse/EJAB-781
-- 
viq

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ejabberd/Makefile,v
retrieving revision 1.11
diff -u -d -r1.11 Makefile
--- Makefile    12 Feb 2009 09:58:11 -0000      1.11
+++ Makefile    26 Feb 2009 10:40:55 -0000
@@ -4,6 +4,7 @@
 
 V=                     2.0.3
 DISTNAME=              ejabberd-$V
+PKGNAME=               ${DISTNAME}p0
 
 CATEGORIES=            net
 
Index: patches/patch-src_ejabberd_cfg_example
===================================================================
RCS file: /cvs/ports/net/ejabberd/patches/patch-src_ejabberd_cfg_example,v
retrieving revision 1.1
diff -u -d -r1.1 patch-src_ejabberd_cfg_example
--- patches/patch-src_ejabberd_cfg_example      2 Jun 2008 18:13:15 -0000       
1.1
+++ patches/patch-src_ejabberd_cfg_example      26 Feb 2009 10:39:29 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_ejabberd_cfg_example,v 1.1 2008/06/02 18:13:15 martynas 
Exp $
---- src/ejabberd.cfg.example.orig      Thu Feb 21 11:02:12 2008
-+++ src/ejabberd.cfg.example   Sun Mar 30 23:11:59 2008
-@@ -113,7 +113,7 @@
+--- src/ejabberd.cfg.example.orig      Wed Jan 14 10:54:15 2009
++++ src/ejabberd.cfg.example   Thu Feb 26 11:36:23 2009
+@@ -114,7 +114,7 @@
                        %% certificate, put the correct path to the 
                        %% file and uncomment this line:
                        %%
@@ -10,7 +10,7 @@
  
                        {access, c2s},
                        {shaper, c2s_shaper},
-@@ -123,12 +123,12 @@
+@@ -124,12 +124,12 @@
    %%
    %% To enable the old SSL connection method in port 5223:
    %%
@@ -29,7 +29,7 @@
  
    {5269, ejabberd_s2s_in, [
                           {shaper, s2s_shaper},
-@@ -159,18 +159,18 @@
+@@ -160,18 +160,18 @@
  %% Allowed values are: true or false.
  %% You must specify a certificate file.
  %%
Index: patches/patch-src_tls_tls_drv_c
===================================================================
RCS file: patches/patch-src_tls_tls_drv_c
diff -N patches/patch-src_tls_tls_drv_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_tls_tls_drv_c     26 Feb 2009 10:39:21 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- src/tls/tls_drv.c.orig     Thu Feb 26 11:37:16 2009
++++ src/tls/tls_drv.c  Thu Feb 26 11:38:17 2009
+@@ -367,7 +367,7 @@ static int tls_drv_control(ErlDrvData handle,
+        if (command == SET_CERTIFICATE_FILE_ACCEPT)
+           SSL_set_accept_state(d->ssl);
+        else {
+-          SSL_set_options(d->ssl, SSL_OP_NO_SSLv2);
++          SSL_set_options(d->ssl, SSL_OP_NO_SSLv2|SSL_OP_NO_TICKET);
+           SSL_set_connect_state(d->ssl);
+        }
+        break;

Attachment: pgpvOZuEdYmXS.pgp
Description: PGP signature

Reply via email to