+ libusbmuxd-2.0.0-1
Update to 2.0.0
This commit is contained in:
parent
cdf7dc185e
commit
0c3a98f196
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/libusbmuxd-1.0.9.tar.bz2
|
/libusbmuxd-1.0.9.tar.bz2
|
||||||
/libusbmuxd-1.0.10.tar.bz2
|
/libusbmuxd-1.0.10.tar.bz2
|
||||||
|
/2.0.0.tar.gz
|
||||||
|
@ -1,31 +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,15 +1,15 @@
|
|||||||
Name: libusbmuxd
|
Name: libusbmuxd
|
||||||
Version: 1.0.10
|
Version: 2.0.0
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Client library USB multiplex daemon for Apple's iOS devices
|
Summary: Client library USB multiplex daemon for Apple's iOS devices
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.libimobiledevice.org/
|
URL: http://www.libimobiledevice.org/
|
||||||
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz
|
||||||
Patch0: CVE-2016-5104.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libplist-devel >= 1.11
|
BuildRequires: libplist-devel >= 2.1.0
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libusbmuxd is the client library used for communicating with Apple's iPod Touch,
|
libusbmuxd is the client library used for communicating with Apple's iPod Touch,
|
||||||
@ -34,7 +34,8 @@ Files for development with %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .soc
|
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -58,11 +59,12 @@ make check
|
|||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README AUTHORS
|
%doc README.md AUTHORS
|
||||||
%{_libdir}/libusbmuxd.so.4*
|
%{_libdir}/libusbmuxd.so.*
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%{_bindir}/iproxy
|
%{_bindir}/iproxy
|
||||||
|
%{_bindir}/icat
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/usbmuxd*
|
%{_includedir}/usbmuxd*
|
||||||
@ -70,6 +72,10 @@ make check
|
|||||||
%{_libdir}/libusbmuxd.so
|
%{_libdir}/libusbmuxd.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 23 2019 Bastien Nocera <bnocera@redhat.com> - 2.0.0-1
|
||||||
|
+ libusbmuxd-2.0.0-1
|
||||||
|
- Update to 2.0.0
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-12
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user