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

2017-01-24 Thread Jan de Groot
Date: Tuesday, January 24, 2017 @ 14:06:05
  Author: jgc
Revision: 287374

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

Added:
  libimobiledevice/repos/extra-i686/CVE-2016-5104.patch
(from rev 287373, libimobiledevice/trunk/CVE-2016-5104.patch)
  libimobiledevice/repos/extra-i686/PKGBUILD
(from rev 287373, libimobiledevice/trunk/PKGBUILD)
  libimobiledevice/repos/extra-i686/disable-sslv3.patch
(from rev 287373, libimobiledevice/trunk/disable-sslv3.patch)
  libimobiledevice/repos/extra-x86_64/CVE-2016-5104.patch
(from rev 287373, libimobiledevice/trunk/CVE-2016-5104.patch)
  libimobiledevice/repos/extra-x86_64/PKGBUILD
(from rev 287373, libimobiledevice/trunk/PKGBUILD)
  libimobiledevice/repos/extra-x86_64/disable-sslv3.patch
(from rev 287373, libimobiledevice/trunk/disable-sslv3.patch)
Deleted:
  libimobiledevice/repos/extra-i686/PKGBUILD
  libimobiledevice/repos/extra-i686/disable-sslv3.patch
  libimobiledevice/repos/extra-x86_64/PKGBUILD
  libimobiledevice/repos/extra-x86_64/disable-sslv3.patch

--+
 /PKGBUILD|  104 +
 /disable-sslv3.patch |   24 
 extra-i686/CVE-2016-5104.patch   |   31 +++
 extra-i686/PKGBUILD  |   34 
 extra-i686/disable-sslv3.patch   |   12 
 extra-x86_64/CVE-2016-5104.patch |   31 +++
 extra-x86_64/PKGBUILD|   34 
 extra-x86_64/disable-sslv3.patch |   12 
 8 files changed, 190 insertions(+), 92 deletions(-)

Copied: libimobiledevice/repos/extra-i686/CVE-2016-5104.patch (from rev 287373, 
libimobiledevice/trunk/CVE-2016-5104.patch)
===
--- extra-i686/CVE-2016-5104.patch  (rev 0)
+++ extra-i686/CVE-2016-5104.patch  2017-01-24 14:06:05 UTC (rev 287374)
@@ -0,0 +1,31 @@
+From df1f5c4d70d0c19ad40072f5246ca457e7f9849e Mon Sep 17 00:00:00 2001
+From: Joshua Hill 
+Date: Tue, 29 Dec 2015 22:27:17 +0100
+Subject: [PATCH] common: [security fix] Make sure sockets only listen locally
+
+---
+ common/socket.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/common/socket.c b/common/socket.c
+index b276864..e2968a6 100644
+--- a/common/socket.c
 b/common/socket.c
+@@ -172,7 +172,7 @@ int socket_create(uint16_t port)
+ 
+   memset((void *) , 0, sizeof(saddr));
+   saddr.sin_family = AF_INET;
+-  saddr.sin_addr.s_addr = htonl(INADDR_ANY);
++  saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
+   saddr.sin_port = htons(port);
+ 
+   if (0 > bind(sfd, (struct sockaddr *) , sizeof(saddr))) {
+@@ -329,7 +329,7 @@ int socket_accept(int fd, uint16_t port)
+ 
+   memset(, 0, sizeof(addr));
+   addr.sin_family = AF_INET;
+-  addr.sin_addr.s_addr = htonl(INADDR_ANY);
++  addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
+   addr.sin_port = htons(port);
+ 
+   addr_len = sizeof(addr);

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-01-24 14:05:56 UTC (rev 287373)
+++ extra-i686/PKGBUILD 2017-01-24 14:06:05 UTC (rev 287374)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer : Tom Gundersen 
-# Maintainer : Ionut Biru 
-# Contributor: Gabriel Martinez < reitaka at gmail dot com >
-
-pkgname=libimobiledevice
-pkgver=1.2.0
-pkgrel=3
-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')
-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/extra-i686/PKGBUILD (from rev 287373, 
libimobiledevice/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-01-24 14:06:05 UTC (rev 287374)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer : Tom Gundersen 
+# Maintainer : Ionut Biru 
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.2.0
+pkgrel=4
+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' 'usbmuxd')
+makedepends=('python2' 'cython2' 'python' 'cython' 'libplist' 

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

2012-08-07 Thread Tom Gundersen
Date: Tuesday, August 7, 2012 @ 20:24:19
  Author: tomegun
Revision: 164989

db-move: moved libimobiledevice from [core] to [extra] (i686, x86_64)

Added:
  libimobiledevice/repos/extra-i686/HOME-segfault.patch
(from rev 164988, libimobiledevice/repos/core-i686/HOME-segfault.patch)
  libimobiledevice/repos/extra-i686/PKGBUILD
(from rev 164988, libimobiledevice/repos/core-i686/PKGBUILD)
  libimobiledevice/repos/extra-x86_64/HOME-segfault.patch
(from rev 164988, libimobiledevice/repos/core-x86_64/HOME-segfault.patch)
  libimobiledevice/repos/extra-x86_64/PKGBUILD
(from rev 164988, libimobiledevice/repos/core-x86_64/PKGBUILD)
Deleted:
  libimobiledevice/repos/core-i686/
  libimobiledevice/repos/core-x86_64/
  libimobiledevice/repos/extra-i686/PKGBUILD
  libimobiledevice/repos/extra-i686/swig-version-check.patch
  libimobiledevice/repos/extra-x86_64/PKGBUILD
  libimobiledevice/repos/extra-x86_64/swig-version-check.patch

---+
 extra-i686/HOME-segfault.patch|   14 +++
 extra-i686/PKGBUILD   |   58 +---
 extra-i686/swig-version-check.patch   |   14 ---
 extra-x86_64/HOME-segfault.patch  |   14 +++
 extra-x86_64/PKGBUILD |   58 +---
 extra-x86_64/swig-version-check.patch |   14 ---
 6 files changed, 90 insertions(+), 82 deletions(-)

Copied: libimobiledevice/repos/extra-i686/HOME-segfault.patch (from rev 164988, 
libimobiledevice/repos/core-i686/HOME-segfault.patch)
===
--- extra-i686/HOME-segfault.patch  (rev 0)
+++ extra-i686/HOME-segfault.patch  2012-08-08 00:24:19 UTC (rev 164989)
@@ -0,0 +1,14 @@
+The patch fixes segfault when both $XDG_CONFIG_HOME and $HOME are unset
+Signed-off-by: Maxim Mikityanskiy maxtra...@gmail.com
+--- src/userpref.c.orig2012-06-04 17:04:57.387303630 +0300
 src/userpref.c 2012-06-04 17:06:05.741301627 +0300
+@@ -125,6 +125,9 @@
+   const char *cdir = getenv(XDG_CONFIG_HOME);
+   if (!cdir) {
+   cdir = getenv(HOME);
++  if (!cdir) {
++  cdir=/root;
++  }
+   strcpy(__config_dir, cdir);
+   strcat(__config_dir, DIR_SEP_S);
+   strcat(__config_dir, .config);

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-08-07 22:06:21 UTC (rev 164988)
+++ extra-i686/PKGBUILD 2012-08-08 00:24:19 UTC (rev 164989)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru ib...@archlinux.org
-# Contributor: Gabriel Martinez  reitaka at gmail dot com 
-
-pkgname=libimobiledevice
-pkgver=1.1.4
-pkgrel=1
-pkgdesc=Is a software 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=('usbmuxd' 'gnutls' 'libgcrypt')
-options=('!libtool')
-source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
-
-build() {
-  cd $pkgname-$pkgver
-
-  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-}
-md5sums=('3f28cbc6a2e30d34685049c0abde5183')

Copied: libimobiledevice/repos/extra-i686/PKGBUILD (from rev 164988, 
libimobiledevice/repos/core-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-08-08 00:24:19 UTC (rev 164989)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer : Ionut Biru ib...@archlinux.org
+# Contributor: Gabriel Martinez  reitaka at gmail dot com 
+
+pkgname=libimobiledevice
+pkgver=1.1.4
+pkgrel=2
+pkgdesc=Is a software 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=('usbmuxd' 'gnutls' 'libgcrypt')
+options=('!libtool')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2
+   HOME-segfault.patch)
+
+build() {
+  cd $pkgname-$pkgver
+
+  patch -p0  $srcdir/HOME-segfault.patch
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+}
+md5sums=('3f28cbc6a2e30d34685049c0abde5183'
+ '0de709dbf8e79d0b00cca06f5e61d57c')

Deleted: extra-i686/swig-version-check.patch
===
--- extra-i686/swig-version-check.patch 2012-08-07 22:06:21 UTC (rev 164988)
+++ extra-i686/swig-version-check.patch 2012-08-08 00:24:19 UTC (rev 164989)
@@ -1,14 +0,0 @@
-diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure
 libimobiledevice-1.0.3.old/configure   2010-10-04 07:38:37.0 
-0700
-+++ libimobiledevice-1.0.3/configure   

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

2012-07-31 Thread Eric BĂ©langer
Date: Tuesday, July 31, 2012 @ 15:43:16
  Author: eric
Revision: 164368

db-move: moved libimobiledevice from [testing] to [extra] (i686, x86_64)

Added:
  libimobiledevice/repos/extra-i686/PKGBUILD
(from rev 164359, libimobiledevice/repos/testing-i686/PKGBUILD)
  libimobiledevice/repos/extra-i686/swig-version-check.patch
(from rev 164359, 
libimobiledevice/repos/testing-i686/swig-version-check.patch)
  libimobiledevice/repos/extra-x86_64/PKGBUILD
(from rev 164359, libimobiledevice/repos/testing-x86_64/PKGBUILD)
  libimobiledevice/repos/extra-x86_64/swig-version-check.patch
(from rev 164359, 
libimobiledevice/repos/testing-x86_64/swig-version-check.patch)
Deleted:
  libimobiledevice/repos/extra-i686/PKGBUILD
  libimobiledevice/repos/extra-i686/swig-version-check.patch
  libimobiledevice/repos/extra-x86_64/PKGBUILD
  libimobiledevice/repos/extra-x86_64/swig-version-check.patch
  libimobiledevice/repos/testing-i686/
  libimobiledevice/repos/testing-x86_64/

---+
 extra-i686/PKGBUILD   |   60 ++--
 extra-i686/swig-version-check.patch   |   28 +++---
 extra-x86_64/PKGBUILD |   60 ++--
 extra-x86_64/swig-version-check.patch |   28 +++---
 4 files changed, 82 insertions(+), 94 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-07-31 19:43:09 UTC (rev 164367)
+++ extra-i686/PKGBUILD 2012-07-31 19:43:16 UTC (rev 164368)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru ib...@archlinux.org
-# Contributor: Gabriel Martinez  reitaka at gmail dot com 
-
-pkgname=libimobiledevice
-pkgver=1.1.1
-pkgrel=3
-pkgdesc=Is a software 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=('usbmuxd' 'libplist' 'gnutls' 'libgcrypt')
-makedepends=('python2' 'swig')
-options=('!libtool')
-source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2
-swig-version-check.patch)
-md5sums=('cdc13037e822d9ac2e109536701d153a'
- '8bb215e36fe0e08a72332c108c7842cc')
-
-build() {
-  cd $pkgname-$pkgver
-
-  # SWIG version check is wrong (still not fixed upstream)
-  patch -p1 -i ../swig-version-check.patch
-
-  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-}

Copied: libimobiledevice/repos/extra-i686/PKGBUILD (from rev 164359, 
libimobiledevice/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-07-31 19:43:16 UTC (rev 164368)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer : Ionut Biru ib...@archlinux.org
+# Contributor: Gabriel Martinez  reitaka at gmail dot com 
+
+pkgname=libimobiledevice
+pkgver=1.1.4
+pkgrel=1
+pkgdesc=Is a software 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=('usbmuxd' 'gnutls' 'libgcrypt')
+options=('!libtool')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+
+build() {
+  cd $pkgname-$pkgver
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+}
+md5sums=('3f28cbc6a2e30d34685049c0abde5183')

Deleted: extra-i686/swig-version-check.patch
===
--- extra-i686/swig-version-check.patch 2012-07-31 19:43:09 UTC (rev 164367)
+++ extra-i686/swig-version-check.patch 2012-07-31 19:43:16 UTC (rev 164368)
@@ -1,14 +0,0 @@
-diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure
 libimobiledevice-1.0.3.old/configure   2010-10-04 07:38:37.0 
-0700
-+++ libimobiledevice-1.0.3/configure   2010-10-08 05:43:05.466686656 -0700
-@@ -3477,9 +3477,7 @@
- if test -z $available_patch ; then
- available_patch=0
- fi
--if test $available_major -ne $required_major \
---o $available_minor -ne $required_minor \
---o $available_patch -lt $required_patch ; then
-+if test $available_major -lt $required_major ; then
- { $as_echo $as_me:${as_lineno-$LINENO}: 
WARNING: SWIG version = 1.3.21 is required.  You have $swig_version.  You 
should look at http://www.swig.org; 5
- $as_echo $as_me: WARNING: SWIG version = 1.3.21 is required.  You have 
$swig_version.  You should look at http://www.swig.org; 2;}
- SWIG=false

Copied: