Date: Sat, 10 Dec 2016 20:39:32 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428323 - in head/devel/commoncpp: . files Message-ID: <201612102039.uBAKdWTA039954@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Sat Dec 10 20:39:32 2016 New Revision: 428323 URL: https://svnweb.freebsd.org/changeset/ports/428323 Log: devel/commoncpp: Fix build without SSLv3 - Add patch to fix build without SSLv3 - Register SSL dependency USES= ssl Approved by: SSL blanket Added: head/devel/commoncpp/files/patch-src_ssl.cpp (contents, props changed) Modified: head/devel/commoncpp/Makefile Modified: head/devel/commoncpp/Makefile ============================================================================== --- head/devel/commoncpp/Makefile Sat Dec 10 20:18:38 2016 (r428322) +++ head/devel/commoncpp/Makefile Sat Dec 10 20:39:32 2016 (r428323) @@ -13,7 +13,7 @@ MAINTAINER= acm@FreeBSD.org COMMENT= GNU project portable class framework for C++ USE_LDCONFIG= yes -USES= gmake libtool pathfix +USES= gmake libtool pathfix ssl GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_DOXYGEN=no INSTALL_TARGET= install-strip Added: head/devel/commoncpp/files/patch-src_ssl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/commoncpp/files/patch-src_ssl.cpp Sat Dec 10 20:39:32 2016 (r428323) @@ -0,0 +1,11 @@ +--- src/ssl.cpp.orig 2010-11-01 00:42:51 UTC ++++ src/ssl.cpp +@@ -386,7 +386,7 @@ bool SSLStream::getSession(void) + if(so == INVALID_SOCKET) + return false; + +- ctx = SSL_CTX_new(SSLv3_client_method()); ++ ctx = SSL_CTX_new(SSL23_client_method()); + if(!ctx) { + SSL_CTX_free(ctx); + return false;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612102039.uBAKdWTA039954>