[arch-commits] Commit in libimobiledevice/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Mar 3 18:50:45 UTC 2016


    Date: Thursday, March 3, 2016 @ 19:50:45
  Author: foutrelis
Revision: 260676

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  libimobiledevice/repos/staging-i686/
  libimobiledevice/repos/staging-i686/PKGBUILD
    (from rev 260675, libimobiledevice/trunk/PKGBUILD)
  libimobiledevice/repos/staging-i686/disable-sslv3.patch
    (from rev 260675, libimobiledevice/trunk/disable-sslv3.patch)
  libimobiledevice/repos/staging-x86_64/
  libimobiledevice/repos/staging-x86_64/PKGBUILD
    (from rev 260675, libimobiledevice/trunk/PKGBUILD)
  libimobiledevice/repos/staging-x86_64/disable-sslv3.patch
    (from rev 260675, libimobiledevice/trunk/disable-sslv3.patch)

------------------------------------+
 staging-i686/PKGBUILD              |   34 ++++++++++++++++++++++++++++++++++
 staging-i686/disable-sslv3.patch   |   12 ++++++++++++
 staging-x86_64/PKGBUILD            |   34 ++++++++++++++++++++++++++++++++++
 staging-x86_64/disable-sslv3.patch |   12 ++++++++++++
 4 files changed, 92 insertions(+)

Copied: libimobiledevice/repos/staging-i686/PKGBUILD (from rev 260675, libimobiledevice/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-03-03 18:50:45 UTC (rev 260676)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux"
+url="http://libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('libusbmuxd' 'gnutls' 'libgcrypt')
+makedepends=('python2')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2
+        disable-sslv3.patch)
+md5sums=('8757900ba7bbe2ef5f54342415d0223e'
+         'bac123da4cc67b2f5cc798727e6231a9')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../disable-sslv3.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: libimobiledevice/repos/staging-i686/disable-sslv3.patch (from rev 260675, libimobiledevice/trunk/disable-sslv3.patch)
===================================================================
--- staging-i686/disable-sslv3.patch	                        (rev 0)
+++ staging-i686/disable-sslv3.patch	2016-03-03 18:50:45 UTC (rev 260676)
@@ -0,0 +1,12 @@
+diff -u -r libimobiledevice-1.2.0/src/idevice.c libimobiledevice-1.2.0-nossl3/src/idevice.c
+--- libimobiledevice-1.2.0/src/idevice.c	2015-01-28 02:10:32.000000000 +0100
++++ libimobiledevice-1.2.0-nossl3/src/idevice.c	2016-03-03 18:33:45.912308242 +0100
+@@ -678,7 +678,7 @@
+ 	}
+ 	BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE);
+ 
+-	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
++	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method());
+ 	if (ssl_ctx == NULL) {
+ 		debug_info("ERROR: Could not create SSL context.");
+ 		BIO_free(ssl_bio);

Copied: libimobiledevice/repos/staging-x86_64/PKGBUILD (from rev 260675, libimobiledevice/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-03-03 18:50:45 UTC (rev 260676)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux"
+url="http://libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('libusbmuxd' 'gnutls' 'libgcrypt')
+makedepends=('python2')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2
+        disable-sslv3.patch)
+md5sums=('8757900ba7bbe2ef5f54342415d0223e'
+         'bac123da4cc67b2f5cc798727e6231a9')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../disable-sslv3.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: libimobiledevice/repos/staging-x86_64/disable-sslv3.patch (from rev 260675, libimobiledevice/trunk/disable-sslv3.patch)
===================================================================
--- staging-x86_64/disable-sslv3.patch	                        (rev 0)
+++ staging-x86_64/disable-sslv3.patch	2016-03-03 18:50:45 UTC (rev 260676)
@@ -0,0 +1,12 @@
+diff -u -r libimobiledevice-1.2.0/src/idevice.c libimobiledevice-1.2.0-nossl3/src/idevice.c
+--- libimobiledevice-1.2.0/src/idevice.c	2015-01-28 02:10:32.000000000 +0100
++++ libimobiledevice-1.2.0-nossl3/src/idevice.c	2016-03-03 18:33:45.912308242 +0100
+@@ -678,7 +678,7 @@
+ 	}
+ 	BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE);
+ 
+-	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
++	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method());
+ 	if (ssl_ctx == NULL) {
+ 		debug_info("ERROR: Could not create SSL context.");
+ 		BIO_free(ssl_bio);



More information about the arch-commits mailing list