- 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 OBS-URL: https://build.opensuse.org/package/show/hardware/libusbmuxd?expand=0&rev=19
This commit is contained in:
parent
e18b02957e
commit
187030f23f
3
2.0.1.tar.gz
Normal file
3
2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f93faf3b3a73e283646f4d62b3421aeccf58142266b0eb22b2b13dd4b2362eb8
|
||||||
|
size 42157
|
@ -1 +1 @@
|
|||||||
libusbmuxd4
|
libusbmuxd6
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2
|
|
||||||
size 292649
|
|
@ -1,32 +0,0 @@
|
|||||||
From 4397b3376dc4e4cb1c991d0aed61ce6482614196 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Joshua Hill <posixninja@gmail.com>
|
|
||||||
Date: Tue, 29 Dec 2015 23:09:37 +0100
|
|
||||||
Subject: [PATCH] common: [security fix] Make sure sockets only listen locally
|
|
||||||
|
|
||||||
---
|
|
||||||
common/socket.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/common/socket.c b/common/socket.c
|
|
||||||
index 27b93ba..4cdefd6 100644
|
|
||||||
--- a/common/socket.c
|
|
||||||
+++ b/common/socket.c
|
|
||||||
@@ -203,7 +203,7 @@ int socket_create(uint16_t port)
|
|
||||||
|
|
||||||
memset((void *) &saddr, 0, sizeof(saddr));
|
|
||||||
saddr.sin_family = AF_INET;
|
|
||||||
- saddr.sin_addr.s_addr = htonl(INADDR_ANY);
|
|
||||||
+ saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
|
||||||
saddr.sin_port = htons(port);
|
|
||||||
|
|
||||||
if (0 > bind(sfd, (struct sockaddr *) &saddr, sizeof(saddr))) {
|
|
||||||
@@ -368,7 +368,7 @@ int socket_accept(int fd, uint16_t port)
|
|
||||||
|
|
||||||
memset(&addr, 0, sizeof(addr));
|
|
||||||
addr.sin_family = AF_INET;
|
|
||||||
- addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
|
||||||
+ addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
|
||||||
addr.sin_port = htons(port);
|
|
||||||
|
|
||||||
addr_len = sizeof(addr);
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 12 10:38:20 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- 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 <crrodriguez@opensuse.org>
|
Thu Jan 23 14:56:51 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||||
|
|
||||||
|
@ -16,24 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define major 4
|
%define major 6
|
||||||
|
|
||||||
Name: libusbmuxd
|
Name: libusbmuxd
|
||||||
Version: 1.0.10
|
Version: 2.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A client library to multiplex connections from and to iOS devices
|
Summary: A client library to multiplex connections from and to iOS devices
|
||||||
License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
URL: https://github.com/libimobiledevice/libusbmuxd
|
||||||
URL: http://cgit.sukimashita.com/libusbmuxd.git
|
Source: https://github.com/libimobiledevice/libusbmuxd/archive/%{version}.tar.gz
|
||||||
Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM libusbmuxd-CVE-2016-5104.patch CVE-2016-5104 boo#982014 dimstar@opensuse.org - Make sure sockets only listen locally
|
BuildRequires: autoconf
|
||||||
Patch0: libusbmuxd-CVE-2016-5104.patch
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libplist-devel >= 1.11
|
BuildRequires: libplist-devel >= 1.11
|
||||||
BuildRequires: libusb-1_0-devel >= 1.0.3
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
|
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
|
||||||
@ -47,7 +44,6 @@ This package contains the usbmuxd communication interface library 'libusbmuxd'.
|
|||||||
|
|
||||||
%package -n %{name}%{major}
|
%package -n %{name}%{major}
|
||||||
Summary: A client library to multiplex connections from and to iOS devices
|
Summary: A client library to multiplex connections from and to iOS devices
|
||||||
Group: System/Libraries
|
|
||||||
Recommends: usbmuxd
|
Recommends: usbmuxd
|
||||||
|
|
||||||
%description -n %{name}%{major}
|
%description -n %{name}%{major}
|
||||||
@ -62,7 +58,6 @@ This package contains the usbmuxd communication interface library 'libusbmuxd'.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{name}%{major} = %{version}
|
Requires: %{name}%{major} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -76,11 +71,12 @@ a virtual network device.
|
|||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package -n iproxy
|
%package tools
|
||||||
Summary: An example tool to forward localhost ports to iOS devices
|
Summary: An example tools to forward localhost ports to iOS devices
|
||||||
Group: Productivity/Networking/Other
|
Provides: iproxy = %{version}
|
||||||
|
Obsoletes: iproxy < %{version}
|
||||||
|
|
||||||
%description -n iproxy
|
%description tools
|
||||||
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
|
'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
|
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
|
you can sync your music, contacts, photos, etc. over USB. To developers, it
|
||||||
@ -96,36 +92,34 @@ notification and backup services running on the device).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fexceptions"
|
autoreconf -fvi
|
||||||
%configure
|
export CFLAGS="%{optflags} -fexceptions"
|
||||||
make %{?_smp_mflags} V=1
|
%configure \
|
||||||
|
--disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm %{buildroot}%{_libdir}/%{name}.*a
|
|
||||||
|
|
||||||
%post -n %{name}%{major} -p /sbin/ldconfig
|
%post -n %{name}%{major} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{major} -p /sbin/ldconfig
|
%postun -n %{name}%{major} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{major}
|
%files -n %{name}%{major}
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS README.md
|
||||||
%{_libdir}/libusbmuxd.so.*
|
%{_libdir}/libusbmuxd.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/usbmuxd.h
|
%{_includedir}/usbmuxd.h
|
||||||
%{_includedir}/usbmuxd-proto.h
|
%{_includedir}/usbmuxd-proto.h
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files -n iproxy
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/iproxy
|
%{_bindir}/iproxy
|
||||||
|
%{_bindir}/inetcat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user