[arch-commits] Commit in libmsn/trunk (PKGBUILD openssl1.patch)

Andrea Scarpino andrea at archlinux.org
Wed Nov 9 13:01:55 EST 2011


    Date: Wednesday, November 9, 2011 @ 13:01:55
  Author: andrea
Revision: 142428

upgpkg: libmsn 4.2-1

Upstream release

Modified:
  libmsn/trunk/PKGBUILD	(contents, properties)
Deleted:
  libmsn/trunk/openssl1.patch

----------------+
 PKGBUILD       |   26 ++++++++++++--------------
 openssl1.patch |   17 -----------------
 2 files changed, 12 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-09 13:06:05 UTC (rev 142427)
+++ PKGBUILD	2011-11-09 18:01:55 UTC (rev 142428)
@@ -1,33 +1,31 @@
-# $Id: $
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Charly Ghislain <charlyghislain at gmail.com>
 
 pkgname=libmsn
-pkgver=4.1
-pkgrel=2
+pkgver=4.2
+pkgrel=1
 pkgdesc="A reusable, open-source, fully documented library for connecting to Microsoft's MSN"
 url="http://sourceforge.net/projects/libmsn/"
 arch=('i686' 'x86_64')
 license=('GPL2')
 depends=('openssl')
 makedepends=('cmake')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
-	'openssl1.patch')
-md5sums=('769d3cf0e5625263fbc23321c1ddfcb0'
-	'c8d7e2113d967a1d38a531e9fe8e7861')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('8887196051d2960a9279a5e00c8416a4')
 
 build() {
-  cd ${srcdir}
-  patch -Np0 -i ${srcdir}/openssl1.patch || return 1
+  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release || return 1
-  make || return 1
+    -DCMAKE_BUILD_TYPE=Release
+  make
 }
 
 package() {
-  cd ${srcdir}/build
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}/build"
+  make "DESTDIR=${pkgdir}" install
 }


Property changes on: libmsn/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Deleted: openssl1.patch
===================================================================
--- openssl1.patch	2011-11-09 13:06:05 UTC (rev 142427)
+++ openssl1.patch	2011-11-09 18:01:55 UTC (rev 142428)
@@ -1,17 +0,0 @@
---- 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);



More information about the arch-commits mailing list