[packages/cvs-nserver] - rel 34; fix openssl build
arekm
arekm at pld-linux.org
Thu Sep 20 10:30:41 CEST 2018
commit a9e9df36a6d5ad6e7c0305da03dcd1cc8891d254
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Sep 20 10:30:29 2018 +0200
- rel 34; fix openssl build
cvs-nserver.spec | 4 +++-
openssl.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/cvs-nserver.spec b/cvs-nserver.spec
index f4a882b..d0b529f 100644
--- a/cvs-nserver.spec
+++ b/cvs-nserver.spec
@@ -9,7 +9,7 @@ Summary(pl.UTF-8): Concurrent Versions System - nserver
Summary(tr.UTF-8): Sürüm denetim sistemi - nserver
Name: cvs-nserver
Version: 1.11.1.52
-Release: 33
+Release: 34
License: GPL
Group: Development/Version Control
Source0: http://dl.sourceforge.net/cvs-nserver/%{name}-%{version}.tar.gz
@@ -39,6 +39,7 @@ Patch19: %{name}-krb5.patch
Patch20: %{name}-cvspasswd-mode.patch
Patch21: %{name}-getline.patch
Patch22: format-security.patch
+Patch23: openssl.patch
URL: http://cvs-nserver.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -204,6 +205,7 @@ Serwer CVS - pliki nservera.
%patch20 -p1
%patch21 -p1
%patch22 -p1
+%patch23 -p1
%build
%{__aclocal}
diff --git a/openssl.patch b/openssl.patch
new file mode 100644
index 0000000..c8f29ce
--- /dev/null
+++ b/openssl.patch
@@ -0,0 +1,11 @@
+--- cvs-nserver-1.11.1.52/src/ssl-client.c~ 2001-10-13 19:37:30.000000000 +0200
++++ cvs-nserver-1.11.1.52/src/ssl-client.c 2018-09-20 10:28:49.572280092 +0200
+@@ -90,7 +90,7 @@ ssl_connect (NCLI ncli)
+ char *str;
+ long x509_err;
+
+- ctx = SSL_CTX_new(SSLv3_client_method());
++ ctx = SSL_CTX_new(SSLv23_client_method());
+
+ SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cvs-nserver.git/commitdiff/a9e9df36a6d5ad6e7c0305da03dcd1cc8891d254
More information about the pld-cvs-commit
mailing list