svn commit: r542091 - in branches/2020Q3/net-im/libmesode: . files

Ashish SHUKLA ashish at FreeBSD.org
Sun Jul 12 19:20:30 UTC 2020


Author: ashish
Date: Sun Jul 12 19:20:29 2020
New Revision: 542091
URL: https://svnweb.freebsd.org/changeset/ports/542091

Log:
  MFH: r542090
  
  - Import a patch from upstream to fix bug related to SSL
    certificate verification in Profanity
  
  PR:		247871
  Approved by:	arved (maintainer)
  Approved by:	portmgr (reliability fix blanket)

Added:
  branches/2020Q3/net-im/libmesode/files/patch-src_tls__openssl.c
     - copied unchanged from r542090, head/net-im/libmesode/files/patch-src_tls__openssl.c
Modified:
  branches/2020Q3/net-im/libmesode/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/net-im/libmesode/Makefile
==============================================================================
--- branches/2020Q3/net-im/libmesode/Makefile	Sun Jul 12 19:16:02 2020	(r542090)
+++ branches/2020Q3/net-im/libmesode/Makefile	Sun Jul 12 19:20:29 2020	(r542091)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libmesode
 PORTVERSION=	0.9.3
+PORTREVISION=	1
 CATEGORIES=	net-im
 
 MAINTAINER=	arved at FreeBSD.org

Copied: branches/2020Q3/net-im/libmesode/files/patch-src_tls__openssl.c (from r542090, head/net-im/libmesode/files/patch-src_tls__openssl.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q3/net-im/libmesode/files/patch-src_tls__openssl.c	Sun Jul 12 19:20:29 2020	(r542091, copy of r542090, head/net-im/libmesode/files/patch-src_tls__openssl.c)
@@ -0,0 +1,14 @@
+Patch from:
+
+  https://github.com/profanity-im/libmesode/commit/532ed1e9d3e71e5bea0752e03dbacd4139d750d1
+
+--- src/tls_openssl.c.orig	2019-10-11 19:08:58 UTC
++++ src/tls_openssl.c
+@@ -320,6 +320,7 @@ tls_t *tls_new(xmpp_conn_t *conn)
+         SSL_CTX_set_client_cert_cb(tls->ssl_ctx, NULL);
+         SSL_CTX_set_mode(tls->ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);
+         SSL_CTX_set_verify(tls->ssl_ctx, SSL_VERIFY_PEER, verify_callback);
++        SSL_CTX_set_default_verify_paths(tls->ssl_ctx);
+         if (conn->tls_cert_path) {
+             SSL_CTX_load_verify_locations(tls->ssl_ctx, NULL, conn->tls_cert_path);
+         }


More information about the svn-ports-all mailing list