[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#970816: buster-pu: package libimobiledevice/1.2.1~git20181030.92c5462-2+deb10u1



Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,
would it be possible to allow a new libimobiledevice version in Buster?

[ Reason ]

the recently released iOS (and ipadOS) 14 updates some protocols version
used for communication between a host and a device, especially debug,
backup and snapshot services. Upstream has updated the library, I've
already uploaded a fixed version in stable (and it has migrated to
testing).

I backported some of the changes to stable (the snapshot and backup
protocols versions, unfortunately the debug part would require
backporting others commits).

[ Impact ]
Backup, snapshot and debug services are broken. I think backup is the
most problematic one.

[ Tests ]
I've checked the backup part is fixed with iOS 14 on stable.

[ Risks ]
Code is rather simple (just protocol version change actually). I wasn't
able to test it on previous iOS version yet but an user did test on iOS
5 and reported success on github:
https://github.com/libimobiledevice/libimobiledevice/commit/b5d575c118ecfc2afcb12739433e916527182327#commitcomment-42388557

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Two patches are added, updating the protocol version number in the
source.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-1-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Differences in libimobiledevice between 1.2.1~git20181030.92c5462-2 and 1.2.1~git20181030.92c5462-2+deb10u1
diff -Nru libimobiledevice-1.2.1~git20181030.92c5462/debian/changelog libimobiledevice-1.2.1~git20181030.92c5462/debian/changelog
--- libimobiledevice-1.2.1~git20181030.92c5462/debian/changelog	2019-09-29 18:48:58.000000000 +0200
+++ libimobiledevice-1.2.1~git20181030.92c5462/debian/changelog	2020-09-23 20:24:18.000000000 +0200
@@ -1,3 +1,9 @@
+libimobiledevice (1.2.1~git20181030.92c5462-2+deb10u1) buster; urgency=medium
+
+  * d/patches: partial support for iOS 14
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Wed, 23 Sep 2020 20:24:18 +0200
+
 libimobiledevice (1.2.1~git20181030.92c5462-2) stable; urgency=medium
 
   * d/patches: properly handle partial SSL writes
diff -Nru libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0004-mobilebackup2-Set-DeviceLink-version-to-400-to-suppo.patch libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0004-mobilebackup2-Set-DeviceLink-version-to-400-to-suppo.patch
--- libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0004-mobilebackup2-Set-DeviceLink-version-to-400-to-suppo.patch	1970-01-01 01:00:00.000000000 +0100
+++ libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0004-mobilebackup2-Set-DeviceLink-version-to-400-to-suppo.patch	2020-09-23 20:24:18.000000000 +0200
@@ -0,0 +1,21 @@
+From: Nikias Bassen <nikias@gmx.li>
+Date: Fri, 7 Aug 2020 00:50:46 +0200
+Subject: mobilebackup2: Set DeviceLink version to 400 to support iOS 14b4+
+
+---
+ src/mobilebackup2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c
+index 08ce22b..5b3b4fb 100644
+--- a/src/mobilebackup2.c
++++ b/src/mobilebackup2.c
+@@ -27,7 +27,7 @@
+ #include "device_link_service.h"
+ #include "common/debug.h"
+ 
+-#define MBACKUP2_VERSION_INT1 300
++#define MBACKUP2_VERSION_INT1 400
+ #define MBACKUP2_VERSION_INT2 0
+ 
+ #define IS_FLAG_SET(x, y) ((x & y) == y)
diff -Nru libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0005-screenshotr-Set-DeviceLink-version-to-400-to-support.patch libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0005-screenshotr-Set-DeviceLink-version-to-400-to-support.patch
--- libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0005-screenshotr-Set-DeviceLink-version-to-400-to-support.patch	1970-01-01 01:00:00.000000000 +0100
+++ libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/0005-screenshotr-Set-DeviceLink-version-to-400-to-support.patch	2020-09-23 20:24:18.000000000 +0200
@@ -0,0 +1,21 @@
+From: Nikias Bassen <nikias@gmx.li>
+Date: Mon, 10 Aug 2020 15:39:56 +0200
+Subject: screenshotr: Set DeviceLink version to 400 to support iOS 14b4+
+
+---
+ src/screenshotr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/screenshotr.c b/src/screenshotr.c
+index 5c4a53f..bfefdee 100644
+--- a/src/screenshotr.c
++++ b/src/screenshotr.c
+@@ -27,7 +27,7 @@
+ #include "device_link_service.h"
+ #include "common/debug.h"
+ 
+-#define SCREENSHOTR_VERSION_INT1 300
++#define SCREENSHOTR_VERSION_INT1 400
+ #define SCREENSHOTR_VERSION_INT2 0
+ 
+ /**
diff -Nru libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/series libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/series
--- libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/series	2019-09-29 18:48:58.000000000 +0200
+++ libimobiledevice-1.2.1~git20181030.92c5462/debian/patches/series	2020-09-23 20:24:18.000000000 +0200
@@ -1,3 +1,5 @@
 0001-Drop-obsolete-m4-macros.patch
 0002-Use-_LIBS-instead-of-_LDFLAGS-for-cython-link.patch
 0003-idevice-properly-handle-partial-SSL-writes.patch
+0004-mobilebackup2-Set-DeviceLink-version-to-400-to-suppo.patch
+0005-screenshotr-Set-DeviceLink-version-to-400-to-support.patch

Reply to: