svn commit: r421876 - in head/polish/libgadu: . files
John Marino
marino at FreeBSD.org
Sun Sep 11 20:47:27 UTC 2016
Author: marino
Date: Sun Sep 11 20:47:26 2016
New Revision: 421876
URL: https://svnweb.freebsd.org/changeset/ports/421876
Log:
polish/libgadu: Handle missing SSLv3 method for LibreSSL
Approved by: SSL blanket
Added:
head/polish/libgadu/files/
head/polish/libgadu/files/patch-src_events.c (contents, props changed)
Modified:
head/polish/libgadu/Makefile
Modified: head/polish/libgadu/Makefile
==============================================================================
--- head/polish/libgadu/Makefile Sun Sep 11 20:40:28 2016 (r421875)
+++ head/polish/libgadu/Makefile Sun Sep 11 20:47:26 2016 (r421876)
@@ -37,7 +37,7 @@ OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
OPENSSL_CONFIGURE_WITH= openssl
-OPENSSL_USE= OPENSSL=yes
+OPENSSL_USES= ssl
pre-install-OPENSSL-on:
# OpenSSL from base system lacks .pc file for pkgconfig
Added: head/polish/libgadu/files/patch-src_events.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/polish/libgadu/files/patch-src_events.c Sun Sep 11 20:47:26 2016 (r421876)
@@ -0,0 +1,14 @@
+--- src/events.c.orig 2014-12-20 12:09:17 UTC
++++ src/events.c
+@@ -294,7 +294,11 @@ int gg_session_init_ssl(struct gg_sessio
+ }
+
+ if (gs->ssl_ctx == NULL) {
++#ifndef OPENSSL_NO_SSL3
+ gs->ssl_ctx = SSL_CTX_new(SSLv3_client_method());
++#else
++ gs->ssl_ctx = SSL_CTX_new(SSLv23_client_method());
++#endif
+
+ if (gs->ssl_ctx == NULL) {
+ ERR_error_string_n(ERR_get_error(), buf, sizeof(buf));
More information about the svn-ports-head
mailing list