diff --git a/libimobiledevice-1.1.5.tar.bz2 b/libimobiledevice-1.1.5.tar.bz2 deleted file mode 100644 index 0d5419b..0000000 --- a/libimobiledevice-1.1.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d52ecd069dfc0abe8a81ed0718540df2def2f84b44e88ea783d44312b6f5f33e -size 577138 diff --git a/libimobiledevice-1.1.6.tar.bz2 b/libimobiledevice-1.1.6.tar.bz2 new file mode 100644 index 0000000..9c78a4f --- /dev/null +++ b/libimobiledevice-1.1.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fcd56489a27181617507b1d8aaf122f66d9860c0fe5af4c78f9e0ed129e33e0 +size 619429 diff --git a/libimobiledevice.changes b/libimobiledevice.changes index da8bc83..0fb11ea 100644 --- a/libimobiledevice.changes +++ b/libimobiledevice.changes @@ -1,3 +1,81 @@ +------------------------------------------------------------------- +Mon Jul 14 18:56:00 UTC 2014 - i@marguerite.su + +- add hard depedency on libplist-devel for libimobiledevice-devel + * fix build for openSUSE Factory + * I don't know why it didn't automatically requires it. + +------------------------------------------------------------------- +Mon Jun 16 12:18:56 UTC 2014 - i@marguerite.su + +- Update to version 1.1.6 + * Remove segmentation code from afc_file_read() to provide raw interface and + more control to API consumer I/O logic + * Implement global thread safe library initialization, especially to control + SSL backend lifecycle + * Major refactoring of pair record code and logic to use new usbmuxd pair + record management interface + * Replace user level with system wide pair record file handling + * Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item" + * Bump dependency to libusbmuxd 1.0.9 + * Finish pair record and trust dialog handling for iOS 7+ + * Improve AFC write performance and memory usage + * Add support for custom output filename to idevicescreenshot + * Fix detection and compilation for Python 3.x + * API: Added file_relay_request_sources_timeout() + * Fix broken HouseArrestClient class in cython bindings + * Add new idevicecrashreport tool to retrieve crash reports and logs from a + device + * Prevent "Failed to restart/shutdown device" messages in idevicediagnostics + * Link against ws2_32.dll on Win32 + * Add support for iOS 7+ disk image mounting to ideviceimagemounter + * Add new idevicename tool to get or set the device name + * Allow unbacking of encrypted backups with a given password to idevicebackup2 + * Remove sending "Goodbye" request on lockdown + * Add support for newer PLIST_REAL based time type to idevicedate + * Add note about setting time not working on iOS 6+ to idevicedate + * Handle partial SSL reads correctly now to prevent random crashes + * Fix duplicated output in ideviceinfo output + * Remove a bunch of dead code + * Fix deprecated OpenSSL "RSA_generate_key" with "RSA_generate_key_ex" which + is available since OpenSSL 0.9.8 (July 2005) + * Improve debug messages + * Enforce "-fsigned-char" to fix issues on embedded platforms + * Fix compilation with Clang/LLVM + * Avoid versioning for shared library on Win32 + * Add experimental support for controlling cloud backup mode to idevicebackup2 + * Save EscrowBag when starting service for automatic unlocking in pair record + * Remove pairing logic which is obsoleted by usbmuxd's preflight handler + * Fix shutdown of SSL connection to be correct and no longer generate errors + on device + * Add support for GnuTLS 3.x and fix broken GnuTLS backend + * Add extensions to generated certificates to match native ones + * Add "systembuid" command to idevicepair + * Allow starting service without the need for a running SSL session + * Refactor more code into common module + * Add option to filerelaytest to specify a source to request + * Fix support for partial messages in webinspector implementation + * Implement support for encrypted backups in idevicebackup2 + * API: Export SSL control functions for idevice_connection_t + * API: Make generic service client public to allow external service + implementations + * Implement *_start_service() helper for easier creation of service clients + * Add public *_SERVICE_NAME defines for each service + * Fix a great bunch of memory leaks after intensive valigrind session + * Security: Fix insecure use of the /tmp directory (CVE-2013-2142) + * A bunch of memory leak fixes + * Python: Various fixes and support for "with" statement for AfcFile class + * Python: Add Afc2Client class to allow jailbroken filesystem access + * Fix linking issue with newer libtool as reported for Ubuntu + * Fix stuck thread in idevicesyslog which broke quit from within the tool + * Add syslog_relay service implementation and use it in idevicesyslog + * API: Add instproxy_client_get_path_for_bundle_identifier() helper + * API: Add afc_dictionary_free() helper + * Move thread, socket, debug and userpref code to "common" source directory + in order to improve code reuse + * Fix broken byte order detection in configure.ac which could lead to broken + AFC protocol communication on platforms without endian.h (Raspberry PI) + ------------------------------------------------------------------- Sat Jul 20 08:49:17 UTC 2013 - dimstar@opensuse.org diff --git a/libimobiledevice.spec b/libimobiledevice.spec index 7312418..20c31ab 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -1,7 +1,7 @@ # # spec file for package libimobiledevice # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,58 +16,47 @@ # -%define with_python 0%{suse_version} < 1230 - -Name: libimobiledevice %define _name libimobiledevice4 -Version: 1.1.5 +Name: libimobiledevice +Version: 1.1.6 Release: 0 -BuildRequires: gcc-c++ -BuildRequires: libopenssl-devel -BuildRequires: libplist++-devel >= 1.8 -BuildRequires: libplist-devel >= 1.8 -BuildRequires: libtool -BuildRequires: libusbmuxd-devel >= 1.0.0 -BuildRequires: libxml2-devel -%if %{?suse_version} > 1140 && %{with_python} -BuildRequires: python-cython -BuildRequires: python-devel -BuildRequires: python-plist -%endif -BuildRequires: readline-devel -BuildRequires: sed -%if 0%{?opensuse_bs} -BuildRequires: pkg-config -%endif -%if 0%{?suse_version} <= 1110 -BuildRequires: libusb-1_0-devel >= 1.0.3 -%endif -Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 -Source1: baselibs.conf Summary: Native protocols library for iPhone, iPod Touch and iPad License: LGPL-2.1+ Group: System/Libraries Url: http://www.libimobiledevice.org +Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: libopenssl-devel +BuildRequires: libplist++-devel >= 1.11 +BuildRequires: libplist-devel >= 1.11 +BuildRequires: libtool +BuildRequires: libusbmuxd-devel >= 1.0.9 +BuildRequires: pkg-config +BuildRequires: python-cython +BuildRequires: python-devel +BuildRequires: python-plist +BuildRequires: readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: usbmuxd >= 1.0.0 -Obsoletes: libiphone0 < 0.9.6 %description -libimobiledevice is a software library that talks the protocols to support +libimobiledevice is a software library that talks the protocols to support iPhone, iPod Touch and iPad devices. Unlike other projects, it does not depend on using any existing `.dll` or `.so` libraries from Apple. %package -n %{_name} - Summary: Native protocols library for iPhone, iPod Touch and iPad License: LGPL-2.1+ Group: System/Libraries +Requires: libusbmuxd2 >= 1.0.9 Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -Obsoletes: libiphone0 < 0.9.6 +Provides: libiphone0 = %{version} +Obsoletes: libiphone0 < 0.9.6 %description -n %{_name} -libimobiledevice is a software library that talks the protocols to support +libimobiledevice is a software library that talks the protocols to support iPhone, iPod Touch and iPad devices. Unlike other projects, it does not depend on using any existing `.dll` or `.so` libraries from Apple. @@ -76,21 +65,22 @@ Summary: Development files for %{_name} License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: %{_name} = %{version} -Requires: libopenssl-devel -Requires: libplist-devel +Requires: libplist-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{_name}. -%package tools +%package -n imobiledevice-tools Summary: Tools using %{_name} for iPhone, iPod Touch and iPad License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Multimedia/Other Requires: %{_name} = %{version} +Provides: %{name}-tools = %{version} +Obsoletes: %{name}-tools < %{version} -%description tools -libimobiledevice is a software library that talks the protocols to support +%description -n imobiledevice-tools +libimobiledevice is a software library that talks the protocols to support iPhone, iPod Touch and iPad devices. Unlike other projects, it does not depend on using any existing `.dll` or `.so` libraries from Apple. @@ -102,41 +92,32 @@ Group: Development/Libraries/C and C++ %description doc Contains API reference documentation for developers using %{_name}. -%if %{?suse_version} > 1140 && %{with_python} %package -n python-imobiledevice Summary: Python bindings for %{_name} License: LGPL-2.1+ Group: Development/Languages/Python Requires: %{_name} = %{version} -Requires: libplist++1 >= 1.8 -%{py_requires} +Requires: python-plist >= 1.11 %description -n python-imobiledevice Contains Python bindings for developing applications that use %{_name}. -%endif %prep -%setup -q -n %{name}-%{version} - -%build +%setup -q autoreconf -fi sed -i -e '/Requires:/d' %{name}-1.0.pc.in sed -i -e 's/-L${libdir}//' %{name}-1.0.pc.in -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + +%build %configure --disable-silent-rules \ -%if %{?suse_version} <= 1140 || !(%{with_python}) - --without-cython \ -%endif --disable-static --disable-dev-tools make %{?_smp_mflags} %install -%{__make} install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name "*.la" -exec %{__rm} -fv {} + -rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}.*a* - -%clean -rm -rf $RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +rm -rf %{buildroot}/%{_libdir}/%{name}.*a* +%fdupes %{buildroot}%{_docdir}/%{name}-doc/html %post -n %{_name} -p /sbin/ldconfig @@ -148,14 +129,15 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root,-) +%defattr(-,root,root) %{_includedir}/%{name}/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}-1.0.pc -%files tools -%defattr(-,root,root,-) +%files -n imobiledevice-tools +%defattr(-,root,root) %{_bindir}/idevice_id +%{_bindir}/idevicecrashreport %{_bindir}/idevicepair %{_bindir}/ideviceinfo %{_bindir}/idevicesyslog @@ -164,11 +146,13 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/idevicedebugserverproxy %{_bindir}/idevicediagnostics %{_bindir}/ideviceimagemounter +%{_bindir}/idevicename %{_bindir}/idevicescreenshot %{_bindir}/ideviceenterrecovery %{_bindir}/idevicedate %{_bindir}/ideviceprovision %doc %{_mandir}/man1/idevice_id.1%{?ext_man} +%doc %{_mandir}/man1/idevicecrashreport.1%{?ext_man} %doc %{_mandir}/man1/idevicepair.1%{?ext_man} %doc %{_mandir}/man1/ideviceinfo.1%{?ext_man} %doc %{_mandir}/man1/idevicesyslog.1%{?ext_man} @@ -177,20 +161,19 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man1/idevicedebugserverproxy.1%{?ext_man} %doc %{_mandir}/man1/idevicediagnostics.1%{?ext_man} %doc %{_mandir}/man1/ideviceimagemounter.1%{?ext_man} +%doc %{_mandir}/man1/idevicename.1%{?ext_man} %doc %{_mandir}/man1/idevicescreenshot.1%{?ext_man} %doc %{_mandir}/man1/ideviceenterrecovery.1%{?ext_man} %doc %{_mandir}/man1/idevicedate.1%{?ext_man} %doc %{_mandir}/man1/ideviceprovision.1%{?ext_man} %files doc -%defattr (-, root, root) +%defattr(-,root,root) %doc AUTHORS COPYING COPYING.LESSER NEWS README %doc docs/html -%if %{?suse_version} > 1140 && %{with_python} %files -n python-imobiledevice -%defattr(-,root,root,-) -%{py_sitedir}/imobiledevice.so -%endif +%defattr(-,root,root) +%{python_sitearch}/imobiledevice.so %changelog