From: Arkadiusz Miƛkiewicz Date: Thu, 20 Sep 2018 08:37:23 +0000 (+0200) Subject: - rel 12; fix openssl build X-Git-Tag: auto/th/cvsnt-2.5.05.3744-12 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fcvsnt.git;a=commitdiff_plain;h=67a356d995fc9f2bcf094cd69f04bc7b1f8de771 - rel 12; fix openssl build --- diff --git a/cvsnt.spec b/cvsnt.spec index d6bae8c..3997331 100644 --- a/cvsnt.spec +++ b/cvsnt.spec @@ -23,7 +23,7 @@ Summary(pl.UTF-8): Concurrent Versioning System Name: cvsnt # http://www.cvsnt.org/archive/2.5_stable tell which version is stable Version: 2.5.05.3744 -Release: 11 +Release: 12 License: GPL v2+/LGPL v2+ Group: Development/Version Control Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz @@ -39,6 +39,7 @@ Patch4: %{name}-fixes.patch Patch5: %{name}-gcc4.patch Patch6: format-security.patch Patch7: cxx.patch +Patch8: openssl.patch URL: http://www.cvsnt.org/ BuildRequires: autoconf >= 2.58 BuildRequires: automake >= 1:1.7.9 @@ -213,6 +214,7 @@ CVSNT version of RCS tools. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 rm -r protocols/ntlm diff --git a/openssl.patch b/openssl.patch new file mode 100644 index 0000000..9b0a7c8 --- /dev/null +++ b/openssl.patch @@ -0,0 +1,11 @@ +--- cvsnt-2.5.05.3744/protocols/sserver.cpp~ 2009-11-24 15:52:23.000000000 +0100 ++++ cvsnt-2.5.05.3744/protocols/sserver.cpp 2018-09-20 10:34:35.129443525 +0200 +@@ -260,7 +260,7 @@ int sserver_connect(const struct protoco + + SSL_library_init(); + SSL_load_error_strings (); +- ctx = SSL_CTX_new (SSLv3_client_method ()); ++ ctx = SSL_CTX_new (SSLv23_client_method ()); + SSL_CTX_set_options(ctx,SSL_OP_ALL|SSL_OP_NO_SSLv2); + SSL_CTX_load_verify_locations(ctx,certs,NULL); + if(key)