From ce0d446279752d035f594c10b5480eb9dd89bb05 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 20 Nov 2019 19:05:16 -0600 Subject: [PATCH] libimobiledevice: revbump against libusbmuxd Signed-off-by: Nathan Owens --- .../libimobiledevice/patches/CVE-2016-5104.patch | 4 ++-- srcpkgs/libimobiledevice/template | 15 ++++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/libimobiledevice/patches/CVE-2016-5104.patch b/srcpkgs/libimobiledevice/patches/CVE-2016-5104.patch index 9f8cd5c0feb..f9b5e12a4fd 100644 --- a/srcpkgs/libimobiledevice/patches/CVE-2016-5104.patch +++ b/srcpkgs/libimobiledevice/patches/CVE-2016-5104.patch @@ -9,8 +9,8 @@ Subject: [PATCH] common: [security fix] Make sure sockets only listen locally diff --git a/common/socket.c b/common/socket.c index b276864e..e2968a64 100644 ---- a/common/socket.c -+++ b/common/socket.c +--- common/socket.c ++++ common/socket.c @@ -172,7 +172,7 @@ int socket_create(uint16_t port) memset((void *) &saddr, 0, sizeof(saddr)); diff --git a/srcpkgs/libimobiledevice/template b/srcpkgs/libimobiledevice/template index 967c390bbdb..2737579f278 100644 --- a/srcpkgs/libimobiledevice/template +++ b/srcpkgs/libimobiledevice/template @@ -1,18 +1,19 @@ # Template file for 'libimobiledevice' pkgname=libimobiledevice version=1.2.0 -revision=13 -patch_args="-Np1" +revision=14 build_style=gnu-configure -hostmakedepends="automake libtool pkg-config python-devel" +hostmakedepends="automake libtool pkgconf python-Cython" makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel" short_desc="Library to communicate with Apple devices" maintainer="Orphaned " -license="GPL-2,LGPL-2.1" -homepage="http://www.libimobiledevice.org/" -distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2" -checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037 +license="LGPL-2.1-only" +homepage="https://github.com/libimobiledevice/libimobiledevice" +distfiles="https://github.com/libimobiledevice/libimobiledevice/archive/${version}.tar.gz" +checksum=8ba1ea817691b3548b83371f8ec22d73d1e37f8fda7c899ac9c7121d924ca830 + +CFLAGS="-I/usr/include/python3.6" if [ "$CROSS_BUILD" ]; then configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes"