commit | 80d5f46cea8f7b8692c0d1f076b52195ba766eef | [log] [tgz] |
---|---|---|
author | orbea <orbea@riseup.net> | Tue Apr 23 09:15:51 2024 -0700 |
committer | Nikias Bassen <nikias@gmx.li> | Sat Apr 27 01:41:28 2024 +0200 |
tree | 38e7fae7128c28f0d13f17e70ebeff4b84225fa6 | |
parent | 9d74aed599b4bb5f6c2fce042ab9630acaebb159 [diff] |
common/userpref: remove X509V3_EXT_cleanup() When building libimobiledevice with libressl 3.9 it fails with an implicit declaration for X509V3_EXT_cleanup(). This was removed in libressl "because it was part of a dangerous, incomplete and mostly useless API". Additionally it doesn't seem to be actually used by libimobiledevice: "It cleans up the stack containing custom extensions which libimobiledevice doesn't use, it's only needed after calls to X509V3_EXT_add{,_list,_alias}()." Reference: https://github.com/libressl/portable/issues/1050 Signed-off-by: orbea <orbea@riseup.net>
A library to communicate with services on iOS devices using native protocols.
libimobiledevice is a cross-platform software library that talks the protocols to interact with iOS devices.
Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking.
Some key features are:
The implemented interfaces of many device service protocols allow applications to:
... and much more.
The library is in development since August 2007 with the goal to bring support for these devices to the Linux Desktop.
First install all required dependencies and build tools:
sudo apt-get install \ build-essential \ pkg-config \ checkinstall \ git \ autoconf \ automake \ libtool-bin \ libplist-dev \ libusbmuxd-dev \ libimobiledevice-glue-dev \ libssl-dev \ usbmuxd
If you want to optionally build the documentation or Python bindings use:
sudo apt-get install \ doxygen \ cython
Then clone the actual project repository:
git clone https://github.com/libimobiledevice/libimobiledevice.git cd libimobiledevice
Now you can build and install it:
./autogen.sh make sudo make install
If you require a custom prefix or other option being passed to ./configure
you can pass them directly to ./autogen.sh
like this:
./autogen.sh --prefix=/opt/local --enable-debug make sudo make install
By default, OpenSSL will be used as TLS/SSL library. If you prefer GnuTLS, configure with --with-gnutls
like this:
./autogen.sh --with-gnutls
MbedTLS is also supported and can be enabled by passing --with-mbedtls
to configure. If mbedTLS is not installed in a default location, you need to set the environment variables mbedtls_INCLUDES
to the path that contains the MbedTLS headers and mbedtls_LIBDIR
to set the library path. Optionally, mbedtls_LIBS
can be used to set the library names directly. Example:
./autogen.sh --with-mbedtls mbedtls_INCLUDES=/opt/local/include mbedtls_LIBDIR=/opt/local/lib
Documentation about using the library in your application is not available yet. The “hacker way” for now is to look at the implementation of the included utilities.
The library bundles the following command-line utilities in the tools directory:
Utility | Description |
---|---|
idevice_id | List attached devices or print device name of given device |
idevicebackup | Create or restore backup for devices (legacy) |
idevicebackup2 | Create or restore backups for devices running iOS 4 or later |
idevicebtlogger | Capture Bluetooth HCI traffic from a device (requires log profile) |
idevicecrashreport | Retrieve crash reports from a device |
idevicedate | Display the current date or set it on a device |
idevicedebug | Interact with the debugserver service of a device |
idevicedebugserverproxy | Proxy a debugserver connection from a device for remote debugging |
idevicediagnostics | Interact with the diagnostics interface of a device |
ideviceenterrecovery | Make a device enter recovery mode |
ideviceimagemounter | Mount disk images on the device |
ideviceinfo | Show information about a connected device |
idevicename | Display or set the device name |
idevicenotificationproxy | Post or observe notifications on a device |
idevicepair | Manage host pairings with devices and usbmuxd |
ideviceprovision | Manage provisioning profiles on a device |
idevicescreenshot | Gets a screenshot from the connected device |
idevicesetlocation | Simulate location on device |
idevicesyslog | Relay syslog of a connected device |
afcclient | Interact with device filesystem via AFC/HouseArrest |
Please consult the usage information or manual pages of each utility for a documentation of available command line options and usage examples like this:
ideviceinfo --help man ideviceinfo
We welcome contributions from anyone and are grateful for every pull request!
If you'd like to contribute, please fork the master
branch, change, commit and send a pull request for review. Once approved it can be merged into the main code base.
If you plan to contribute larger changes or a major refactoring, please create a ticket first to discuss the idea upfront to ensure less effort for everyone.
Please make sure your contribution adheres to:
We are still working on the guidelines so bear with us!
This library and utilities are licensed under the GNU Lesser General Public License v2.1, also included in the repository in the COPYING
file.
Apple, iPhone, iPad, iPod, iPod Touch, Apple TV, Apple Watch, Mac, iOS, iPadOS, tvOS, watchOS, and macOS are trademarks of Apple Inc.
This project is an independent software and has not been authorized, sponsored, or otherwise approved by Apple Inc.
README Updated on: 2023-12-30