summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-27 20:19:23 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-27 20:19:23 +0200
commit56f209879968a42c9d02c342709a8f01ea04a365 (patch)
treead81945a1108b0a104242eba1bc49ea4612cfa3d
parente48cbd7b77b7c55ad80871aff49544cd7d0104c6 (diff)
downloadnutyx-pakxe-56f209879968a42c9d02c342709a8f01ea04a365.tar.gz
nutyx-pakxe-56f209879968a42c9d02c342709a8f01ea04a365.tar.bz2
nutyx-pakxe-56f209879968a42c9d02c342709a8f01ea04a365.tar.xz
nutyx-pakxe-56f209879968a42c9d02c342709a8f01ea04a365.zip
maj libmsn#4.1-1
-rw-r--r--extra/libmsn/.footprint6
-rw-r--r--extra/libmsn/.md5sum3
-rw-r--r--extra/libmsn/Pkgfile8
-rw-r--r--extra/libmsn/openssl1.patch17
4 files changed, 27 insertions, 7 deletions
diff --git a/extra/libmsn/.footprint b/extra/libmsn/.footprint
index 4a87c758b..01f366298 100644
--- a/extra/libmsn/.footprint
+++ b/extra/libmsn/.footprint
@@ -21,8 +21,8 @@ drwxr-xr-x root/root usr/include/msn/
-rw-r--r-- root/root usr/include/msn/switchboardserver.h
-rw-r--r-- root/root usr/include/msn/util.h
drwxr-xr-x root/root usr/lib/
-lrwxrwxrwx root/root usr/lib/libmsn.so -> libmsn.so.0.1
-lrwxrwxrwx root/root usr/lib/libmsn.so.0.1 -> libmsn.so.0.1.0
--rwxr-xr-x root/root usr/lib/libmsn.so.0.1.0
+lrwxrwxrwx root/root usr/lib/libmsn.so -> libmsn.so.0.3
+lrwxrwxrwx root/root usr/lib/libmsn.so.0.3 -> libmsn.so.0.3.0
+-rwxr-xr-x root/root usr/lib/libmsn.so.0.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libmsn.pc
diff --git a/extra/libmsn/.md5sum b/extra/libmsn/.md5sum
index b05eeae2c..cef3dab3a 100644
--- a/extra/libmsn/.md5sum
+++ b/extra/libmsn/.md5sum
@@ -1 +1,2 @@
-160bd277a66bd837d0a26e4c03454be3 libmsn-4.0-beta7.tar.bz2
+769d3cf0e5625263fbc23321c1ddfcb0 libmsn-4.1.tar.bz2
+c8d7e2113d967a1d38a531e9fe8e7861 openssl1.patch
diff --git a/extra/libmsn/Pkgfile b/extra/libmsn/Pkgfile
index e5292760a..df39ae2f0 100644
--- a/extra/libmsn/Pkgfile
+++ b/extra/libmsn/Pkgfile
@@ -2,14 +2,16 @@
# URL:http://sourceforge.net/projects/libmsn
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: cmake
+# Depends on: cmake, openssl
name=libmsn
-version=4.0-beta7
+version=4.1
release=1
-source=(http://freefr.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
+source=(http://freefr.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
+ openssl1.patch)
build() {
+ patch -Np0 -i $SRC/openssl1.patch
cd $name-$version
mkdir build
cd build
diff --git a/extra/libmsn/openssl1.patch b/extra/libmsn/openssl1.patch
new file mode 100644
index 000000000..0ff7de898
--- /dev/null
+++ b/extra/libmsn/openssl1.patch
@@ -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);