packages: libmsn/libmsn.spec, libmsn/libmsn-openssl.patch (NEW) - up to 4.1

arekm arekm at pld-linux.org
Sun Apr 11 11:14:42 CEST 2010


Author: arekm                        Date: Sun Apr 11 09:14:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 4.1

---- Files affected:
packages/libmsn:
   libmsn.spec (1.8 -> 1.9) , libmsn-openssl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libmsn/libmsn.spec
diff -u packages/libmsn/libmsn.spec:1.8 packages/libmsn/libmsn.spec:1.9
--- packages/libmsn/libmsn.spec:1.8	Sun Apr 11 08:27:54 2010
+++ packages/libmsn/libmsn.spec	Sun Apr 11 11:14:36 2010
@@ -2,12 +2,13 @@
 Summary:	MSN Library
 Summary(pl.UTF-8):	Biblioteka MSN
 Name:		libmsn
-Version:	4.0
-Release:	2
+Version:	4.1
+Release:	1
 License:	GPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libmsn/%{name}-%{version}.tar.bz2
-# Source0-md5:	027442e7366dac7c365e8e57eabffc4a
+# Source0-md5:	769d3cf0e5625263fbc23321c1ddfcb0
+Patch0:		%{name}-openssl.patch
 URL:		http://sourceforge.net/projects/libmsn/
 BuildRequires:	cmake
 BuildRequires:	libstdc++-devel
@@ -36,6 +37,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
@@ -65,7 +67,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/msntest
-%attr(755,root,root) %ghost %{_libdir}/libmsn.so.0.2
+%attr(755,root,root) %ghost %{_libdir}/libmsn.so.0.3
 %attr(755,root,root) %{_libdir}/libmsn.so.*.*.*
 
 %files devel
@@ -80,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/04/11 09:14:36  arekm
+- up to 4.1
+
 Revision 1.8  2010/04/11 06:27:54  arekm
 - release 2
 

================================================================
Index: packages/libmsn/libmsn-openssl.patch
diff -u /dev/null packages/libmsn/libmsn-openssl.patch:1.1
--- /dev/null	Sun Apr 11 11:14:42 2010
+++ packages/libmsn/libmsn-openssl.patch	Sun Apr 11 11:14:36 2010
@@ -0,0 +1,17 @@
+--- libmsn-4.1/msntest/msntest.cpp~	2010-04-01 15:05:13.248056050 +0200
++++ libmsn-4.1/msntest/msntest.cpp	2010-04-01 15:07:18.938878993 +0200
+@@ -259,7 +259,13 @@
+                     if(mySocketsSsl[i].isSSL && !mySocketsSsl[i].isConnected)
+                     {
+                         BIO *bio_socket_new;
+-                        SSL_METHOD *meth=NULL;
++
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++			const SSL_METHOD *meth=NULL;
++#else
++			SSL_METHOD *meth=NULL;
++#endif
++
+                         meth=SSLv23_client_method();
+                         SSLeay_add_ssl_algorithms();
+                         mySocketsSsl[i].ctx = SSL_CTX_new(meth);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmsn/libmsn.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list