Update idevicerestore and dependent libraries
cover Update idevicerestore and dependent libraries
This patch series update idevicerestore and dependent libraries to point to latest commit on github to support newer iOS device restore.
Potin Lai (7):
libplist: add libplist_git.bb
libimobiledevice-glue: SRCREV bump bc6c44b..d2ff796
libimobiledevice: add libimobiledevice_git.bb
libirecovery: SRCREV bump e190945..ab5b4d8
libusbmuxd: add libusbmuxd_git.bb
usbmuxd: add usbmuxd_git.bb
idevicerestore: SRCREV bump 280575b..7d622d9
.../libimobiledevice-glue_git.bb | 2 +- .../libimobiledevice/libimobiledevice_git.bb | 19 ++++++++++ .../libirecovery/libirecovery_git.bb | 2 +- .../usbmuxd/usbmuxd_git.bb | 23 ++++++++++++ .../libimobiledevice/libplist_git.bb | 37 +++++++++++++++++++ .../libimobiledevice/libusbmuxd_git.bb | 17 +++++++++ .../idevicerestore/idevicerestore_git.bb | 4 +- 7 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb create mode 100644 meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb create mode 100644 meta-oe/recipes-extended/libimobiledevice/libplist_git.bb create mode 100644 meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
Signature · 1 line
2.31.1
PATCH 1/7 libplist: add libplist_git.bb
Add libplist_git.bb to point to latest commit on github
--- .../libimobiledevice/libplist_git.bb | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
meta-oe/recipes-extended/libimobiledevice/libplist_git.bb new file +37 -0
@@ -0,0 +1,37 @@ +SUMMARY = "A library to handle Apple Property List format whereas it's binary or XML" +HOMEPAGE = "https://github.com/libimobiledevice/libplist" +LICENSE = "GPL-2.0-only & LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ + file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7" + +DEPENDS = "libxml2 glib-2.0 swig python3" + +inherit autotools pkgconfig python3native python3targetconfig + +PV = "2.2.0+git${SRCPV}" + +SRCREV = "db93bae96d64140230ad050061632531644c46ad" +SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" + +S = "${WORKDIR}/git" + +CVE_CHECK_IGNORE += "\ + CVE-2017-5834 \ + CVE-2017-5835 \ + CVE-2017-5836 \ +" + +do_install:append () { + if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then + chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so + fi +} + +PACKAGES =+ "${PN}-utils \ + ${PN}++ \ + ${PN}-python" + +FILES:${PN} = "${libdir}/libplist-2.0${SOLIBS}" +FILES:${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}" +FILES:${PN}-utils = "${bindir}/*" +FILES:${PN}-python = "${libdir}/python*/site-packages/*"
Signature · 1 line
2.31.1
PATCH 2/7 libimobiledevice-glue: SRCREV bump bc6c44b..d2ff796
In reply to Potin LaiChangelogs:
==========
d2ff796 termcolors: Rename COLOR_* macros to FG_* due to conflict with ncurses c2e237a [clang-tidy] Do not use else after return/break/continue 1c7619d [clang-tidy] utils: Fix too small loop variable
c6ae88f [clang-tidy] use uppercase numeric literals
00131b5 termcolors: Add missing stdio.h include
--- .../libimobiledevice-glue/libimobiledevice-glue_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_git.bb +1 -1
@@ -10,7 +10,7 @@ DEPENDS = "libplist" PV = "1.0.0+git${SRCPV}" -SRCREV = "bc6c44b92091c9587a9bed0ed3f2c3248bfd13b3" +SRCREV = "d2ff7969dcd0a12e4f18f63dab03e6cd03054fcb" SRC_URI = "git://github.com/libimobiledevice/libimobiledevice-glue;protocol=https;branch=master" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
PATCH 3/7 libimobiledevice: add libimobiledevice_git.bb
In reply to Potin LaiAdd libimobiledevice_git.bb to point to latest commit on github
--- .../libimobiledevice/libimobiledevice_git.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "A protocol library to access an iPhone or iPod Touch in Linux" +LICENSE = "GPL-2.0-only & LGPL-2.1-only" +LIC_FILES_CHKSUM = "\ + file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ + file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7 \ +" +HOMEPAGE = "http://www.libimobiledevice.org/" + +DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevice-glue openssl" + +PV = "1.3.0+git${SRCPV}" + +SRCREV = "2eec1b9a172354c8521123a767d998b17bd2ac18" +SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master" + +S = "${WORKDIR}/git" +inherit autotools pkgconfig + +EXTRA_OECONF = " --without-cython "
Signature · 1 line
2.31.1
PATCH 4/7 libirecovery: SRCREV bump e190945..ab5b4d8
In reply to Potin LaiChangelogs:
==========
ab5b4d8 Introduce non-persistent setenvnp command
17c02be Updated .gitignore
6e68ca7 Add device ID for macOS 12 Apple Silicon VMs
82d2357 Updated README with pkg-config requirement
c42442a Add Studio Display (device lookup)
ae49507 Use MACH_PORT_NULL to deal with kIOMasterPortDefault/kIOMainPortDefault rename
--- meta-oe/recipes-connectivity/libirecovery/libirecovery_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/libirecovery/libirecovery_git.bb +1 -1
@@ -10,7 +10,7 @@ DEPENDS = "libimobiledevice-glue libusb1" PV = "1.0.1+git${SRCPV}" -SRCREV = "e19094594552b7bed60418ffe6f46f455e6bb78f" +SRCREV = "ab5b4d8d4c0e90c05d80f80c7e99a6516de9b5c6" SRC_URI = "git://github.com/libimobiledevice/libirecovery;protocol=https;branch=master" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
PATCH 5/7 libusbmuxd: add libusbmuxd_git.bb
In reply to Potin LaiAdd libusbmuxd_git.bb to point to latest commit on github
--- .../libimobiledevice/libusbmuxd_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb new file +17 -0
@@ -0,0 +1,17 @@ +DESCRIPTION = "This daemon is in charge of multiplexing connections over USB to an iPhone or iPod touch." +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7" + +DEPENDS = "udev libusb1 libplist libimobiledevice-glue" + +inherit autotools pkgconfig gitpkgv + +PKGV = "${GITPKGVTAG}" +PV = "2.0.2+git${SRCPV}" + +SRCREV = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a" +SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master" + +S = "${WORKDIR}/git" + +FILES:${PN} += "${base_libdir}/udev/rules.d/"
Signature · 1 line
2.31.1
PATCH 6/7 usbmuxd: add usbmuxd_git.bb
In reply to Potin LaiAdd usbmuxd_git.bb to point to latest commit on github
--- .../usbmuxd/usbmuxd_git.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "This daemon is in charge of multiplexing connections over USB to an iPhone or iPod touch." +HOMEPAGE = "https://github.com/libimobiledevice/usbmuxd" +LICENSE = "GPL-3.0-only & GPL-2.0-only & LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=ebb5c50ab7cab4baeffba14977030c07 \ + file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504" + +DEPENDS = "udev libusb1 libplist libimobiledevice-glue" + +inherit autotools pkgconfig gitpkgv systemd + +PKGV = "${GITPKGVTAG}" +PV = "1.1.2+git${SRCPV}" + +SRCREV = "f50e52f3393a9149ac65fdda8f0d425109efc7fe" +SRC_URI = "git://github.com/libimobiledevice/usbmuxd;protocol=https;branch=master" + +S = "${WORKDIR}/git" + +EXTRA_OECONF += "--without-preflight" + +FILES:${PN} += "${base_libdir}/udev/rules.d/" + +SYSTEMD_SERVICE:${PN} = "usbmuxd.service"
Signature · 1 line
2.31.1
PATCH 7/7 idevicerestore: SRCREV bump 280575b..7d622d9
In reply to Potin LaiChangelogs:
==========
7d622d9 restore: Don't print 'Attempting to continue after critical error' warning when no error was detected 6bc672c Make sure to exactly match the passed variant when using --variant
e667b49 Add --variant command line switch to specify build identity to use
fbbd4b6 Ignore 'Research*' variant in build identity selection
20ad978 ipsw: Add workaround for missing RestoreBehavior entries for ipsw info
efd00b4 Don't print an error message when RestoreBehavior is missing
170a17e ipsw: Improve error message when fwrite fails
eff9fab Support iOS 16.0 Beta 2 (#506)
aa25a29 Remove more serial number checks, and get ECID early on in all modes
f6c3d53 Add support for FirmwareUpdaterPreflight message
3525150 Use more elegant way to match file name to component name
5831f78 restore: Fix memory corruption in restore_get_timer_firmware_data
6d3f4cf Add support for iOS 16
f80a876 ipsw: Update to reflect color macro name change in libimobiledevice-glue
ddc0c16 Fix restore for devices that don't have eUICC
51b33f4 Increase recovery mode disconnect and re-connect timeout from 10 to 60 seconds 0b269e6 configure: Only check for pthread if really required
6a16d60 configure: Make sure the plist_from_json works
9052c7f Print version string upon execution
86c53b4 autoconf: Automatically derive version number from latest git tag
8f7afa0 More code improvements using _plist_dict_copy_* helper
71561a4 Use proper detection for macOS restore path (instead of version number comparison) 2eb8865 Fix build identity selection for beta (developer) firmware
190473b restore: Fixed a problem that nobody even knew existed
e833a30 normal: Skip fetching FirmwarePreflightInfo for non-baseband devices
ca44e4d tss: Fix img4 tag for TSS request
03f2bae tss/restore: Improve code readability with plist helpers and removal of unneeded comments 7eaa1fa Add support for Timer,* components and TSS found in iPad Air 5th gen firmware e28d96d ipsw: Use libplist's new plist_from_json API
d0a61eb Updated README with pkg-config requirement
--- meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb +2 -2
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "\ HOMEPAGE = "http://www.libimobiledevice.org/" -DEPENDS = "libirecovery libimobiledevice libzip curl" +DEPENDS = "libirecovery libimobiledevice libzip curl libimobiledevice-glue openssl" PV = "1.0.1+git${SRCPV}" -SRCREV = "280575bb95977241e240ed081a2602d68746443e" +SRCREV = "7d622d916be16f2df5a72bf53a42f3a326bbfaa4" SRC_URI = "git://github.com/libimobiledevice/idevicerestore;protocol=https;branch=master" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1