commit 2ae5ee4e730e21f35f4e175ef039f4555d633a8d3a45bd56453d7a4233f4278a Author: Adrian Schröter Date: Fri May 3 16:01:10 2024 +0200 Sync from SUSE:SLFO:Main libusbmuxd revision e26cb647fa92ab4129d419e19a74b4b8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/2.0.2.tar.gz b/2.0.2.tar.gz new file mode 100644 index 0000000..253d6da --- /dev/null +++ b/2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae3e1d9340177f8f3a785be276435869363de79f491d05d8a84a59efc8a8fdc +size 48925 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..0969157 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libusbmuxd-2_0-6 diff --git a/libusbmuxd.changes b/libusbmuxd.changes new file mode 100644 index 0000000..1825482 --- /dev/null +++ b/libusbmuxd.changes @@ -0,0 +1,86 @@ +------------------------------------------------------------------- +Sun Nov 8 11:07:26 UTC 2020 - Christophe Giboudeaux + +- Update baselibs.conf + +------------------------------------------------------------------- +Mon Sep 21 07:27:02 UTC 2020 - Stefan Elser + +- Update to 2.0.2: + - Handle USB and network devices with new options in tools + - Make connecting sockets non-blocking + - Rename library and all related files by adding an API version resulting in libusbmuxd-2.0 + - Allow to specify source address for listening socket in iproxy + - Allow to map multiple ports in iproxy + - Lots of bug fixes and other improvements + +------------------------------------------------------------------- +Thu Mar 12 10:38:20 UTC 2020 - Tomáš Chvátal + +- Update to 2.1.0: + - Add proper support for USB and network (WiFi sync) devices reported by usbmuxd + - Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it can be used in different threads + - Add new tool 'icat' + - Lots of bug fixes and other improvements + - Rename 'icat' tool to 'inetcat' due to name conflict with sleuthkit's icat +- Remove merged patch libusbmuxd-CVE-2016-5104.patch + +------------------------------------------------------------------- +Thu Jan 23 14:56:51 UTC 2020 - Cristian Rodríguez + +- Software using pthread_cleanup_* routines must be built with + with -fexceptions so a safer and cleaner implementation is + used. + +------------------------------------------------------------------- +Mon Oct 2 21:30:26 UTC 2017 - jengelh@inai.de + +- Rectify RPM groups. + +------------------------------------------------------------------- +Fri Sep 22 13:48:10 UTC 2017 - fcrozat@suse.com + +- Use a macro for specifying library major +- Recommends usbmuxd to library package to ensure it works + properly. +- Remove duplicated dependency on iproxy subpackage. + +------------------------------------------------------------------- +Fri May 27 13:11:35 UTC 2016 - dimstar@opensuse.org + +- Add libusbmuxd-CVE-2016-5104.patch: Make sure sockets only + listen locally (CVE-2016-5104, boo#982014). + +------------------------------------------------------------------- +Mon Feb 22 19:12:48 UTC 2016 - mgorse@suse.com + +- Add COPYING to %doc + +------------------------------------------------------------------- +Fri Oct 17 03:58:00 CEST 2014 - m.szulecki@libimobiledevice.org + +- Update to version 1.0.10 + * Retry to connect to usbmuxd socket if first attempt failed (Linux/inotify) + * Avoid exporting non-public symbols + * Allow multiple connections to iproxy listen port + * Add ability to target device by UDID to iproxy + * Remove outdated/unmaintained Python and sftp examples + * Update README and rename license to more generic COPYING + * Rename header guards according to C++ standard + * Fix a few crashes related to using old usbmuxd daemon and broken pair + * records + * Fix out of tree build + * Fix leaking socket handles by properly closing them + * Check for validity of socket file descriptor + * Properly handle segmented send/receive situations to improve reliability + +------------------------------------------------------------------- +Thu Jul 10 14:01:06 UTC 2014 - i@marguerite.su + +- clean specfile as DimStar suggested + +------------------------------------------------------------------- +Mon Jun 16 17:14:14 UTC 2014 - i@marguerite.su + +- initial version 1.0.9 + diff --git a/libusbmuxd.spec b/libusbmuxd.spec new file mode 100644 index 0000000..a2cdff9 --- /dev/null +++ b/libusbmuxd.spec @@ -0,0 +1,129 @@ +# +# spec file for package libusbmuxd +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define libname libusbmuxd-2_0-6 +Name: libusbmuxd +Version: 2.0.2 +Release: 0 +Summary: A client library to multiplex connections from and to iOS devices +License: LGPL-2.1-or-later AND GPL-2.0-or-later +URL: https://github.com/libimobiledevice/libusbmuxd +Source: https://github.com/libimobiledevice/libusbmuxd/archive/%{version}.tar.gz +Source99: baselibs.conf +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libplist-2.0) >= 2.2.0 + +%description +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +This package contains the usbmuxd communication interface library 'libusbmuxd'. + +%package -n %{libname} +Summary: A client library to multiplex connections from and to iOS devices +Recommends: usbmuxd +Provides: libusbmuxd6 = %{version} +Obsoletes: libusbmuxd6 < %{version} + +%description -n %{libname} +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +This package contains the usbmuxd communication interface library 'libusbmuxd'. + +%package devel +Summary: Development files for %{name} +Requires: %{libname} = %{version} + +%description devel +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package tools +Summary: An example tools to forward localhost ports to iOS devices +Provides: iproxy = %{version} +Obsoletes: iproxy < %{version} + +%description tools +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +Multiple connections to different TCP ports can happen in parallel. An example +(and useful) tool called 'iproxy' is included that allows you to forward +localhost ports to the device---allows SSH over USB on jailbroken devices, or +allowing access the lockdown daemon (and then to all of the file access, sync, +notification and backup services running on the device). + +%prep +%setup -q + +%build +autoreconf -fvi +export CFLAGS="%{optflags} -fexceptions" +%configure \ + --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%license COPYING +%doc AUTHORS README.md +%{_libdir}/libusbmuxd-2.0.so.* + +%files devel +%{_includedir}/usbmuxd.h +%{_includedir}/usbmuxd-proto.h +%{_libdir}/libusbmuxd-2.0.so +%{_libdir}/pkgconfig/%{name}-2.0.pc + +%files tools +%{_bindir}/iproxy +%{_bindir}/inetcat +%{_mandir}/man1/inetcat.1%{?ext_man} +%{_mandir}/man1/iproxy.1%{?ext_man} + +%changelog